Void Redemption (Redemptions 2.0)
Voids the complete discount basket. The value of redemption_ref must be appended to the URL path. You can get the redemption_ref value from the Get Active Discount Basket API response.
Example:
DELETE https://{base}/api/auth/batch_redemptions/aBCDEfghIJkL-MN1opR
Note: It will not support partial voiding of a discount basket.
- Type: string
redemption _ref requiredTransaction level identifier for all discount selections
Example - aBCDEfghIJkL-MN1opR
- Type: string
Accept requiredAdvertises which content types the client is able to understand
- Type: string
Authorization requiredYou may pass the access_token instead of the authentication_token in Online Ordering endpoints to authorize the request. It must be supplied as
Bearer ACCESS_TOKEN_GOES_HERE. Note: When authentication is performed using Advanced Authentication, you must include theid_tokenin theid-tokenheader and theaccess_tokenin theAuthorizationheader. See Access Punchh APIs Using Access and ID tokens - Type: string
Content - Type requiredSet this header to application/json.
- Type: string
User - Agent requiredFor details, see User Agent.
- Type: string
x -pch -digest requiredThe signature for the API call
- Type: string
id -token A token that contains identity information about the authenticated user. It is used to verify the user’s identity and is required only when authentication is performed using Advanced Authentication. This token alone does not grant access to Punchh APIs. To access the APIs, you must include the
id_tokenin theid-tokenheader and theaccess_tokenin theAuthorizationheader. See Access Punchh APIs Using Access and ID tokens
- Type: string
client requiredClient key of the business
202 Accepted - Success Response
- Type: object
400 - Type: object
404 - Type: object
422