Commerce
Delete a collection
DELETEhttps:/ / zernio.com/ api/ v1/ commerce/ collections/ {collectionId}
Deletes the collection. Its products are not affected.
PlatformsShopify
Authentication
AuthorizationBearer tokenRequired
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
collectionIdstringRequired
Platform-native collection id.
Query parameters
accountIdstringRequired
Connected store SocialAccount id.
Responses
Success· the request worked
Errors· the request failed
Update a collection
Partial update; at least one field besides accountId is required. Change membership with POST /v1/commerce/collections/{collectionId}/products.
Add or remove products in a collection
Adds and/or removes hand-picked products. Products a collection includes through its own rules are not affected. `pending` is true when the platform finishes the change in the background; the product count then catches up a few seconds later.