buyLinksModify
buyLinksModify
POST:buy_links.json

Description

Modify one or multiple buy links.

Permission bit: "buy_links.modify"

Arguments

data: [BuyLinkModify!]!

Main argument for mutations.


ids: [String!]!

List of buy link ids. See also: Unique Identifiers


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

custom_items: [OrderCustomItemCreate!]


enabled: Boolean

Whether this link is enabled or not

Example: false


line_items: [BuyLinkLineItemCreate!]


name: String

Human-friendly name of the Buy Link

Example: "Mega Frobnicate"

Valid when: name is not empty

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


Result

[BuyLink!]

Preview (typescript)

Loading module