x-api-key: ********************curl --location -g --request GET 'https://relay.exostack.cloud//api/customers/discounts/extract?cursor_modified_at&cursor_card_pos&limit' \
--header 'x-api-key: <api-key>'{
"items": [
{
"code": 1,
"cost_discount_type": {
"code": "none",
"id": 0,
"label": "Aucun"
},
"description": "Rabais saisonnier",
"discount_id": 14,
"metadata": {
"sdk_index_used": 1,
"sdk_interface": "Discount",
"unique_id": 1102,
"updated_at": "2026-03-05T10:10:00-05:00",
"updated_by_user_id": 8
},
"status": {
"is_active": true,
"is_deleted": false,
"is_used": true
},
"sync": {
"cursor": {
"card_pos": 14,
"modified_at": "2026-03-05T10:10:00-05:00"
},
"extracted_at": "2026-03-13T10:00:00-04:00",
"organisation_id": "mastodonte"
}
}
],
"count": 0,
"has_more": false,
"next_cursor": {
"modified_at": "2019-08-24T14:15:22.123Z",
"card_pos": 0
}
}