Returns > Return Inspections > returnInspectionsCreate
Commerce APIReturnsReturn InspectionsreturnInspectionsCreate
returnInspectionsCreate
POST:return_inspections.json

Description

Create one or multiple return inspections.

Permission bit: "return_inspections.create"

Topic: Return Inspections

Arguments

data: [ReturnInspectionCreate!]!

Main argument for mutations.


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