Returns > Returns > returnsCheck
Commerce APIReturnsReturnsreturnsCheck
returnsCheck
POST:returns/check.json

Description

Mark some of the inspections as complete in a return.

Permission bit: "returns.modify"

Topic: Returns

Arguments

data: [ReturnCheck!]!

Main argument for mutations.


return_id: String!

Unique return identifier. See also: Unique Identifiers

Example: "rt_EQzGqWoY"


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

checked: Boolean!

Whether this inspection is complete or not

Example: false


fulfillment_id: String!

Fulfillment id

Example: "fu_EQzGqWoY"

Valid when: fulfillment_id matches regexp pattern: ^fu_


inspection_id: String!

Unique return inspection identifier. See also: Unique Identifiers

Example: "ri_EQzGqWoY"

Valid when: inspection_id matches regexp pattern: ^ri_


line_item_id: String!

Line item id

Example: "li_EQzGqWoY"

Valid when: line_item_id matches regexp pattern: ^li_


variant_id: String!

A unique product variant identifier

Example: "va_EQzGqWoY"

Valid when: variant_id matches regexp pattern: ^va_


Result

Return

Preview (typescript)

Loading module