Returns > Return Inspections > returnInspectionsModify
Commerce APIReturnsReturn InspectionsreturnInspectionsModify
returnInspectionsModify
POST:return_inspections.json

Description

Modify one or multiple return inspections.

Permission bit: "return_inspections.modify"

Topic: Return Inspections

Arguments

data: [ReturnInspectionModify!]!

Main argument for mutations.


ids: [String!]!

List of return reason ids. See also: Unique Identifiers

Example: ["rr_EQzGqWoY"]


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

description: String

Return inspection description (custom reasons only)

Example: "All original tags and labels still attached"

Valid when: description's length doesn't exceed 250 characters


enabled: Boolean

Whether return inspection is enabled or not

Example: true


Result

[ReturnInspection!]

Preview (typescript)

Loading module