v1

PATCH /v1/crm/discounts/{id}/

Request

  • Base URL
    https://api.yume.cloud
  • URL
    https://api.yume.cloud/v1/crm/discounts/{id}/
  • Auth
    HTTP bearer

Path parameters

idinteger required

Request body

idinteger
namestring
discountinteger
discount_type0 | 1
  • 0 - Процент
  • 1 - Сумма
type0 | 1 | 2
  • 0 - Скидка
  • 1 - Промокод
  • 2 - Сумма
extraunknown
activeboolean
start_atstring date-time nullable
end_atstring date-time nullable
usage_limitinteger

Response

idinteger required
namestring required
discountinteger
discount_type0 | 1
  • 0 - Процент
  • 1 - Сумма
type0 | 1 | 2
  • 0 - Скидка
  • 1 - Промокод
  • 2 - Сумма
extraunknown
activeboolean
start_atstring date-time nullable
end_atstring date-time nullable
usage_limitinteger

Changes

No recorded changes to this operation across all 4 revisions of this API.