Search a shop's products
Products whose name, description, category or tags contain every word of query.
Path Parameters
The shop, e.g. maya-ceramics
length <= 80Query Parameters
Words to match, e.g. "green mug". Leave out to list everything.
length <= 200Highest price per item in the shop's currency, e.g. "40.00" or "$40". No more decimals than the currency has.
length <= 20Leave out sold-out variants (made-to-order ones always stay). "true" or "1".
falseResponse Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/shops/string/products"{ "shop": { "slug": "string", "name": "string", "currency": "string", "ships_from": "string", "status": "draft" }, "products": [ { "id": "string", "name": "string", "description": "string", "category": "string", "variants": [ { "variant_id": "string", "title": "string", "price": "string", "in_stock": 0 } ] } ], "shipping": [ { "name": "string", "to": "string", "price": "string", "days": "3-5" } ], "returns": "30 days"}List shops GET
Every published shop, with what it sells and where it ships from.
Create a cart POST
Prices the cart from the shop's catalog (shipping and tax included) and validates it. A valid cart comes back `CREATED` with `payment_method.approval_url`: send the buyer there to approve in PayPal. An invalid one comes back `INCOMPLETE` with `validation_issues`, each with `resolution_options` an agent can apply before calling `updateCart`.