Commerce · Commerce

List collections

Returns collections, one page at a time. Works with Shopify and WooCommerce accounts.

GEThttps://api.pozy.ai/v1/commerce/collections
Shopify and WooCommercelistCommerceCollections

Guides: Commerce & blogs, Products and catalog

Request

Send your API key as Authorization: Bearer pz_live_.... Read-only keys can call it. Keys with the commerce resource group disabled get 403 resource_group_disabled. Authentication

Query parameters

NameTypeNotes
accountIdrequiredstring
limitintegerDefault 201 to 100
cursorstring
querystringUp to 500 characters

Example

curl -X GET "https://api.pozy.ai/v1/commerce/collections?accountId=696e0b682d0a31188e7a2ba9&limit=20" \
  -H "Authorization: Bearer $POZY_API_KEY"

Response

200 on success

  • collectionsarray of object
    12 child fields
    • idstring
    • accountIdstring
    • platformstring

      One of shopify, woocommerce.

    • titlestring
    • handlestring

      Can be null.

    • descriptionHtmlstring

      Can be null.

    • imageobject

      One of:

      Commerce Image (3 fields)
      • idstring

        Can be null.

      • urlstring
      • altTextstring

        Can be null.

    • sortOrderstring

      One of manual, best_selling, alpha_asc, alpha_desc, price_asc, price_desc, created, created_desc, most_relevant.

    • productCountinteger

      Can be null.

    • seoobject
      2 child fields
      • titlestring

        Can be null.

      • descriptionstring

        Can be null.

    • updatedAtstring (date-time)

      Can be null.

    • platformDataobject

      Can be null.

  • nextCursorstring

    Can be null.

200 response
{
  "collections": [
    {
      "id": "6bfebd43ddc270f6d2c56fc5",
      "accountId": "696e0b682d0a31188e7a2ba9",
      "platform": "shopify",
      "title": "Launch day",
      "handle": "acme",
      "descriptionHtml": "string",
      "image": {
        "id": "6bfebd43ddc270f6d2c56fc5",
        "url": "https://pozy.ai/media/example-1.jpg",
        "altText": "Hello from Pozy"
      },
      "sortOrder": "manual",
      "productCount": 42,
      "seo": {
        "title": "Launch day",
        "description": "A short description"
      },
      "updatedAt": "2026-10-02T09:00:00.000Z",
      "platformData": {}
    }
  ],
  "nextCursor": "string"
}

Errors

Errors use one shape: { error, type, code, param?, details? }. The ones you are most likely to see here:

400invalid_request_errorA parameter or body field is missing or invalid. param names it.
401authentication_errorThe API key is missing, revoked or expired.
403permission_errorThe key is scoped to other profiles or has this resource group disabled.
429rate_limit_errorToo many requests this minute. Wait for Retry-After seconds.

Every code is listed in Errors.

More in Commerce

GETGet a storeGETList ordersGETGet an orderGETList productsPOSTCreate a productPOSTActivate, deactivate, archive or delete productsGETGet a productPATCHUpdate a productPOSTUpdate variant pricesPOSTCreate a collectionGETGet a collectionPATCHUpdate a collectionDELDelete a collectionPOSTAdd or remove products in a collectionPOSTAdd variantsDELDelete variantsPOSTAdd optionsDELDelete optionsPOSTAdd imagesDELRemove imagesPOSTReorder imagesPOSTDuplicate a productGETList product metafieldsPUTSet product metafieldsDELDelete product metafieldsPOSTPublish or unpublish a productGETList collection metafieldsPUTSet collection metafieldsDELDelete collection metafieldsPOSTPublish or unpublish a collectionPOSTAdd or remove tags in bulkPOSTReorder products in a collectionGETList pagesPOSTCreate a pageGETGet a pagePATCHUpdate a pageDELDelete a pageGETList locationsGETGet a product's stockPOSTSet or adjust stockGETList sales channelsGETList discountsPOSTCreate a discountGETGet a discountPATCHUpdate a discountDELDelete a discountPOSTActivate or deactivate a discountPOSTAdd codes to a discountGETList URL redirectsPOSTCreate a URL redirectPATCHUpdate a URL redirectDELDelete a URL redirectGETList navigation menusPOSTCreate a navigation menuGETGet a navigation menuPUTReplace a navigation menuDELDelete a navigation menuGETList metaobject definitionsGETList metaobjects of a typePOSTCreate a metaobjectGETGet a metaobjectPATCHUpdate a metaobjectDELDelete a metaobjectGETList marketsGETList price listsPUTSet fixed pricesDELRemove fixed pricesPUTRecord a marketing activityDELDelete a marketing activityPOSTReport daily engagementGETList catalog syncsPOSTSync a store into a Meta catalogGETGet a catalog syncDELStop a catalog syncPOSTRun a catalog sync now