Catalog
Everything you show customers: products, services, a menu. Sync your inventory in from your store.
Base URL
https://api.jawbly.com/v1POST
/catalog/{collection}/itemsUpsert catalog items
Bulk create or update items in a catalog collection. Ideal for keeping stock in sync with an external store.
Requires scope catalog:write
Parameters
collectionrequiredstring · path
The catalog collection, e.g. `products`.
itemsrequiredarray · body
Items to upsert, keyed by your external id.
curl -X POST "https://api.jawbly.com/v1/catalog/{collection}/items" \
-H "Authorization: Bearer jwb_live_xxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"items": [
{
"externalId": "SKU-901",
"title": "Blue jacket",
"price": {
"amount": 4900,
"currency": "USD"
},
"inStock": true
}
]
}'200 response
{
"upserted": 1,
"collection": "products"
}