API ReferenceOffers
Resolve store slugs to offer IDs
Request Body
application/json
Slugs to resolve.
TypeScript Definitions
Use the request body type in TypeScript.
slugs*array<string>
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/offers/slugs" \ -H "Content-Type: application/json" \ -d '{ "slugs": [ "string" ] }'[ { "slug": "string", "id": "string", "namespace": "string" }]{ "message": "string", "error": "string"}{ "message": "string", "error": "string"}{ "message": "string", "error": "string"}