Types > Shop
Commerce APITypesShop
Shop

Description

Topic: Shops

Fields

app_domain: String!

Shop's lana.sh sub-domain, must be unique

Example: "apple"


class: UserClass

Class of the user in context of a given shop


created_at: String!

The date and time when the shop was created, RFC 3339 format

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


currency: String!

Currency code

Example: "USD"


delete_reason: ShopDeleteReason

Reason, why shop was deleted


deleted_at: String

The date and time when the shop was deleted, RFC 3339 format

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


owner: User

Owner of the shop

Expandable

Permission bit: "users.read"


permissions: [String!]

User's permission bits in this shop


persistent_app_domain: String!

Persistent shop's lana.sh sub-domain, never changes, used for CNAME DNS configuration

Example: "shop-id-jd1jh5qw"


primary_domain: Domain

Selected primary domain or app_domain by default

Expandable

Permission bit: "domains.read"


test: Boolean!

Whether shop is in test mode or not

Example: false


updated_at: String!

The date and time when the shop was last updated, RFC 3339 format

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


Used By

Mutations

shopsCreate, shopsModify

Queries

shops

Preview (typescript)

Loading module