Skip to main content
Retrieve the details of a sale by its unique identifier.

Endpoint

Authentication

Requires the view_sales OAuth scope.

Path Parameters

string
required
The unique external ID of the sale to retrieve.

Response

Returns a sale object if a valid identifier was provided.
boolean
required
Indicates if the request was successful.
object
required
The sale object.

Example Request

Example Response

Error Response

If the sale is not found or doesn’t belong to the authenticated user:

Error Codes

error
Bad Request - Invalid sale ID format
error
Unauthorized - Invalid or missing access token
error
Forbidden - Token does not have view_sales scope
error
Not Found - Sale does not exist or does not belong to the authenticated user