Commerce
Get a collection
GEThttps:/ / zernio.com/ api/ v1/ commerce/ collections/ {collectionId}
One collection (a category on WooCommerce) with its image, sort order and product count. List its products with GET /v1/commerce/products?collectionId=. Needs collections.read.
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
List collections
Lists the store's product collections. Cursor-paginated like products. List a collection's products with `GET /v1/commerce/products?collectionId=...`.
Create a collection
Creates a collection, optionally with hand-picked products. On Shopify the collection starts unpublished from the online store; publish it from the Shopify admin.