Changes to Update a coupon
- breaking
request property
orderLimitlist-of-types was narrowed by removing typesnumberfrom media typeapplication/json - breaking
added the pattern
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$to the request propertysaleEndsAt/anyOf[subschema #1] - breaking
added the pattern
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$to the request propertysaleStartsAt - breaking
the
orderLimit/anyOf[subschema #1]request property type changed fromnumbertointeger - warning
the
orderLimit/anyOf[subschema #1]request property's max was set to9007199254740991.00 - warning
the
discountrequest property's min was set to0.00 - warning
the
orderLimit/anyOf[subschema #1]request property's min was set to1.00 - info
the
coupon/saleEndsAtresponse's property pattern^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$was added for the status - info
the
coupon/saleStartsAtresponse's property pattern^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$was added for the status
- breaking
- breaking
request property
orderLimitlist-of-types was narrowed by removing typesintegerfrom media typeapplication/json - breaking
the
coupon/createdAtresponse's property format changed fromdate-timeto no format for status - breaking
the
coupon/orderLimitresponse's property type changed fromintegertonumberfor status - breaking
the
coupon/updatedAtresponse's property format changed fromdate-timeto no format for status - info
removed the pattern
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$from the request propertysaleEndsAt/anyOf[subschema #1] - info
removed the pattern
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$from the request propertysaleStartsAt - info
the
orderLimit/anyOf[subschema #1]request property type was generalized fromintegertonumber - info
the
coupon/saleEndsAtresponse's property pattern^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$was removed for the status - info
the
coupon/saleStartsAtresponse's property pattern^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$was removed for the status
- breaking
- info
added the new optional request property
membersOnly - info
added the new optional request property
orderLimit - info
added the optional property
coupon/membersOnlyto the response with the status - info
added the optional property
coupon/orderLimitto the response with the status
- info
- info
added the non-success response with the status
- info