Shops > Shops > shopsCreate
POST:shops.json
Description
Create a new shop.
Even though API takes array as body, creating only one shop at a time is allowed. API looks like that for consistency reasons.
Topic: Shops
Arguments
data: [ShopCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Shop's lana.sh sub-domain, must be unique
Example: "apple"
Currency code
Example: "USD"
Name of the shop
Example: "Apple Computers"
Valid when: name is not empty
Email for shop notifications
Example: "john@smith.com"
Valid when: notification_email's length doesn't exceed 250 characters
Unique identifier for the subscription plan a customer is on
Example: "Medium"
shop_address: AddressCreate!
Address of the shop
Whether shop is in test mode or not
Example: false
Result
[Shop!]
Preview (typescript)
Loading module