egdata API
API ReferenceOffers

Check whether offer IDs exist

POST
/offers/exists

Request Body

application/json

Offer IDs to check.

TypeScript Definitions

Use the request body type in TypeScript.

offers*array<string>

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/offers/exists" \  -H "Content-Type: application/json" \  -d '{    "offers": [      "string"    ]  }'
{  "existingOffers": [    "string"  ],  "nonExistingOffers": [    "string"  ]}
{  "message": "string",  "error": "string"}
{  "message": "string",  "error": "string"}
{  "message": "string",  "error": "string"}