Coupons

Changes to Update a coupon

put/coupons/{id}
    • breaking

      request property orderLimit list-of-types was narrowed by removing types number from media type application/json

    • breaking

      added the pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$ to the request property saleEndsAt/anyOf[subschema #1]

    • breaking

      added the pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$ to the request property saleStartsAt

    • breaking

      the orderLimit/anyOf[subschema #1] request property type changed from number to integer

    • warning

      the orderLimit/anyOf[subschema #1] request property's max was set to 9007199254740991.00

    • warning

      the discount request property's min was set to 0.00

    • warning

      the orderLimit/anyOf[subschema #1] request property's min was set to 1.00

    • info

      the coupon/saleEndsAt response's property pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$ was added for the status

    • info

      the coupon/saleStartsAt response's property pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$ was added for the status

    • breaking

      request property orderLimit list-of-types was narrowed by removing types integer from media type application/json

    • breaking

      the coupon/createdAt response's property format changed from date-time to no format for status

    • breaking

      the coupon/orderLimit response's property type changed from integer to number for status

    • breaking

      the coupon/updatedAt response's property format changed from date-time to no format for status

    • info

      removed the pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$ from the request property saleEndsAt/anyOf[subschema #1]

    • info

      removed the pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$ from the request property saleStartsAt

    • info

      the orderLimit/anyOf[subschema #1] request property type was generalized from integer to number

    • info

      the coupon/saleEndsAt response's property pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$ was removed for the status

    • info

      the coupon/saleStartsAt response's property pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$ was removed for the status

    • info

      added the new optional request property membersOnly

    • info

      added the new optional request property orderLimit

    • info

      added the optional property coupon/membersOnly to the response with the status

    • info

      added the optional property coupon/orderLimit to the response with the status

    • info

      added the non-success response with the status