Types > Shop
Commerce APITypesShop

Shop

Description

Topic: Shops

Fields

app_domain: String!

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

Example: "apple"


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)


entity: Entity

Entity shop belongs to

Expandable


id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


organization: Organization

Organization shop belongs to

Expandable


owner: User

Owner of the shop

Expandable


pending_transfer_organization: Organization

Shop is being transferred to this organization

Expandable


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