Promo Codes

Changes to Create Promo Code

post/promo_codes
    • warning

      added the new hnl enum value to the currency response property for the response status

    • info

      added the new hnl enum value to the request property base_currency

    • warning

      removed the request property plan_ids

    • info

      added the new optional request property variant_ids

    • info

      added the required property affiliate to the response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property error/code to the response with the status

    • breaking

      added the new required request property account_id

    • breaking

      the request property churned_users_only became not nullable

    • breaking

      the request property existing_memberships_only became not nullable

    • breaking

      the request property one_per_customer became not nullable

    • breaking

      the request property plan_ids became not nullable

    • breaking

      the request property unlimited_stock became not nullable

    • breaking

      the expires_at request property format changed from date-time to no format

    • breaking

      added subschema #2 to the product response property oneOf list for the response status

    • breaking

      the created_at response's property format changed from date-time to no format for status

    • breaking

      the duration response's property type changed from no type to string for status

    • breaking

      the expires_at response's property format changed from date-time to no format for status

    • breaking

      the product response's property type changed from object null to no type for status

    • breaking

      removed the required property company from the response with the status

    • breaking

      removed the required property product/id from the response with the status

    • breaking

      removed the required property product/title from the response with the status

    • warning

      removed the request property company_id

    • warning

      removed the optional property error/code from the response with the status

    • warning

      removed the optional property error/param from the response with the status

    • warning

      added the new forever enum value to the duration response property for the response status

    • warning

      added the new once enum value to the duration response property for the response status

    • warning

      added the new repeating enum value to the duration response property for the response status

    • info

      the security scope access_pass:basic:read was removed from the endpoint's security scheme bearerAuth

    • info

      api tag Promo Codes added

    • info

      api tag Promo codes removed

    • info

      added the new optional header request parameter Api-Version-Date to all path's operations

    • info

      added the new optional header request parameter Idempotency-Key

    • info

      request body became optional

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed subschema #2 from the duration response property oneOf list for the response status

    • info

      added the required property account to the response with the status

    • info

      added the required property metadata to the response with the status

    • info

      added the required property updated_at to the response with the status

    • info

      added the non-success response with the status