TanqoryExtCompanyLocation
- Object
- Storefront
Fields
| Field | Type | Description |
|---|---|---|
id | ID! | The id cartBuyerIdentityUpdate(companyLocationId) takes. |
name | String! | |
companyName | String! | |
currencyCode | CurrencyCode | |
shippingAddress | TanqoryExtCompanyAddress | The location's shipping address (the reference's Customer Account API CompanyLocation.shippingAddress); null when it has none. |
billingAddress | TanqoryExtCompanyAddress | The location's billing address (CompanyLocation.billingAddress); null when it has none. |
editableShippingAddress | Boolean! | Whether a buyer may ship this location's orders to another address than its shipping address (BuyerExperienceConfiguration.editableShippingAddress). When false, checkout ships only to the shipping address. |
isLocationAdmin | Boolean! | True when the customer holds the Location admin role at the location: |
orders | OrderConnection! | The location's orders (the reference's Customer Account API CompanyLocation.orders): every order placed for the location for a Location admin, the customer's own orders placed for it otherwise. |
roleAssignments | [TanqoryExtCompanyRoleAssignment!]! | Who buys for this location and with which role (the reference's Customer Account API CompanyLocation.roleAssignments): one entry per contact holding a role here, the customer's own first, then by name. Every buyer of the location reads it; the account shows it under Staff and permissions. Private token only. |
storeCreditAccounts | [TanqoryExtStoreCreditAccount!]! | The location's own store credit accounts and spendable balances (the reference's StoreCreditAccount with owner CompanyLocation): credit the merchant issues to this location, spent at checkout only on a cart bought for it. Never the customer's own credit (Customer.tanqoryExtStoreCreditAccounts). Private token only. |