Create new partner supply delay. You can send either both start and end of validity or only end of validity. If no date for start sent, current time will be used as validity start.
POST
/partners/supply-delay
curl \
-X POST https://mpapi.proxy.omnicado.com/v1/partners/supply-delay?client_id=yourClientId&client_id=api_token_value \
-H "Content-Type: application/json" \
-H "X-Application-Name: myApplicationName" \
-d '{"valid_from":"2017-01-27 00:00:00","valid_to":"2017-02-05 00:00:00"}'
Request example
# Headers
X-Application-Name: myApplicationName
# Payload
{
"valid_from": "2017-01-27 00:00:00",
"valid_to": "2017-02-05 00:00:00"
}
Request examples
# Headers
X-Application-Name: myApplicationName
# Payload
{
"valid_from": "2017-01-27 00:00:00",
"valid_to": "2017-02-05 00:00:00"
}
Response examples (201)
{
"data": {
"valid_from": "2017-01-27 00:00:00",
"valid_to": "2017-02-05 00:00:00"
},
"result": {
"code": 201,
"status": "OK"
}
}
Response examples (201)
{
"data": {
"valid_from": "2017-01-27 00:00:00",
"valid_to": "2017-02-05 00:00:00"
},
"result": {
"code": 201,
"status": "OK"
}
}