POST:returns/approve.json
Commerce APIPOST:returns/approve.json

POST:returns/approve.json

Description

Approve a return. It will mark fulfillment items are returned.

Permission bit: "returns.modify"

Topic: Returns

Query Parameters

return_id: String, required

Unique return identifier. See also: Unique Identifiers

Example: ?return_id=rt_EQzGqWoY


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

ReturnApprove

{
  "label_file_id": "fi_EQzGqWoY",
  "shipping_provider_type": "auspost",
  "tracking_company": "Ship & Co",
  "tracking_number": "1Z2345",
  "tracking_url": "http://www.google.com/search?q=1Z2345"
}

Response Body

Return

Response Body Type

Loading module