Delete Post Sale Order

Allows you to remove a specific post-sales order record (e.g., a return or exchange request) by its unique identifier.

🔒

Requires write_order access scope. More access scope

The Delete Post Sale Order API allows developers remove a specific post-sale order record from the system.

This API is especially useful for:

  1. Cleaning up cancelled post-sale requests
  2. Removing duplicate or erroneous post-sale records
  3. Maintaining data hygiene in returns/refunds systems

Request Parameters

Public Request Parameters

📘

Path Parameters

ParameterTypeRequiredDescriptionExample
post_sale_idstringYesID of the post-sale order to delete"ps_12345"

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"success"Status code of the API response
messagestring"Order retrieved successfully"Descriptive message about the response
dataobject-Complete order object containing all details

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!