Billing
Human only

Cancel an unpaid checkout

Human only: A signed-in owner or admin does this in the browser at gtmswag.com. API keys and OAuth connections receive 403 HUMAN_APPROVAL_REQUIRED with a url to hand to that person. Expires an unpaid checkout so the campaign can be edited again; paid checkouts refuse with 409 CHECKOUT_ALREADY_PAID.

post/billing/checkouts/{id}/cancel

Request

  • Base URL: https://gtmswag.com/api/v1
  • URL: https://gtmswag.com/api/v1/billing/checkouts/{id}/cancel
  • Auth: API key in cookie gtm_session

Path parameters

idstring required

Campaign checkout ID (cbo_).

Response

Success: {"data": Checkout}.

Changes

No recorded changes to this operation across all 1 revision of this API.