Promo Codes

Delete Promo Code

Archives a promo code so it cannot be used in future checkouts.

delete/promo_codes/{id}

Response

promo code deleted

deletedboolean required
idstring required

Example response

{
  "deleted": true,
  "id": "promo_xxxxxxxxxxxxxx"
}

Changes

Changed in 1 of the 74 revisions of this API.1112

  • bdd0e2c70d581112See the full diff
    • ▲

      the response's body type changed from boolean to object for status

      response-body-type-changed

    • ●

      deleted the path request parameter id

      request-parameter-removed

    • ○

      api tag Promo Codes added

      api-tag-added

    • ○

      api tag Promo codes removed

      api-tag-removed

    • ○

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

      new-optional-request-default-parameter-to-existing-path

    • ○

      removed the non-success response with the status

      response-non-success-status-removed

    • ○

      removed the non-success response with the status

      response-non-success-status-removed

    • ○

      removed the non-success response with the status

      response-non-success-status-removed

    • ○

      removed the non-success response with the status

      response-non-success-status-removed

    • ○

      removed the non-success response with the status

      response-non-success-status-removed

    • ○

      removed the non-success response with the status

      response-non-success-status-removed

    • ○

      removed the non-success response with the status

      response-non-success-status-removed

    • ○

      added the required property to the response with the status

      response-required-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added

    This revision also has 16 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 74 revisions, 1 has no diff computed.