API reference Products
List products
Lists the products synced from the workspace's Shopify catalog, sorted by title.
GET
/api/v1/public/productsScope: read. The key's creator needs access to Products.
Query parameters
qstringqueryMatch on title or handle (case-insensitive, part of either matches). Up to 200 characters.
limitintegerquerydefault 25Page size, 1 to 100.
offsetintegerquerydefault 0Rows to skip.
Response
totalintegerProducts matching
q.limitintegerThe page size used.
offsetintegerThe offset used.
itemsarrayProducts, sorted by title.
items[].idstringProduct UUID.
items[].titlestringTitle.
items[].handlestringShopify handle.
items[].vendorstring | nullVendor.
items[].product_typestring | nullProduct type.
items[].disabledbooleanWhether someone disabled the product in Pipory (hidden from the default catalog and the product picker). Disabled products are still listed here.
items[].urlstringThe product in the Pipory app.
Example request
curl "https://api.pipory.com/api/v1/public/products?q=steel&limit=10" \
-H "Authorization: Bearer pip_your_key"
Example response
{
"total": 3,
"limit": 10,
"offset": 0,
"items": [
{
"id": "3d9a7b1c-2e4f-4a6b-8c0d-1e2f3a4b5c6d",
"title": "Classic Steel",
"handle": "classic-steel",
"vendor": "Acme Watches",
"product_type": "Watch",
"disabled": false,
"url": "https://pipory.com/products/classic-steel"
}
]
}
Errors
| Status | Code | Meaning |
|---|---|---|
401 | invalid_api_key | Missing, unknown, revoked or expired key |
403 | insufficient_scope | The key or its creator's role cannot read Products |
403 | upgrade_required | The workspace is not on a paid plan |
422 | none | limit or offset out of range |
429 | rate_limited | Over the key's rate limit |