post https://{accountName}.{environment}.com.br/api/logistics/pvt/configuration/docks
Creates or updates docks to be used in your logistic operation.
Request body example
curl --location --request POST 'https://{accountName}.{environment}.com.br/api/logistics/pvt/configuration/docks' \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'Accept: application/json' \
--header 'X-VTEX-API-AppKey: {{X-VTEX-API-AppKey}}' \
--header 'X-VTEX-API-AppToken: {{X-VTEX-API-AppToken}}' \
--data-raw '{
"id": "catete",
"name": "Loja Catete",
"priority": 0,
"dockTimeFake": "00:00:00",
"timeFakeOverhead": "00:00:00",
"salesChannels": [
"1"
],
"salesChannel": null,
"freightTableIds": [],
"wmsEndPoint": "",
"pickupStoreInfo": {
"isPickupStore": false,
"storeId": null,
"friendlyName": null,
"address": {
"postalCode": "22220070",
"country": {
"acronym": "BRA",
"name": "Brazil"
},
"city": "Rio de Janeiro",
"state": "RJ",
"neighborhood": "Catete",
"street": "Artur Bernardes Street",
"number": "100",
"complement": "",
"coordinates": null
},
"additionalInfo": null,
"dockId": null
},
"address": {
"postalCode": "22220070",
"country": {
"acronym": "BRA",
"name": "Brazil"
},
"city": "Rio de Janeiro",
"state": "RJ",
"neighborhood": "Catete",
"street": "Artur Bernardes Street",
"number": "100",
"complement": "",
"coordinates": [[-43.18228090000002, -22.9460398 ]]
}
}'