Commerce
Set collection metafields
PUThttps:/ / zernio.com/ api/ v1/ commerce/ collections/ {collectionId}/ metafields
Creates or updates custom fields by namespace and key. Needs collections.metafields: WooCommerce keeps custom fields on products only and answers 400 platform_not_supported.
PlatformsShopify
Authentication
AuthorizationBearer tokenRequired
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
collectionIdstringRequired
Platform-native id.
Body
application/jsonWhat every request needs
accountIdstringRequired
metafieldsarray of CommerceMetafieldRequired
namespacestringRequired
keystringRequired
typestringRequired
Platform value type, e.g. single_line_text_field, number_integer, json.
valuestringRequired
The value serialized as a string, JSON for structured types.