PUT
/products/{productId}/variants/{variantId}/supply-delay
curl \
--request PUT 'https://mpapi.proxy.omnicado.com/v1/products/F192621/variants/F1926211/supply-delay?client_id=yourClientId&client_id=api_token_value' \
--header "Content-Type: application/json" \
--header "X-Application-Name: myApplicationName" \
--data '{"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": 200,
"status": "OK"
}
}