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

POST:returns/check.json

Description

Mark some of the inspections as complete in a return.

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

Array of ReturnCheck

[
  {
    "checked": false,
    "fulfillment_id": "fu_EQzGqWoY",
    "inspection_id": "ri_EQzGqWoY",
    "line_item_id": "li_EQzGqWoY",
    "variant_id": "va_EQzGqWoY"
  }
]

Response Body

Return

Response Body Type

Loading module