Pull changes
Pull the latest changes since the timestamp provided
POST
/v1/pull/authorization<token>
To get an API key, please contact us. We'll be happy to help you.
In: header
sinceunknown
Date to pull changes from
Response Body
application/json
application/json
curl -X POST "http://localhost:4001/v1/pull/" \ -H "Content-Type: application/json" \ -d '{ "since": {} }'{
"date": null,
"changes": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"action": "DELETE",
"type": "locationSettings",
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"locationName": "string",
"currencyLocale": "fr_FR",
"timezone": "Africa/Abidjan",
"establishmentName": "",
"address1": "",
"address2": "",
"customHeader": "",
"siretCode": "",
"phoneNumber": "",
"zipCode": "",
"city": "",
"country": "France",
"website": "",
"nafCode": "",
"tvaCode": "",
"customFooter": "",
"companyName": "",
"cutBetweenSteps": true,
"printOnlyFirstPrepaReceipt": false,
"enablePreparationCall": true,
"detailedReport": true,
"doNotPrintClaim": false,
"closeAfterOrderCall": true,
"qrCodeLogin": false,
"printOnPay": false,
"prepaStepsCount": 3,
"askForInitialCashFloat": false,
"groupProductsOnPrepaReceipt": true,
"printClaimWithoutDetail": false,
"allowGapInTillStats": false,
"allowCatalogEditOnPos": true,
"printMenuWithDetail": false,
"groupProductsOnOrder": false,
"printMenuNameOnPrepaReceipt": false,
"printModifierGroupOnPrepaReceipt": false,
"menuButtonsCount": 8,
"closeFiscalYearDate": {},
"logoUrl": ""
}
}
]
}{
"date": null,
"needReset": true
}