Shops > Domains > domainsCreate
Commerce APIShopsDomainsdomainsCreate
domainsCreate
POST:domains.json

Description

Add one or multiple domains to a given shop.

Permission bit: "domains.create"

Topic: Domains

Arguments

data: [DomainCreate!]!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

domain: String!

Domain itself

Example: "shop.apple.com"

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


Result

[Domain!]

Preview (typescript)

Loading module