Record Tax Reversal Action
Reverses the recorded tax transactions in an external system, such as Stripe, after an order is returned or canceled.
This action is available in API version 62.0 and later for users with these licenses:
- B2B Commerce, or D2C Commerce
- Salesforce Order Management
Only store administrators can access this action.
URI: /services/data/vXX.X/actions/standard/recordTaxReversal
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer token
| Input | Type | Description |
|---|---|---|
taxReversalInfos | Apex-defined | Required. A list of Apex commercestoretax__TaxReversalInfo records containing details about the tax transactions for the order that was returned or canceled. |
| Output | Type | Description |
|---|---|---|
taxReversalResult | Apex-defined | An Apex commercestoretax__TaxReversalResult record containing details about each tax transaction in the reversal request. The details include whether each reversal was successful and, if not, any error messages returned. |
Sample Request
Sample Response