Returns > Return Reasons > returnReasons
Commerce APIReturnsReturn ReasonsreturnReasons
returnReasons
GET:return_reasons.json

Description

Get all or specific return reasons.

This is a typical bulk get endpoint.

Permission bit: "return_reasons.read"

Topic: Return Reasons

Arguments

ids: [String!]

List of return reason ids. See also: Unique Identifiers

Example: ["rr_EQzGqWoY"]


loose: Boolean

When asking for multiple items, allow returning less than was asked (in case some are missing)


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

[ReturnReason!]

Preview (typescript)

Loading module