Coupons

Changes to Create a new coupon

post/coupons
    • breaking

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

    • 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 request property type changed from number to integer

    • warning

      the orderLimit request property's max was set to 9007199254740991.00

    • warning

      the discount request property's min was set to 0.00

    • warning

      the orderLimit 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

      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

    • 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 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