Skip to Content

Merchant

The merchant, including company status, address, and formatting preferences.

Type Definition

type Merchant { isOnTrial: Boolean address: Address isCompany: Boolean dateFormat: String timeFormat: String datetimeFormat: String timeZone: String }

Fields

FieldTypeDescription
isOnTrialBooleanReturns true if merchant is on trial.
addressAddressReturns the merchant address.
isCompanyBooleanReturns true if merchant is a company.
dateFormatStringReturns the default date format.
timeFormatStringReturns the default time format.
datetimeFormatStringReturns the default datetime format.
timeZoneStringReturns the merchant time zone.

Relationships

The Merchant type contains a relationship to the Address type through the address field, which returns the merchant’s address information including location and contact details.

Example

{ merchant { isOnTrial isCompany dateFormat timeFormat datetimeFormat timeZone address { city country } } }

Implements

This type does not implement any interfaces.