X-Auth-Token: ********************{
"agreements": {
"sendDiscountCodes": true,
"sendLabel": true,
"sendInfoOnSubAccountOrderCreation": false,
"sendInfoOnSubAccountProformaInvoiceCreation": false,
"sendInfoOnTrackingStatusUpdate": true,
"sendInfoOnOrderCreation": true
}
}curl --location --request PUT 'https://test.api.globkurier.pl/v1/user/agreements/other' \
--header 'Accept-Language;' \
--header 'X-Auth-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"agreements": {
"sendDiscountCodes": true,
"sendLabel": true,
"sendInfoOnSubAccountOrderCreation": false,
"sendInfoOnSubAccountProformaInvoiceCreation": false,
"sendInfoOnTrackingStatusUpdate": true,
"sendInfoOnOrderCreation": true
}
}'{}