# POST /purchases/{id}/return-label.json **POST /purchases/{id}/return-label.json** ## Servers - http://api.example.com/v1: http://api.example.com/v1 () ## Authentication methods - Bearer auth ## Parameters #### Path parameters - **id** (integer(int64)) Numeric ID of the instance ## Body parameters Content-type: application/json - **aftershipId** (string | null) Aftership - **commercialInvoiceUrl** (string | null) Commercial invoice url - **createdAt** (string(date-time)) Created at - **days** (integer(int32) | null) Days - **dropshipmentId** (integer(int32) | null) Dropshipment - **durationTerms** (string | null) Duration terms - **fulfillmentId** (integer(int32) | null) Fulfillment - **grams** (number | null) Grams - **id** (integer(int32)) Id - **labelError** (string | null) Label error - **labelFileFormat** (string | null) Label file format - **labelFiles** (object | null | array | boolean | integer | number | string) Label files - **labelRefund** (boolean | null) Label refund - **labelUris** (object | null | array | boolean | integer | number | string) Label uris - **labelUrl** (string | null) Label url - **price** (number | null) Price - **provider** (string | null) Provider - **purchaseId** (integer(int32) | null) Purchase - **quoteId** (string | null) Quote - **serviceLevel** (string | null) Service level - **serviceLevelTerms** (string | null) Service level terms - **shippoLabelIds** (array[string] | null) Shippo label ids - **tags** (array[string] | null) Tags - **trackingCompany** (string | null) Tracking company - **trackingNumber** (string | null) Tracking number - **trackingStatus** (string | null) Tracking status - **trackingStatusDate** (string(date-time) | null) Tracking status date - **trackingStatusDetails** (string | null) Tracking status details - **trackingUrl** (string | null) Tracking url - **updatedAt** (string(date-time)) Updated at ## Responses ### 200: Successful response #### Body Parameters: application/json (object) - **aftershipId** (string | null) Aftership - **commercialInvoiceUrl** (string | null) Commercial invoice url - **createdAt** (string(date-time)) Created at - **days** (integer(int32) | null) Days - **dropshipmentId** (integer(int32) | null) Dropshipment - **durationTerms** (string | null) Duration terms - **fulfillmentId** (integer(int32) | null) Fulfillment - **grams** (number | null) Grams - **id** (integer(int32)) Id - **labelError** (string | null) Label error - **labelFileFormat** (string | null) Label file format - **labelFiles** (object | null | array | boolean | integer | number | string) Label files - **labelRefund** (boolean | null) Label refund - **labelUris** (object | null | array | boolean | integer | number | string) Label uris - **labelUrl** (string | null) Label url - **price** (number | null) Price - **provider** (string | null) Provider - **purchaseId** (integer(int32) | null) Purchase - **quoteId** (string | null) Quote - **serviceLevel** (string | null) Service level - **serviceLevelTerms** (string | null) Service level terms - **shippoLabelIds** (array[string] | null) Shippo label ids - **tags** (array[string] | null) Tags - **trackingCompany** (string | null) Tracking company - **trackingNumber** (string | null) Tracking number - **trackingStatus** (string | null) Tracking status - **trackingStatusDate** (string(date-time) | null) Tracking status date - **trackingStatusDetails** (string | null) Tracking status details - **trackingUrl** (string | null) Tracking url - **updatedAt** (string(date-time)) Updated at [Powered by Bump.sh](https://bump.sh)