Returns
POST: {api_url}/api/partner/payments/{purchaseid}/return
Authorization: Bearer {partner_access_token}
The method allows to submit a return or to make a price adjustment of goods purchased by a customer. The call is performed when the returned goods are received by the reseller or if some amount needs to be credited. All items submitted in the return call will be printed as negative invoice rows at the invoice.
Name | Data Type | Default value | Description | Required |
---|---|---|---|---|
Items | Collection of Item | None | A list of items representing the individual rows on an invoice. | True |
OrderReference | string | An empty string | An ID that identifies the order for which the purchase is to be made | True |
TranId | string | An empty string | A random unique ID generated by the calling party identifies the HTTP request. Although the property is not strictly required, we recommend generating a new random GUID and pass it. | False |
TrackingCode | string | An empty string | Generated code by the delivery company | False |
PosId | string | An empty string | POS ID is the device number. It is visible on every printout from the POS terminal in the left top corner of the receipt below your contact detaild or on a sticker on the POS terminal. | False |
Return Value
If successful, the method returns a HTTP status code 204 (OK with no content).