Commerce
Delete options
DELETEhttps:/ / zernio.com/ api/ v1/ commerce/ products/ {productId}/ options
Deletes options by name, with the variants that depended on them.
PlatformsShopify
Authentication
AuthorizationBearer tokenRequired
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
productIdstringRequired
Platform-native id.
Query parameters
accountIdstringRequired
Connected store SocialAccount id.
namesstringRequired
Comma-separated option names.
Responses
Success· the request worked
Errors· the request failed
Add options
Adds option axes (e.g. Size, Color) and their values. With createVariants true the platform creates a variant for every new combination; otherwise existing variants take the first value.
Add images
Adds images from public URLs. The platform fetches them, so they can appear on the product a few seconds after the call returns.