Commerce
Publish or unpublish a product
POSThttps:/ / zernio.com/ api/ v1/ commerce/ products/ {productId}/ channels
Publishes to and/or unpublishes from sales channels (the online store, Shop, POS and others). List channels with GET /v1/commerce/channels.
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.
Body
application/jsonWhat every request needs
accountIdstringRequired
Optional parameters2 fields
publisharray of strings
Channel ids from GET /v1/commerce/channels.
unpublisharray of strings
Responses
Success· the request worked
Errors· the request failed
Publish or unpublish a collection
Publishes to and/or unpublishes from sales channels (the online store, Shop, POS and others). List channels with GET /v1/commerce/channels.
Delete collection metafields
Deletes the collection metafields named in `keys` (comma-separated `namespace.key`, up to 25). Needs collections.metafields: WooCommerce answers 400 platform_not_supported.