Synchronize offers with partner API
Fetches the latest offers from the partner API and updates the database. Intended for internal use only.
Request
Add parameter in header x-api-key
Example:x-api-key: ********************
or
Request Code Samples
curl --location --request POST 'https://jdm-616556849502.europe-west1.run.app/jdm/sync-offers' \
--header 'x-api-key: <api-key>'
Responses
[
{
"offerType": "FixedValues",
"id": "string",
"name": "string",
"brandName": "string",
"description": "string",
"howTo": "string",
"termsAndCondition": "string",
"codeType": "BarCode",
"hasPinCode": true,
"usageLocation": [
"App"
],
"imageUrl": "string",
"imageMarketingUrl": "string",
"isCommitted": false,
"validityInMonths": 0
}
]
Modified at 2025-09-01 15:20:09