POST /products/{productId}/variants/{variantId}/supply-delay

Body Required

  • valid_from string(date-time)

    Validity start date and time, if you don't send it, the actual date and time will be used

  • valid_to string(date-time) Required

    validity end date and time

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • data object
      Hide data attributes Show data attributes object
      • valid_from string(date-time)

        Validity start date and time, if you don't send it, the actual date and time will be used

      • valid_to string(date-time) Required

        validity end date and time

    • result object
      Hide result attributes Show result attributes object
      • code integer(int)
      • status string
POST /products/{productId}/variants/{variantId}/supply-delay
curl \
 -X POST https://mpapi.proxy.omnicado.com/v1/products/{productId}/variants/{variantId}/supply-delay?client_id=api_token_value \
 -H "Content-Type: application/json" \
 -d '{"valid_from":"2017-01-27 00:00:00","valid_to":"2017-02-05 00:00:00"}'
Request example
{
  "valid_from": "2017-01-27 00:00:00",
  "valid_to": "2017-02-05 00:00:00"
}
Request examples
{
  "valid_from": "2017-01-27 00:00:00",
  "valid_to": "2017-02-05 00:00:00"
}
Response examples (200)
{
  "data": {
    "valid_from": "2017-01-27 00:00:00",
    "valid_to": "2017-02-05 00:00:00"
  },
  "result": {
    "code": 200,
    "status": "OK"
  }
}
Response examples (200)
{
  "data": {
    "valid_from": "2017-01-27 00:00:00",
    "valid_to": "2017-02-05 00:00:00"
  },
  "result": {
    "code": 200,
    "status": "OK"
  }
}