Changes to Create Discount

POST /v1/discounts/

Every recorded change to this endpoint, newest first. Back to the operation

Changed in 1 of the 11 revisions of this API.6

  1. 8ae937367e876

What changed

    • added the new optional request property oneOf[subschema #1: DiscountFixedCreate]/max_redemptions_per_customer

      new-optional-request-property

    • added the new optional request property oneOf[subschema #2: DiscountPercentageCreate]/max_redemptions_per_customer

      new-optional-request-property

    • added the required property oneOf[subschema #1: DiscountFixedOnceForeverDuration]/max_redemptions_per_customer to the response with the 201 status

      response-required-property-added

    • added the required property oneOf[subschema #2: DiscountFixedRepeatDuration]/max_redemptions_per_customer to the response with the 201 status

      response-required-property-added

    • added the required property oneOf[subschema #3: DiscountPercentageOnceForeverDuration]/max_redemptions_per_customer to the response with the 201 status

      response-required-property-added

    • added the required property oneOf[subschema #4: DiscountPercentageRepeatDuration]/max_redemptions_per_customer to the response with the 201 status

      response-required-property-added