Discounts

Changes to Create discount

post/discounts
    • warning

      added the new expired enum value to the status response property for the response status

    • breaking

      added the pattern ^[a-zA-Z0-9_-]+$ to the request property code

    • warning

      the amount_off request property's max was set to 99999999.00

    • warning

      the minimum_amount request property's max was set to 99999999.00

    • warning

      the amount_off request property's min was set to 1.00

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • info

      added the non-success response with the status

    • info

      added the required property price_variants to the response with the status

    • info

      added the new optional request property status

    • warning

      the max_redemptions request property's min was set to 1.00

    • info

      added the new optional request property first_order_only

    • info

      added the new optional request property minimum_amount

    • info

      added the new optional request property once_per_customer

    • info

      added the required property first_order_only to the response with the status

    • info

      added the required property minimum_amount to the response with the status

    • info

      added the required property once_per_customer to the response with the status