CData Cloud offers access to Shopify across several standard services and protocols, in a cloud-hosted solution. Any application that can connect to a SQL Server database can connect to Shopify through CData Cloud.
CData Cloud allows you to standardize and configure connections to Shopify as though it were any other OData endpoint or standard SQL Server.
This page provides a guide to Establishing a Connection to Shopify in CData Cloud, as well as information on the available resources, and a reference to the available connection properties.
Establishing a Connection shows how to authenticate to Shopify and configure any necessary connection properties to create a database in CData Cloud
Accessing data from Shopify through the available standard services and CData Cloud administration is documented in further details in the CData Cloud Documentation.
Connect to Shopify by selecting the corresponding icon in the Database tab. Required properties are listed under Settings. The Advanced tab lists connection properties that are not typically required.
Connecting via an access token takes two steps:
Shopify supports OAuth authentication using the Client Credentials grant flow. You must create a custom OAuth application, define the required scopes, and install the application on the store where you want to retrieve data. See Creating a Custom OAuth Application for more information.
Note: The Client Credentials flow is available only for apps developed by your own organization and installed on stores that you own.
To connect, set the following properties:
Since the Cloud is not registered with Shopify you must use custom OAuth credentials to connect via web, desktop, or headless server. To register an app and obtain the client credentials, such as the OAuthClientId and OAuthClientSecret, follow these steps:
You may now use the client Id and secret credentials to access your store's data.
GraphQL was created to overcome shortcomings that REST APIs were not designed to address. Working with GraphQL has a number of advantages, one of which being the reduced number of HTTP calls required to obtain all of the data available through REST API.
However, calls to the GraphQL Admin API are limited based on estimated query costs, which means that the cost of queries over time should be considered rather than the amount of requests.
The points function in a very straightforward manner. A bucket of 1000 cost points is given to each app and store combination, with a leak rate of 50 cost points per second. This means that at any given time, the total cost of your queries cannot exceed 1,000 points, and that space in the app's bucket is created at a rate of 50 points per second. Plainly put, every second, you're given 50 points in a typical plan. Any mutation that requires you to edit, create, or delete data costs ten points. The cost of obtaining an object, on the other hand, is merely one point. Let's imagine you needed an order, but you also wanted each and every line item from that order. That isn't going to be a one-point penalty. If your order contains 10 line items, each of those line items will cost one point, and the order itself will cost one point, totaling 11 points.
The requested and actual query costs are combined to set the limit. Before the query can be executed, the app's bucket must have enough space to accommodate the desired cost. When the query is finished, the bucket is repaid the difference between the requested and actual query costs.
The cost of the request and the state of the throttle are included in the response. The following information is returned under the extensions key:
"extensions": {
"cost": {
"requestedQueryCost": 101,
"actualQueryCost": 46,
"throttleStatus": {
"maximumAvailable": 1000,
"currentlyAvailable": 954,
"restoreRate": 50
}
}
}
Taking these into consideration, our driver must calculate the appropriate quantity of data that can be retrieved each request to avoid throttling. The pagesize of a table is calculated automatically based on the number of fields and data in the table to conform to GraphQL API restrictions. Due to a low computed pagesize, performance for large tables in GraphQL may be lacking. An alternative is to increase the MaxPointsPerCall, which forces an increase in the pageisze, but we do not encourage this as it will most certainly result in throttling.
Bulk operations, rather than single queries, are recommended for data replication tasks.
Bulk operations are intended to handle massive amounts of data and do not have the same cost or rate constraints as single queries. You'll have to paginate your data sets if you don't utilize the bulk query. For REST, for example, a response can only include 250 elements. GraphQL is cost-based, but you're still limited to a specific number per request.
With a Bulk Operation API, this is not the case. Therefore, when using the GraphQL schema, we suggest setting UseBulkAPI to TRUE in the connection string to retrieve massive amounts of data without concerns about pagination or throttling.
By default, the Cloud attempts to negotiate TLS with the server. The server certificate is validated against the default system trusted certificate store. You can override how the certificate gets validated using the SSLServerCert connection property.
To specify another certificate, see the SSLServerCert connection property.
To authenticate to an HTTP proxy, set the following:
Set the following properties:
The CData Cloud models entities in the Shopify API as an easy-to-use SQL database, using tables, views, and stored procedures. These are defined in schema files, which are simple, easy-to-read text files that define the structure and organization of data.
The driver exposes two schemas, which you select in Schema:
Note: Shopify typically releases new API versions quarterly. If a stable API version is no longer supported, Shopify automatically defaults to the oldest supported stable version to respond to your API request. For more information on Shopify's API versioning, click this link.
The CData Cloud is a semi-dynamic driver. This means that it exposes a static schema but can also retrieve dynamic columns from custom fields (for example, in the Products and ProductVariants tables). To enable this feature for either API schema (REST or GraphQL), follow the instructions in IncludeCustomFields. Note that the search for custom fields is limited to 250 rows.
The CData Cloud models entities in the Shopify API as an easy-to-use SQL database, using tables, views, and stored procedures. These are defined in schema files, which are simple, easy-to-read text files that define the structure and organization of data.
Note: Shopify typically releases new API versions quarterly. If a stable API version is no longer supported, Shopify automatically defaults to the oldest supported stable version to respond to your API request. For more information on Shopify's API versioning, click this link.
See REST Data Model for the available entities in the REST API.
See GRAPHQL Data Model for the available entities in the GraphQL API.
The CData Cloud models the Shopify API as relational tables, views, and stored procedures.
To use the REST Data Model, simply set Schema to REST.
Note: As of October 1, 2024, Shopify has designated the REST API as legacy.
The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.
Common tables include:
| Table | Description |
| Shop | Contains general settings and information about the shop. |
| Customers | Create, update, delete, and query customers. |
| CustomerAddresses | Create, update, delete, and query customer addresses. |
| Orders | Create, update, delete, and query orders. |
| OrdersItems | Query order items. |
| OrderTransactions | Create, update, delete, and query transactions. |
| Refunds | Create, update, delete, and query refunds. |
| RefundsItems | Get data on OrdersItems that have been refunded. |
| Redirects | Create, update, delete, and query redirects. |
| Collects | Query, insert, or delete information regarding different collects. |
| DiscountCodes | Create, select, update, and delete information regarding discount codes. |
| PriceRules | Create, update, delete, and query price rules. |
| DraftOrders | Create, update, delete, and query draft orders. |
| DraftOrderItems | Query draft order items. |
| Fulfillments | Create, update, and query fulfillments. |
| FulfillmentOrders | Query fulfillment orders. |
| FulfillmentEvents | Create, delete, and query information regarding fulfillment events. |
| Locations | Retrieve information regarding store locations. |
| TaxItems | Query order taxes. |
| Users | Query Users. |
Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing order cancellations and fulfillments, sending invoices, and handling authentication flows.
The Cloud models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.
| Name | Description |
| ApplicationCharges | Create or view Application Charges for Billing. |
| ApplicationCredit | Create or view Application Credit for Billing. |
| Articles | Create, read, update or delete articles |
| Assets | Create, read, update or delete assets. CUD support is no longer accessible for public apps. |
| Blogs | Create, read, update or delete blogs |
| CarrierServices | Returns a list of resource feedback objects.. |
| CollectionListings | Query and delete information regarding different collects. |
| Collects | Query, insert, or delete information regarding different collects. |
| Comments | Create, read, update and delete the comments. |
| Countries | Create, select, update, and delete information regarding countries. |
| CustomCollections | Query, insert, update, or delete information regarding different custom collections. |
| CustomerAddresses | Create, update, delete, and query customer addresses. |
| Customers | Create, update, delete, and query customers. |
| DiscountCodes | Create, select, update, and delete information regarding discount codes. |
| DraftOrders | Create, update, delete, and query draft orders. |
| FulfillmentEvents | Create, delete, and query information regarding fulfillment events. |
| Fulfillments | Create, update, and query fulfillments. |
| FulfillmentServices | Query, create, update, and delete information regarding different fulfillment services. |
| GiftCards | Create, update, delete, and query gift cards. |
| MarketingEvents | Create, update, delete, and query marketing events. |
| Metafields | Retrieves a list of metafields that belong to a resource. |
| Orders | Create, update, delete, and query orders. |
| OrderTransactions | Create and query transactions. |
| Pages | Create, read, update or delete pages |
| PriceRules | Create, update, delete, and query price rules. |
| Provinces | Query and update information regarding different provinces. |
| RecurringApplicationCharges | Create, update, delete, and query Recurring Application Charges. |
| Redirects | Create, read, update or delete redirects. |
| Refunds | Create and query refunds. |
| ResourceFeedbacks | Returns a list of resource feedback objects.. |
| ScriptTags | Create, read, update or delete script tags. |
| SmartCollections | Query, insert, update, or delete information regarding different smart collections. |
| Themes | Create, read, update or delete themes |
| UsageCharges | Create or view Usage Charges for Recurring Application Charges. |
Create or view Application Charges for Billing.
SELECT * FROM ApplicationCharges WHERE Id = '123'
INSERT INTO ApplicationCharges ( Test ) VALUES ( 'true' )
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The Unique Identifier of the Application Charge | |
| Name | String | False |
The Order Number | |
| ApiClientId | Long | True |
The API Client ID | |
| Price | Decimal | False |
The price of the application charge | |
| Status | String | True |
The status of the application charge. Valid Values are: pending, active, declined, expired | |
| ReturnUrl | String | False |
The URL where the merchant is redirected after accepting a charge. | |
| Test | String | False |
Whether the application charge is a test transaction. Valid values:true,null | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the application charge was created. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the application charge was last updated. | |
| ChargeType | String | True |
The type of the application charge | |
| DecoratedReturnUrl | String | True |
The decorated return url |
Create or view Application Credit for Billing.
SELECT * FROM ApplicationCredit WHERE Id = '123'
INSERT INTO ApplicationCredit (Amount, Description, Test) VALUES ('100', 'success or failure', 'true')
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the application credit. | |
| Amount | Decimal | False |
The amount refunded by the application credit. | |
| Description | String | False |
The description of the application credit. | |
| Test | String | False |
Whether the application credit is a test transaction. Valid values: true,null |
Create, read, update or delete articles
SELECT * FROM Articles
SELECT * FROM Articles WHERE Id = '123'
You must specify the Title to create an Article.
INSERT INTO Articles (BlogId, Author, Title) VALUES ('599421749', 'Adam', 'New Article')
You must specify the blog id and id to update an article. For example:
UPDATE Articles SET Author = 'Harry' WHERE BlogId = '599421749' AND Id = '5557081211'
You must specify the Id and the Blog Id of the article to delete it.
DELETE FROM Articles WHERE BlogId = '599421749' AND Id = '5556952105'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the article. | |
| BlogId [KEY] | Long | False |
Blogs.Id |
The ID of the blog containing the article. |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Author | String | False |
The name of the author of the article. | |
| BodyHtml | String | False |
The text of the body of the article, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the article was created. | |
| Handle | String | False |
A human-friendly unique string for the article that's automatically generated from the article's title. The handle is used in the article's URL. | |
| ImageAlt | String | False |
Alternative text that describes the image. | |
| ImageCreatedAt | Datetime | True |
The date and time when image is created. | |
| ImageHeight | Int | False |
Height of the image. | |
| ImageSrc | String | False |
A source URL that specifies the location of the image. | |
| ImageWidth | Int | False |
Width of the image. | |
| ImageAttachment | String | False |
An image attached to article returned as Base64-encoded binary data. | |
| PublishedAt | Datetime | False |
The date and time (ISO 8601 format) when the article was published. | |
| SummaryHtml | String | False |
A summary of the article, complete with HTML markup. | |
| Tags | String | False |
Tags are additional short descriptors formatted as a string of comma-separated values. | |
| TemplateSuffix | String | False |
The name of the template an article is using if it's using an alternate template. If an article is using the default article.liquid template, then the value returned is null. | |
| Title | String | False |
The title of the article. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the article was last updated. | |
| UserId | Long | True |
A unique numeric identifier for the author of the article. | |
| PublishedStatus | String | False |
Filter articles by their publish status. Valid values are: published, unpublished and any ; default: any. The allowed values are published, unpublished, any. |
Create, read, update or delete assets. CUD support is no longer accessible for public apps.
SELECT * FROM Assets WHERE Key = 'assets/abc.gif'
You must specify the Theme Id and Key to insert an Asset. For example:
INSERT INTO Assets(Key, Value, ThemeId) VALUES('assets/abc.gif', '', '282977')
You must specify the Theme Id and Key to update an Asset. For example:
UPDATE Assets SET value = 'pqrs' WHERE Key = 'assets/abc.gif' AND ThemeId = '282977'
You must specify the Id and the Theme Id of the Asset to delete it.
DELETE FROM Assets WHERE Key = 'assets/abc.gif' AND ThemeId = '282977'
| Name | Type | ReadOnly | References | Description |
| Key [KEY] | String | False |
The path to the asset within a theme. | |
| ThemeId [KEY] | Long | True |
Themes.Id |
The ID for the theme that an asset belongs to. |
| Attachment | String | False |
A base64-encoded image. | |
| Checksum | String | True |
The MD5 representation of the content, consisting of a string of 32 hexadecimal digits. May be null if an asset has not been updated recently. | |
| ContentType | String | True |
The MIME representation of the content, consisting of the type and subtype of the asset. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the asset was created. | |
| PublicUrl | String | True |
The public-facing URL of the asset. | |
| Size | Int | True |
The asset size in bytes. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when an asset was last updated. | |
| Value | String | False |
The text content of the asset, such as the HTML and Liquid markup of a template file. |
Create, read, update or delete blogs
SELECT * FROM Blogs WHERE Id = '123'
SELECT * FROM Blogs WHERE Id IN ('123', '345')
SELECT * FROM Blogs WHERE Handle = 'new-blog-5927';
SELECT * FROM Blogs WHERE Handle IN ('new-blog-5927', 'new-blog-5926');
You must specify the Title to create a Blog.
INSERT INTO Blogs (title) VALUES ('new blog')
INSERT INTO Blogs (Title, Metafields) VALUES ('new blog','[{"key":"sponsor","value":"shopify","type":"single_line_text_field","namespace":"global"}]')
You must specify the id to update a Blog. For example:
UPDATE Blogs SET title = 'new blog' WHERE Id = '77171130'
UPDATE Blogs SET Metafields='[{"key":"sponsor","value":"shopify","type":"single_line_text_field","namespace":"global"}]' WHERE Id='77171130'
You must specify the Id of the Blog to delete it.
DELETE FROM Blogs WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the blog. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Commentable | String | False |
Indicates whether readers can post comments to the blog and if comments are moderated or not. The allowed values are no, yes, moderate. | |
| CreatedAt | Datetime | True |
The date and time when the blog was created. | |
| Feedburner | String | False |
Feedburner is a web feed management provider and can be enabled to provide custom RSS feeds for Shopify bloggers. This property will default to blank or null unless feedburner is enabled through the shop admin. | |
| FeedburnerLocation | String | False |
URL to the feedburner location for blogs that have enabled feedburner through their store admin. This property will default to blank or null unless feedburner is enabled through the shop admin. | |
| Handle | String | False |
A human-friendly unique string for a blog automatically generated from its title. | |
| Metafields | String | False |
Attaches additional metadata to a store's resources. | |
| Tags | String | False |
Tags are additional short descriptors formatted as a string of comma-separated values. | |
| TemplateSuffix | String | False |
States the name of the template a blog is using if it is using an alternate template. If a blog is using the default blog.liquid template, the value returned is null. | |
| Title | String | False |
The title of the blog. | |
| UpdatedAt | Datetime | True |
The date and time when changes were last made to the blog's properties. |
Returns a list of resource feedback objects..
SELECT * FROM CarrierServices
SELECT * FROM CarrierServices WHERE Id = '123'
SELECT * FROM CarrierServices WHERE Id IN ('123', '235');
You must specify path and target to create a Redirect.
INSERT INTO [CarrierServices] (Name, Type, CallbackUrl) VALUES ('ApiServiceType', 'api', 'https://test.com');
You must specify the id to update a Redirect. For example:
UPDATE [CarrierServices] SET [Active] = 'false' WHERE [Id] = 59103608855;
You must specify the Id of the Redirect to delete it.
DELETE FROM [CarrierServices] WHERE [Id] = 59103608855;
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the carrier service. | |
| Active | Bool | False |
Whether this carrier service is active. If true, then the service will be available to serve rates in checkout. | |
| Name | String | False |
The name of the shipping service as seen by merchants and their customers. | |
| CallbackUrl | String | False |
The URL endpoint that Shopify needs to retrieve shipping rates. This must be a public URL. | |
| Type | String | False |
Distinguishes between API or legacy carrier services. | |
| Format | String | False |
The format of the data returned by the URL endpoint. json is the only valid value. | |
| ServiceDiscovery | String | False |
Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples. | |
| AdminGraphqlApiId | String | False |
The GraphQL GID for this carrier service. |
Query and delete information regarding different collects.
SELECT * FROM CollectionListings WHERE Id = '123'
You must specify the Id of the collection listing to delete it.
DELETE FROM CollectionListings WHERE id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The Id of the collection this listing belongs to. | |
| Title | String | True |
The titke of the collection listing. | |
| BodyHtml | String | True |
The HTML body/description for this listing. | |
| DefaultProductImage | String | True |
The default product image in this listing. | |
| ImageCreatedAt | String | True |
The date and time the image for this listing was created at. | |
| ImageSource | String | True |
The source/link of the image for this listing. | |
| Handle | String | True |
The handle of this listing. | |
| UpdatedAt | Datetime | True |
The date and time when the collection listing was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the collection listing was created. |
Query, insert, or delete information regarding different collects.
SELECT * FROM Collects WHERE Id = '123'
You must specify the ProductId and CollectionId to create a collect.
INSERT INTO Collects (ProductId, CollectionId) VALUES ('512433520663', '22892937239')
You must specify the Id of the collect to delete it.
DELETE FROM Collects WHERE id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the collect. | |
| CollectionId | Long | False |
The Id of the collection this collection is linked with. | |
| ProductId | Long | False |
The Id of the product this collection is linked with. | |
| Position | Int | True |
The position of this product in a manually sorted custom collection. The first position is 1. This value is applied only when the custom collection is sorted manually. | |
| SortValue | String | True |
This is the same value as position but padded with leading zeroes to make it alphanumeric-sortable. | |
| CreatedAt | Datetime | True |
The date and time when the collect was created. | |
| UpdatedAt | Datetime | True |
The date and time when the collect was last modified. |
Create, read, update and delete the comments.
SELECT * FROM Comments WHERE Id = '123'
You must specify Article Id, Author, Body, Email to create a Comment.
INSERT INTO Comments (articleid, author, body, email) VALUES ('5557001', 'Harry', 'test', '[email protected]')
You must specify the Id to update a Comment. For example:
UPDATE Comments SET Author = 'Adam' WHERE Id = '77171130'
You must specify the Id of the Comments to delete it.
DELETE FROM Comments WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the comment. | |
| BlogId | Long | False |
Blogs.Id |
A unique numeric identifier for the blog containing the article that the comment belongs to. |
| ArticleId | Long | False |
Articles.Id |
A unique numeric identifier for the article that the comment belongs to. |
| Author | String | False |
The name of the author of the comment. | |
| Body | String | False |
The basic Textile markup of a comment. | |
| BodyHtml | String | False |
The text of the comment, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the comment was created. | |
| String | False |
The email address of the author of the comment. | ||
| Ip | String | False |
The IP address from which the comment was posted. | |
| PublishedAt | String | False |
The date and time (ISO 8601 format) when the comment was published. | |
| Status | String | True |
The status of the comment. The allowed values are pending, approved, unapproved, spam, published, removed. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the comment was last modified. | |
| UserAgent | String | False |
The user agent string provided by the software used to create the comment. | |
| PublishedStatus | String | False |
Filter comments by their publish status. The allowed values are published, unpublished, any. |
Create, select, update, and delete information regarding countries.
SELECT * FROM Countries
SELECT * FROM Countries WHERE Id = '123'
You must specify the Code to create a country.
INSERT INTO Countries (Code) VALUES ("FR")
You must specify the country Id to update a country. For example:
UPDATE Countries SET Tax = 0.1 WHERE Id = '123'
You must specify the Id of the country to delete it.
DELETE FROM Countries WHERE id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the country. | |
| Name | String | True |
The name of the country. | |
| Code | String | False |
The code of the country. | |
| Tax | Decimal | False |
The amount of tax which should be applied for this country. | |
| Provinces | String | False |
The sub-regions of a country, such as its provinces or states. Each sub-region has the following properties: code: The two letter province or state code, country_id: The ID for the country to which this sub-region belongs, id: The ID for the particular sub-region, name: The name of the sub-region, tax: The tax value in decimal format, tax_name: The name of the tax as it is referred to in the applicable sub-region. For example, in Canada, the sales tax in the province Ontario is referred to as HST, tax_type: The tax type. Valid values: null, normal, or harmonized. If the value is harmonized, then the tax is compounded of the provincial and federal sales taxes, tax_percentage: The tax value in percent format |
Query, insert, update, or delete information regarding different custom collections.
For example, the following queries are processed server-side.
SELECT * FROM CustomCollections WHERE Id = '123'
SELECT * FROM CustomCollections WHERE Id IN ('123', '456')
SELECT * FROM CustomCollections WHERE ProductId = '123'
SELECT * FROM CustomCollections WHERE Title = 'Ducks'
SELECT * FROM CustomCollections WHERE Handle = 'frontpage'
SELECT * FROM CustomCollections WHERE Handle IN ('frontpage', 'lastpage')
SELECT * FROM CustomCollections WHERE PublishedStatus = 'published'
SELECT * FROM CustomCollections WHERE UpdatedAt > '2018-05-02'
SELECT * FROM CustomCollections WHERE PublishedAt < '2017-08-15'
You must specify the Title to create a custom collection.
INSERT INTO CustomCollections (Title) VALUES ('Macbooks')
INSERT INTO CustomCollections (Title, Published) VALUES ('Macbooks', false)
You must specify the custom collection Id to update a custom collection. For example:
UPDATE CustomCollections SET Title = 'Updated title' WHERE Id = '123'
You must specify the Id of the custom collection to delete it.
DELETE FROM CustomCollections WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the custom collection. | |
| Title | String | False |
The title of the custom collection. | |
| BodyHtml | String | False |
The body/description of the custom collection. | |
| Image | String | False |
A JSON aggregate with information regarding the image of custom collection. | |
| Metafields | String | False |
Attaches additional metadata to a shop's resources: key: An identifier for the metafield. (maximum: 30 characters), namespace: A container for a set of metadata. Namespaces help distinguish between metadata created by different apps. (maximum: 20 characters), value: Information to be stored as metadata, value_type: The information type being stored. Valid values: string or integer, description (optional): Additional information about the metafield . | |
| Handle | String | False |
A human-friendly unique string for the custom collection automatically generated from its title. | |
| SortOrder | String | False |
The order in which products in the custom collection appear. | |
| TemplateSuffix | String | False |
The suffix of the liquid template being used. | |
| PublishedScope | String | False |
The sales channels in which the custom collection is visible. | |
| UpdatedAt | Datetime | True |
The date and time when the custom collection was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the custom collection was published to the Online Store channel. | |
| ProductId | String | False |
Show custom collections that include a given product. | |
| PublishedStatus | String | False |
Show custom collection with a given published status: published: show only published custom collections, unpublished: show only unpublished custom collections, any: show custom collections of any published status. (default: any). The allowed values are published, unpublished, any. |
Create, update, delete, and query customer addresses.
For example, the following queries are processed server-side:
SELECT * FROM CustomerAddresses WHERE CustomerId = '123'
SELECT * FROM CustomerAddresses WHERE CustomerId IN ('123', '456')
SELECT * FROM CustomerAddresses WHERE CustomerUpdatedAt >= '2018-05-04'
You must specify the customer Id to create an address.
INSERT INTO CustomerAddresses (CustomerId, Address1, City, Company) VALUES ('123', '1 Rue des Carrieres', 'Suite 1234', 'Montreal')
You must specify the customer Id and the Id of the customer address to update an address.
UPDATE CustomerAddresses SET Zip = '90210' WHERE CustomerId = '123' AND Id = '456'
You must specify the customer Id and the Id of the customer address to delete an address. You cannot delete a customer's default address.
DELETE FROM CustomerAddresses WHERE CustomerId = '183467180055' AND Id = '292265787415'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the address. | |
| CustomerId [KEY] | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| CustomerUpdatedAt | Datetime | True |
The date and time when the customer information was last updated. | |
| Name | String | False |
The customer's name. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| Company | String | False |
The customer's company. | |
| Address1 | String | False |
The customer's mailing address. | |
| Address2 | String | False |
An additional field for the customer's mailing address. | |
| City | String | False |
The customer's city. | |
| Province | String | False |
The customer's province or state name. | |
| Country | String | False |
The customer's country. | |
| Zip | String | False |
The customer's zip or postal code. | |
| Phone | String | False |
The customer's phone number for this mailing address. | |
| ProvinceCode | String | False |
The two-letter pcode for the customer's province or state. | |
| CountryCode | String | False |
The two-letter country code corresponding to the customer's country. | |
| CountryName | String | False |
The customer's normalized country name. | |
| Default | Bool | True |
Indicates whether this address is the default address for the customer. |
Create, update, delete, and query customers.
SELECT * FROM Customers WHERE Id = '123'
SELECT * FROM Customers WHERE Id IN ('123', '456')
SELECT * FROM Customers WHERE CreatedAt >= '2017-10-25'
SELECT * FROM Customers WHERE CreatedAt <= '2017-10-25'
SELECT * FROM Customers WHERE UpdatedAt <= '2017-10-25'
SELECT * FROM Customers WHERE UpdatedAt >= '2017-10-25'
SELECT * FROM Customers WHERE FirstName = 'abc'
SELECT * FROM Customers WHERE LastName = 'xyz'
SELECT * FROM Customers WHERE Email = '[email protected]'
SELECT * FROM Customers WHERE OrdersCount = 5
SELECT * FROM Customers WHERE Phone = '999999999'
SELECT * FROM Customers WHERE VerifiedEmail = true
SELECT * FROM Customers WHERE UpdatedAt = '2017-10-25'
The Email field is required to insert.
INSERT INTO Customers (Email, Phone) VALUES ('[email protected]', '+15142546011')
INSERT INTO Customers (Email, Phone, SendEmailInvite) VALUES ('[email protected]', '+15142546011', true)
You must specify the Id of the customer to update a customer.
UPDATE Customers SET Note = 'Customer is a great guy' WHERE Id = '123'
UPDATE Customers SET Tags = 'New Customer, Repeat Customer' WHERE Id = '123'
You must specify the Id of the customer to delete a customer.
DELETE FROM Customers WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the customer. | |
| LastOrderId | Long | True |
Orders.Id |
The id of the customer's last order. |
| LastOrderName | String | True |
The name of the customer's last order. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| String | False |
The unique email address of the customer. | ||
| Phone | String | False |
The unique phone number for this customer. | |
| TaxExempt | Bool | False |
Indicates whether the customer should be charged taxes when placing orders. | |
| TotalSpent | Decimal | True |
The total amount of money that the customer has spent at the shop. | |
| OrdersCount | Int | True |
The number of orders associated with this customer. | |
| MultipassIdentifier | String | True |
The customer's identifier used with Multipass login. | |
| Note | String | False |
A note about the customer. | |
| EmailMarketingState | String | False |
The current email marketing state for the customer. | |
| EmailMarketingLevel | String | False |
The marketing subscription opt-in level. | |
| EmailMarketingUpdatedAt | Datetime | False |
The date and time when the customer consented to receive marketing material by email. | |
| State | String | True |
The state of the customer's account in a shop. | |
| Tags | String | False |
The tags for this customer. Separate with comma for multiple tags. | |
| VerifiedEmail | Bool | True |
States whether or not the email address has been verified. | |
| CreatedAt | Datetime | True |
The date and time when the customer was created. | |
| UpdatedAt | Datetime | True |
The date and time when the customer information was updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Password | String |
Password of the customer. |
| PasswordConfirmation | String |
Password confirmation of the customer. |
| SendEmailWelcome | Bool |
Whether to send a welcome email to the customer or not. |
| SendEmailInvite | Bool |
Whether to send an invite email to the customer or not. |
Create, select, update, and delete information regarding discount codes.
For example, the following queries are processed server-side:
SELECT * FROM DiscountCodes WHERE PriceRuleId = '123'
SELECT * FROM DiscountCodes WHERE PriceRuleId = '123' AND Id = '456'
You must specify the PriceRuleId and Code to create a discount code.
INSERT INTO DiscountCodes (PriceRuleId, Code) VALUES ('290807676951', 'SUMMERSALE100OFF')
You must specify the PriceRuleId and Id to update a discount code. For example:
UPDATE DiscountCodes SET Code = 'WINTERSALE500OFF' WHERE PriceRuleId = '123' AND Id = '456'
You must specify the Id of the custom collection to delete it.
DELETE FROM DiscountCodes WHERE PriceRuleId = '123' AND Id = '456'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the discount code. | |
| PriceRuleId [KEY] | Long | False |
PriceRules.Id |
The Id for the price rule that this discount code belongs to. |
| Code | String | False |
The case-insensitive discount code that customers use at checkout. | |
| UsageCount | Int | True |
The number of times that the discount code has been redeemed. | |
| CreatedAt | Datetime | True |
The date and time when the discount code was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount code was last modified. |
Create, update, delete, and query draft orders.
The Cloud uses the Shopify API to process search criteria that refer to the Id, Status, and UpdatedAt columns. The supported SQL operators are "=" and "IN" for Id, "=" for Status, and ">" and "<" for UpdatedAt. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DraftOrders WHERE Id = '123'
SELECT * FROM DraftOrders WHERE Id IN ('123', '456')
SELECT * FROM DraftOrders WHERE Status = 'completed'
SELECT * FROM DraftOrders WHERE UpdatedAt > '2018-02-05'
Create a simple draft order with only a product variant Id using aggregates.
INSERT INTO DraftOrders (LineAggregate) VALUES ('[{\"variant_id\":\"4236041945111\",\"quantity\":2},{\"variant_id\":\"4236069011479\",\"quantity\":3}]')
Create a simple draft order with only a product variant Id using temporary table.
The temporary table you are populating is dynamic and will be created at run time the first time you insert to it. Temporary tables are denoted by a # appearing in their name. When using a temporary table to insert, the temporary table must be named in the format [TableName]#TEMP, where TableName is the name of the table you will be inserting to. For instance:
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('123', 2)
Once your temporary table is populated, it is now time to insert to the actual table in Shopify. You can do this by performing an INSERT to the actual table and setting as a value for LinesAggregate the name of the temporary table. For instance:
INSERT INTO DraftOrders (LineAggregate) VALUES ('OrdersItems#TEMP')
Create a custom draft order using aggregates.
INSERT INTO DraftOrders (LineAggregate, CustomerId, UseCustomerDefaultAddress) VALUES ('[{\"title\":\"Custom Tee\",\"price\":20.15,\"quantity\":5}]', '709015339031', true)
Create a custom draft order using temporary table.
INSERT INTO OrdersItems#TEMP (ItemTitle, ItemPrice, ItemQuantity) VALUES ('Custom Tee', 20.15, 5)
INSERT INTO DraftOrders (LineAggregate, CustomerId, UseCustomerDefaultAddress) VALUES ('OrdersItems#TEMP', '709015339031', true)
Add a Note to a draft order:
UPDATE DraftOrders SET Note = 'Customer contacted us about a custom engraving on this iPod' WHERE Id = '123'
Set a discount on a draft order:
UPDATE DraftOrders SET AppliedDiscountDescription = 'Custom discount', AppliedDiscountValueType = 'percentage', AppliedDiscountValue = 10.0, AppliedDiscountAmount = 19.90, AppliedDiscountTitle = 'Custom' WHERE Id = '123'
You must specify the Id of the draft order to delete it.
DELETE FROM DraftOrders WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the order. | |
| CustomerId | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| String | False |
The customer's email address. | ||
| Name | String | True |
The customer's order name as represented by a number. | |
| TotalPrice | Decimal | True |
The sum of all the prices of all the items in the order, taxes and discounts included. | |
| SubtotalPrice | Decimal | True |
Price of the order before shipping and taxes. | |
| TotalTax | Decimal | False |
The sum of all the taxes applied to the order. | |
| TaxesIncluded | Bool | False |
States whether or not taxes are included in the order subtotal. | |
| InvoiceSentAt | Datetime | True |
This auto-generated property is the date and time when the invoice was emailed to the customer. Only available for draft orders. | |
| Note | String | False |
The text of an optional note that a shop owner can attach to the order. | |
| Tags | String | False |
Additional short descriptors. | |
| InvoiceUrl | String | True |
The URL for the invoice. Only available for draft orders. | |
| TaxExempt | Bool | True |
States whether or not taxes are exempt for this order. Only available for draft orders. | |
| Status | String | True |
The status of the order. Valid values are: open (all open orders), invoice_sent (only closed orders), and completed (cancelled orders). Defaults to 'open'. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the draft order. | |
| BillingAddressFirstName | String | False |
The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | False |
The last name of the person associated with the payment method. | |
| BillingAddressAddress1 | String | False |
The street address of the billing address. | |
| BillingAddressAddress2 | String | False |
An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | False |
The phone number at the billing address. | |
| BillingAddressCity | String | False |
The city of the billing address. | |
| BillingAddressCompany | String | False |
The company of the person associated with the billing address. | |
| BillingAddressZip | String | False |
The zip or postal code of the billing address. | |
| BillingAddressProvince | String | False |
The name of the state or province of the billing address. | |
| BillingAddressCountry | String | False |
The name of the country of the billing address. | |
| BillingAddressLatitude | Double | False |
The latitude of the billing address. | |
| BillingAddressLongitude | Double | False |
The longitude of the billing address. | |
| BillingAddressName | String | False |
The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | False |
The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | False |
The first name of the person associated with the shipping method. | |
| ShippingAddressLastName | String | False |
The last name of the person associated with the shipping method. | |
| ShippingAddressAddress1 | String | False |
The street address of the shipping address. | |
| ShippingAddressAddress2 | String | False |
An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | False |
The phone number at the shipping address. | |
| ShippingAddressCity | String | False |
The city of the shipping address. | |
| ShippingAddressCompany | String | False |
The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | False |
The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | False |
The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | False |
The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | False |
The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | False |
The longitude of the shipping address. | |
| ShippingAddressName | String | False |
The full name of the person associated with the shipping method. | |
| ShippingAddressCountryCode | String | False |
The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| AppliedDiscountTitle | String | False |
The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | False |
The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | False |
The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | False |
The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | False |
The amount of the applied discount for this order. Only available for draft orders. | |
| CreatedAt | Datetime | True |
The date and time when the order was created. | |
| UpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| CompletedAt | Datetime | True |
The date and time when the order was completed at. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| UseCustomerDefaultAddress | Bool |
Optional boolean that you can send as part of a draft order object to load customer shipping information. Valid values: true or false. |
Create, delete, and query information regarding fulfillment events.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentEvents WHERE OrderId = '123' AND FulfillmentId = '456'
SELECT * FROM FulfillmentEvents WHERE OrderId = '123' AND FulfillmentId = '456' AND Id = '789'
You must specify the OrderId, FulfillmentId, and Status to create a fulfillment event.
INSERT INTO FulfillmentEvents (Orderid, FulfillmentId, Status, Message, EstimatedDeliveryAt) VALUES ('202520330263', '206541914135', 'in_transit', 'test', '2018-08-02 10:15:25 PM')
You must specify the OrderId, FulfillmentId, and Id of the fulfillment event to delete it.
DELETE FROM FulfillmentEvents WHERE Orderid = '202520330263' AND FulfillmentId = '206541914135' AND Id = '2374424264727'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A numeric unique identifier for the fulfillment event. | |
| OrderId [KEY] | Long | False |
Orders.Id |
The id of the order the fulfillment event belongs to. |
| FulfillmentId [KEY] | Long | False |
Fulfillments.Id |
A numeric unique identifier for the fulfillment to which the fulfillment event belongs. |
| ShopId | Long | True |
Shop.Id |
A numeric unique identifier for the shop to which the fulfillment event belongs. |
| Status | String | False |
The status of the fulfillment event. Valid values are: confirmed, in_transit, out_for_delivery, delivered, failure. | |
| EstimatedDeliveryAt | Datetime | False |
The status of the fulfillment event. Valid values are: confirmed, in_transit, out_for_delivery, delivered, failure. | |
| Message | String | False |
An arbitrary message describing the status. Can be provided by a shipping carrier. | |
| City | String | False |
The city in which the fulfillment event occurred. | |
| Province | String | False |
The province in which the fulfillment event occurred. | |
| Zip | String | False |
The zip code in the location in which the fulfillment event occurred. | |
| Country | String | False |
The country in which the fulfillment event occurred. | |
| Address1 | String | False |
The fulfillment event's street address. | |
| Latitude | Double | False |
Geographic coordinate specifying the north/south location of a fulfillment event. | |
| Longitude | Double | False |
Geographic coordinate specifying the east/west location of a fulfillment event. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment event was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment event was updated. | |
| HappenedAt | Datetime | True |
The date and time when the fulfillment event occurred. |
Create, update, and query fulfillments.
For example, the following queries are processed server-side.
If you specify the unique identifier of the order, then this view will only list fulfillment information concerning that order. You can also retrieve a specific fulfillment by specifying OrderId and Id. To retrieve fulfillments associated with a fulfillment order you need to specify the FulfillmentOrderId.
SELECT * FROM Fulfillments WHERE OrderId = '5729988903171'
SELECT * FROM Fulfillments WHERE OrderId = '5729988903171' AND Id = '5165361791235'
SELECT * FROM Fulfillments WHERE FulfillmentOrderId = '6817622622467'
This view supports filtering by the CreatedAt and UpdatedAt columns on the server-side.
SELECT * FROM Fulfillments WHERE CreatedAt > '2017-10-25'
You must specify the FulfillmentOrderId column to insert a fulfillment.
Fulfill all line items.
INSERT INTO Fulfillments (FulfillmentOrderId) VALUES ('6817622622467')
Fulfill one line item using aggregates.
You must specify the fulfillment order line item id and the quantity to be fulfilled in the aggregate.
Note: To obtain the fulfillment order line item id, you can query the Id column in the FulfillmentOrderLineItems table.
INSERT INTO Fulfillments (FulfillmentOrderId, LineAggregate) VALUES ('6817622622467','[{\"id\":14179445244163,\"quantity\":5}]')
Fulfill one line item using temporary table.
The temporary table you are populating is dynamic and will be created at run time the first time you insert to it. Temporary tables are denoted by a # appearing in their name. When using a temporary table to insert, the temporary table must be named in the format [TableName]#TEMP, where TableName is the name of the table you will be inserting to. For instance:
INSERT INTO OrdersItems#Temp (ItemId, ItemQuantity) Values ('14179445244163', '5')
Once your temporary table is populated, it is now time to insert to the actual table in Shopify. You can do this by performing an INSERT to the actual table and setting as a value for LineAggregate the name of the temporary table. For instance:
Insert INTO Fulfillments (FulfillmentOrderId, LineAggregate) VALUES ('6817622622467', 'OrdersItems#TEMP')
In cases that two ore more shop locations are specified in your Shopify account the LocationId needs to be added. For instance:
Insert INTO Fulfillments (FulfillmentOrderId, LocationId, LineAggregate) VALUES ('6817622622467', '1448280087', 'OrdersItems#TEMP')
Fulfill many line items using aggregates.
INSERT INTO Fulfillments (FulfillmentOrderId, LineAggregate) VALUES ('6817622622467', '[{\"id\":14179445244163,\"quantity\":5},{\"id\":14179445276931,\"quantity\":2}]')
Fulfill many line items using temporary table.
INSERT INTO OrdersItems#Temp (ItemId, ItemQuantity) Values ('14179445244163', '5')
INSERT INTO OrdersItems#Temp (ItemId, ItemQuantity) Values ('14179445276931', '2')
INSERT INTO Fulfillments (FulfillmentOrderId, LineAggregate) VALUES ('6817622622467', 'OrdersItems#TEMP')
Fulfill all line items, notify the customer, and set a tracking number.
INSERT INTO Fulfillments (FulfillmentOrderId, TrackingNumbers, NotifyCustomer) VALUES ('6817622622467', 'FEDEX1', true)
Complete a fulfillment (you must specify the Id of the fulfillment as well).
INSERT INTO Fulfillments (FulfillmentOrderId, Id, Status) VALUES ('6817622622467', '5165361791235', 'Complete')
Transition a fulfillment from pending to open (you must specify the Id of the fulfillment as well).
INSERT INTO Fulfillments (FulfillmentOrderId, Id, Status) VALUES ('6817622622467', '5165361791235', 'Open')
Cancel a fulfillment (you must specify Id of the fulfillment as well).
INSERT INTO Fulfillments (FulfillmentOrderId, Id, Status) VALUES ('6817622622467', '5165361791235', 'Cancel')
You must specify the OrderId and Id of the fulfillment to fulfill an order.
UPDATE Fulfillments SET TrackingNumbers = 'FedEx123,UPS123' WHERE OrderId = '5729988903171' AND Id = '5165361791235'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the fulfillment. | |
| OrderId | Long | False |
Orders.Id |
A unique numeric identifier for the order. |
| LocationId [KEY] | Long | False |
A unique numeric identifier for the Location. | |
| NotifyCustomer | Bool | False |
A flag indicating whether the customer should be notified | |
| Status | String | False |
The status of the fulfillment. | |
| Receipt | String | True |
Provides information about the receipt of this fulfillment. | |
| TrackingCompany | String | False |
The name of the tracking company. | |
| TrackingNumbers | String | False |
A list of comma-separated tracking numbers, provided by the shipping company. | |
| TrackingUrls | String | False |
The sum of all the prices of all the items in the fulfillment. | |
| VariantInventoryManagement | String | True |
States the name of the inventory management service. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment was last modified. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the fulfillment. | |
| OrderUpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| OrderCreatedAt | Datetime | True |
The date and time when the order was last created. | |
| FulfillmentOrderId | Long | False |
The ID of the fulfillment order that is associated with the fulfillments. |
Query, create, update, and delete information regarding different fulfillment services.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentServices WHERE Id = '123'
You must specify the Name, CallbackUrl, and Format to create a fulfillment service.
INSERT INTO FulfillmentServices (Name, CallbackUrl, Format) VALUES ('testing fulfillment services', 'http://google.com', 'json')
You must specify the Id to update a fulfillment service. For example:
UPDATE FulfillmentServices SET Name = 'test32', IncludePendingStock = true WHERE Id = '123'
You must specify the Id of the fulfillment service to delete it.
DELETE FROM FulfillmentServices WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the fulfillment service. | |
| LocationId | Long | True |
Locations.Id |
The unique identifier of the location tied to the fulfillment service. |
| ProviderId | String | True |
A unique identifier for the fulfillment service provider. | |
| Name | String | False |
The name of the fulfillment service as seen by merchants and their customers. | |
| Handle | String | True |
A human-friendly unique string for the fulfillment service generated from its title. | |
| ServiceName | String | True |
The name of the fulfillment service. | |
| String | False |
The email of the fulfillment service. | ||
| IncludePendingStock | Bool | False |
States if the fulfillment service includes a pending stock. | |
| RequiresShippingMethod | Bool | False |
States if the fulfillment service requires products to be physically shipped. Valid values are 'true' and 'false'. | |
| TrackingSupport | Bool | False |
States if the fulfillment service provides tracking numbers for packages. | |
| InventoryManagement | Bool | False |
States if the fulfillment service tracks product inventory and provides updates to Shopify. | |
| FulfillmentOrdersOptIn | Bool | False |
States if the fulfillment orders is opt in. | |
| CallbackUrl | String | False |
States the URL endpoint that Shopify needs to retrieve inventory and tracking updates. This field is necessary if either inventory_management or tracking_support is set to | |
| Format | String | False |
Specifies the format of the API output. Valid values are json and xml. |
Create, update, delete, and query gift cards.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM GiftCards
SELECT * FROM GiftCards WHERE Id = 123
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the gift card. | |
| APIClientId | Long | True |
The ID of the client that issued the gift card. | |
| Balance | Decimal | True |
The balance of the gift card. | |
| Code | String | False |
The gift card code, which is a string of alphanumeric characters. For security reasons, this is available only upon creation of the gift card. (minimum: 8 characters, maximum: 20 characters) | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was created. | |
| Currency | String | True |
The currency of the gift card. | |
| CustomerId | Long | True |
Customers.Id |
The ID of the customer associated with this gift card. |
| DisabledAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was disabled. | |
| ExpiresOn | Date | False |
The date (YYYY-MM-DD format) when the gift card expires. Returns null if the gift card doesn't have an expiration date. | |
| InitialValue | Decimal | False |
The initial value of the gift card when it was created. | |
| LastCharacters | String | True |
The last four characters of the gift card code. Because gift cards are alternative payment methods, the full code cannot be retrieved. | |
| LineItemId | Long | True |
OrdersItems.ItemId |
The ID of the line item that initiated the creation of this gift card, if it was created by an order. |
| Note | String | False |
An optional note that a merchant can attach to the gift card that isn't visible to customers. | |
| OrderId | Long | True |
Orders.Id |
The ID of the order that initiated the creation of this gift card, if it was created by an order. |
| TemplateSuffix | String | False |
The suffix of the Liquid template that's used to render the gift card online. For example, if the value is birthday, then the gift card is rendered using the template gift_card.birthday.liquid. When the value is null, the default gift_card.liquid template is used. | |
| UserId | Long | True |
Users.Id |
The ID of the user that issued the gift card, if it was issued by a user. |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was last modified. |
Create, update, delete, and query marketing events.
SELECT * FROM MarketingEvents
SELECT * FROM MarketingEvents WHERE Id = '123'
You must specify the MarketingChannel, EventType, Paid, ReferringDomain, and StartedAt columns to create a marketing event. For example:
INSERT INTO MarketingEvents (MarketingChannel, EventType, Paid, ReferringDomain, StartedAt) VALUES ('social', 'ad', true, 'facebook.com', '2018-12-15')
You must specify the Id to update a marketing event. You can modify only timestamps, RemoteId, and budget/currency. For example:
UPDATE MarketingEvents SET RemoteId = '1000:2000', StartedAt = '2018-02-02T00:00 +00:00', EndedAt = '2018-02-03T00:00 +00:00', ScheduledToEndAt = '2018-02-04T00:00 +00:00', Budget = 11.1, BudgetType = 'daily', Currency = 'USD' WHERE Id = '123'
You must specify the Id of the marketing event to delete it.
DELETE FROM MarketingEvents WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the marketing event. | |
| RemoteId | String | False |
An optional remote identifier for a marketing event. | |
| BreadcrumbId | String | True |
An optional identifier for the breadcrumb of a marketing event. | |
| UTMCampaign | String | True |
A unique name for the UTM campaign. | |
| UTMSource | String | True |
The source of the UTM campaign. | |
| UTMMedium | String | True |
The medium of the UTM campaign. | |
| UTMContent | String | True |
The content of the UTM campaign. | |
| UTMTerm | String | True |
The term of the UTM campaign. | |
| EventTarget | String | True |
The target of the event. | |
| Description | String | True |
A description for the marketing event. | |
| MarketingChannel | String | False |
A broader marketing event type that is focused only on the channel. Must be one of the allowed values (`search`, `display`, `social`, `email`, `referral`). | |
| EventType | String | False |
The specific type of marketing event. Must be one of the allowed values (`ad`, `post`, `message`, `retargeting`, `transactional`, `affiliate`, `loyalty`, `newsletter`, `abandoned_cart`, `receipt`). | |
| Budget | Decimal | False |
The budget of the ad campaign. | |
| Paid | Bool | False |
A boolean field to specify whether this event is paid or organic. | |
| BudgetType | String | False |
The type of the budget; must be either `daily` or `lifetime`. | |
| Currency | String | False |
The currency for the budget. | |
| ManageUrl | String | True |
A link to manage the marketing event, generally in the Shopify app's interface. | |
| PreviewUrl | String | True |
A link to view the live version of the post/ad, or to view a rendered preview of the post/ad/email in the Shopify app. | |
| ReferringDomain | String | False |
The destination domain of the marketing event. Required unless MarketingChannel is one of email/referral/display. | |
| MarketedResources | String | True |
A list of the items that were marketed in the marketing event. It's a list of dictionaries with type keys and id keys. Valid values for type are: (`product`, `collection`, `price_rule`, `page`, `article`, `homepage`). All types, other than homepage, also require an id. | |
| StartedAt | Datetime | False |
The timestamp when the marketing action was started, or when the email was sent, or when the Facebook post was made live, etc. | |
| EndedAt | Datetime | False |
For events with a duration, when the event actually ended. This may differ from ScheduledToEndAt, if the ad was stopped early, etc. | |
| ScheduledToEndAt | Datetime | False |
For events with a duration, when the event was supposed to end. |
Retrieves a list of metafields that belong to a resource.
OwnerResource or the metafield Id is required for any query against Metafields.
OwnerResource must be one of the following values:
Any other value will run the query against "shop" instead.
For example, the following queries are processed server-side:
SELECT * FROM Metafields WHERE Id = 721389482
SELECT * FROM Metafields WHERE ID IN (SELECT Id FROM Customers)
SELECT * FROM Metafields WHERE ID IN (19422939054103, 19422939185175, 19422939250711, 19431415152663, 19431415185431)
SELECT * FROM Metafields WHERE OwnerId = 64146833431 AND OwnerResource = 'order'
SELECT * FROM Metafields WHERE OwnerId = 64146833431 AND OwnerResource IN ('order', 'customer')
SELECT * FROM Metafields WHERE OwnerId IN (64146833430, 64146833431) AND OwnerResource = 'order'
SELECT * FROM Metafields WHERE OwnerResource = 'customer' AND OwnerId IN (SELECT Id FROM Customers);
SELECT * FROM Metafields WHERE OwnerResource = 'order' AND OwnerId = '64146735127' AND UpdatedAt >= '2021-10-13T05:55:08-04:00';
SELECT * FROM Metafields WHERE OwnerResource = 'order' AND OwnerId = '64146735127' AND Type = 'multi_line_text_field';
You must specify the NameSpace, Key, and Value to create Metafields.
INSERT INTO Metafields (NameSpace, Key, Value, Type, Description, OwnerResource) VALUES ('inventory', 'warehouse', 25, 'number_integer', 'This is description about data', 'factory')
You must specify the Id to update Metafields. For example:
UPDATE Metafields SET Value = 26 WHERE Id = 19712314851607
You must specify the Id of the Metafields to delete it.
DELETE FROM Metafields WHERE Id = 19712314851607
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique ID of the metafield. | |
| Namespace | String | False |
A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. | |
| Key | String | False |
The name of the metafield. | |
| Value | String | False |
The information to be stored as metadata. | |
| Type | String | False |
The metafield's information type. | |
| Description | String | False |
A description of the information that the metafield contains. | |
| OwnerId | Long | False |
The unique ID of the resource that the metafield is attached to. | |
| OwnerResource | String | False |
The type of resource that the metafield is attached to. The allowed values are shop, draft_order, page, article, order, customer, collection, blog. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the metafield was created. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the metafield was last updated. | |
| AdminGraphqlApiId | String | True |
The admin graphql api id |
Create, update, delete, and query orders.
For example, the following queries are processed server-side:
SELECT * FROM Orders WHERE Id = '123'
SELECT * FROM Orders WHERE FinancialStatus = 'pending'
SELECT * FROM Orders WHERE CreatedAt > '2017-10-25'
Create a simple order with only a product variant Id using aggregates.
INSERT INTO Orders (LineAggregate) VALUES ('[{\"variant_id\":\"4236041945111\",\"quantity\":2}]')
Create a simple order with only a product variant Id using temporary table.
The temporary table you are populating is dynamic and will be created at run time the first time you insert to it. Temporary tables are denoted by a # appearing in their name. When using a temporary table to insert, the temporary table must be named in the format [TableName]#TEMP, where TableName is the name of the table you will be inserting to. For instance:
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('123', 2)
Once your temporary table is populated, it is now time to insert to the actual table in Shopify. You can do this by performing an INSERT to the actual table and setting as a value for LinesAggregate the name of the temporary table. For instance:
INSERT INTO Orders (LineAggregate) VALUES ('OrdersItems#TEMP')
Create a simple order, sending the order receipt and fulfillment receipt to the customer using aggregates.
INSERT INTO Orders (Email, FulfillmentStatus, SendReceipt, SendFulfillmentReceipt, LineAggregate) VALUES ('[email protected]', 'fulfilled', true, true, '[{\"variant_id\":\"4236041945111\",\"quantity\":2},{\"variant_id\":\"4236069011479\",\"quantity\":3}]')
Create a simple order, sending the order receipt and fulfillment receipt to the customer using temporary table.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236041945111', 2)
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236069011479', 3)
INSERT INTO Orders (Email, FulfillmentStatus, SendReceipt, SendFulfillmentReceipt, LineAggregate) VALUES ('[email protected]', 'fulfilled', true, true, 'OrdersItems#TEMP')
Create a simple order, with taxes using aggregates.
INSERT INTO Orders (LineAggregate, TaxAggregate) VALUES ('[{\"variant_id\":\"4236041945111\",\"quantity\":2},{\"variant_id\":\"4236069011479\",\"quantity\":3}]', '[{\"price\":10.2,\"rate\":0.06,\"title\":\"State Tax\"}]')
Create a simple order, with taxes using temporary table.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236041945111', 2)
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236069011479', 3)
INSERT INTO TaxItems#TEMP (TaxItemPrice, TaxItemRate, TaxItemTitle) VALUES (10.2, 0.06, 'State Tax')
INSERT INTO Orders (LineAggregate, TaxAggregate) VALUES ('OrdersItems#TEMP', 'TaxItems#TEMP')
Create a simple order, with multiple taxes using aggregates.
INSERT INTO Orders (LineAggregate, TaxAggregate) VALUES ('[{\"variant_id\":\"4236041945111\",\"quantity\":2},{\"variant_id\":\"4236069011479\",\"quantity\":3}]', '[{\"price\":10.2,\"rate\":0.06,\"title\":\"State Tax\"},{\"price\":4.25,\"rate\":0.025,\"title\":\"County Tax\"}]')
Create a simple order, with multiple taxes using temporary table.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236041945111', 2)
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236069011479', 3)
INSERT INTO TaxItems#TEMP (TaxItemPrice, TaxItemRate, TaxItemTitle) VALUES (10.2, 0.06, 'State Tax')
INSERT INTO TaxItems#TEMP (TaxItemPrice, TaxItemRate, TaxItemTitle) VALUES (4.25, 0.025, 'County Tax')
INSERT INTO Orders (LineAggregate, TaxAggregate) VALUES ('OrdersItems#TEMP', 'TaxItems#TEMP')
Create a more comprehensive order using aggregates.
INSERT INTO Orders (LineAggregate) VALUES ([{\"title\":\"Big Brown Bear Boots\",\"price\":74.99,\"grams\":1300,\"quantity\":3}])
Create a more comprehensive order using temporary table.
INSERT INTO OrdersItems#TEMP (ItemTitle, ItemPrice, ItemGrams, ItemQuantity) VALUES ('Big Brown Bear Boots', 74.99, 1300, 3)
INSERT INTO Orders (LineAggregate) VALUES ('OrdersItems#TEMP')
Create a pending order with an existing customer using aggregates.
INSERT INTO Orders (LineAggregate, CustomerId, FinancialStatus) VALUES ('[{\"variant_id\":\"123\",\"quantity\":3}]', '456', 'pending')
Create a pending order with an existing customer using temporary table.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('123', 3)
INSERT INTO Orders (LineAggregate, CustomerId, FinancialStatus) VALUES ('OrdersItems#TEMP', '456', 'pending')
Create a partially paid order with a new customer and addresses using aggregates.
INSERT INTO Orders (LineAggregate, CustomerFirstName, CustomerLastName, CustomerEmail, FinancialStatus) VALUES ('[{\"variant_id\":\"123\",\"quantity\":3}]', 'Paul', 'Norman', '[email protected]', 'partially_paid')
Create a partially paid order with a new customer and addresses using temporary.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('123', 3)
INSERT INTO Orders (LineAggregate, CustomerFirstName, CustomerLastName, CustomerEmail, FinancialStatus) VALUES ('OrdersItems#TEMP', 'Paul', 'Norman', '[email protected]', 'partially_paid')
Close an order (you must specify the Id of the order).
INSERT INTO Orders (Id, Operation) VALUES ('123', 'Close')
Reopen an order (you must specify the Id of the order).
INSERT INTO Orders (Id, Operation) VALUES ('123', 'Open')
Cancel an order (you must specify the Id of the order).
INSERT INTO Orders (Id, Operation) VALUES ('123', 'Cancel')
Only columns BuyerAcceptsMarketing, Email, Phone, Note, Tags, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressPhone, ShippingAddressCity, ShippingAddressCompany, ShippingAddressZip, ShippingAddressProvince, ShippingAddressCountry, ShippingAddressLatitude, ShippingAddressLongitude, ShippingAddressName, ShippingAddressCountryCode, ShippingAddressProvinceCode and ShippingAddressDefault can be updated.
Update the shipping address of an existing order.
UPDATE Orders SET ShippingAddressAddress1 = '123 Ship Street', ShippingAddressCity = 'Shipsville' WHERE Id = '123'
Update an order's tags.
UPDATE Orders SET Tags = 'External, Inbound, Outbound' WHERE Id = '123'
You must specify the Id of the order when deleting an item from this table.
DELETE FROM Orders WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the order. | |
| Number | Long | True |
A unique identifier for the order, used by the shop owner and customer. | |
| CustomerId | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| CustomerFirstName | String | False |
The first name of the customer. | |
| CustomerLastName | String | False |
The last name of the customer. | |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| String | False |
The customer's email address. | ||
| Name | String | True |
The customer's order name as represented by a number. | |
| TotalDiscounts | Decimal | True |
The total amount of the discounts to be applied to the price of the order. | |
| TotalOrderItemsPrice | Decimal | True |
The sum of all the prices of all the items in the order. | |
| TotalPrice | Decimal | True |
The sum of all the prices of all the items in the order, taxes and discounts included. | |
| SubtotalPrice | Decimal | True |
Price of the order before shipping and taxes. | |
| TotalTax | Decimal | False |
The sum of all the taxes applied to the order. | |
| TotalWeight | Int | True |
The sum of all the weights of the line items in the order, in grams. | |
| BrowserIp | String | True |
The IP address of the browser used by the customer when placing the order. | |
| BuyerAcceptsMarketing | Bool | False |
Indicates whether or not the person who placed the order would like to receive email updates from the shop. | |
| CancelReason | String | True |
The reason why the order was canceled. | |
| CartToken | String | True |
Unique identifier for a particular cart that is attached to a particular order. | |
| OrderStatusUrl | String | True |
The URL pointing to the order status web page. | |
| Token | String | True |
Unique identifier for a particular order. | |
| TaxesIncluded | Bool | False |
States whether or not taxes are included in the order subtotal. | |
| SourceName | String | True |
Where the order originated. | |
| ReferringSite | String | True |
The website that the customer clicked on to come to the shop. | |
| Phone | String | False |
The customer's phone number. | |
| Note | String | False |
The text of an optional note that a shop owner can attach to the order. | |
| LocationId | Long | True |
The unique numeric identifier for the physical location at which the order was processed. | |
| LandingSite | String | True |
The URL for the page where the buyer landed when entering the shop. | |
| Tags | String | False |
Additional short descriptors. | |
| FulfillmentStatus | String | False |
The fulfillment status of the order. Valid values during SELECT: shipped, partial, unshipped, any, unfulfilled. Valid values during INSERT: fulfilled, null, partial, restocked. The allowed values are shipped, partial, unshipped, any, unfulfilled, fulfilled, null, restocked. | |
| FinancialStatus | String | False |
The financial status of the order. Valid values during SELECT: authorized, pending, paid, partially_paid, refunded, voided, partially_refunded, any, unpaid. Valid values during INSERT: authorized, pending, paid, partially_paid, refunded, voided, partially_refunded. The allowed values are authorized, pending, paid, partially_paid, refunded, voided, partially_refunded, any, unpaid. | |
| CustomerLocale | String | True |
The customer locale of the order. | |
| InvoiceSentAt | Datetime | True |
This auto-generated property is the date and time when the invoice was emailed to the customer. Only available for draft orders. | |
| InvoiceUrl | String | True |
The URL for the invoice. Only available for draft orders. | |
| TaxExempt | Bool | True |
States whether or not taxes are exempt for this order. Only available for draft orders. | |
| DiscountCodes | String | True |
Applicable discount codes that can be applied to the order. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the order. | |
| TaxAggregate | String | False |
A JSON aggregate of tax line items associated with the order. Note, these taxes are applied on the order, not on individual items. If you want them to be applied on individual items, use them in LineAggregate. Tax lines must be associated with either order or line item but not both. | |
| ShippingAggregate | String | False |
A JSON aggregate of shipping line items associated with the order. | |
| NoteAttributesAggregate | String | False |
A JSON aggregate of note attributes associated with the order. | |
| DiscountApplicationsAggregate | String | True |
An ordered list of stacked discount applications. | |
| BillingAddressFirstName | String | False |
The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | False |
The last name of the person associated with the payment method. | |
| BillingAddressAddress1 | String | False |
The street address of the billing address. | |
| BillingAddressAddress2 | String | False |
An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | False |
The phone number at the billing address. | |
| BillingAddressCity | String | False |
The city of the billing address. | |
| BillingAddressCompany | String | False |
The company of the person associated with the billing address. | |
| BillingAddressZip | String | False |
The zip or postal code of the billing address. | |
| BillingAddressProvince | String | False |
The name of the state or province of the billing address. | |
| BillingAddressCountry | String | False |
The name of the country of the billing address. | |
| BillingAddressLatitude | Double | False |
The latitude of the billing address. | |
| BillingAddressLongitude | Double | False |
The longitude of the billing address. | |
| BillingAddressName | String | False |
The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | False |
The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | False |
The first name of the person associated with the shipping method. | |
| ShippingAddressLastName | String | False |
The last name of the person associated with the shipping method. | |
| ShippingAddressAddress1 | String | False |
The street address of the shipping address. | |
| ShippingAddressAddress2 | String | False |
An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | False |
The phone number at the shipping address. | |
| ShippingAddressCity | String | False |
The city of the shipping address. | |
| ShippingAddressCompany | String | False |
The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | False |
The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | False |
The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | False |
The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | False |
The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | False |
The longitude of the shipping address. | |
| ShippingAddressName | String | False |
The full name of the person associated with the shipping method. | |
| ShippingAddressCountryCode | String | False |
The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| AppliedDiscountTitle | String | False |
The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | False |
The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | False |
The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | False |
The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | False |
The amount of the applied discount for this order. Only available for draft orders. | |
| PaymentTermsAmount | Long | True |
The amount that is owed according to the payment terms. | |
| PaymentTermsCurrency | String | True |
The presentment currency for the payment. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the selected payment terms template for the order. | |
| PaymentTermsPaymentTermsType | String | True |
The type of selected payment terms template for the order. | |
| PaymentTermsDueInDays | Int | True |
The number of days between the invoice date and due date that is defined in the selected payment terms template. | |
| PaymentTermsPaymentSchedules | String | True |
An array of schedules associated to the payment terms. | |
| ProcessedAt | Datetime | True |
The date and time when the order was imported, in ISO 8601 format. | |
| CreatedAt | Datetime | True |
The date and time when the order was created. | |
| ClosedAt | Datetime | True |
The date and time when the order was closed. | |
| CancelledAt | Datetime | True |
The date and time when the order was canceled. | |
| UpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| SendReceipt | Bool | False |
Determines whether an order confirmation will be sent to the customer. | |
| SendFulfillmentReceipt | Bool | False |
Determines whether a fulfillment confirmation will be sent to the customer. | |
| InventoryBehaviour | String | False |
Determines which inventory updating behavior is used. The allowed values are default, decrement_ignoring_policy, decrementobeying_policy. | |
| Operation | String | False |
An operation to apply to the Order. The allowed values are Close, Open, Cancel. | |
| TotalShippingPriceSetShopMoneyAmount | Double | True |
The amount of the shop money in the total shipping price set. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
The currency code of the shop money in the total shipping price set. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total shipping price set. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total price set. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total price set. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total tax set. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total tax set. | |
| CheckoutId | Long | True |
The checkout id. | |
| CheckoutToken | String | True |
A unique value when referencing the checkout that's associated with the order. | |
| EstimatedTaxes | Bool | True |
Estimated taxes of the order. | |
| Test | Bool | True |
Test boolean for the order. | |
| TotalOutstanding | Decimal | True |
The outstanding sum of all the items in the order. | |
| TotalTipReceived | Decimal | True |
The total tip for the order. | |
| PresentmentCurrency | String | True |
The currency code of the presentment money. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total line items price set. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total line items price set. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the discounts set. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the discounts set. | |
| TotalSubtotalSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the subtotal. | |
| TotalSubtotalSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the subtotal. | |
| OrigTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the original total additional fees set. | |
| OrigTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the original total additional fees set. | |
| CurTotalDiscountsSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total discounts set. | |
| CurTotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total discounts set. | |
| CurSubtotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current subtotal price set. | |
| CurSubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current subtotal price set. | |
| CurrentTotalTaxSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total tax set. | |
| CurrentTotalTaxSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total tax set. | |
| CurTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total additional fees set. | |
| CurTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total additional fees set. | |
| CurrentTotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total price set. | |
| CurrentTotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total price set. | |
| OriginalTotalDutiesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the original total duties set. | |
| OriginalTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the original total duties set. | |
| CurrentTotalDutiesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total duties set. | |
| CurrentTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total duties set. | |
| PaymentGatewayNames | String | True |
The list of payment gateway names | |
| FulfillmentAggregate | String | True |
A JSON aggregate of fulfillments associated with the order. Note, these fulfillments are applied on the order, not on individual items. | |
| RefundAggregate | String | True |
A JSON aggregate of refunds associated with the order. Note, these refunds are applied on the order, not on individual items. | |
| ConfirmationNumber | String | True |
A randomly generated alpha-numeric identifier for the order that may be shown to the customer instead of the sequential order name. This value isn't guaranteed to be unique. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Status | String |
Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Create and query transactions.
The Shopify APIs requires the search criteria to contain OrderId. For example, the following query is processed server-side.
SELECT * FROM OrderTransactions WHERE OrderId = '123'
When performing a query without a filter or a filter other then the OrderId column, the Cloud will retrieve the entire list of transactions and perform the filters client-side.
The Shopify API requires that an OrderId be specified when retrieving transactions. Therefore to retrieve all the transactions, the Cloud will first retrieve all the OrderIds
from the Orders table (essentially performing the query: SELECT Id FROM Orders). Once the OrderId values have been retrieved, the Cloud will issue individual requests to the
Shopify API to retrieve all the transactions for each OrderId to build the result set.
SELECT * FROM OrderTransactions WHERE Kind = 'Capture'
You must specify the OrderId and Kind when inserting a transaction.
Capture a specified amount on a previously authorized order.
INSERT INTO OrderTransactions (OrderId, Amount, Kind) VALUES ('123', 10.25, 'Capture')
Capture a previously authorized order for the full amount.
INSERT INTO OrderTransactions (OrderId, Kind) VALUES ('123', 'Capture')
INSERT INTO OrderTransactions (OrderId, Kind, Authorization) VALUES ('123', 'authorization', '7')INSERT INTO OrderTransactions (OrderId, Kind) VALUES ('123', 'capture')INSERT INTO OrderTransactions (OrderId, Kind) VALUES ('123', 'sale')INSERT INTO OrderTransactions (OrderId, Kind, TransactionItemParentId, Currency, Amount) VALUES ('123', 'void', '456', 'USD', '0.1')INSERT INTO OrderTransactions (OrderId, Kind, TransactionItemParentId, Amount) VALUES ('123', 'refund', '456', '1440.00')
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the transaction. | |
| OrderId | Long | False |
Orders.Id |
A unique numeric identifier for the order. |
| UserId | Long | True |
The unique identifier for the user. | |
| LocationId | Long | True |
The ID of the physical location where the transaction was processed. | |
| Amount | Decimal | False |
The amount of money that the transaction was for. | |
| Authorization | String | False |
The authorization code associated with the transaction. | |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| DeviceId | String | True |
The unique identifier for the device. | |
| Gateway | String | False |
The name of the gateway the transaction was issued through. | |
| SourceName | String | True |
The origin of the transaction. | |
| Kind | String | False |
The kind of transaction. The allowed values are authorization, capture, sale, void, refund. | |
| Message | String | True |
The message associated with this transaction. | |
| ErrorCode | String | True |
A standardized error code, independent of the payment provider. | |
| Status | String | False |
The status of the transaction. | |
| Test | Bool | True |
The option to use the transaction for testing purposes. | |
| AVSResultCode | String | True |
The Response code from the address verification system. | |
| CreditCardBin | String | True |
The issuer identification number (IIN). | |
| CVVResultCode | String | True |
The Response code from the credit card company. | |
| CreditCardNumber | String | True |
The customer's credit card number, with most of the leading digits redacted with Xs. | |
| CreditCardCompany | String | True |
The name of the company who issued the customer's credit card. | |
| CreatedAt | Datetime | True |
The date and time when the customer was created. | |
| PaymentsRefundsAttributesStatus | String | True |
The current status of the refund The allowed values are pending, failure, success, error. | |
| PaymentsRefundsAttributesAcquirerReferenceNumber | String | True |
A unique number associated with the transaction that can be used to track the refund. | |
| PaymentId | String | True |
The unique identifier for the payment. | |
| ProcessedAt | Datetime | True |
The date and time when the transaction was processed. | |
| CreditCardName | String | True |
The name on the customer's credit card. | |
| CreditCardWallet | String | True |
The wallet of the customer's credit card. | |
| CreditCardExpMonth | Long | True |
The expiration month of the customer's credit card. | |
| CreditCardExpYear | Long | True |
The expiration year of the customer's credit card. | |
| Receipt | String | True |
A JSON aggregate of the order receipt. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total unsettled set. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total unsettled set. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| TransactionItemAmount | Decimal |
The amount of money that the transaction was for. Use this when inserting transactions into an order or refund. |
| TransactionItemGateway | String |
The name of the gateway the transaction was issued through. Use this when inserting transactions into an order or refund. |
| TransActionItemKind | String |
The kind of transaction. Use this when inserting transactions into an order or refund. The allowed values are authorization, capture, sale, void, refund. |
| TransactionItemStatus | String |
The status of the transaction. Use this when inserting transactions into an order or refund. |
| TransactionItemParentId | String |
The parent id of the transaction. Use this when inserting transactions into a refund. |
| TransactionItemSource | String |
The status of the transaction. |
| UpdatedAt | Datetime |
The last time the order is updated. |
Create, read, update or delete pages
SELECT * FROM Pages
SELECT * FROM Pages WHERE Id = '123'
SELECT * FROM Pages WHERE CreatedAt > '2018-05-02'
SELECT * FROM Pages WHERE Handle = 'test'
SELECT * FROM Pages WHERE PublishedAt <= '2018-05-02'
SELECT * FROM Pages WHERE Title = 'new title'
SELECT * FROM Pages WHERE UpdatedAt >= '2018-05-02'
SELECT * FROM Pages WHERE PublishedStatus >= 'published'
You must specify the Title to create a Page.
INSERT INTO Pages (title) VALUES ('new Page')
You must specify the id to update a Page. For example:
UPDATE Pages SET author = 'Harry' WHERE Id = '77171130'
You must specify the Id of the Page to delete it.
DELETE FROM Pages WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique numeric identifier for the page. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Author | String | False |
The name of the person who created the page. | |
| BodyHtml | String | False |
The text content of the page, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the page was created. | |
| Handle | String | False |
A unique, human-friendly string for the page, generated automatically from its title. In online store themes, the Liquid templating language refers to a page by its handle. | |
| Metafields | String | False |
Additional information attached to the Page object. | |
| PublishedAt | Datetime | False |
The date and time (ISO 8601 format) when the page was published. Returns null when the page is hidden. | |
| ShopId | Long | True |
The ID of the shop to which the page belongs. | |
| TemplateSuffix | String | False |
The suffix of the Liquid template being used. | |
| Title | String | False |
The page's title. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the page was last updated. | |
| PublishedStatus | String | False |
Filter comments by their publish status. The allowed values are published, unpublished, any. |
Create, update, delete, and query price rules.
SELECT * FROM PriceRules WHERE Id = '123'
You must specify the Title, TargetType, TargetSelection, ValueType, Value, CustomerSelection, StartsAt, and AllocationMethod columns to create a price rule. For example:
INSERT INTO PriceRules (Title, TargetType, TargetSelection, ValueType, Value, CustomerSelection, StartsAt, AllocationMethod) VALUES ('SUMMERSALE10OFF', 'line_item', 'all', 'fixed_amount', '-10.0', 'all', '2017-01-19T17:59:10Z', 'across')
You must specify the Id to update a price rule. For example:
UPDATE PriceRules SET Title = 'SUMMERSALE10OFF' WHERE Id = '123'
You must specify the Id of the price rule to delete it.
DELETE FROM PriceRules WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the price rule. | |
| AllocationMethod | String | False |
The allocation method of the price rule. Valid values: each: The discount is applied to each of the entitled items. across: The calculated discount amount will be applied across the entitled items. The allowed values are each, across. | |
| CustomerSelection | String | False |
The customer selection for the price rule. Valid values: all: The price rule is valid for all customers. prerequisite: The customer must either belong to one of the customer saved searches specified by PrerequisiteSavedSearchIds. The allowed values are all, prerequisite. | |
| EntitledCollectionIds | String | False |
A list of Ids of collections whose products will be eligible to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. It can't be used in combination with EntitledProductIds or EntitledVariantIds. | |
| EntitledCountryIds | String | False |
A list of Ids of shipping countries that will be entitled to the discount. It can be used only with TargetType set to shipping_line and TargetSelection set to entitled. | |
| EntitledProductIds | String | False |
A list of Ids of products that will be entitled to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. | |
| EntitledVariantIds | String | False |
A list of Ids of product variants that will be entitled to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. | |
| OncePerCustomer | Bool | False |
Whether the generated discount code will be valid only for a single use per customer. This is tracked using customer Id. | |
| PrerequisiteCustomerIds | String | False |
A list of customer Ids which for the price rule to be applicable, the customer must match one of the specified customers. If PrerequisiteCustomerIds is populated, then PrerequisiteSavedSearchIds must be empty. | |
| PrerequisiteQuantityRange | String | False |
The minimum number of items for the price rule to be applicable. It has the following property: greater_than_or_equal_to: The quantity of an entitled cart item must be greater than or equal to this value. | |
| PrerequisiteSavedSearchIds | String | False |
A list of customer saved search Ids. For the price rule to be applicable, the customer must be in the group of customers matching a customer saved search. If PrerequisiteSavedSearchIds is populated, then PrerequisiteCustomerIds must be empty. | |
| PrerequisiteShippingPriceRange | String | False |
The maximum shipping price for the price rule to be applicable. It has the following property: less_than_or_equal_to: The shipping price must be less than or equal to this value. | |
| PrerequisiteSubtotalRange | String | False |
The minimum subtotal for the price rule to be applicable. It has the following property: greater_than_or_equal_to: The subtotal of the entitled cart items must be greater than or equal to this value for the discount to apply. | |
| TargetSelection | String | False |
The target selection method of the price rule. Valid values: all: The price rule applies the discount to all line items in the checkout, entitled: The price rule applies the discount to selected entitlements only. | |
| TargetType | String | False |
The target type that the price rule applies to. Valid values: line_item: The price rule applies to the cart's line items, shipping_line: The price rule applies to the cart's shipping lines. | |
| UsageLimit | Int | False |
The maximum number of times the price rule can be used, per discount code. | |
| PrerequisiteProductIds | String | False |
List of product ids that will be a prerequisites for a Buy X Get Y type discount. The PrerequisiteProductIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Caution: If a product variant is included in PrerequisiteVariantIds, then PrerequisiteProductIds can't include the ID of the product associated with that variant. | |
| PrerequisiteVariantIds | String | False |
List of variant ids that will be a prerequisites for a Buy X Get Y type discount. The EntitledVariantIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Caution: If a product is included in PrerequisiteProductIds, then PrerequisiteVariantIds can't include the ID of any variants associated with that product. | |
| PrerequisiteCollectionIds | String | False |
List of collection ids that will be a prerequisites for a Buy X Get Y discount. The EntitledCollectionIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Cannot be used in combination with PrerequisiteProductIds or PrerequisiteVariantIds. | |
| Value | Decimal | False |
The value of the price rule. If if the value of target_type is shipping_line, then only -100 is accepted. The value must be negative. | |
| ValueType | String | False |
The value type of the price rule. Valid values: fixed_amount: Applies a discount of value as a unit of the store's currency. For example, if value is -30 and the store's currency is USD, then $30 USD is deducted when the discount is applied, percentage: Applies a percentage discount of value. For example, if value is -30, then 30% will be deducted when the discount is applied. If TargetType is shipping_line, then only percentage is accepted. | |
| PrerequisiteToEntitlementQuantityRatio | String | False |
Buy/Get ratio for a Buy X Get Y discount. prerequisite_quantity defines the necessary 'buy' quantity and entitled_quantity the offered 'get' quantity. The PrerequisiteToEntitlementQuantityRatio can be used only with: ValueType set to percentage, TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each, PrerequisiteProductIds or PrerequisiteVariantIds or PrerequisiteCollectionIds defined and EntitledProductIds or EntitledVariantIds or EntitledCollectionIds defined. | |
| Images | String | False |
A list of image objects. | |
| ProductType | String | False |
A categorization that a product can be tagged with, commonly used for filtering and searching. | |
| Options | String | True |
Custom product property names. | |
| PublishedScope | String | False |
Indicates whether the product is published to the Point of Sale channel. | |
| Tags | String | False |
A categorization that a product can be tagged with. Use commas to separate categories. | |
| TemplateSuffix | String | True |
The suffix of the liquid template being used. | |
| Title | String | False |
The name of the product. | |
| Vendor | String | False |
The name of the vendor of the product. | |
| StartsAt | Datetime | False |
The date and time when the price rule starts. | |
| EndsAt | Datetime | False |
The date and time when the price rule ends. Must be after StartsAt. | |
| PublishedAt | Datetime | True |
The date and time when the product was published to the Online Store channel. | |
| CreatedAt | Datetime | True |
The date and time when the price rule was created. | |
| UpdatedAt | Datetime | True |
The date and time when the price rule was last modified. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Published | Bool |
Set to true to publish the product or to false to not publish it |
| MetafieldsGlobalTitleTag | String |
The name of the product, to be used for SEO purposes. |
| MetafieldsGlobalDescriptionTag | String |
The description of the product, to be used for SEO purposes. |
Query and update information regarding different provinces.
For example, the following queries are processed server-side:
SELECT * FROM Provinces WHERE CountryId = '123'
SELECT * FROM Provinces WHERE CountryId = '123' and Id = '456'
You must specify the CountryId and Id to update a province. For example:
UPDATE Provinces SET Tax = '3.4' WHERE CountryId = '123' AND Id = '456'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID for the province. | |
| CountryId [KEY] | Long | True |
Countries.Id |
The ID for the country that the province belongs to. |
| Name | String | False |
The full name of the province. | |
| Code | String | False |
The standard abbreviation for the province. | |
| Tax | Decimal | False |
The sales tax rate to be applied to orders made by customers from this province.. | |
| TaxPercentage | Double | False |
The province's tax in percent format. | |
| TaxName | String | False |
The name of the tax for this province. | |
| TaxType | String | False |
The tax type. Valid values: normal, null, or harmonized. If the value is harmonized, then the tax is compounded of the provincial and federal sales taxes. | |
| ShippingZoneId | Long | True |
The ID for the shipping zone that the province belongs to. |
Create, update, delete, and query Recurring Application Charges.
SELECT * FROM RecurringApplicationCharges
SELECT * FROM RecurringApplicationCharges WHERE Id = '123'
UPDATE RecurringApplicationCharges SET Test = 'true', Name = 'cd' WHERE Id = '2'
You must specify the Id of the recurring application charge to delete it.
DELETE FROM RecurringApplicationCharges WHERE Id = '2'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the recurring application charge. | |
| Name | String | False |
The name of the recurring application charge. | |
| ApiClientId | String | False |
The API Client Id | |
| Price | Decimal | False |
The price of the recurring application charge. The maximum price is 10,000. | |
| Status | String | False |
The status of the recurring charge | |
| ReturnUrl | String | False |
The URL where the merchant is redirected after accepting the charge. | |
| BillingOn | Date | False |
The date and time (ISO 8601 format) when the customer was billed. | |
| Test | String | False |
Whether the application charge is a test transaction. | |
| CreatedAt | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was created. | |
| UpdatedAt | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was last updated. | |
| ActivatedOn | Datetime | False |
The date and time (ISO 8601 format) when the customer activated the recurring application charge. | |
| CancelledOn | Datetime | False |
The date and time (ISO 8601 format) when the merchant canceled their recurring application charge. | |
| TrialDays | Int | False |
The number of days that the customer is eligible for a free trial. | |
| TrialEndsOn | Datetime | False |
The date and time (ISO 8601 format) when the free trial ends. | |
| DecoratedReturnUrl | String | False |
The decorated return url. | |
| CappedAmount | String | False |
The limit a customer can be charged for usage based billing. If this property is provided, then you must also provide the terms property. | |
| ConfirmationUrl | String | False |
The URL where the merchant accepts or declines the recurring application charge. | |
| Terms | String | False |
The terms and conditions of usage based billing charges. Must be present in order to create usage charges, |
Create, read, update or delete redirects.
SELECT * FROM Redirects
SELECT * FROM Redirects WHERE Id = '123'
SELECT * FROM Redirects WHERE Target = '/pqr.jsp'
SELECT * FROM Redirects WHERE Path = '/abc.php'
You must specify path and target to create a Redirect.
INSERT INTO Redirects (path, target) VALUES ('/abc.php', '/pqr.jsp')
You must specify the id to update a Redirect. For example:
UPDATE Redirects SET Path = '/abc.php' WHERE Id = '77171130'
You must specify the Id of the Redirect to delete it.
DELETE FROM Redirects WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID for the redirect. | |
| Path | String | False |
The old path to be redirected. | |
| Target | String | False |
The target location where the user will be redirected. |
Create and query refunds.
For example, the following queries are processed server-side.
If you specify the unique identifier of the Order, then this view will only list refund information concerning that order.
SELECT * FROM Refunds WHERE OrderId = '179098550295'
SELECT * FROM Refunds WHERE OrderId = '179098550295' AND Id = '7382073367'
You must specify the OrderId when inserting a refund.
Create a new refund for an order using aggregates.
INSERT INTO Refunds (OrderId, Restock, Notify, Note, ShippingFullRefund, LineAggregate) VALUES ('123', true, true, 'Wrong size', true, '[{\"id\":\"123\",\"quantity\":3,\"restock_type\": \"return\"}]')
Create a new refund for an order using temporary table.
INSERT INTO OrdersItems#TEMP (ItemId, ItemQuantity) VALUES ('123', 3)
INSERT INTO Refunds (OrderId, Restock, Notify, Note, ShippingFullRefund, LineAggregate) VALUES ('123', true, true, 'Wrong size', true, 'OrdersItems#TEMP')
Create a new refund for an order and attach a transaction to the refund as well using aggregates.
INSERT INTO Refunds (OrderId, LineAggregate, OrderTransactionAggregate) VALUES ('123', '[{\"id\":\"123\",\"quantity\":3,\"restock_type\": \"return\"}]', '[{\"kind\":\"refund\",\"amount\":5.5,\"gateway\":\"gw\",\"parent_id\":\"789\"}]')
Create a new refund for an order and attach a transaction to the refund as well using temporary table.
INSERT INTO OrdersItems#TEMP (ItemId, ItemQuantity) VALUES ('123', 3)
INSERT INTO Transactions#TEMP (TransactionItemParentId, TransactionItemAmount, TransactionItemKind, TransactionItemGateway) VALUES ('789', 5.5, 'refund', 'gw')
INSERT INTO Refunds (OrderId, LineAggregate, OrderTransactionAggregate) VALUES ('123', 'OrdersItems#TEMP', 'Transactions#TEMP')
Refund a specific amount of shipping using aggregates.
INSERT INTO Refunds (OrderId, ShippingAmount, OrderTransactionAggregate) VALUES ('123', 5.3, '[{\"parent_id\":\"456\"}]')
Refund a specific amount of shipping using temporary table.
INSERT INTO Transactions#TEMP (TransactionItemParentId) VALUES ('456')
INSERT INTO Refunds (OrderId, ShippingAmount, OrderTransactionAggregate) VALUES ('123', 5.3, 'Transactions#TEMP')
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique identifier for the refund. | |
| OrderId | Long | False |
Orders.Id |
The id of the order. |
| OrderUpdatedAt | Datetime | True |
Orders.UpdatedAt |
The date and time when the order was last modified. |
| Note | String | False |
The optional note attached to a refund. | |
| Restock | Bool | True |
Whether or not the line items were added back to the store inventory. | |
| UserId | Long | True |
The unique identifier of the user who performed the refund. | |
| CreatedAt | Datetime | True |
The date and time when the refund was created. | |
| ProcessedAt | Datetime | True |
The date and time when the refund was imported. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the refund. | |
| OrderTransactionAggregate | String | False |
A JSON aggregate of transactions associated with the refund. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Notify | Bool |
Whether or not to send a refund notification to the customer. |
| DiscrepancyReason | String |
An optional comment, used if there is a discrepancy between calculated and actual refund amounts (one of: restock, damage, customer, other) |
| ShippingAmount | Decimal |
Set specific amount of shipping to refund. Takes precedence over FullRefund. |
| ShippingFullRefund | Bool |
Whether or not to to refund all remaining shipping. |
Returns a list of resource feedback objects..
SELECT * FROM ResourceFeedbacks
You must specify path and target to create a Redirect.
INSERT INTO [ResourceFeedbacks] ([State], [Messages], [FeedbackGeneratedAt]) VALUES ('requires_action', 'Wow wow.', '2023-09-13 09:00:00');
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
Unique id of the resource. | |
| Type | String | False |
TType of resource for which feedback is returned. eg. Shop, Product. | |
| State | String | False |
Indicates the state that the Shop or resource is in, from the perspective of your app. Valid values are requires_action, or success. The allowed values are requires_action, success. | |
| Messages | String | False |
The name of the report. | |
| CreatedAt | Datetime | False |
DateTime when the resource feedback record was stored by Shopify. Type: ISO 8601 UTC DateTime as string with year, month (or week), day, hour, minute, second, time zone. | |
| UpdatedAt | Datetime | False |
DateTime when the resource feedback record was last updated by Shopify. Type: ISO 8601 UTC DateTime as string with year, month (or week), day, hour, minute, second, time zone. | |
| ResourceUpdatedAt | Datetime | False |
The date and time (ISO 8601) when the report was last modified. | |
| FeedbackGeneratedAt | Datetime | False |
The time at which the payload is constructed. Used to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival. Type: ISO 8601 UTC datetime as string with year, month [or week], day, hour, minute, second, millisecond, and time zone. |
Create, read, update or delete script tags.
SELECT * FROM ScriptTags
SELECT * FROM ScriptTags WHERE Id = '123'
SELECT * FROM ScriptTags WHERE CreatedAt > '2018-05-02'
SELECT * FROM ScriptTags WHERE UpdatedAt < '2017-08-15'
SELECT * FROM ScriptTags WHERE Src = 'https://example.com/my_script.js'
You must specify event and src to create a ScriptTag.
INSERT INTO Scripttags (event, src) VALUES ('onload', 'https://js-aplenty.com/abc.js')
You must specify the id to update a ScriptTag. For example:
UPDATE ScriptTags SET src = 'https://js-aplenty.com/abc.js' WHERE Id = '77171130'
You must specify the Id of the ScriptTag to delete it.
DELETE FROM ScriptTags WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID for the script tag. | |
| Cache | Bool | False |
Whether the Shopify CDN can cache and serve the script tag. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601) when the script tag was created. | |
| DisplayScope | String | False |
The page or pages on the online store where the script should be included. The allowed values are online_store, order_status, all. | |
| Event | String | False |
The DOM event that triggers the loading of the script. Valid values: onload. | |
| Src | String | False |
The URL of the remote script. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601) when the script tag was last updated. |
Query, insert, update, or delete information regarding different smart collections.
For example, the following queries are processed server-side.
SELECT * FROM SmartCollections WHERE Id = '123'
SELECT * FROM SmartCollections WHERE Id IN ('123', '456')
SELECT * FROM SmartCollections WHERE ProductId = '123'
SELECT * FROM SmartCollections WHERE Title = 'Ducks'
SELECT * FROM SmartCollections WHERE Handle = 'frontpage'
SELECT * FROM SmartCollections WHERE PublishedStatus = 'published'
SELECT * FROM SmartCollections WHERE UpdatedAt > '2018-05-02'
SELECT * FROM SmartCollections WHERE PublishedAt < '2017-08-15'
You must specify the Title and Rules to create a smart collection. For example:
INSERT INTO SmartCollections (Title, Rules) VALUES ('IPods', '[{"column": "vendor","relation": "equals","condition": "Apple"}]')
You must specify the smart collection Id to update a smart collection. For example:
UPDATE SmartCollections SET BodyHtml = '5000 songs in your pocket' WHERE Id = '123'
You must specify the Id of the smart collection to delete it.
DELETE FROM SmartCollections WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the smart collection. | |
| Title | String | False |
The name of the smart collection. Maximum length: 255 characters. | |
| BodyHtml | String | False |
The description of the smart collection. Includes HTML markup. Many shop themes display this on the smart collection page. | |
| Image | String | False |
A JSON aggregate with information regarding the image of smart collection. | |
| Rules | String | False |
A JSON aggregate with the list of rules that define what products go into the smart collection. Valid values for each rule field: column: tag, title, type, vendor, variant_price, variant_compare_at_price, variant_weight, variant_inventory, variant_title; relation: equals, greater_than, less_than, starts_with, ends_with, contains; condition: any string | |
| Handle | String | False |
A human-friendly unique string for the smart collection. Automatically generated from the title. Used in shop themes by the Liquid templating language to refer to the smart collection. (maximum: 255 characters) | |
| Disjunctive | Bool | False |
Whether the product must match all the rules to be included in the smart collection. Valid values: true: products only need to match one or more of the rules to be included in the smart collection, false: products must match all of the rules to be included in the smart collection. | |
| SortOrder | String | False |
The order in which products in the smart collection appear. | |
| TemplateSuffix | String | False |
The suffix of the Liquid template that the shop uses. By default, the original template is called product.liquid, and additional templates are called product.suffix.liquid. | |
| PublishedScope | String | False |
Whether the smart collection is published to Point of Sale. Valid values: web: The smart collection is published to the shop's online channels and not published to the Point of Sale channel, global: The smart collection is published to both the online channels and the Point of Sale channel. | |
| UpdatedAt | Datetime | True |
The date and time when the smart collection was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the smart collection was published. Returns null when the collection is hidden. | |
| ProductId | String | True |
Show smart collections that include a given product. | |
| PublishedStatus | String | True |
Show smart collection with a given published status: published: show only published smart collections, unpublished: show only unpublished smart collections, any: show all smart collections. (default: any). The allowed values are published, unpublished, any. |
Create, read, update or delete themes
SELECT * FROM Theme
SELECT * FROM Themes WHERE Id = '123'
You must specify name to create a Theme.
INSERT INTO Themes (name) VALUES ('NewTheme')
You must specify the id to update a Theme. For example:
UPDATE Themes SET name = 'NewTheme' WHERE Id = '77171130'
You must specify the Id of the Theme to delete it.
DELETE FROM Themes WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the theme. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the theme was created. | |
| Name | String | False |
The name of the theme. | |
| Previewable | Bool | True |
Whether the theme can currently be previewed. | |
| Processing | Bool | True |
Whether files are still being copied into place for this theme. | |
| Role | String | False |
Specifies how the theme is being used within the shop. The allowed values are main, published, demo. | |
| ThemeStoreId | Long | True |
A unique identifier applied to Shopify-made themes that are installed from the Shopify Theme Store Theme Store. | |
| UpdatedAt | Datetime | True |
The date and time ( ISO 8601 format) when the theme was last updated. |
Create or view Usage Charges for Recurring Application Charges.
SELECT * FROM UsageCharges WHERE Id = 123
SELECT * FROM UsageCharges WHERE RecurringApplicationId = 5569619
SELECT * FROM UsageCharges WHERE RecurringApplicationId = 5569619 AND Id = 123
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the usage charge. | |
| Description | String | False |
The name of the usage charge. | |
| Price | Decimal | False |
The price of the usage charge. | |
| CreatedAt | Datetime | False |
The date and time (ISO 8601 format) when the usage charge was created. | |
| BalanceUsed | Decimal | False |
The used balance | |
| BalanceRemaining | Decimal | False |
The remaining balance | |
| RiskLevel | Int | False |
The risk Level | |
| RecurringApplicationId | Long | False |
The Id of the RecurringApplication Charge |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| AbandonedCheckouts | Query abandoned checkouts. |
| AbandonedCheckoutsItems | Query abandoned checkouts items. |
| AssignedFulfillmentOrders | The AssignedFulfillmentOrder resource allows you to retrieve all the fulfillment orders that are assigned to an app at the shop level. |
| DiscountApplications | Query note attributes belonging to an order or draft order. |
| DraftOrderItemProperties | Query order item properties. |
| DraftOrderItems | Query draft order items. |
| DraftOrderItemTaxLines | Query draft order items tax lines. |
| Events | Retrieve events which have happened in your shop. |
| FulfillmentOrderLineItems | Query fulfillment order line items. |
| FulfillmentOrders | Query fulfillment orders. |
| Locations | Retrieve information regarding store locations. |
| NoteAttributes | Query note attributes belonging to an order or draft order. |
| OrderDiscountCodes | Query note attributes belonging to an order or draft order. |
| OrderItemDiscountAllocations | Query order item discount allocations. |
| OrderItemProperties | Query order item properties. |
| OrdersItems | Query order items. |
| Payouts | Retrieves a list of all payouts ordered by payout date, with the most recent being first. |
| PayoutTransactions | Retrieves a list of all balance transactions ordered by processing time, with the most recent being first. |
| PayoutTransactionsAdjustmentOrderTransactions | Retrieves associated order transactions that resulted in a balance transaction. |
| RefundAdjustments | Create and query transactions. |
| RefundsItems | Get data on OrdersItems that have been refunded. |
| RefundTransactions | Query transactions for Refund Object. |
| ShippingItemDiscountAllocations | Query Shipping item discount allocations. |
| ShippingItems | Query order shipping. |
| ShippingZones | Retrieve information regarding shipping zones. |
| Shop | Contains general settings and information about the shop. |
| TaxItems | Query order taxes. |
| Users | Query Users. |
Query abandoned checkouts.
SELECT * FROM AbandonedCheckouts WHERE CreatedAt > '2017-10-25'
| Name | Type | References | Description |
| Id [KEY] | Long | The unique numeric identifier for the order. | |
| AbandonedCheckoutUrl | String | The full recovery URL to be sent to a customer to recover their abandoned checkout. | |
| BuyerAcceptsMarketing | Bool | Indicates whether or not the person who placed the order would like to receive email updates from the shop. | |
| CancelReason | String | The reason why the order was cancelled. | |
| CartToken | String | Unique identifier for a particular cart that is attached to a particular order. | |
| Currency | String | The three letter code (ISO 4217) for the currency used for the payment. | |
| CustomerId | Long |
Customers.Id | A unique numeric identifier for the customer. |
| DiscountCodes | String | Applicable discount codes that can be applied to the order. | |
| String | The customer's email address. | ||
| Note | String | The text of an optional note that a shop owner can attach to the order. | |
| LandingSite | String | The URL for the page where the buyer landed when entering the shop. | |
| ReferringSite | String | The website that the customer clicked on to come to the shop. | |
| SourceName | String | Where the order originated. | |
| SubtotalPrice | Decimal | Price of the order before shipping and taxes. | |
| TotalDiscounts | Decimal | The total amount of the discounts to be applied to the price of the order. | |
| TotalLineItemsPrice | Decimal | The sum of all the prices of all the items in the order. | |
| TotalPrice | Decimal | The sum of all the prices of all the items in the order, taxes and discounts included. | |
| TotalTax | Decimal | The sum of all the taxes applied to the order. | |
| TotalWeight | Double | The sum of all the weights of the line items in the order, in grams. | |
| TaxesIncluded | Bool | States whether or not taxes are included in the order subtotal. | |
| Token | String | Unique identifier for a particular order. | |
| BillingAddressFirstName | String | The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | The last name of the person associated with the payment method. | |
| BillingAddressAdress1 | String | The street address of the billing address. | |
| BillingAddressAdress2 | String | An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | The phone number at the billing address. | |
| BillingAddressCity | String | The city of the billing address. | |
| BillingAddressCompany | String | The company of the person associated with the billing address. | |
| BillingAddressZip | String | The zip or postal code of the billing address. | |
| BillingAddressProvince | String | The name of the state or province of the billing address. | |
| BillingAddressCountry | String | The name of the country of the billing address. | |
| BillingAddressLatitude | Double | The latitude of the billing address. | |
| BillingAddressLongitude | Double | The longitude of the billing address. | |
| BillingAddressName | String | The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | The first name of the person associated with the shipping address. | |
| ShippingAddressLastName | String | The last name of the person associated with the shipping address. | |
| ShippingAddressAdress1 | String | The street address of the shipping address. | |
| ShippingAddressAdress2 | String | An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | The phone number at the shipping address. | |
| ShippingAddressCity | String | The city of the shipping address. | |
| ShippingAddressCompany | String | The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | The longitude of the shipping address. | |
| ShippingAddressName | String | The full name of the person associated with the shipping address. | |
| ShippingAddressCountryCode | String | The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | Whether this address is the default one or not. | |
| ClosedAt | Datetime | The date and time when the order was closed. | |
| CompletedAt | Datetime | The date and time when the order was completed. | |
| CreatedAt | Datetime | The date and time when the order was created. | |
| UpdatedAt | Datetime | The date and time when the order was last modified. |
Query abandoned checkouts items.
SELECT * FROM AbandonedCheckoutsItems WHERE CreatedAt > '2017-10-25'
| Name | Type | References | Description |
| AbandonedCheckoutId [KEY] | Long | The unique numeric identifier for the order. | |
| ProductId [KEY] | Long | The product ID od the item. | |
| ItemVariantId [KEY] | Long | The product variant ID of item. | |
| ItemTitle | String | The title of the product. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item in presentment currency. | |
| ItemGrams | Int | The weight of the item in grams. | |
| SKU | String | A unique identifier for the item in the shop. | |
| VariantTitle | String | The title of the product variant. | |
| Vendor | String | The name of the item's supplier. | |
| FulFillmentsService | String | The fulfillment service provider for the item. | |
| CreatedAt | Datetime | The date and time when the order was created. | |
| UpdatedAt | Datetime | The date and time when the order was last modified. |
The AssignedFulfillmentOrder resource allows you to retrieve all the fulfillment orders that are assigned to an app at the shop level.
SELECT * FROM AssignedFulfillmentOrders WHERE AssignedLocationId IN (1, 2)
SELECT * FROM AssignedFulfillmentOrders WHERE RequestStatus = 'cancellation_requested'
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the fulfillment order. | |
| ShopId | Long |
Shop.Id | The ID of the shop that's associated with the fulfillment order. |
| OrderId | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| AssignedLocationId | Long | The ID of the location that has been assigned to do the work. | |
| FulfillmentServiceHandle | String | A unique numeric identifier for the order. | |
| RequestStatus | String | The status of the fulfillment. | |
| DestinationId | String | The ID of the fulfillment order destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| LineItems | String | Represents line items belonging to a fulfillment order. | |
| Status | String | The status of the fulfillment order. | |
| Operation | String | An operation to apply to the fulfillment. Complete, Open, or Cancel.
The allowed values are Complete, Open, Cancel. |
Query note attributes belonging to an order or draft order.
SELECT * FROM DiscountApplications WHERE OrderId = '1'
SELECT * FROM DiscountApplications WHERE OrderId IN ('1', '2')
SELECT * FROM DiscountApplications WHERE OrderUpdatedAt <= '2020-07-20 08:28:03.0'
SELECT * FROM DiscountApplications WHERE OrderUpdatedAt > '2020-07-20 08:28:03.0'
| Name | Type | References | Description |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Type | String | The name of the note attribute. | |
| Title | String | The value of the note attribute. | |
| Description | String | The value of the note attribute. | |
| Value | String | The value of the note attribute. | |
| ValueType | String | The value of the note attribute. | |
| AllocationMethod | String | The value of the note attribute. | |
| TargetSelection | String | The value of the note attribute. | |
| TargetType | String | The value of the note attribute. |
Query order item properties.
For example, the following queries are processed server-side.
SELECT * FROM DraftOrderItemProperties WHERE DraftOrderId = '123'
| Name | Type | References | Description |
| ItemId | Long |
DraftOrderItems.ItemId | The id of the order item. |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| Name | String | The name of the item property. | |
| Value | String | The value of the item property. |
Query draft order items.
For example, the following queries are processed server-side.
SELECT * FROM DraftOrderItems WHERE DraftOrderId = '123'
| Name | Type | References | Description |
| ItemId [KEY] | Long | The id of the line item. | |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| ProductId | Long | The ID of the product corresponding to the line item product variant. | |
| Custom | Bool | States whether this is a custom line item or a product variant line item | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| FulFillmentsService | String | Service provider responsible for fulfillment. | |
| ItemGrams | Int | The weight of the item in grams. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| ItemTitle | String | The title of the product or variant. | |
| ItemVariantId | Long | The id of the product variant. | |
| VariantTitle | String | The title of the product variant. | |
| Vendor | String | The name of the supplier of the item. | |
| Name | String | The name of the product variant. | |
| GiftCard | Bool | States whether or not the product is a gift card. | |
| Properties | String | Shows custom properties for this order item. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| TaxLines | String | Shows tax lines for this order item. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Query draft order items tax lines.
SELECT * FROM DraftOrderTaxItems WHERE DraftOrderId = '123'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
DraftOrderItems.ItemId | The id of the draft line item. |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| TaxTitle | String | The name of the tax. | |
| TaxRate | Decimal | The rate of tax to be applied. | |
| TaxPrice | Decimal | The amount of tax to be charged. |
Retrieve events which have happened in your shop.
For example, the following queries are processed server-side:
SELECT * FROM Events WHERE Id = '123'
SELECT * FROM Events WHERE ProductId = '123'
SELECT * FROM Events WHERE OrderId = '123'
SELECT * FROM Events WHERE Verb = 'Confirmed'
SELECT * FROM Events WHERE CreatedAt > '2018-05-02'
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the event. | |
| Description | String | A human readable description of the event. | |
| Message | String | A human readable description of the event. Can contain some HTML formatting. | |
| Body | String | A text field containing information about the event. | |
| Path | String | A relative URL to the resource the event is for, if applicable. | |
| SubjectId | Long | The ID of the resource that generated the event. | |
| SubjectType | String | he type of the resource that generated the event. Valid values: Article, Blog, Collection, Comment, Order, Page, Product, ApiPermission. | |
| Verb | String | The type of event that occurred. Different resources generate different types of event. | |
| Author | String | The author of the event. | |
| Arguments | String | Refers to a certain event and its resources. | |
| CreatedAt | Datetime | The date and time when the event was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| OrderId | Long | The ID of the Order to retrieve events from. |
Query fulfillment order line items.
For example, the following queries are processed server-side.
SELECT * FROM FulfillmentOrderLineItems WHERE OrderId = '123'
SELECT * FROM FulfillmentOrderLineItems WHERE FulfillmentOrderId='6817622622467'
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the fulfillment order line item. | |
| ShopId | Long |
Shop.Id | The ID of the shop associated with the fulfillment order line item. |
| FulfillmentOrderId | Long | The ID of the fulfillment order associated with this line item. | |
| OrderId | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| LineItemId | Long |
OrdersItems.ItemId | The ID of the line item associated with this fulfillment order line item. |
| InventoryItemId | Long | The ID of the inventory item associated with this fulfillment order line item. | |
| Quantity | Int | The total number of units to be fulfilled. | |
| FulfillableQuantity | Int | The number of units remaining to be fulfilled. | |
| VariantId | Long | The ID of the variant associated with this fulfillment order line item. | |
| FinancialSummaries | String | The financial summary data for the line item. |
Query fulfillment orders.
SELECT * FROM FulfillmentOrders WHERE OrderId = '1'
SELECT * FROM FulfillmentOrders WHERE Id = '1'
| Name | Type | References | Description |
| Id [KEY] | Long | An ID for the fulfillment order. | |
| ShopId | Long |
Shop.Id | The ID of the shop that's associated with the fulfillment order. |
| OrderId [KEY] | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| AssignedLocationId | Long | The ID of the location that has been assigned to do the work. | |
| DestinationId | String | The ID of the fulfillment order destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| FullfillAt | Datetime | The datetime (in UTC) when the fulfillment order is ready for fulfillment. | |
| LineItems | String | Represents line items belonging to a fulfillment order. | |
| RequestStatus | String | The status of the fulfillment. | |
| Status | String | The status of the fulfillment order. | |
| SupportedActions | String | The actions that can be performed on this fulfillment order. | |
| MerchantRequests | String | A list of requests sent by the merchant to the fulfillment service for this fulfillment order.. | |
| FulfillmentHolds | String | Represents the fulfillment holds applied on the fulfillment order. | |
| InternationalDuties | String | The international duties relevant to the fulfillment order. | |
| AssignedLocationAddress1 | String | The street address of the assigned location | |
| AssignedLocationAddress2 | String | An optional additional field for the street address of the assigned location. | |
| AssignedLocationCity | String | The city of the assigned location. | |
| AssignedLocationCountryCode | String | The two-letter code for the country of the assigned location | |
| AssignedLocationName | String | The name of the assigned location. | |
| AssignedLocationPhone | String | The phone number of the assigned location. |
Retrieve information regarding store locations.
For example, the following queries are processed server-side:
SELECT * FROM Locations WHERE Id = '123'
| Name | Type | References | Description |
| Id [KEY] | Long | The ID for the location. | |
| Name | String | The name of the location. | |
| Legacy | Bool | Whether this is a fulfillment service location. If true, then the location is a fulfillment service location. If false, then the location was created by the merchant and isn't tied to a fulfillment service. | |
| Address1 | String | The first line of the address. | |
| Address2 | String | The second line of the address. | |
| City | String | The city the location is in. | |
| Zip | String | The zip or postal code. | |
| Province | String | The province the location is in. | |
| Country | String | The country the location is in. | |
| Phone | String | The phone number of the location. This value can contain special characters like - and +. | |
| CountryCode | String | The two-letter code (ISO 3166-1 alpha-2 format) corresponding to country the location is in. | |
| CountryName | String | The name of the country the location is in. | |
| CreatedAt | Datetime | The date and time when the location was created. | |
| UpdatedAt | Datetime | The date and time when the location was last updated. | |
| DeletedAt | Datetime | The date and time when the location was deleted. |
Query note attributes belonging to an order or draft order.
SELECT * FROM NoteAttributes WHERE OrderId = '123'
SELECT * FROM NoteAttributes WHERE OrderUpdatedAt > '2018-05-05'
| Name | Type | References | Description |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Name | String | The name of the note attribute. | |
| Value | String | The value of the note attribute. |
Query note attributes belonging to an order or draft order.
SELECT * FROM OrderDiscountCodes WHERE OrderId = '1'
SELECT * FROM OrderDiscountCodes WHERE OrderId IN ('1', '2')
SELECT * FROM OrderDiscountCodes WHERE OrderUpdatedAt <= '2019-05-13 09:23:06.0'
SELECT * FROM OrderDiscountCodes WHERE OrderUpdatedAt >= '2019-05-13 09:23:06.0'
| Name | Type | References | Description |
| OrderId [KEY] | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Code [KEY] | String | The name of the note attribute. | |
| Amount | String | The value of the note attribute. | |
| Type | String | The value of the note attribute. |
Query order item discount allocations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM OrderItemDiscountAllocations
SELECT * FROM OrderItemDiscountAllocations WHERE OrderId IN (123, 456)
SELECT * FROM OrderItemDiscountAllocations WHERE OrderUpdatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| amount | String | The Amount of the item discount allocations. | |
| ApplicationIndex | Int | The ApplicationIndex of the item discount allocations. | |
| ShopMoneyAmount | Decimal | The ShopMoneyAmount of the item discount allocations. | |
| ShopMoneyCurrencyCode | String | The ShopMoneyCurrencyCode of the item discount allocations. | |
| PresentmentMoneyAmount | Decimal | The PresentmentMoneyAmount of the item discount allocations. | |
| PresentmentMoneyCurrencyCode | String | The PresentmentMoneyCurrencyCode of the item discount allocations. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order item properties.
For example, the following queries are processed server-side. You can set the Type pseudo column to "DraftOrder" to list order items belonging to draft orders instead of orders, or you can set Type to "AbandonedCheckout" to list order items belonging to abandoned checkouts.
SELECT * FROM OrderItemProperties WHERE OrderId = '123'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| Name | String | The name of the item property. | |
| Value | String | The value of the item property. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order items.
For example, the following queries are processed server-side. You can set the Type pseudo column to "DraftOrder" to list order items belonging to draft orders instead of orders, or you can set Type to "AbandonedCheckout" to list order items belonging to abandoned checkouts.
SELECT * FROM OrderItems WHERE OrderId = '123'
SELECT * FROM OrderItems WHERE OrderUpdatedAt > '2018-05-10'
SELECT * FROM OrderItems WHERE Type = 'DraftOrder'
SELECT * FROM OrderItems WHERE Type = 'AbandonedCheckout'
| Name | Type | References | Description |
| ItemId [KEY] | Long | The id of the order item. Only available for orders. | |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| ProductId | Long | The id of the of the product beloning to the order item. | |
| ItemVariantId | Long | The id of the product variant. | |
| ItemTitle | String | The title of the product. | |
| Name | String | The name of the product variant. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemGrams | Int | The weight of the item in grams. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| VariantTitle | String | The title of the product variant. | |
| Properties | String | Shows custom properties for this order item. | |
| Vendor | String | The name of the supplier of the item. | |
| FulFillmentsService | String | Service provider who is doing the fulfillment. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| GiftCard | Bool | States whether or not the order item is a gift card. | |
| CurrentQuantity | Int | The line item's current quantity after removals. | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| TotalDiscount | Decimal | The total discount amount applied to this order item. | |
| FulfillmentStatus | String | How far along an order is in terms order items fulfilled. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Type | String | The type of order item, can be one of the following(Order, DraftOrder, AbandonedCheckout).
The allowed values are Order, DraftOrder, AbandonedCheckout. | |
| Status | String | Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Retrieves a list of all payouts ordered by payout date, with the most recent being first.
For example, the following queries are processed server-side:
SELECT * FROM Payouts WHERE Id = '123'
SELECT * FROM Payouts WHERE Status = 'pending'
SELECT * FROM Payouts WHERE Date = '2018-10-30'
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the payout. | |
| Status | String | The transfer status of the payout. | |
| Currency | String | The ISO 4217 currency code of the payout. | |
| Amount | Decimal | The total amount of the payout, in a decimal formatted string. | |
| Date | Datetime | The date the payout was issued. |
Retrieves a list of all balance transactions ordered by processing time, with the most recent being first.
The Shopify APIs requires the search criteria to contain PayoutId. For example, the following query is processed server-side.
SELECT * FROM PayoutTransactions WHERE PayoutId = '123'
When performing a query without a filter or a filter other then the PayoutId column, the Cloud will retrieve the entire list of transactions and perform the filters client-side.
The Shopify API requires that an PayoutId be specified when retrieving transactions. Therefore to retrieve all the transactions, the Cloud will first retrieve all the PayoutIds
from the Payouts table (essentially performing the query: SELECT Id FROM Payouts). Once the PayoutId values have been retrieved, the Cloud will issue individual requests to the
Shopify API to retrieve all the transactions for each PayoutId to build the result set.
SELECT * FROM PayoutTransactions
SELECT * FROM PayoutTransactions WHERE Test='true'
SELECT * FROM PayoutTransactions WHERE PayoutStatus='pending'
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the transaction. | |
| Type | String | The type of the balance transaction. | |
| Test | Bool | If the transaction was created for a test mode Order or payment. | |
| PayoutId | Long |
Payouts.Id | The id of the payout the transaction was paid out in. |
| PayoutStatus | String | The status of the payout the transaction was paid out in, or pending if the transaction has not yet been included in a payout. | |
| Currency | String | The ISO 4217 currency code of the transaction. | |
| Amount | Decimal | The gross amount of the transaction, in a decimal formatted string. | |
| Fee | Decimal | The total amount of fees deducted from the transaction amount. | |
| Net | Decimal | The net amount of the transaction. | |
| SourceId | Long | The id of the resource leading to the transaction. | |
| SourceType | String | The type of the resource leading to the transaction. | |
| SourceOrderTransactionId | String | The id of the Order Transaction that resulted in this balance transaction. | |
| SourceOrderId | String | The id of the Order that this transaction ultimately originated from. | |
| ProcessedAt | Datetime | The time the transaction was processed. |
Retrieves associated order transactions that resulted in a balance transaction.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server side:
SELECT * FROM PayoutTransactionsAdjustmentOrderTransactions
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the order transaction. | |
| PayoutTransactionId | Long | The unique identifier of the transaction. | |
| Amount | Decimal | Amount that is adjusted in this order transaction. | |
| OrderId | Long | The order details for the order transaction. Order id. | |
| OrderName | String | The order details for the order transaction. Order name. |
Create and query transactions.
The Shopify APIs requires the search criteria to contain OrderId. For example, the following query is processed server-side.
SELECT * FROM RefundAdjustments WHERE OrderId = '123'
When performing a query without a filter or a filter other then the OrderId column, the Cloud will retrieve the entire list of refunds and perform the filters client-side.
The Shopify API requires that an OrderId be specified when retrieving refunds. Therefore to retrieve all the refunds, the Cloud will first retrieve all the OrderIds
from the Orders table (essentially performing the query: SELECT Id FROM Orders). Once the OrderId values have been retrieved, the Cloud will issue individual requests to the
Shopify API to retrieve all the refunds for each OrderId to build the result set.
SELECT * FROM RefundAdjustments WHERE OrderId = '123' AND RefundId = '123'
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the refund adjustment. | |
| OrderId | Long |
Orders.Id | The unique identifier for the order that the order adjustment is associated with. |
| RefundId | Long |
Refunds.Id | The unique identifier for the refund that the order adjustment is associated with. |
| Amount | Decimal | The value of the discrepancy between the calculated refund and the actual refund. | |
| TaxAmount | Decimal | The taxes that are added to amount, such as applicable shipping taxes added to a shipping refund. | |
| Kind | String | The order adjustment type. | |
| Reason | String | The reason for the order adjustment. | |
| AmountShopMoney | Decimal | The amount of the order adjustment in shop. | |
| AmountShopCurrency | String | The currency of the order adjustment in shop. | |
| AmountPresentmentMoney | Decimal | The amount of the order adjustment in presentment. | |
| AmountPresentmentCurrency | String | The currency of the order adjustment in presentment. | |
| TaxAmountShopMoney | Decimal | The tax amount of the order adjustment in shop. | |
| TaxAmountShopCurrency | String | The tax currency of the order adjustment in shop. | |
| TaxAmountPresentmentMoney | Decimal | The tax amount of the order adjustment in presentment. | |
| TaxAmountPresentmentCurrency | String | The tax currency of the order adjustment in presentment. |
Get data on OrdersItems that have been refunded.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM RefundsItems
SELECT * FROM RefundsItems WHERE OrderID = 123
SELECT * FROM RefundsItems WHERE RefundId = 123
SELECT * FROM RefundsItems WHERE Status = 'Val1'
| Name | Type | References | Description |
| ItemId [KEY] | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderID [KEY] | Long |
Orders.Id | The id of the refund this refunded item belongs to. |
| RefundId [KEY] | Long |
Refunds.Id | The id of the refund this refunded item belongs to. |
| LocationId | Long | The unique identifier of the location tied to the refund item | |
| ProductId | Long | The id of the of the product beloning to the order item. | |
| ItemVariantId | Long | The id of the product variant. | |
| ItemTitle | String | The title of the product. | |
| Name | String | The name of the product variant. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemGrams | Int | The weight of the item in grams. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| VariantTitle | String | The title of the product variant. | |
| Properties | String | Shows custom properties for this order item. | |
| Vendor | String | The name of the supplier of the item. | |
| FulFillmentsService | String | Service provider who is doing the fulfillment. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| GiftCard | Bool | States whether or not the order item is a gift card. | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| TotalDiscount | Decimal | The total discount amount applied to this order item. | |
| FulfillmentStatus | String | How far along an order is in terms order items fulfilled. | |
| RefundSubtotal | Decimal | The refunded amount for this item. This is calculated by multiplying ItemPrice with RefundQuantity. | |
| RefundQuantity | Int | The quantity of the item refunded. | |
| RefundRestockType | String | The type of the restock action. | |
| RefundSubtotalPresentmentAmount | Decimal | The total amount of the presentment money. | |
| RefundSubtotalPresentmentCurrencyCode | String | The currency code of the presentment money. | |
| RefundSubtotalShopAmount | Decimal | The total amount of the shop money. | |
| RefundSubtotalShopCurrencyCode | String | The currency code of the shop money. | |
| RefundTotalTax | Decimal | Total tax for the refunded item. | |
| RefundTotalTaxPresentmentAmount | Decimal | Total tax amount for the presentment money. | |
| RefundTotalTaxPresentmentCurrencyCode | String | Currency code for the tax on presentment money. | |
| RefundTotalTaxShopAmount | Decimal | Total tax amount for the shop money. | |
| RefundTotalTaxShopCurrencyCode | String | Currency code for the tax on shop money. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Status | String | Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Query transactions for Refund Object.
The Shopify APIs requires the search criteria to contain OrderId. For example, the following query is processed server-side.
SELECT * FROM RefundTransactions WHERE OrderId = '123'
When performing a query without a filter or a filter other then the OrderId column, the Cloud will retrieve the entire list of refunds and perform the filters client-side.
The Shopify API requires that an OrderId be specified when retrieving refunds. Therefore to retrieve all the refunds, the Cloud will first retrieve all the OrderIds
from the Orders table (essentially performing the query: SELECT Id FROM Orders). Once the OrderId values have been retrieved, the Cloud will issue individual requests to the
Shopify API to retrieve all the refunds for each OrderId to build the result set.
SELECT * FROM RefundTransactions WHERE OrderId = '123' AND RefundId = '123'
| Name | Type | References | Description |
| TransactionsId [KEY] | Long | The ID for the refund transaction. | |
| OrderId | Long |
Orders.Id | The ID for the order that the transaction is associated with. |
| RefundId | Long |
Refunds.Id | The unique identifier for the refund associated with. |
| Amount | Decimal | The amount of money included in the transaction. | |
| Authorization | String | The authorization code associated with the transaction.. | |
| CreatedAt | Datetime | The date and time (ISO 8601 format) when the transaction was created. | |
| Currency | String | The three-letter code (ISO 4217 format) for the currency used for the payment. | |
| DeviceId | String | The ID for the device. | |
| ErrorCode | String | A standardized error code, independent of the payment provider. | |
| GraphqlAPIId | String | The order adjustment type. | |
| Gateway | String | The name of the gateway the transaction was issued through. | |
| Kind | String | The transaction's type. | |
| LocationId | String | The ID of the physical location where the transaction was processed. | |
| Message | String | A string generated by the payment provider with additional information about why the transaction succeeded or failed. | |
| ParentId | Long | The ID of an associated transaction.. | |
| ProcessedAt | Datetime | The date and time (ISO 8601 format) when a transaction was processed. | |
| Status | String | The status of the transaction. | |
| SourceName | String | The origin of the transaction. | |
| Test | Bool | Whether the transaction is a test transaction. | |
| UserId | String | The ID for the user who was logged into the Shopify POS device when the order was processed, if applicable. |
Query Shipping item discount allocations.
SELECT * from ShippingItemDiscountAllocations
SELECT * from ShippingItemDiscountAllocations where OrderId='1'
SELECT * from ShippingItemDiscountAllocations where OrderId IN ('1', '2')
SELECT * from ShippingItemDiscountAllocations where OrderUpdatedAt <= '2020-07-20 08:28:03.0'
SELECT * from ShippingItemDiscountAllocations where OrderUpdatedAt > '2020-07-20 08:28:03.0'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
ShippingItems.ItemId | The id of the shipping item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| Amount | String | The Amount of the item discount allocations. | |
| ShopMoneyAmount | Decimal | The ShopMoneyAmount of the item discount allocations. | |
| ShopMoneyCurrencyCode | String | The ShopMoneyCurrencyCode of the item discount allocations. | |
| PresentmentMoneyAmount | Decimal | The PresentmentMoneyAmount of the item discount allocations. | |
| PresentmentMoneyCurrencyCode | String | The PresentmentMoneyCurrencyCode of the item discount allocations. | |
| DiscountApplicationIndex | Int | The Discount application index for an order. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order shipping.
SELECT * FROM ShippingItems WHERE OrderId = '123'
SELECT * FROM ShippingItems WHERE OrderUpdatedAt > '2018-05-05'
| Name | Type | References | Description |
| Id [KEY] | Long | The id of the shipping item. | |
| OrderId [KEY] | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Price | Decimal | The price of this shipping method. | |
| Code | String | A reference to the shipping method. | |
| Title | String | The title of the shipping method. | |
| Source | String | The source of the shipping method. | |
| CarrierIdentifier | String | A reference to the carrier service that provided the rate. | |
| RequestedFulfillmentServiceId | String | A reference to the fulfillment service that is being requested for the shipping method. |
Retrieve information regarding shipping zones.
The following query is the only one processed server-side:
SELECT * FROM ShippingZones
| Name | Type | References | Description |
| Id [KEY] | Long | The unique numeric identifier for the shipping zone. | |
| Name | String | The name of the shipping zone, specified by the user. | |
| ProfileId | String | The ID of the shipping zone's delivery profile. Shipping profiles allow merchants to create product-based or location-based shipping rates. | |
| LocationGroupId | String | The ID of the shipping zone's location group. Location groups allow merchants to create shipping rates that apply only to the specific locations in the group. | |
| Countries | String | A list of countries that belong to the shipping zone. | |
| CarrierShippingRateProviders | String | Information about carrier shipping providers and the rates used. | |
| PriceBasedShippingRates | String | Information about price based shipping rates used. | |
| WeightBasedShippingRates | String | Information about weight based shipping rates used. |
Contains general settings and information about the shop.
SELECT * FROM Shop
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the shop. | |
| Name | String | The name of the shop. | |
| String | The contact email address for the shop. | ||
| Address1 | String | The shop's street address. | |
| Address2 | String | The shop's additional street address (apt, suite, etc.). | |
| City | String | The city in which the shop is located. | |
| Country | String | The shop's country (by default equal to the two-letter country code). | |
| CountryCode | String | The two-letter country code corresponding to the shop's country. | |
| CountryName | String | The shop's normalized country name. | |
| CustomerEmail | String | The customer's email. | |
| Currency | String | The three-letter code for the currency that the shop accepts. | |
| Domain | String | The shop's domain. | |
| GoogleAppsDomain | String | The URL of the domain if the shop has a google apps domain. | |
| GoogleAppsLoginEnabled | String | Indicated whether the shop has google apps login enabled. | |
| Latitude | Double | Geographic coordinate specifying the north/south location of a shop. | |
| Longitude | Double | Geographic coordinate specifying the east/west location of a shop. | |
| MoneyFormat | String | A string representing the way currency is formatted when the currency isn't specified. | |
| MoneyWithCurrencyFormat | String | A string representing the way currency is formatted when the currency is specified. | |
| WeightUnit | String | A string representing the default unit of weight measurement for the shop. | |
| MyshopifyDomain | String | The shop's 'myshopify.com' domain. | |
| PlanName | String | The name of the Shopify plan the shop is on. | |
| HasDiscounts | Bool | Indicates if any active discounts exist for the shop. | |
| HasGiftCards | Bool | Indicates if any active gift cards exist for the shop. | |
| PlanDisplayName | String | The display name of the Shopify plan the shop is on. | |
| PasswordEnabled | Bool | Indicates whether the Storefront password protection is enabled. | |
| Phone | String | The contact phone number for the shop. | |
| PrimaryLocale | String | The shop's primary locale. | |
| Province | String | The shop's normalized province or state name. | |
| ProvinceCode | String | The two-letter code for the shop's province or state. | |
| ShopOwner | String | The username of the shop owner. | |
| Source | String | The handle of the partner account that referred the merchant to Shopify, if applicable. | |
| TaxShipping | Bool | Specifies whether or not taxes were charged for shipping. | |
| TaxesIncluding | Bool | The setting for whether applicable taxes are included in product prices. | |
| CountryTaxes | Bool | The setting for whether the shop is applying taxes on a per-county basis or not (US-only). | |
| Timezone | String | The name of the timezone the shop is in. | |
| IANATimezone | String | The named timezone assigned by the IANA. | |
| Zip | String | The zip or postal code of the shop's address. | |
| HasStorefront | Bool | Indicates whether the shop has web-based storefront or not. | |
| CreatedAt | Datetime | The date and time when the shop was created. | |
| UpdatedAt | Datetime | The date and time when the shop was last updated. | |
| SetupRequired | Bool | Indicates whether the shop has any outstanding setup steps or not. |
Query order taxes.
SELECT * FROM TaxItems WHERE OrderId = '123'
SELECT * FROM TaxItems WHERE OrderUpdatedAt > '2018-05-21'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. | |
| TaxItemPrice | Decimal | The amount of tax to be charged. | |
| TaxItemRate | Decimal | The rate of tax to be applied. | |
| TaxItemTitle | String | The name of the tax. |
Query Users.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM Users
SELECT * FROM Users WHERE Id = 123
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the user. | |
| FirstName | String | The first name of the user. | |
| String | The email of the user. | ||
| Url | String | The url of the user. | |
| IM | String | The IM of the user. | |
| ScreenName | String | The screen name of the user. | |
| Phone | String | The phone number of the of the user. | |
| LastName | String | The last name of the user. | |
| AccountOwner | Bool | If the user is the account owner. | |
| ReceiveAnnouncements | Bool | If the user receives announcements. | |
| Bio | String | The bio of the user. | |
| Permissions | String | The list of permissions of the user. | |
| Locale | String | The Locale of the user. | |
| UserType | String | The type of the user. | |
| AdminGraphQLAPIId | String | The Admin GraphQL API Id of the user. | |
| TFAEnabled | Bool | If TFA is enabled. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| AcceptCancellationRequest | Accepts a cancellation request sent to a fulfillment service for a fulfillment order. |
| AcceptFulfillmentRequest | Accepts a fulfillment request sent to a fulfillment service for a fulfillment order. |
| ApproveComment | Approves a comment |
| AssignDefaultAddress | Assign a default address to a customer. |
| CalculateRefund | Calculates refund transactions based on line items and shipping. |
| ChangeSpamStatus | Changes spam status of a comment |
| CompleteDraftOrder | Complete a draft order. |
| CreateAccountActivationUrl | Creates an account activation URL for the specified customer. |
| RejectCancellationRequest | Rejects a cancellation request sent to a fulfillment service for a fulfillment order. |
| RejectFulfillmentRequest | Rejects a fulfillment request sent to a fulfillment service for a fulfillment order. |
| RestoreComment | Restores a previously removed comment |
| SendCancellationRequest | Sends a cancellation request to the fulfillment service of a fulfillment order. |
| SendFulfillmentRequest | Sends a fulfillment request to the fulfillment service of a fulfillment order. |
| SendInvite | Send a default or customized invite to a customer. |
| SendInvoice | Send a default or customized invoice to a customer. |
| UpdateQuantity | Update the available quantity of inventory items for a product variant in a specific location. |
Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for accepting the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for accepting the fulfillment request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Approves a comment
| Name | Type | Description |
| Id | String | The id of the comment that needs to be approved. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Assign a default address to a customer.
| Name | Type | Description |
| CustomerId | String | The id of the customer. |
| CustomerAddressId | String | The id of the address you are setting as default. This address must belong to the customer specified in CustomerId. You cannot use the address of a different customer. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Calculates refund transactions based on line items and shipping.
| Name | Type | Description |
| OrderId | String | The id of the order. |
| Currency | String | The ISO format for the currency used to refund. Required when the ShippingAmount is provided. |
| RefundLineItems | String | A list of line item IDs, quantities to refund, and restock instructions. |
| ShippingFullRefund | String | Specify whether to refund all remaining shipping. |
| ShippingAmount | Double | Specify a specific amount to refund for shipping. Takes precedence over ShippingFullRefund. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| AdditionalFees | String | A JSON aggregate for additional fees. |
| Currency | String | The ISO format for the currency used to refund. |
| Duties | String | A JSON aggregate of the refunded duties as part of this refund. |
| RefundLineItems | String | A JSON aggregate of line item IDs, quantities to refund, and restock instructions. |
| Return | String | The items that will be returned to the merchant. |
| ShippingAmount | Decimal | The decimal amount for shipping. |
| ShippingMaximumRefundable | Decimal | The maximum amount that can be refunded for shipping. |
| ShippingTax | Decimal | The tax amount for the shipping. |
| TotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | The decimal amount for additional fees presentment money. |
| TotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | The currency for additional fees presentment money. |
| TotalAdditionalFeesSetShopMoneyAmount | Decimal | The decimal amount for additional fees shop money. |
| TotalAdditionalFeesSetShopMoneyCurrencyCode | String | The currency for additional fees shop money. |
| TotalDutiesSetPresentmentMoneyAmount | Decimal | The decimal amount for duties presentment money. |
| TotalDutiesSetPresentmentMoneyCurrencyCode | String | The currency for for duties presentment money. |
| TotalDutiesSetShopMoneyAmount | Decimal | The decimal amount for duties shop money. |
| TotalDutiesSetShopMoneyCurrencyCode | String | The currency for duties shop money. |
| TransactionsOrderId | Long | The id of the transaction order. |
| TransactionsKind | String | The kind of transaction. Indicates whether the refund will be accepted. |
| TransactionsGateway | String | The gateway of the transaction. |
| TransactionsParentId | Long | The parent ID for the transaction. |
| TransactionsAmount | Decimal | The decimal amount for the transaction. |
| TransactionsCurrencyCode | String | The currency for the transaction. |
| TransactionsMaximumRefundable | Decimal | The maximum amount that can be refunded for transaction. |
Changes spam status of a comment
| Name | Type | Description |
| Id | String | The id of the comment whose status needs to be changed |
| Spam | String | Value of spam status
The allowed values are yes, no. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Complete a draft order.
| Name | Type | Description |
| Id | String | The id of the draft order. |
| PaymentPending | String | Sets payment pending to true.
The default value is false. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Creates an account activation URL for the specified customer.
| Name | Type | Description |
| CustomerId | String | The id of the customer. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| AccountActivationUrl | String | The URL the customer needs to access to activate his account. |
Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for rejecting the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| LineItems | String | An optional array of line item rejection details. If none are provided, all line items will be assumed to be unfulfillable. |
| Message | String | An optional message for rejecting the fulfillment request. |
| Reason | String | An optional reason for the fulfillment request rejection.
The allowed values are incorrect_address, inventory_out_of_stock, ineligible_product, undeliverable_destination, other. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Restores a previously removed comment
| Name | Type | Description |
| Id | String | The id of the comment that needs to be restored. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Sends a cancellation request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Sends a fulfillment request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| FulfillmentOrderLineItems | String | The fulfillment order line items to be requested for fulfillment. If left blank, all line items of the fulfillment order are requested for fulfillment. |
| Message | String | An optional message for the fulfillment request. |
| NotifyCustomer | Boolean | Whether to notify the customer about the fulfillment request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Send a default or customized invite to a customer.
| Name | Type | Description |
| Id | String | The customer id to whom the invite will be sent. |
| To | String | The email address of whom to send the invite. |
| From | String | The email address of the person who sent the invite. |
| BCC | String | A comma separated list of email addresses to whom a blind carbon copy of the email will be sent. |
| Subject | String | The subject of the email. |
| CustomMessage | String | A custom message to be sent. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Send a default or customized invoice to a customer.
| Name | Type | Description |
| Id | String | The id of the draft order invoice which will be sent. |
| To | String | The email address of whom to send the invoice. |
| From | String | The email address of the person who sent the invoice. |
| BCC | String | A comma separated list of email addresses to whom a blind carbon copy of the email will be sent. |
| Subject | String | The subject of the email. |
| CustomMessage | String | A custom message to be sent. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Update the available quantity of inventory items for a product variant in a specific location.
| Name | Type | Description |
| Id | String | A unique numeric identifier for the product variant. |
| InventoryQuantity | String | The quantity of inventory items available for sale to set. |
| LocationId | String | The ID of the location where the available quantity of items for sale is to be set. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
The CData Cloud models the Shopify API as relational tables, views, and stored procedures.
To use the GraphQL Data Model, simply set Schema to GraphQL.
The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.
Common tables include:
| Table | Description |
| Shop | Contains general settings and information about the shop. |
| Customers | Lists customers with core profile data, marketing preferences, and tags. |
| Catalogs | Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use. |
| Orders | Lists orders with customer, payment, fulfillment, duty, and tax details. |
| DeliveryProfiles | Lists saved delivery profiles that define shipping logic by product and location. |
| OrderTransactions | Lists payment transactions associated with orders (authorization, capture, refund). |
| Refunds | Represents refunds of items or transactions on an order, with amounts and reasons. |
| RefundLineItems | Lists refund line item records that specify quantities and amounts refunded. |
| Products | Lists products with titles, status, variants, media, and publishing details. |
| ProductVariants | Lists product variants with pricing, inventory tracking, and option values. |
| Collections | Returns manual and automated collections with titles, rules, and publication state. |
| CollectionProducts | Lists products contained within a specified collection. |
| DraftOrders | Lists saved draft orders for manual checkout or invoicing workflows. |
| DraftOrderLineItems | Lists the line items included in a draft order with quantities and prices. |
| Fulfillments | Represents shipments created for orders, including tracking and delivery status. |
| FulfillmentOrders | Lists merchant-managed and third-party fulfillment orders with statuses and assignments. |
| FulfillmentEvents | Lists status events (in transit, delivered) associated with fulfillments. |
| Locations | Lists active inventory locations used for stock, fulfillment, and pickup. |
| InventoryItems | Lists inventory items (SKU-level records) with tracking and cost data. |
| Metafields | Lists metafields attached to one or more resource Ids. |
Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing fulfillment orders, adjusting inventory across locations, and administering store configuration and content.
See UseBulkAPI for a more in-depth look at how the driver performs Shopify Bulk Operations.
The Cloud models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.
| Name | Description |
| AppFeedbacks | Reports the status of shops and their resources and displays this information within Shopify admin. AppFeedback is used to notify merchants about steps they need to take to set up an application on their store. |
| AppSubscriptionLineItems | Returns the plans attached to the app subscription. |
| AppSubscriptions | Lists all subscriptions created for a shop on the installed application. |
| Catalogs | The catalogs belonging to the shop. |
| Collections | Returns a list of collections. |
| Companies | Returns the list of companies in the shop. |
| CompanyContactRoleAssignments | Returns role assignments. |
| CompanyContacts | Returns contacts for companies. |
| CompanyLocations | Returns a list of locations in the company. |
| Customers | Retrieves a list of customers. |
| DeliveryProfiles | Returns a list of saved delivery profiles. |
| DiscountsAutomaticApp | Returns a list of discounts. |
| DiscountsAutomaticBasic | Returns a list of discounts. |
| DiscountsAutomaticBxgy | Returns a list of discounts. |
| DiscountsCodeApp | Returns a list of discounts. |
| DiscountsCodeBasic | Returns a list of discounts. |
| DiscountsCodeBxgy | Returns a list of discounts. |
| DraftOrders | Returns a list of saved draft orders. |
| FulfillmentEvents | Retrieves the history of events associated with one or many fulfillments. |
| FulfillmentOrders | Retrieves a paginated list of merchant-managed and third-party fulfillment orders. |
| Fulfillments | Fulfillment represents a shipment of one or more items in an order. |
| FulfillmentServices | Lists fulfillmentServices which Represents service that prepares and ships orders on behalf of the store owner. |
| FulfillmentTrackingInfo | Lists tracking information associated with the fulfillment, such as the tracking company, tracking number, and tracking URL. |
| GiftCards | Returns a list of gift cards. Requires read_gift_cards access scope. Also, note that the API client must be a private or custom application installed on a Shopify Plus or Shopify Plus Partner Sandbox store. (This table is available only with a ShopifyPlus subscription) |
| InventoryItemInventoryLevels | Returns overview information of the inventory item for each location that the inventory item can be stocked at. |
| InventoryItems | Returns a list of inventory items. |
| Locations | Returns a list of active inventory locations. |
| Metafields | Retrieves a list of metafields that belong to one or many resource IDs. |
| OrderRiskAssessments | Retrieves a list of risk assessments for orders. |
| Orders | Retrieves a list of orders. |
| OrderTransactions | Retrieves the transactions associated with the resource. |
| PriceLists | All price lists for a shop. |
| ProductMediaImages | Returns the media images associated with the product. |
| ProductOptions | Returns a list of product options. The limit is specified by Shop.resourceLimits.maxProductOptions. |
| ProductOptionValues | List all the corresponding option value objects to the product option, including values not assigned to any variants. |
| ProductResourceFeedbacks | Returns the product resource feedback for the currently authenticated app. |
| Products | Returns a list of products. |
| ProductVariants | Returns a list of the product variants. |
| Publications | Returns the list of publications. |
| Refunds | Represents a refund of items or transactions in an order. |
| Returns | Retrieves a list of returns for the order. |
| ScriptTags | Returns a list of script tags. |
| Segments | A list of a shop's segments. |
| SellingPlanGroups | Returns a list Selling Plan Groups. |
| StorefrontAccessTokens | Retrieves the storefront access token of a private application. These are scoped per-application. |
| UrlRedirects | Returns a list of redirects for a shop. |
Reports the status of shops and their resources and displays this information within Shopify admin. AppFeedback is used to notify merchants about steps they need to take to set up an application on their store.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM AppFeedbacks
The following column can be used to create a new record:
Message
The following pseudo-columns can be used to create a new record:
State, FeedbackGeneratedAt
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | True |
Name of the app. | |
| Message | String | True |
The feedback message presented to the merchant. | |
| Url | String | True |
The URL that the link visits. | |
| Label | String | True |
A context-sensitive label for the link. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| State | String |
The state of the feedback and whether it requires merchant action. The allowed values are ACCEPTED, REQUIRES_ACTION. |
| FeedbackGeneratedAt | Datetime |
The date and time when the feedback was generated. Used to help determine whether incoming feedback is outdated compared to existing feedback. |
Returns the plans attached to the app subscription.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppSubscriptionLineItems WHERE AppInstallationId = 'Val1'
The following columns can be updated:
UsagePricingPlanCappedAmount, UsagePricingPlanCappedAmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AppSubscriptionId | String | True |
A globally-unique ID. | |
| AppInstallationId | String | True |
A globally-unique ID. | |
| RecurringPricingPlanDiscountDurationLimitInIntervals | Int | True |
The total number of billing intervals to which the discount will be applied. The discount will be applied to an indefinite number of billing intervals if this value is blank. | |
| RecurringPricingPlanDiscountPriceAfterDiscountAmount | Decimal | True |
The price of the subscription after the discount is applied. Decimal money amount. | |
| RecurringPricingPlanDiscountPriceAfterDiscountCurrencyCode | String | True |
The price of the subscription after the discount is applied. Currency of the money. | |
| RecurringPricingPlanDiscountRemainingDurationInIntervals | Int | True |
The remaining number of billing intervals to which the discount will be applied. | |
| RecurringPricingPlanValueAmount | Decimal | True |
The value of the discount applied every billing interval. Decimal money amount. | |
| RecurringPricingPlanValueAmountCurrencyCode | String | True |
The value of the discount applied every billing interval. Currency of the money. | |
| RecurringPricingPlanValuePercentage | Double | True |
The value of the discount applied every billing interval. The percentage value of a discount. | |
| RecurringPricingPlanInterval | String | True |
The frequency at which the subscribing shop is billed for an app subscription. | |
| RecurringPricingPlanPriceAmount | Decimal | True |
The amount to be charged to the subscribing shop every billing interval. Decimal money amount. | |
| RecurringPricingPlanPriceCurrencyCode | String | True |
The currency to be charged to the subscribing shop every billing interval. Currency of the money. | |
| UsagePricingPlanBalanceUsedAmount | Decimal | True |
The total usage records for interval. Decimal money amount. | |
| UsagePricingPlanBalanceUsedCurrencyCode | String | True |
The total usage records for interval. Currency of the money. | |
| UsagePricingPlanCappedAmount | Decimal | False |
The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount. | |
| UsagePricingPlanCappedAmountCurrencyCode | String | False |
The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money. | |
| UsagePricingPlanInterval | String | True |
The frequency with which the app usage records are billed. | |
| UsagePricingPlanTerms | String | True |
The terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges. |
Lists all subscriptions created for a shop on the installed application.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppSubscriptions WHERE AppInstallationId = 'Val1'
The following columns can be used to create a new record:
Name, Test, ReturnUrl, TrialDays, LineItem (references AppSubscriptionLineItems)
| Column Name | Type | Description |
| RecurringPricingPlanDiscountPriceAfterDiscountAmount | Decimal | The price of the subscription after the discount is applied. Decimal money amount. |
| RecurringPricingPlanDiscountRemainingDurationInIntervals | Int | The remaining number of billing intervals to which the discount will be applied. |
| RecurringPricingPlanValuePercentage | Double | The value of the discount applied every billing interval. The percentage value of a discount. |
| RecurringPricingPlanInterval | String | The frequency at which the subscribing shop is billed for an app subscription. |
| RecurringPricingPlanPriceAmount | Decimal | The amount to be charged to the subscribing shop every billing interval. Decimal money amount. |
| RecurringPricingPlanPriceCurrencyCode | String | The currency to be charged to the subscribing shop every billing interval. Currency of the money. |
| UsagePricingPlanCappedAmount | Decimal | The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount. |
| UsagePricingPlanCappedAmountCurrencyCode | String | The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money. |
| UsagePricingPlanTerms | String | The terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AppInstallationId | String | True |
A globally-unique ID. | |
| Name | String | True |
The name of the app subscription. | |
| Status | String | True |
The status of the app subscription. | |
| Test | Bool | True |
Specifies whether the app subscription is a test transaction. | |
| ReturnUrl | String | True |
The URL that the merchant is redirected to after approving the app subscription. | |
| TrialDays | Int | True |
The number of free trial days, starting at the subscription's creation date, by which billing is delayed. | |
| CurrentPeriodEnd | Datetime | True |
The date and time when the current app subscription period ends. Returns 'null' if the subscription isn't active. | |
| CreatedAt | Datetime | True |
The date and time when the app subscription was created. | |
| LineItemIds | String | True |
The IDs of the plans attached to the app subscription. | |
| LineItem | String | True |
The plans attached to the app subscription. |
The catalogs belonging to the shop.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Catalogs
The following columns can be used to create a new record:
Status, Title, PriceListId, PublicationId
The following pseudo-column can be used to create a new record:
CompanyLocationIds
The following columns can be updated:
Status, Title, PriceListId, PublicationId
The following pseudo-column can be used to update a record:
CompanyLocationIds
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Status | String | False |
The status of the catalog. | |
| Title | String | False |
The name of the catalog. | |
| PriceListId | String | False |
A globally-unique ID. | |
| PublicationId | String | False |
A globally-unique ID. | |
| OperationId | String | True |
A globally-unique ID. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| CompanyLocationIds | String |
The IDs of the company locations to associate to the catalog. |
Returns a list of collections.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Collections WHERE Id = 'Val1'
SELECT * FROM Collections WHERE Title = 'Val1'
SELECT * FROM Collections WHERE UpdatedAt = '2023-01-01 11:10:00'
The following column can be updated:
SortOrder
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Title | String | True |
The name of the collection. It's displayed in the Shopify admin and is typically displayed in sales channels, such as an online store. | |
| Handle | String | True |
A unique string that identifies the collection. If a handle isn't specified when a collection is created, it's automatically generated from the collection's original title, and typically includes words from the title separated by hyphens. For example, a collection that was created with the title 'Summer Catalog 2022' might have the handle 'summer-catalog-2022'. If the title is changed, the handle doesn't automatically change. The handle can be used in themes by the Liquid templating language to refer to the collection, but using the ID is preferred because it never changes. | |
| DescriptionHtml | String | True |
The description of the collection, including any HTML tags and formatting. This content is typically displayed to customers, such as on an online store, depending on the theme. | |
| ProductsCount | Int | True |
The number of products in the collection. | |
| ProductsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| SortOrder | String | False |
The order in which the products in the collection are displayed by default in the Shopify admin and in sales channels, such as an online store. | |
| TemplateSuffix | String | True |
The suffix of the Liquid template being used to show the collection in an online store. For example, if the value is 'custom', then the collection is using the 'collection. custom. liquid' template. If the value is 'null', then the collection is using the default 'collection. liquid' template. | |
| AvailablePublicationsCount | Int | True |
The number of publications a resource is published to without feedback errors. | |
| AvailablePublicationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| PublishedOnCurrentPublication | Bool | True |
Check to see whether the resource is published to the calling app's publication. | |
| UpdatedAt | Datetime | True |
The date and time when the collection was last modified. | |
| FeedbackSummary | String | True |
Summary of resource feedback pertaining to the resource. | |
| ImageId | String | True |
A unique ID for the image. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The location of the image as a URL. | |
| RuleSetAppliedDisjunctively | Bool | True |
Whether products must match any or all of the rules to be included in the collection. If true, then products must match at least one of the rules to be included in the collection. If false, then products must match all of the rules to be included in the collection. | |
| SeoTitle | String | True |
SEO Title. | |
| SeoDescription | String | True |
SEO Description. |
Returns the list of companies in the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Companies WHERE Id = 'Val1'
SELECT * FROM Companies WHERE ExternalId = 'Val1'
SELECT * FROM Companies WHERE Name = 'Val1'
SELECT * FROM Companies WHERE CustomerSince = '2023-01-01 11:10:00'
SELECT * FROM Companies WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Companies WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
ExternalId, Name, Note, CustomerSince
The following columns can be updated:
ExternalId, Name, Note, MainContactId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ExternalId | String | False |
A unique externally-supplied ID for the company. | |
| Name | String | False |
The name of the company. | |
| Note | String | False |
A note about the company. | |
| ContactsCount | Int | True |
The number of contacts that belong to the company. | |
| ContactsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CustomerSince | Datetime | True |
The date and time at which the company became the customer. | |
| DefaultCursor | String | True |
A default cursor that returns the single next record, sorted ascending by ID. | |
| LifetimeDuration | String | True |
The lifetime duration of the company, since it became a customer of the shop. Examples: '2 days', '3 months', '1 year'. | |
| LocationsCount | Int | True |
The number of locations that belong to the company. | |
| LocationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| OrdersCount | Int | True |
The total number of orders placed for this company, across all its locations. | |
| OrdersCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| HasTimelineComment | Bool | True |
Whether the merchant added a timeline comment to the company. | |
| CreatedAt | Datetime | True |
The date and time at which the company was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the company was last modified. | |
| DefaultRoleId | String | True |
A globally-unique ID. | |
| DefaultRoleName | String | True |
The name of a role. For example, 'admin' or 'buyer'. | |
| DefaultRoleNote | String | True |
A note for the role. | |
| MainContactId | String | True |
A globally-unique ID. | |
| TotalSpentAmount | Decimal | True |
Decimal money amount. | |
| TotalSpentCurrencyCode | String | True |
Currency of the money. |
Returns role assignments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyContactRoleAssignments WHERE CompanyContactId = 'Val1'
The following columns can be used to create a new record:
CompanyLocationId, CompanyContactId, RoleId
You can delete entries by specifying the following columns:
Id, CompanyContactId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| CompanyId | String | True |
The company this role assignment belongs to. | |
| CompanyLocationId | String | True |
The company location to which the role is assigned. | |
| CompanyContactId | String | True |
The company contact for whom this role is assigned. | |
| CreatedAt | Datetime | True |
The date and time when the assignment record was created. | |
| UpdatedAt | Datetime | True |
The date and time when the assignment record was last updated. | |
| RoleId | String | True |
A globally-unique ID. | |
| RoleName | String | True |
The name of a role. For example, 'admin' or 'buyer'. | |
| RoleNote | String | True |
A note for the role. |
Returns contacts for companies.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CompanyContacts WHERE CompanyId = 'Val1'
SELECT * FROM CompanyContacts WHERE Id = 'Val1'
The following columns can be used to create a new record:
CompanyId, Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone, CustomerId
The following columns can be updated:
Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| CompanyId | String | True |
The company to which the contact belongs. | |
| Id [KEY] | String | True |
A globally-unique ID. | |
| IsMainContact | Bool | True |
Whether the contact is the main contact of the company. | |
| Title | String | False |
The company contact's job title. | |
| Locale | String | False |
The company contact's locale (language). | |
| LifetimeDuration | String | True |
The lifetime duration of the company contact, since its creation date on Shopify. Examples: '1 year', '2 months', '3 days'. | |
| CreatedAt | Datetime | True |
The date and time at which the company contact was created at Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the company contact was last updated. | |
| CustomerId | String | True |
The customer associated to this contact. | |
| CustomerFirstName | String | False |
The customer's first name. | |
| CustomerLastName | String | False |
The customer's last name. | |
| CustomerEmail | String | False |
The customer's email address. | |
| CustomerPhone | String | False |
The customer's phone number. |
Returns a list of locations in the company.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyLocations WHERE CompanyId = 'Val1'
The following columns can be used to create a new record:
CompanyId, ExternalId, TaxRegistrationId, Name, Locale, Note, Phone, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressPhone, BillingAddressRecipient, BillingAddressZip, BillingAddressCountryCode, BillingAddressZoneCode, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressPhone, ShippingAddressRecipient, ShippingAddressZip, ShippingAddressCountryCode, ShippingAddressZoneCode
The following columns can be updated:
ExternalId, Name, Locale, Note, Phone
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| CompanyId | String | True |
Companies.Id |
A globally-unique ID. |
| ExternalId | String | False |
A unique externally-supplied ID for the company location. | |
| TaxRegistrationId | String | True |
The tax registration ID for the company location. | |
| Name | String | False |
The name of the company location. | |
| Currency | String | True |
The location's currency based on the shipping address. If the shipping address is empty, then the value is the shop's primary market. | |
| Locale | String | False |
The preferred locale of the company location. | |
| Note | String | False |
A note about the company location. | |
| Phone | String | False |
The phone number of the company location. | |
| DefaultCursor | String | True |
A default cursor that returns the single next record, sorted ascending by ID. | |
| OrdersCount | Int | True |
The total number of orders placed for the location. | |
| OrdersCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| TaxExemptions | String | True |
The list of tax exemptions applied to the location. | |
| HasTimelineComment | Bool | True |
Whether the merchant added a timeline comment to the company location. | |
| CreatedAt | Datetime | True |
The date and time at which the company location was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the company location was last modified. | |
| BillingAddressId | String | True |
A globally-unique ID. | |
| BillingAddressCompanyName | String | True |
The name of the company. | |
| BillingAddressFirstName | String | True |
The first name of the recipient. | |
| BillingAddressLastName | String | True |
The last name of the recipient. | |
| BillingAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | True |
The name of the city, district, village, or town. | |
| BillingAddressCountry | String | True |
The name of the country. | |
| BillingAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| BillingAddressRecipient | String | True |
The identity of the recipient e. g. 'Receiving Department'. | |
| BillingAddressZip | String | True |
The zip or postal code of the address. | |
| BillingAddressCountryCode | String | True |
The two-letter code for the country of the address. For example, US. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| BillingAddressZoneCode | String | True |
The two-letter code for the region. For example, ON. | |
| BillingAddressCreatedAt | Datetime | True |
The date and time at which the company address was created. | |
| BillingAddressUpdatedAt | Datetime | True |
The date and time at which the company address was last updated. | |
| BuyerExperienceConfigurationCheckoutToDraft | Bool | True |
Whether to checkout to draft order for merchant review. | |
| BuyerExperienceConfigurationPayNowOnly | Bool | True |
Whether a buyer must pay at checkout or they can also choose to pay later using net terms. | |
| BuyerExperienceConfigurationPaymentTermsTemplateId | String | True |
A globally-unique ID. | |
| BuyerExperienceConfigurationPaymentTermsTemplateName | String | True |
The name of the payment terms template. | |
| BuyerExperienceConfigurationPaymentTermsTemplateTranslatedName | String | True |
The translated payment terms template name. | |
| BuyerExperienceConfigurationPaymentTermsTemplateDescription | String | True |
The description of the payment terms template. | |
| BuyerExperienceConfigurationPaymentTermsTemplateDueInDays | Int | True |
The number of days between the issued date and due date if this is the net type of payment terms. | |
| BuyerExperienceConfigurationPaymentTermsTemplatePaymentTermsType | String | True |
The type of the payment terms template. | |
| MarketId | String | True |
A globally-unique ID. | |
| ShippingAddressId | String | True |
A globally-unique ID. | |
| ShippingAddressCompanyName | String | True |
The name of the company. | |
| ShippingAddressFirstName | String | True |
The first name of the recipient. | |
| ShippingAddressLastName | String | True |
The last name of the recipient. | |
| ShippingAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | True |
The name of the city, district, village, or town. | |
| ShippingAddressCountry | String | True |
The name of the country. | |
| ShippingAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| ShippingAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| ShippingAddressRecipient | String | True |
The identity of the recipient e. g. 'Receiving Department'. | |
| ShippingAddressZip | String | True |
The zip or postal code of the address. | |
| ShippingAddressCountryCode | String | True |
The two-letter code for the country of the address. For example, US. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| ShippingAddressZoneCode | String | True |
The two-letter code for the region. For example, ON. | |
| ShippingAddressCreatedAt | Datetime | True |
The date and time at which the company address was created. | |
| ShippingAddressUpdatedAt | Datetime | True |
The date and time at which the company address was last updated. | |
| TotalSpentAmount | Decimal | True |
Decimal money amount. | |
| TotalSpentCurrencyCode | String | True |
Currency of the money. |
Retrieves a list of customers.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Customers WHERE Id = 'Val1'
SELECT * FROM Customers WHERE Email = 'Val1'
SELECT * FROM Customers WHERE Phone = 'Val1'
SELECT * FROM Customers WHERE State = 'Val1'
SELECT * FROM Customers WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Customers WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Customers WHERE AmountSpentAmount = '100.00'
The following columns can be used to create a new record:
FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt
The following columns can be updated:
FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| MultipassIdentifier | String | True |
A unique identifier for the customer that's used with Multipass login. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| ValidEmailAddress | Bool | True |
Whether the email address is formatted correctly. Returns 'true' when the email is formatted correctly and belongs to an existing domain. This doesn't guarantee that the email address actually exists. | |
| DisplayName | String | True |
The full name of the customer, based on the values for first_name and last_name. If the first_name and last_name are not available, then this falls back to the customer's email address, and if that is not available, the customer's phone number. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| String | False |
The customer's email address. | ||
| Locale | String | False |
The customer's locale. | |
| Note | String | False |
A note about the customer. | |
| Phone | String | False |
The customer's phone number. | |
| State | String | True |
The state of the customer's account with the shop. | |
| Tags | String | False |
A comma separated list of tags that have been added to the customer. | |
| CanDelete | Bool | True |
Whether the merchant can delete the customer from their store. A customer can be deleted from a store only if they have not yet made an order. After a customer makes an order, they can't be deleted from a store. | |
| LifetimeDuration | String | True |
The amount of time since the customer was first added to the store. Example: 'about 12 years'. | |
| TaxExempt | Bool | False |
Whether the customer is exempt from being charged taxes on their orders. | |
| TaxExemptions | String | False |
The list of tax exemptions applied to the customer. | |
| UnsubscribeUrl | String | True |
The URL to unsubscribe the customer from the mailing list. | |
| VerifiedEmail | Bool | True |
Whether the customer has verified their email address. Defaults to 'true' if the customer is created through the Shopify admin or API. | |
| NumberOfOrders | String | True |
The number of orders that the customer has made at the store in their lifetime. | |
| ProductSubscriberStatus | String | True |
Possible subscriber states of a customer defined by their subscription contracts. | |
| CreatedAt | Datetime | True |
The date and time when the customer was added to the store. | |
| UpdatedAt | Datetime | True |
The date and time when the customer was last updated. | |
| AmountSpentAmount | Decimal | True |
Decimal money amount. | |
| AmountSpentCurrencyCode | String | True |
Currency of the money. | |
| DefaultAddressId | String | True |
A globally-unique ID. | |
| DefaultAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| DefaultAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| DefaultAddressFirstName | String | False |
The first name of the customer. | |
| DefaultAddressLastName | String | False |
The last name of the customer. | |
| DefaultAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| DefaultAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| DefaultAddressCity | String | False |
The name of the city, district, village, or town. | |
| DefaultAddressCompany | String | False |
The name of the customer's company or organization. | |
| DefaultAddressCountry | String | False |
The name of the country. | |
| DefaultAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| DefaultAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| DefaultAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| DefaultAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| DefaultAddressZip | String | False |
The zip or postal code of the address. | |
| DefaultAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| DefaultAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| DefaultAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| EmailMarketingConsentMarketingState | String | True |
The current email marketing state for the customer. | |
| EmailMarketingConsentMarketingOptInLevel | String | True |
The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines, that the customer gave when they consented to receive marketing material by email. | |
| EmailMarketingConsentConsentUpdatedAt | Datetime | True |
The date and time at which the customer consented to receive marketing material by email. The customer's consent state reflects the consent record with the most recent 'consent_updated_at' date. If no date is provided, then the date and time at which the consent information was sent is used. | |
| ImageId | String | True |
A unique ID for the image. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The location of the image as a URL. | |
| LastOrderId | String | True |
A globally-unique ID. | |
| MarketId | String | True |
A globally-unique ID. | |
| MergeableReason | String | True |
The reason why the customer can't be merged with another customer. | |
| MergeableErrorFields | String | True |
The list of fields preventing the customer from being merged. | |
| MergeableIsMergeable | Bool | True |
Whether the customer can be merged with another customer. | |
| MergeableMergeInProgressJobId | String | True |
The UUID of the merge job. | |
| MergeableMergeInProgressResultingCustomerId | String | True |
The ID of the customer resulting from the merge. | |
| MergeableMergeInProgressStatus | String | True |
The status of the customer merge request. | |
| SmsMarketingConsentMarketingState | String | False |
The current SMS marketing state for the customer. | |
| SmsMarketingConsentConsentCollectedFrom | String | True |
The source from which the SMS marketing information for the customer was collected. | |
| SmsMarketingConsentMarketingOptInLevel | String | False |
The marketing subscription opt-in level that was set when the customer consented to receive marketing information. | |
| SmsMarketingConsentConsentUpdatedAt | Datetime | False |
The date and time when the customer consented to receive marketing material by SMS. If no date is provided, then the date and time when the consent information was sent is used. | |
| StatisticsPredictedSpendTier | String | True |
The predicted spend tier of a customer with a shop. |
Returns a list of saved delivery profiles.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DeliveryProfiles WHERE Id = 'Val1'
SELECT * FROM DeliveryProfiles WHERE MerchantOwnedOnly = true
The following column can be used to create a new record:
Name
The following column can be updated:
Name
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
The name of the delivery profile. | |
| Default | Bool | True |
Whether this is the default profile. | |
| LegacyMode | Bool | True |
Whether this shop has enabled legacy compatibility mode for delivery profiles. | |
| OriginLocationCount | Int | True |
The number of active origin locations for the profile. | |
| ZoneCountryCount | Int | True |
The number of countries with active rates to deliver to. | |
| ActiveMethodDefinitionsCount | Int | True |
The number of active shipping rates for the profile. | |
| LocationsWithoutRatesCount | Int | True |
The number of locations without rates defined. | |
| ProductVariantsCount | Int | True |
The product variant count. | |
| ProductVariantsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| MerchantOwnedOnly | Bool | True |
If 'true', returns only delivery profiles that were created by the merchant. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticApp WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE Status = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeTitle = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeDiscountClass = 'Val1'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following columns can be updated:
Title, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| DiscountId | String | True |
The ID for the discount. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was updated. | |
| AppDiscountTypeFunctionId | String | False |
The ID of the function providing the app discount type. | |
| AppDiscountTypeTitle | String | True |
The title of the app discount type. | |
| AppDiscountTypeDescription | String | True |
A description of the app discount type. | |
| AppDiscountTypeAppKey | String | True |
The client ID of the app providing the app discount type. | |
| AppDiscountTypeDiscountClass | String | True |
The class of the app discount type. | |
| AppDiscountTypeTargetType | String | True |
The target type of the app discount type. Possible values: 'SHIPPING_LINE' and 'LINE_ITEM'. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| ErrorHistoryFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryErrorsFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryHasSharedRecentErrors | Bool | True |
Whether the merchant has shared all the recent errors with the developer. | |
| ErrorHistoryHasBeenSharedSinceLastError | Bool | True |
Whether the merchant has shared all the recent errors with the developer. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticBasic WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticBasic WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticBasic WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, MinimumQuantity, MinimumSubtotal
The following columns can be updated:
Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| ShortSummary | String | True |
A short summary of the discount. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | True |
The minimum quantity of items that's required for the discount to be applied. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| AppliesOnEachItem | Bool |
If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items. |
| DiscountAmount | Decimal |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| MinimumQuantity | String |
The minimum quantity of items that's required for the discount to be applied. |
| MinimumSubtotal | String |
The minimum subtotal that's required for the discount to be applied. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticBxgy WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE Status = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count. | |
| UsesPerOrderLimit | Int | False |
The maximum number of times that the discount can be applied to an order. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| DiscountOnQuantity | String |
The value of the discount. |
| DiscountPercentage | Double |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| DiscountQuantityToBuy | String |
The quantity of prerequisite items. |
| DiscountAmountToBuy | String |
The value of the discount. |
| ProductsBuysToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsBuysToRemove | String |
A simple, comma-separated list of products IDs to remove. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeApp WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeTitle = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeDiscountClass = 'Val1'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers
The following pseudo-columns can be used to create a new record:
Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers
The following pseudo-columns can be used to update a record:
Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| DiscountId | String | True |
The ID for the discount. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| CodesCount | Int | True |
The number of redeem codes for the discount. | |
| CodesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| UsageLimit | Int | False |
The maximum number of times that the discount can be used. | |
| AsyncUsageCount | Int | True |
The number of times that the discount has been used. | |
| HasTimelineComment | Bool | True |
Indicates whether there are any timeline comments on the discount. | |
| RecurringCycleLimit | Int | True |
The number of times a discount applies on recurring purchases (subscriptions). | |
| AppliesOncePerCustomer | Bool | False |
Whether the discount can be applied only once per customer. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| AppDiscountTypeFunctionId | String | False |
The ID of the function providing the app discount type. | |
| AppDiscountTypeTitle | String | True |
The title of the app discount type. | |
| AppDiscountTypeDescription | String | True |
A description of the app discount type. | |
| AppDiscountTypeAppKey | String | True |
The client ID of the app providing the app discount type. | |
| AppDiscountTypeDiscountClass | String | True |
The class of the app discount type. | |
| AppDiscountTypeTargetType | String | True |
The target type of the app discount type. Possible values: 'SHIPPING_LINE' and 'LINE_ITEM'. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| DiscountCustomerAllAllCustomers | Bool | False |
Whether the discount can be applied by all customers. This value is always 'true'. | |
| ErrorHistoryFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryErrorsFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryHasSharedRecentErrors | Bool | True |
Whether the merchant has shared all the recent errors with the developer. | |
| ErrorHistoryHasBeenSharedSinceLastError | Bool | True |
Whether the merchant has shared all the recent errors with the developer. | |
| TotalSalesAmount | Decimal | True |
Decimal money amount. | |
| TotalSalesCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code to use the discount. |
| AddAllCustomers | Bool |
Whether all customers can use this discount. |
| CustomersToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomersToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
| CustomerSegmentsToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomerSegmentsToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeBasic WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeBasic WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeBasic WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity
The following pseudo-columns can be used to create a new record:
Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity
The following pseudo-columns can be used to update a record:
Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| CodesCount | Int | True |
The number of redeem codes for the discount. | |
| CodesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| ShortSummary | String | True |
A short summary of the discount. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| UsageLimit | Int | False |
The maximum number of times that the discount can be used. | |
| AsyncUsageCount | Int | True |
The number of times that the discount has been used. | |
| HasTimelineComment | Bool | True |
Indicates whether there are any timeline comments on the discount. | |
| RecurringCycleLimit | Int | False |
The number of times a discount applies on recurring purchases (subscriptions). | |
| AppliesOncePerCustomer | Bool | False |
Whether the discount can be applied only once per customer. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| CustomerGetsAppliesOnSubscription | Bool | False |
Whether the discount applies on subscription items. | |
| CustomerGetsAppliesOnOneTimePurchase | Bool | False |
Whether the discount applies on regular one-time-purchase items. | |
| DiscountCustomerAllAllCustomers | Bool | False |
Whether the discount can be applied by all customers. This value is always 'true'. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | False |
The minimum quantity of items that's required for the discount to be applied. | |
| TotalSalesAmount | Decimal | True |
Decimal money amount. | |
| TotalSalesCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code to use the discount. |
| AppliesOnEachItem | Bool |
If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items. |
| DiscountAmount | Decimal |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| AddAllCustomers | Bool |
Whether all customers can use this discount. |
| CustomersToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomersToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
| CustomerSegmentsToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomerSegmentsToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeBxgy WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeBxgy WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeBxgy WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| CodesCount | Int | True |
The number of redeem codes for the discount. | |
| CodesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| UsageLimit | Int | False |
The maximum number of times that the discount can be used. | |
| AsyncUsageCount | Int | True |
The number of times that the discount has been used. | |
| HasTimelineComment | Bool | True |
Indicates whether there are any timeline comments on the discount. | |
| AppliesOncePerCustomer | Bool | False |
Whether the discount can be applied only once per customer. | |
| UsesPerOrderLimit | Int | False |
The maximum number of times that the discount can be applied to an order. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| CustomerGetsAppliesOnSubscription | Bool | True |
Whether the discount applies on subscription items. | |
| CustomerGetsAppliesOnOneTimePurchase | Bool | True |
Whether the discount applies on regular one-time-purchase items. | |
| DiscountCustomerAllAllCustomers | Bool | True |
Whether the discount can be applied by all customers. This value is always 'true'. | |
| TotalSalesAmount | Decimal | True |
Decimal money amount. | |
| TotalSalesCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code to use the discount. |
| DiscountOnQuantity | String |
The value of the discount. |
| DiscountPercentage | Double |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| DiscountAmountToBuy | String |
The value of the discount. |
| DiscountQuantityToBuy | Double |
The quantity of prerequisite items. |
| ProductsBuysToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsBuysToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| AddAllCustomers | Bool |
Whether all customers can use this discount. |
| CustomersToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomersToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
| CustomerSegmentsToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomerSegmentsToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
Returns a list of saved draft orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DraftOrders WHERE Id = 'Val1'
SELECT * FROM DraftOrders WHERE Status = 'Val1'
SELECT * FROM DraftOrders WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DraftOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM DraftOrders WHERE CustomerId = 'Val1'
The following columns can be used to create a new record:
Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems)
| Column Name | Type | Description |
| Title | String | The title of the product or variant. This field only applies to custom line items. |
| Quantity | Int | The number of product variants that are requested in the draft order. |
| Sku | String | The SKU number of the product variant. |
| Taxable | Bool | Whether the variant is taxable. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| AppliedDiscountTitle | String | Name of the order-level discount. |
| AppliedDiscountDescription | String | Description of the order-level discount. |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. |
| AppliedDiscountValueType | String | Type of the order-level discount. |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. |
| VariantId | String | A globally-unique ID. |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. |
| WeightUnit | String | The unit of measurement for 'value'. |
The following columns can be updated:
Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems)
| Column Name | Type | Description |
| Title | String | The title of the product or variant. This field only applies to custom line items. |
| Quantity | Int | The number of product variants that are requested in the draft order. |
| Sku | String | The SKU number of the product variant. |
| Taxable | Bool | Whether the variant is taxable. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| AppliedDiscountTitle | String | Name of the order-level discount. |
| AppliedDiscountDescription | String | Description of the order-level discount. |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. |
| AppliedDiscountValueType | String | Type of the order-level discount. |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. |
| VariantId | String | A globally-unique ID. |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. |
| WeightUnit | String | The unit of measurement for 'value'. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Name | String | True |
The identifier for the draft order, which is unique within the store. For example, _#D1223_. | |
| MarketName | String | True |
The name of the selected market. | |
| String | False |
Email address of the customer, which is used to send notifications to. | ||
| Note2 | String | True |
The text from an optional note attached to the draft order. | |
| Phone | String | True |
The phone number assigned to the draft order. | |
| Ready | Bool | True |
Whether the Draft Order is ready and can be completed. Draft Orders might have asynchronous operations that can take time to finish. | |
| Status | String | True |
Status of the draft order. | |
| Tags | String | True |
A comma separated list of tags associated with the draft order. Updating 'tags' overwrites any existing tags that were previously added to the draft order. To add new tags without overwriting existing tags, use the mutation. | |
| CompletedAt | Datetime | True |
The date and time when the draft order converted to a new order, and the draft order's status changed to **Completed**. | |
| CurrencyCode | String | True |
The three letter code for the currency of the store at the time of the most recent update to the draft order. | |
| DefaultCursor | String | True |
A default cursor that returns the single next record, sorted ascending by ID. | |
| InvoiceUrl | String | True |
The link to the checkout, which is sent to the customer in the invoice email. | |
| TaxExempt | Bool | True |
Whether the draft order is tax exempt. | |
| TaxesIncluded | Bool | True |
Whether the line item prices include taxes. | |
| TotalWeight | String | True |
The total weight in grams of the draft order. | |
| HasTimelineComment | Bool | True |
Whether the merchant has added timeline comments to the draft order. | |
| InvoiceSentAt | Datetime | True |
The date and time when the invoice was last emailed to the customer. | |
| PresentmentCurrencyCode | String | True |
The payment currency of the customer for this draft order. | |
| ReserveInventoryUntil | Datetime | True |
The time after which inventory will automatically be restocked. | |
| VisibleToCustomer | Bool | True |
Whether the draft order will be visible to the customer on the self-serve portal. | |
| InvoiceEmailTemplateSubject | String | True |
The subject defined for the draft invoice email template. | |
| MarketRegionCountryCode | String | True |
The selected market region country code for the draft order. | |
| BillingAddressMatchesShippingAddress | Bool | True |
Whether the billing address matches the shipping address. | |
| CreatedAt | Datetime | True |
The date and time when the draft order was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the draft order was last changed. The format is YYYY-MM-DD HH: mm: ss. For example, 2016-02-05 17: 04: 01. | |
| OrderId | String | True |
A globally-unique ID. | |
| PurchasingEntityCustomerId | String | True |
A globally-unique ID. | |
| PurchasingEntityCompanyCompanyId | String | True |
A globally-unique ID. | |
| CustomerId | String | False |
Customers.Id |
Customer who will be sent an invoice for the draft order, if there is one. |
| BillingAddressId | String | False |
A globally-unique ID. | |
| BillingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| BillingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| BillingAddressFirstName | String | False |
The first name of the customer. | |
| BillingAddressLastName | String | False |
The last name of the customer. | |
| BillingAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | False |
The name of the city, district, village, or town. | |
| BillingAddressCompany | String | False |
The name of the customer's company or organization. | |
| BillingAddressCountry | String | False |
The name of the country. | |
| BillingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| BillingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| BillingAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| BillingAddressZip | String | False |
The zip or postal code of the address. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| BillingAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| BillingAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| ShippingAddressId | String | False |
A globally-unique ID. | |
| ShippingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| ShippingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| ShippingAddressFirstName | String | False |
The first name of the customer. | |
| ShippingAddressLastName | String | False |
The last name of the customer. | |
| ShippingAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | False |
The name of the city, district, village, or town. | |
| ShippingAddressCompany | String | False |
The name of the customer's company or organization. | |
| ShippingAddressCountry | String | False |
The name of the country. | |
| ShippingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| ShippingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| ShippingAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| ShippingAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| ShippingAddressZip | String | False |
The zip or postal code of the address. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| ShippingAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| ShippingAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| ShippingLineId | String | True |
A globally-unique ID. | |
| ShippingLineCarrierIdentifier | String | True |
A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| ShippingLineTitle | String | True |
Returns the title of the shipping line. | |
| ShippingLineCode | String | True |
A reference to the shipping method. | |
| ShippingLineCustom | Bool | True |
Whether the shipping line is custom or not. | |
| ShippingLinePhone | String | True |
The phone number at the shipping address. | |
| ShippingLineSource | String | True |
Returns the rate source for the shipping line. | |
| ShippingLineDeliveryCategory | String | True |
The general classification of the delivery method. | |
| ShippingLineShippingRateHandle | String | True |
A unique identifier for the shipping rate. The format can change without notice and is not meant to be shown to users. | |
| ShippingLineRequestedFulfillmentServiceId | String | True |
The ID of the fulfillment service. | |
| AppliedDiscountTitle | String | False |
Name of the order-level discount. | |
| AppliedDiscountDescription | String | False |
Description of the order-level discount. | |
| AppliedDiscountValue | Double | False |
Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount). | |
| AppliedDiscountValueType | String | False |
Type of the order-level discount. | |
| PaymentTermsId | String | True |
A globally-unique ID. | |
| PaymentTermsTranslatedName | String | True |
The payment terms name, translated into the shop admin's preferred language. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the payment terms template used to create the payment terms. | |
| PaymentTermsOverdue | Bool | True |
Whether the payment terms have overdue payment schedules. | |
| PaymentTermsDueInDays | Int | True |
Duration of payment terms in days based on the payment terms template used to create the payment terms. | |
| PaymentTermsPaymentTermsType | String | True |
The payment terms template type used to create the payment terms. | |
| PaymentTermsOrderId | String | True |
A globally-unique ID. | |
| AppliedDiscountAmountV2Amount | Decimal | False |
Decimal money amount. | |
| AppliedDiscountAmountV2CurrencyCode | String | True |
Currency of the money. | |
| LineItemsSubtotalPricePresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| LineItemsSubtotalPricePresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| LineItemsSubtotalPriceShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| LineItemsSubtotalPriceShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalLineItemsPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalLineItemsPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| DraftOrderLineItems | String | False |
The list of the line items in the draft order. |
Retrieves the history of events associated with one or many fulfillments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentEvents WHERE FulfillmentId = 'Val1'
The following columns can be used to create a new record:
FulfillmentId, Status, Address1, City, Country, Latitude, Longitude, Message, Province, Zip, EstimatedDeliveryAt
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| FulfillmentId | String | True |
Fulfillments.Id |
A globally-unique ID. |
| OrderId | String | True |
Orders.Id |
A globally-unique identifier. |
| Status | String | True |
The status of this fulfillment event. | |
| HappenedAt | Datetime | True |
The time at which this fulfillment event happened. | |
| Address1 | String | True |
The street address where this fulfillment event occurred. | |
| City | String | True |
The city where this fulfillment event occurred. | |
| Country | String | True |
The country where this fulfillment event occurred. | |
| Latitude | Double | True |
The latitude where this fulfillment event occurred. | |
| Longitude | Double | True |
The longitude where this fulfillment event occurred. | |
| Message | String | True |
A message associated with this fulfillment event. | |
| Province | String | True |
The province where this fulfillment event occurred. | |
| Zip | String | True |
The zip code of the location where this fulfillment event occurred. | |
| EstimatedDeliveryAt | Datetime | True |
The estimated delivery date and time of the fulfillment. |
Retrieves a paginated list of merchant-managed and third-party fulfillment orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrders WHERE Id = 'Val1'
SELECT * FROM FulfillmentOrders WHERE Status = 'open'
SELECT * FROM FulfillmentOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM FulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
SELECT * FROM FulfillmentOrders WHERE OrderId = 'Val1'
The following column can be updated:
Status
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Status | String | False |
The status of the fulfillment order. The allowed values are open, closed, cancelled, in_progress, incomplete, on_hold, scheduled. | |
| FulfillAt | Datetime | True |
The date and time at which the fulfillment order will be fulfillable. When this date and time is reached, the scheduled fulfillment order is automatically transitioned to open. For example, the 'fulfill_at' date for a subscription order might be the 1st of each month, a pre-order 'fulfill_at' date would be 'nil', and a standard order 'fulfill_at' date would be the order creation date. | |
| FulfillBy | Datetime | True |
The latest date and time by which all items in the fulfillment order need to be fulfilled. | |
| OrderName | String | True |
The unique identifier for the order that appears on the order page. | |
| RequestStatus | String | True |
The request status of the fulfillment order. | |
| CreatedAt | Datetime | True |
Date and time when the fulfillment order was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment order was last updated. | |
| OrderProcessedAt | Datetime | True |
The date and time when the fulfillment order was processed at. | |
| AssignedLocationName | String | True |
The name of the location. | |
| AssignedLocationAddress1 | String | True |
The first line of the address for the location. | |
| AssignedLocationAddress2 | String | True |
The second line of the address for the location. | |
| AssignedLocationCity | String | True |
The city of the location. | |
| AssignedLocationPhone | String | True |
The phone number of the location. | |
| AssignedLocationProvince | String | True |
The province of the location. | |
| AssignedLocationZip | String | True |
The ZIP code of the location. | |
| AssignedLocationCountryCode | String | True |
The two-letter country code of the location. | |
| AssignedLocationLocationId | String | True |
A globally-unique ID. | |
| AssignedLocationLocationLegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| AssignedLocationLocationName | String | True |
The name of the location. | |
| AssignedLocationLocationActivatable | Bool | True |
Whether this location can be reactivated. | |
| AssignedLocationLocationDeactivatable | Bool | True |
Whether this location can be deactivated. | |
| AssignedLocationLocationDeletable | Bool | True |
Whether this location can be deleted. | |
| AssignedLocationLocationAddressVerified | Bool | True |
Whether the location address has been verified. | |
| AssignedLocationLocationDeactivatedAt | String | True |
The date and time that the location was deactivated at. For example, 3: 30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as '2019-09-07T15: 50: 00Z'. | |
| AssignedLocationLocationIsActive | Bool | True |
Whether the location is active. | |
| AssignedLocationLocationShipsInventory | Bool | True |
Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| AssignedLocationLocationFulfillsOnlineOrders | Bool | True |
Whether this location can fulfill online orders. | |
| AssignedLocationLocationHasActiveInventory | Bool | True |
Whether this location has active inventory. | |
| AssignedLocationLocationHasUnfulfilledOrders | Bool | True |
Whether this location has orders that need to be fulfilled. | |
| DeliveryMethodId | String | True |
A globally-unique ID. | |
| DeliveryMethodMethodType | String | True |
The type of the delivery method. | |
| DeliveryMethodMaxDeliveryDateTime | Datetime | True |
The latest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodMinDeliveryDateTime | Datetime | True |
The earliest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodServiceCode | String | True |
A reference to the shipping method. | |
| DeliveryMethodBrandedPromiseName | String | True |
The name of the branded promise. For example: 'Shop Promise'. | |
| DeliveryMethodBrandedPromiseHandle | String | True |
The handle of the branded promise. For example: 'shop_promise'. | |
| DeliveryMethodAdditionalInformationPhone | String | True |
The phone number to contact when performing the delivery. | |
| DeliveryMethodAdditionalInformationInstructions | String | True |
The delivery instructions to follow when performing the delivery. | |
| DestinationId | String | True |
A globally-unique ID. | |
| DestinationFirstName | String | True |
The first name of the customer at the destination. | |
| DestinationLastName | String | True |
The last name of the customer at the destination. | |
| DestinationAddress1 | String | True |
The first line of the address of the destination. | |
| DestinationAddress2 | String | True |
The second line of the address of the destination. | |
| DestinationCity | String | True |
The city of the destination. | |
| DestinationCompany | String | True |
The company of the destination. | |
| DestinationEmail | String | True |
The email of the customer at the destination. | |
| DestinationPhone | String | True |
The phone number of the customer at the destination. | |
| DestinationProvince | String | True |
The province of the destination. | |
| DestinationZip | String | True |
The ZIP code of the destination. | |
| DestinationCountryCode | String | True |
The two-letter country code of the destination. | |
| InternationalDutiesIncoterm | String | True |
The method of duties payment. Example values: 'DDP', 'DAP'. | |
| OrderId | String | True |
A globally-unique ID. |
Fulfillment represents a shipment of one or more items in an order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Fulfillments WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
Id, OriginAddressAddress1, OriginAddressAddress2, OriginAddressCity, OriginAddressCountryCode, OriginAddressProvinceCode, OriginAddressZip, TrackingInfoNumber, TrackingInfoUrl
The following pseudo-column can be used to create a new record:
FulfillmentOrderIds
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| OrderId | String | True |
Globally unique identifier. | |
| Name | String | True |
Human readable reference identifier for this fulfillment. | |
| Status | String | True |
The status of the fulfillment. | |
| DeliveredAt | Datetime | True |
The date that this fulfillment was delivered. | |
| DisplayStatus | String | True |
Human readable display status for this fulfillment. | |
| RequiresShipping | Bool | True |
Whether any of the line items in the fulfillment require shipping. | |
| TotalQuantity | Int | True |
Sum of all line item quantities for the fulfillment. | |
| EstimatedDeliveryAt | Datetime | True |
The estimated date that this fulfillment will arrive. | |
| InTransitAt | Datetime | True |
The date and time when the fulfillment went into transit. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment was last modified. | |
| LocationId | String | True |
A globally-unique ID. | |
| ServiceId | String | True |
The ID of the fulfillment service. | |
| OriginAddressAddress1 | String | True |
The street address of the fulfillment location. | |
| OriginAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| OriginAddressCity | String | True |
The city in which the fulfillment location is located. | |
| OriginAddressCountryCode | String | True |
The country code of the fulfillment location. | |
| OriginAddressProvinceCode | String | True |
The province code of the fulfillment location. | |
| OriginAddressZip | String | True |
The zip code of the fulfillment location. | |
| TrackingInfoNumber | String | True |
The tracking number of the fulfillment. | |
| TrackingInfoUrl | String | True |
The URL to track the fulfillment. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| FulfillmentOrderIds | String |
An aggregated object containing the FulfillmentOrder ids. Ex: [{'fulfillmentOrderId': 'gid://shopify/FulfillmentOrder/xxx'}] |
Lists fulfillmentServices which Represents service that prepares and ships orders on behalf of the store owner.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM FulfillmentServices
The following columns can be used to create a new record:
ServiceName, CallbackUrl, InventoryManagement
The following columns can be updated:
ServiceName, CallbackUrl, InventoryManagement
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The ID of the fulfillment service. | |
| ServiceName | String | False |
The name of the fulfillment service as seen by merchants. | |
| Handle | String | True |
Human-readable unique identifier for this fulfillment service. | |
| Type | String | True |
Type associated with the fulfillment service. | |
| CallbackUrl | String | False |
The callback URL the fulfillment service has registered for requests. | |
| InventoryManagement | Bool | False |
Whether the fulfillment service tracks product inventory and provides updates to Shopify. | |
| PermitsSkuSharing | Bool | True |
Whether the fulfillment service can stock inventory alongside other locations. | |
| LocationId | String | True |
Globally unique identifier. |
Lists tracking information associated with the fulfillment, such as the tracking company, tracking number, and tracking URL.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentTrackingInfo WHERE FulfillmentId = 'Val1'
The following columns can be updated:
Company, Number, Url
| Name | Type | ReadOnly | References | Description |
| FulfillmentId | String | False |
Fulfillments.Id |
The ID of the Fulfillment to return. |
| Company | String | False |
The name of the tracking company. | |
| Number | String | False |
The tracking number of the fulfillment. | |
| Url | String | False |
The URLs to track the fulfillment. |
Returns a list of gift cards. Requires read_gift_cards access scope. Also, note that the API client must be a private or custom application installed on a Shopify Plus or Shopify Plus Partner Sandbox store. (This table is available only with a ShopifyPlus subscription)
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCards WHERE Id = 'Val1'
SELECT * FROM GiftCards WHERE ExpiresOn = '2023-01-01'
SELECT * FROM GiftCards WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM GiftCards WHERE InitialValueAmount = '100.00'
The following columns can be used to create a new record:
Note, ExpiresOn, InitialValueAmount, CustomerId
The following columns can be updated:
Note, ExpiresOn, CustomerId, Enabled
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Enabled | Bool | True |
Whether the gift card is enabled. | |
| Note | String | False |
The note associated with the gift card, which is not visible to the customer. | |
| DisabledAt | Datetime | True |
The date and time at which the gift card was disabled. | |
| ExpiresOn | Date | False |
The date at which the gift card will expire. | |
| LastCharacters | String | True |
The final four characters of the gift card code. | |
| MaskedCode | String | True |
The gift card code. Everything but the final four characters is masked. | |
| CreatedAt | Datetime | True |
The date and time at which the gift card was created. | |
| BalanceAmount | Decimal | True |
Decimal money amount. | |
| BalanceCurrencyCode | String | True |
Currency of the money. | |
| InitialValueAmount | Decimal | True |
Decimal money amount. | |
| InitialValueCurrencyCode | String | True |
Currency of the money. | |
| CustomerId | String | False |
A globally-unique ID. | |
| OrderId | String | True |
A globally-unique ID. |
Returns overview information of the inventory item for each location that the inventory item can be stocked at.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemInventoryLevels WHERE InventoryItemId = 'Val1'
The following columns can be used to create a new record:
InventoryItemId, LocationId
The following pseudo-columns can be used to create a new record:
Available, OnHand
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| InventoryItemId | String | True |
A globally-unique ID. | |
| LocationId | String | True |
A globally-unique ID. | |
| CanDeactivate | Bool | True |
Whether the inventory items associated with the inventory level can be deactivated. | |
| DeactivationAlert | String | True |
Describes either the impact of deactivating the inventory level, or why the inventory level can't be deactivated. | |
| CreatedAt | Datetime | True |
The date and time when the inventory level was created. | |
| UpdatedAt | Datetime | True |
The date and time when the inventory level was updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Available | Int |
The initial available quantity of the inventory item being activated at the location. |
| OnHand | Int |
The initial on_hand quantity of the inventory item being activated at the location. |
Returns a list of inventory items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryItems WHERE Id = 'Val1'
SELECT * FROM InventoryItems WHERE Sku = 'Val1'
SELECT * FROM InventoryItems WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM InventoryItems WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be updated:
Sku, Tracked, RequiresShipping, HarmonizedSystemCode, CountryCodeOfOrigin, ProvinceCodeOfOrigin, MeasurementWeightValue, MeasurementWeightUnit, UnitCostAmount, InventoryItemCountryHarmonizedSystemCodes (references InventoryItemCountryHarmonizedSystemCodes)
| Column Name | Type | Description |
| CountryCode | String | The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. |
| HarmonizedSystemCode | String | The country-specific harmonized system code. These are usually longer than 6 digits. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| VariantId | String | True |
A globally-unique ID. | |
| Sku | String | False |
Inventory item SKU. | |
| Tracked | Bool | False |
Whether inventory levels are tracked for the item. | |
| LocationsCount | Int | True |
The number of locations where this inventory item is stocked. | |
| LocationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| RequiresShipping | Bool | False |
Whether the inventory item requires shipping. | |
| DuplicateSkuCount | Int | True |
The number of inventory items that share the same SKU with this item. | |
| HarmonizedSystemCode | String | False |
The harmonized system code of the item. | |
| InventoryHistoryUrl | String | True |
The URL that points to the inventory history for the item. | |
| CountryCodeOfOrigin | String | False |
The ISO 3166-1 alpha-2 country code of where the item originated from. | |
| ProvinceCodeOfOrigin | String | False |
The ISO 3166-2 alpha-2 province code of where the item originated from. | |
| CreatedAt | Datetime | True |
The date and time when the inventory item was created. | |
| UpdatedAt | Datetime | True |
The date and time when the inventory item was updated. | |
| TrackedEditableLocked | Bool | True |
Whether the attribute is locked for editing. | |
| TrackedEditableReason | String | True |
The reason the attribute is locked for editing. | |
| MeasurementId | String | True |
A globally-unique ID. | |
| MeasurementWeightValue | Double | False |
The weight value using the unit system specified with 'unit'. | |
| MeasurementWeightUnit | String | False |
The unit of measurement for 'value'. | |
| UnitCostAmount | Decimal | False |
Decimal money amount. | |
| UnitCostCurrencyCode | String | True |
Currency of the money. | |
| InventoryItemCountryHarmonizedSystemCodes | String | False |
List of country-specific harmonized system codes. |
Returns a list of active inventory locations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Locations WHERE Id = 'Val1'
SELECT * FROM Locations WHERE Name = 'Val1'
SELECT * FROM Locations WHERE IsActive = true
SELECT * FROM Locations WHERE AddressAddress1 = 'Val1'
SELECT * FROM Locations WHERE AddressAddress2 = 'Val1'
SELECT * FROM Locations WHERE AddressCity = 'Val1'
SELECT * FROM Locations WHERE AddressCountry != 'Val1'
SELECT * FROM Locations WHERE AddressProvince = 'Val1'
SELECT * FROM Locations WHERE AddressZip = 'Val1'
SELECT * FROM Locations WHERE IncludeInactive = true
SELECT * FROM Locations WHERE IncludeLegacy = true
The following columns can be used to create a new record:
Name, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode
The following columns can be updated:
Name, IsActive, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Name | String | False |
The name of the location. | |
| Activatable | Bool | True |
Whether this location can be reactivated. | |
| Deactivatable | Bool | True |
Whether this location can be deactivated. | |
| Deletable | Bool | True |
Whether this location can be deleted. | |
| AddressVerified | Bool | True |
Whether the location address has been verified. | |
| DeactivatedAt | String | True |
The date and time that the location was deactivated at. For example, 3: 30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as '2019-09-07T15: 50: 00Z'. | |
| IsActive | Bool | False |
Whether the location is active. | |
| ShipsInventory | Bool | True |
Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| IsFulfillmentService | Bool | True |
Whether this location is a fulfillment service. | |
| FulfillsOnlineOrders | Bool | False |
Whether this location can fulfill online orders. | |
| HasActiveInventory | Bool | True |
Whether this location has active inventory. | |
| HasUnfulfilledOrders | Bool | True |
Whether this location has orders that need to be fulfilled. | |
| CreatedAt | Datetime | True |
The date and time that the location was added to a shop. | |
| UpdatedAt | Datetime | True |
The date and time when the location was last updated. | |
| AddressAddress1 | String | False |
The first line of the address for the location. | |
| AddressAddress2 | String | False |
The second line of the address for the location. | |
| AddressCity | String | False |
The city of the location. | |
| AddressCountry | String | True |
The country of the location. | |
| AddressFormatted | String | True |
A formatted version of the address for the location. | |
| AddressLatitude | Double | True |
The latitude coordinates of the location. | |
| AddressLongitude | Double | True |
The longitude coordinates of the location. | |
| AddressPhone | String | False |
The phone number of the location. | |
| AddressProvince | String | True |
The province of the location. | |
| AddressZip | String | False |
The ZIP code of the location. | |
| AddressCountryCode | String | False |
The country code of the location. The allowed values are AC, AD, AE, AF, AG, AI, AL, AM, AN, AO, AR, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MK, ML, MM, MN, MO, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PS, PT, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TA, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW, ZZ. | |
| AddressProvinceCode | String | False |
The code for the province, state, or district of the address of the location. | |
| FulfillmentServiceId | String | True |
The ID of the fulfillment service. | |
| LocalPickupSettingsV2Instructions | String | True |
Additional instructions or information related to the local pickup. | |
| LocalPickupSettingsV2PickupTime | String | True |
The estimated pickup time to show customers at checkout. | |
| IncludeInactive | Bool | True |
If true, also include the locations that are deactivated. | |
| IncludeLegacy | Bool | True |
If true, also include the legacy locations of fulfillment services. |
Retrieves a list of metafields that belong to one or many resource IDs.
OwnerResource or the metafield Id (when executing non-bulk operations) is required for any query against Metafields.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Metafields WHERE Id = 'gid://shopify/Metafield/19334473318423'
SELECT * FROM Metafields WHERE Id IN ('gid://shopify/Metafield/19334473318423', 'gid://shopify/Metafield/19334473318424')
SELECT * FROM Metafields WHERE OwnerResource = 'product'
SELECT * FROM Metafields WHERE OwnerResource = 'variant' AND OwnerId = 'gid://shopify/ProductVariant/39378393497623'
SELECT * FROM Metafields WHERE OwnerResource = 'variant' AND OwnerId IN ('gid://shopify/ProductVariant/39378393497623', 'gid://shopify/Product/1418248224791')
The following columns can be used to create a new record:
Namespace, Key, Value, Type, OwnerId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The unique ID of the metafield. | |
| LegacyResourceId | Long | True |
The ID of the corresponding resource in the REST Admin API. | |
| Namespace | String | True |
A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. | |
| Key | String | True |
The name of the metafield. | |
| Value | String | True |
The information to be stored as metadata. | |
| Type | String | True |
The metafield's information type. | |
| Description | String | True |
A description of the information that the metafield contains. | |
| OwnerId | String | True |
The ID of the resource that the metafield is attached to. | |
| OwnerResource | String | True |
The type of resource that the metafield is attached to. The allowed values are product, variant, shop, draft_order, order, customer, collection, media_image. | |
| CreatedAt | Datetime | True |
The date and time when the metafield was created. | |
| UpdatedAt | Datetime | True |
The date and time when the metafield was last updated. |
Retrieves a list of risk assessments for orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRiskAssessments WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OrderId, RiskLevel, Facts (references OrderRiskAssessmentFacts)
| Column Name | Type | Description |
| Description | String | A description of the fact. |
| Sentiment | String | Indicates whether the fact is a negative, neutral or positive contributor with regards to risk. |
| Name | Type | ReadOnly | References | Description |
| OrderId | String | True |
A globally-unique ID. | |
| RiskLevel | String | True |
The likelihood that the order is fraudulent, based on this risk assessment. The allowed values are HIGH, LOW, MEDIUM, NONE, PENDING. | |
| Facts | String | True |
Optional facts used to describe the risk assessment. The values in here are specific to the provider. | |
| ProviderId | String | True |
A globally-unique ID. | |
| ProviderTitle | String | True |
Name of the app. |
Retrieves a list of orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Orders WHERE Id = 'Val1'
SELECT * FROM Orders WHERE Name = 'Val1'
SELECT * FROM Orders WHERE Email = 'Val1'
SELECT * FROM Orders WHERE Test = true
SELECT * FROM Orders WHERE ConfirmationNumber = 'Val1'
SELECT * FROM Orders WHERE DiscountCode = 'Val1'
SELECT * FROM Orders WHERE ProcessedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE CustomerId = 'Val1'
The following columns can be updated:
Email, Note, Tags, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Unpaid | Bool | True |
Whether no payments have been made for the order. | |
| FullyPaid | Bool | True |
Whether the order has been paid in full. | |
| SourceIdentifier | String | True |
A unique POS or third party order identifier. For example, '1234-12-1000' or '111-98567-54'. The 'receipt_number' field is derived from this value for POS orders. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| CanMarkAsPaid | Bool | True |
Whether the order can be manually marked as paid. | |
| Name | String | True |
The unique identifier for the order that appears on the order page in the Shopify admin and the order status page. For example, '#1001', 'EN1001', or '1001-A'. This value isn't unique across multiple stores. | |
| PaymentGatewayNames | String | True |
A list of the names of all payment gateways used for the order. For example, 'Shopify Payments' and 'Cash on Delivery (COD)'. | |
| Capturable | Bool | True |
Whether payment for the order can be captured. | |
| Closed | Bool | True |
Whether the order is closed. | |
| Confirmed | Bool | True |
Whether inventory has been reserved for the order. | |
| Edited | Bool | True |
Whether the order has had any edits applied. | |
| String | False |
The email address associated with the customer. | ||
| Fulfillable | Bool | True |
Whether there are line items that can be fulfilled. This field returns 'false' when the order has no fulfillable line items. For a more granular view of the fulfillment status, refer to the object. | |
| Note | String | False |
The contents of the note associated with the order. | |
| Phone | String | True |
The phone number associated with the customer. | |
| Refundable | Bool | True |
Whether the order can be refunded. | |
| Restockable | Bool | True |
Whether any line item on the order can be restocked. | |
| Tags | String | True |
A comma separated list of tags associated with the order. Updating 'tags' overwrites any existing tags that were previously added to the order. To add new tags without overwriting existing tags, use the mutation. | |
| Test | Bool | True |
Whether the order is a test. Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled. A test order cannot be converted into a real order and vice versa. | |
| CancelReason | String | True |
The reason provided when the order was canceled. Returns 'null' if the order wasn't canceled. | |
| CancelledAt | Datetime | True |
The date and time when the order was canceled. Returns 'null' if the order wasn't canceled. | |
| ClientIp | String | True |
The IP address of the API client that created the order. | |
| ClosedAt | Datetime | True |
The date and time when the order was closed. Returns 'null' if the order is not closed. | |
| ConfirmationNumber | String | True |
A randomly generated alpha-numeric identifier for the order that may be shown to the customer instead of the sequential order name. For example, XPAV284CT, R50KELTJP or 35PKUN0UJ. This value isn't guaranteed to be unique. | |
| CurrencyCode | String | True |
The shop currency when the order was placed. | |
| CustomerLocale | String | True |
A two-letter or three-letter language code, optionally followed by a region modifier. | |
| DiscountCode | String | True |
The discount code used for the order. | |
| DiscountCodes | String | True |
The discount codes used for the order. | |
| EstimatedTaxes | Bool | True |
Whether taxes on the order are estimated. This field returns 'false' when taxes on the order are finalized and aren't subject to any changes. | |
| MerchantEditable | Bool | True |
Whether the order can be edited by the merchant. For example, canceled orders can't be edited. | |
| ProcessedAt | Datetime | True |
The date and time when the order was processed. This date and time might not match the date and time when the order was created. | |
| RequiresShipping | Bool | True |
Whether the order has shipping lines or at least one line item on the order that requires shipping. | |
| RiskRecommendation | String | True |
The recommendation for the order based on the results of the risk assessments. This suggests the action the merchant should take with regards to its risk of fraud. | |
| ReturnStatus | String | True |
The order's aggregated return status for display purposes. | |
| TaxesIncluded | Bool | True |
Whether taxes are included in the subtotal price of the order. | |
| TotalWeight | String | True |
The total weight of the order before returns, in grams. | |
| CanNotifyCustomer | Bool | True |
Whether a customer email exists for the order. | |
| CurrentTotalWeight | String | True |
The total weight of the order after returns, in grams. | |
| CustomerAcceptsMarketing | Bool | True |
Whether the customer agreed to receive marketing materials. | |
| DisplayFinancialStatus | String | True |
The financial status of the order that can be shown to the merchant. This field does not capture all the details of an order's financial state. It should only be used for display summary purposes. | |
| DisplayFulfillmentStatus | String | True |
The fulfillment status for the order that can be shown to the merchant. This field does not capture all the details of an order's fulfillment state. It should only be used for display summary purposes. For a more granular view of the fulfillment status, refer to the object. | |
| HasTimelineComment | Bool | True |
Whether the merchant added a timeline comment to the order. | |
| MerchantEditableErrors | String | True |
A list of reasons why the order can't be edited. For example, 'Canceled orders can't be edited'. | |
| PresentmentCurrencyCode | String | True |
The payment 'CurrencyCode' of the customer for the order. | |
| RegisteredSourceUrl | String | True |
The URL of the source that the order originated from, if found in the domain registry. | |
| SubtotalLineItemsQuantity | Int | True |
The sum of the quantities for all line items that contribute to the order's subtotal price. | |
| BillingAddressMatchesShippingAddress | Bool | True |
Whether the billing address matches the shipping address. | |
| CurrentSubtotalLineItemsQuantity | Int | True |
The sum of the quantities for all line items that contribute to the order's current subtotal price. | |
| CreatedAt | Datetime | True |
Date and time when the order was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the order was modified last. | |
| AppId | String | True |
The application ID. | |
| MerchantOfRecordAppId | String | True |
The application ID. | |
| PhysicalLocationId | String | True |
A globally-unique ID. | |
| ChannelInformationId | String | True |
A globally-unique ID. | |
| ChannelInformationChannelId | String | True |
The unique ID for the channel. | |
| ChannelInformationAppId | String | True |
A globally-unique ID. | |
| PublicationId | String | True |
A globally-unique ID. | |
| PurchasingEntityCustomerId | String | True |
A globally-unique ID. | |
| PurchasingEntityCompanyId | String | True |
A globally-unique ID. | |
| CustomerId | String | True |
A globally-unique ID. | |
| CustomerFirstName | String | True |
The customer's first name. | |
| CustomerLastName | String | True |
The customer's last name. | |
| CustomerJourneySummaryReady | Bool | True |
Whether the attributed sessions for the order have been created yet. | |
| CustomerJourneySummaryMomentsCount | Int | True |
The total number of customer moments associated with this order. Returns null if the order is still in the process of being attributed. | |
| CustomerJourneySummaryMomentsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CustomerJourneySummaryCustomerOrderIndex | Int | True |
The position of the current order within the customer's order history. Test orders aren't included. | |
| CustomerJourneySummaryDaysToConversion | Int | True |
The number of days between the first session and the order creation date. The first session represents the first session since the last order, or the first session within the 30 day attribution window, if more than 30 days have passed since the last order. | |
| CustomerJourneySummaryFirstVisitId | String | True |
A globally-unique ID. | |
| CustomerJourneySummaryFirstVisitSource | String | True |
Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct, a website domain, QR code, or unknown. | |
| CustomerJourneySummaryFirstVisitLandingPage | String | True |
URL of the first page the customer landed on for the session. | |
| CustomerJourneySummaryFirstVisitOccurredAt | Datetime | True |
The date and time when the customer's session occurred. | |
| CustomerJourneySummaryFirstVisitReferralCode | String | True |
Marketing referral code from the link that the customer clicked to visit the store. Supports the following URL attributes: _ref_, _source_, or _r_. For example, if the URL is myshopifystore. com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2. | |
| CustomerJourneySummaryFirstVisitReferrerUrl | String | True |
Webpage where the customer clicked a link that sent them to the online store. For example, _https: //randomblog. com/page1_ or _android-app: //com. google. android. gm_. | |
| CustomerJourneySummaryFirstVisitSourceDescription | String | True |
Describes the source explicitly for first or last session. | |
| CustomerJourneySummaryFirstVisitSourceType | String | True |
Type of marketing tactic. | |
| CustomerJourneySummaryFirstVisitLandingPageHtml | String | True |
Landing page information with URL linked in HTML. For example, the first page the customer visited was store. myshopify. com/products/1. | |
| CustomerJourneySummaryFirstVisitReferralInfoHtml | String | True |
Referral information with URLs linked in HTML. | |
| CustomerJourneySummaryLastVisitId | String | True |
A globally-unique ID. | |
| CustomerJourneySummaryLastVisitSource | String | True |
Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct, a website domain, QR code, or unknown. | |
| CustomerJourneySummaryLastVisitLandingPage | String | True |
URL of the first page the customer landed on for the session. | |
| CustomerJourneySummaryLastVisitOccurredAt | Datetime | True |
The date and time when the customer's session occurred. | |
| CustomerJourneySummaryLastVisitReferralCode | String | True |
Marketing referral code from the link that the customer clicked to visit the store. Supports the following URL attributes: _ref_, _source_, or _r_. For example, if the URL is myshopifystore. com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2. | |
| CustomerJourneySummaryLastVisitReferrerUrl | String | True |
Webpage where the customer clicked a link that sent them to the online store. For example, _https: //randomblog. com/page1_ or _android-app: //com. google. android. gm_. | |
| CustomerJourneySummaryLastVisitSourceDescription | String | True |
Describes the source explicitly for first or last session. | |
| CustomerJourneySummaryLastVisitSourceType | String | True |
Type of marketing tactic. | |
| CustomerJourneySummaryLastVisitLandingPageHtml | String | True |
Landing page information with URL linked in HTML. For example, the first page the customer visited was store. myshopify. com/products/1. | |
| CustomerJourneySummaryLastVisitReferralInfoHtml | String | True |
Referral information with URLs linked in HTML. | |
| DisplayAddressId | String | True |
A globally-unique ID. | |
| DisplayAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| DisplayAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| DisplayAddressFirstName | String | True |
The first name of the customer. | |
| DisplayAddressLastName | String | True |
The last name of the customer. | |
| DisplayAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| DisplayAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| DisplayAddressCity | String | True |
The name of the city, district, village, or town. | |
| DisplayAddressCompany | String | True |
The name of the customer's company or organization. | |
| DisplayAddressCountry | String | True |
The name of the country. | |
| DisplayAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| DisplayAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| DisplayAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| DisplayAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| DisplayAddressZip | String | True |
The zip or postal code of the address. | |
| DisplayAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| DisplayAddressProvinceCode | String | True |
The two-letter code for the region. For example, ON. | |
| DisplayAddressCountryCodeV2 | String | True |
The two-letter code for the country of the address. For example, US. | |
| BillingAddressId | String | True |
A globally-unique ID. | |
| BillingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| BillingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| BillingAddressFirstName | String | True |
The first name of the customer. | |
| BillingAddressLastName | String | True |
The last name of the customer. | |
| BillingAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | True |
The name of the city, district, village, or town. | |
| BillingAddressCompany | String | True |
The name of the customer's company or organization. | |
| BillingAddressCountry | String | True |
The name of the country. | |
| BillingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| BillingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| BillingAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| BillingAddressZip | String | True |
The zip or postal code of the address. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| BillingAddressProvinceCode | String | True |
The two-letter code for the region. For example, ON. | |
| BillingAddressCountryCodeV2 | String | True |
The two-letter code for the country of the address. For example, US. | |
| ShippingAddressId | String | False |
A globally-unique ID. | |
| ShippingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| ShippingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| ShippingAddressFirstName | String | False |
The first name of the customer. | |
| ShippingAddressLastName | String | False |
The last name of the customer. | |
| ShippingAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | False |
The name of the city, district, village, or town. | |
| ShippingAddressCompany | String | False |
The name of the customer's company or organization. | |
| ShippingAddressCountry | String | False |
The name of the country. | |
| ShippingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| ShippingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| ShippingAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| ShippingAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| ShippingAddressZip | String | False |
The zip or postal code of the address. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| ShippingAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| ShippingAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| ShippingLineId | String | True |
A globally-unique ID. | |
| ShippingLineCarrierIdentifier | String | True |
A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| ShippingLineTitle | String | True |
Returns the title of the shipping line. | |
| ShippingLineCode | String | True |
A reference to the shipping method. | |
| ShippingLineCustom | Bool | True |
Whether the shipping line is custom or not. | |
| ShippingLinePhone | String | True |
The phone number at the shipping address. | |
| ShippingLineSource | String | True |
Returns the rate source for the shipping line. | |
| ShippingLineDeliveryCategory | String | True |
The general classification of the delivery method. | |
| ShippingLineShippingRateHandle | String | True |
A unique identifier for the shipping rate. The format can change without notice and is not meant to be shown to users. | |
| ShippingLineRequestedFulfillmentServiceId | String | True |
The ID of the fulfillment service. | |
| PaymentTermsId | String | True |
A globally-unique ID. | |
| PaymentTermsTranslatedName | String | True |
The payment terms name, translated into the shop admin's preferred language. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the payment terms template used to create the payment terms. | |
| PaymentTermsOverdue | Bool | True |
Whether the payment terms have overdue payment schedules. | |
| PaymentTermsDueInDays | Int | True |
Duration of payment terms in days based on the payment terms template used to create the payment terms. | |
| PaymentTermsPaymentTermsType | String | True |
The payment terms template type used to create the payment terms. | |
| PaymentTermsDraftOrderId | String | True |
A globally-unique ID. | |
| CartDiscountAmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CartDiscountAmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CartDiscountAmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CartDiscountAmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| ChannelInformationChannelDefinitionId | String | True |
The unique ID for the channel definition. | |
| CurrentCartDiscountAmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentCartDiscountAmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentCartDiscountAmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentCartDiscountAmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentSubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentSubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentSubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentSubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalAdditionalFeesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDutiesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDutiesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDutiesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| NetPaymentSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| NetPaymentSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| NetPaymentSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| NetPaymentSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalAdditionalFeesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalDutiesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalDutiesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalDutiesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| PaymentCollectionDetailsAdditionalPaymentCollectionUrl | String | True |
The URL to use for collecting an additional payment on the order. | |
| RefundDiscrepancySetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| RefundDiscrepancySetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| RefundDiscrepancySetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| RefundDiscrepancySetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalCapturableSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalCapturableSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalCapturableSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalCapturableSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalOutstandingSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalOutstandingSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalOutstandingSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalOutstandingSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalReceivedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalReceivedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalReceivedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalReceivedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedShippingSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedShippingSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedShippingSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedShippingSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTipReceivedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTipReceivedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTipReceivedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTipReceivedSetShopMoneyCurrencyCode | String | True |
Currency of the money. |
Retrieves the transactions associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderTransactions WHERE ResourceId = 'Val1'
The following columns can be used to create a new record:
ResourceId, ParentTransactionId
The following pseudo-columns can be used to create a new record:
Amount, Currency
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ResourceId [KEY] | String | True |
Orders.Id |
A globally-unique ID. |
| PaymentId | String | True |
The payment ID associated with the transaction. | |
| ParentTransactionId | String | True |
The associated parent transaction, for example the authorization of a capture. | |
| AccountNumber | String | True |
The masked account number associated with the payment method. | |
| Gateway | String | True |
The payment gateway used to process the transaction. | |
| Kind | String | True |
The kind of transaction. | |
| Status | String | True |
The status of this transaction. | |
| Test | Bool | True |
Whether the transaction is a test transaction. | |
| AuthorizationCode | String | True |
Authorization code associated with the transaction. | |
| ErrorCode | String | True |
A standardized error code, independent of the payment provider. | |
| FormattedGateway | String | True |
The human-readable payment gateway name used to process the transaction. | |
| ManuallyCapturable | Bool | True |
Whether the transaction can be manually captured. | |
| MultiCapturable | Bool | True |
Whether the transaction can be captured multiple times. | |
| ProcessedAt | Datetime | True |
Date and time when the transaction was processed. | |
| ReceiptJson | String | True |
The transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction. | |
| SettlementCurrency | String | True |
The settlement currency. | |
| AuthorizationExpiresAt | Datetime | True |
The time when the authorization expires. This field is available only to stores on a Shopify Plus plan and is populated only for Shopify Payments authorizations. | |
| SettlementCurrencyRate | Decimal | True |
The rate used when converting the transaction amount to settlement currency. | |
| CreatedAt | Datetime | True |
Date and time when the transaction was created. | |
| CardPaymentDetailsName | String | True |
The holder of the credit card. | |
| CardPaymentDetailsBin | String | True |
The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number. | |
| CardPaymentDetailsCompany | String | True |
The name of the company that issued the customer's credit card. | |
| CardPaymentDetailsNumber | String | True |
The customer's credit card number, with most of the leading digits redacted. | |
| CardPaymentDetailsWallet | String | True |
Digital wallet used for the payment. | |
| CardPaymentDetailsExpirationMonth | Int | True |
The month in which the used credit card expires. | |
| CardPaymentDetailsExpirationYear | Int | True |
The year in which the used credit card expires. | |
| CardPaymentDetailsAvsResultCode | String | True |
The response code from the address verification system (AVS). The code is always a single letter. | |
| CardPaymentDetailsCvvResultCode | String | True |
The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string. | |
| PaymentIconId | String | True |
A unique ID for the image. | |
| PaymentIconWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| PaymentIconAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| PaymentIconHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| AmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| MaximumRefundableV2Amount | Decimal | True |
Decimal money amount. | |
| MaximumRefundableV2CurrencyCode | String | True |
Currency of the money. | |
| ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt | Datetime | True |
The time after which the extended authorization expires. After the expiry, the merchant is unable to capture the payment. | |
| ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt | Datetime | True |
The time after which capture will incur an additional fee. | |
| ShopifyPaymentsSetRefundSetAcquirerReferenceNumber | String | True |
The acquirer reference number (ARN) code generated for Visa/Mastercard transactions. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalUnsettledSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalUnsettledSetShopMoneyCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Amount | Decimal |
The amount to capture. The capture amount can't be greater than the amount of the authorized transaction. |
| Currency | String |
The amount to capture. The capture amount can't be greater than the amount of the authorized transaction. |
All price lists for a shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PriceLists WHERE Id = 'Val1'
The following columns can be used to create a new record:
Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode
The following columns can be updated:
Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Currency | String | False |
The currency for fixed prices associated with this price list. | |
| FixedPricesCount | Int | True |
The number of fixed prices on the price list. | |
| Name | String | False |
The unique name of the price list, used as a human-readable identifier. | |
| ParentAdjustmentType | String | False |
The type of price adjustment, such as percentage increase or decrease. | |
| ParentAdjustmentValue | Double | False |
The value of price adjustment, where positive numbers reduce the prices and negative numbers increase them. | |
| ParentSettingsCompareAtMode | String | False |
The type of price list adjustment setting for compare at price. |
Returns the media images associated with the product.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductMediaImages WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, AltText, MediaContentType, Url
The following columns can be updated:
AltText, Url
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the media image. | |
| ProductId [KEY] | String | True |
Products.Id |
A globally-unique identifier for the product. |
| AltText | String | False |
A word or phrase to share the nature or contents of a media image. | |
| MediaContentType | String | True |
The media content type. | |
| Height | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| Width | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| Url | String | False |
The location of the image as a URL. |
Returns a list of product options. The limit is specified by Shop.resourceLimits.maxProductOptions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOptions WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, Name, Position, OptionValues (references ProductOptionValues)
The following pseudo-columns can be used to create a new record:
LinkedMetafieldKey, LinkedMetafieldNamespace, LinkedMetafieldValues
| Column Name | Type | Description |
| ProductId | String | A globally-unique ID. |
| ProductOptionId | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| VariantStrategy | String | The strategy defines which behavior is observed regarding variants. The strategy 'LEAVE_AS_IS' is used by default - variants are not created nor deleted. If set to 'MANAGE', variants are created and deleted according to the option values to add and to delete. |
The following columns can be updated:
ProductId, Name, Position
The following pseudo-columns can be used to update a record:
LinkedMetafieldKey, LinkedMetafieldNamespace
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique identifier. | |
| ProductId | String | False |
Products.Id |
A globally-unique identifier. |
| Name | String | False |
The product option's name. | |
| Position | Int | False |
The product option's position. | |
| Values | String | True |
The corresponding value to the product option name. | |
| OptionValues | String | True |
Similar to values, option_values returns all the corresponding option value objects to the product option, including values not assigned to any variants. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| LinkedMetafieldKey | String |
The key of the metafield this option is linked to. |
| LinkedMetafieldNamespace | String |
The namespace of the metafield this option is linked to. |
| LinkedMetafieldValues | String |
Comma-separated list of values associated with the option. |
| DeleteVariantStrategy | String |
The strategy defines which behavior is observed, such as how to handle a situation where deleting an option would result in duplicate variants. If set to 'DEFAULT', the specified Option may only have one corresponding value. If set to 'NON_DESTRUCTIVE', an Option with multiple values can be deleted, but the operation only succeeds if no product variants get deleted. If set to 'POSITION', an Option with multiple values can be deleted. Remaining variants will be deleted, highest position first, in the event of duplicates being detected. The allowed values are DEFAULT, NON_DESTRUCTIVE, POSITION. |
List all the corresponding option value objects to the product option, including values not assigned to any variants.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOptionValues WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, ProductOptionId, Name, LinkedMetafieldValue
The following pseudo-column can be used to create a new record:
VariantStrategy
The following columns can be updated:
ProductId, ProductOptionId, Name, LinkedMetafieldValue
You can delete entries by specifying the following columns:
ProductId, ProductOptionId, Id
| Name | Type | ReadOnly | References | Description |
| ProductId | String | False |
A globally-unique ID. | |
| ProductOptionId | String | False |
A globally-unique ID. | |
| ProductOptionName | String | True |
The product option's name. | |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
Value associated with an option. | |
| LinkedMetafieldValue | String | False |
Metafield value associated with an option. | |
| HasVariants | Bool | True |
Whether the product option value has any linked variants. | |
| SwatchColor | String | True |
The swatch associated with the product option value. The color representation of the swatch. | |
| SwatchImageId | String | True |
The swatch associated with the product option value. An image representation of the swatch. A globally-unique ID. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| VariantStrategy | String |
The strategy defines which behavior is observed regarding variants. The strategy 'LEAVE_AS_IS' is used by default - variants are not created nor deleted. If set to 'MANAGE', variants are created and deleted according to the option values to add and to delete. The allowed values are LEAVE_AS_IS, MANAGE. |
Returns the product resource feedback for the currently authenticated app.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductResourceFeedbacks WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, FeedbackGeneratedAt, Messages, ProductUpdatedAt, State
| Name | Type | ReadOnly | References | Description |
| ProductId [KEY] | String | True |
Products.Id |
The product associated with the resource feedback. |
| FeedbackGeneratedAt | Datetime | True |
The time when the feedback was generated. Used to help determine whether incoming feedback is outdated compared to existing feedback. | |
| Messages | String | True |
The feedback messages presented to the merchant. | |
| ProductUpdatedAt | Datetime | True |
The timestamp of the product associated with the feedback. | |
| State | String | True |
Conveys the state of the feedback and whether it requires merchant action or not. The allowed values are ACCEPTED, REQUIRES_ACTION. |
Returns a list of products.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Products WHERE Id = 'Val1'
SELECT * FROM Products WHERE Title = 'Val1'
SELECT * FROM Products WHERE Status = 'Val1'
SELECT * FROM Products WHERE Vendor = 'Val1'
SELECT * FROM Products WHERE TotalInventory = 123
SELECT * FROM Products WHERE HasOnlyDefaultVariant = true
SELECT * FROM Products WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Products WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Products WHERE ProductType = 'Val1'
The following columns can be used to create a new record:
DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, IsGiftCard, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan
The following pseudo-column can be used to create a new record:
Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, IsGiftCard, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan
The following pseudo-column can be used to update a record:
Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique identifier. | |
| LegacyResourceId | Long | True |
The ID of the corresponding resource in the REST Admin API. | |
| Description | String | True |
The description of the product, complete with HTML formatting. | |
| DescriptionHtml | String | False |
The description of the product, complete with HTML formatting. | |
| Title | String | False |
The title of the product. | |
| Handle | String | False |
A unique human-friendly string of the product's title. | |
| Tags | String | False |
A comma separated list of tags associated with the product. Updating 'tags' overwrites any existing tags that were previously added to the product. | |
| Status | String | False |
The product status. This controls visibility across all channels. | |
| Vendor | String | False |
The name of the product's vendor. | |
| OnlineStorePreviewUrl | String | True |
The online store preview URL. | |
| OnlineStoreUrl | String | True |
The online store URL for the product.A value of 'null' indicates that the product is not published to the Online Store sales channel. | |
| TracksInventory | Bool | True |
Whether inventory tracking has been enabled for the product. | |
| TotalInventory | Int | True |
The quantity of inventory in stock. | |
| HasOnlyDefaultVariant | Bool | True |
Whether the product has only a single variant with the default option and value. | |
| HasOutOfStockVariants | Bool | True |
Whether the product has out of stock variants. | |
| HasVariantsThatRequiresComponents | Bool | True |
Whether at least one of the product variants requires bundle components. | |
| VariantsCount | Int | True |
The number of variants that are associated with the product. | |
| VariantsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| TemplateSuffix | String | False |
The theme template used when viewing the product in a store. | |
| GiftCardTemplateSuffix | String | False |
The theme template used when viewing the gift card in a store. | |
| IsGiftCard | Bool | False |
Whether the product is a gift card. | |
| PublishedAt | Datetime | True |
The date and time when the product was published to the Online Store. | |
| UpdatedAt | Datetime | True |
The date and time when the product was last modified.A product's 'updatedAt' value can change for different reasons. For example, if an order is placed for a product that has inventory tracking set up, then the inventory adjustment is counted as an update. | |
| CreatedAt | Datetime | True |
The date and time when the product was created. | |
| ProductType | String | False |
The product type specified by the merchant. | |
| CategoryId | String | True |
The globally-unique ID of the TaxonomyCategory. | |
| CategoryName | String | True |
The name of the taxonomy category. For example, Dog Beds. | |
| CategoryFullName | String | True |
The full name of the taxonomy category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds. | |
| SeoTitle | String | False |
SEO Title. | |
| SeoDescription | String | False |
SEO Description. | |
| RequiresSellingPlan | Bool | False |
Whether the product can only be purchased with a selling plan (subscription). Products that are sold on subscription ('requiresSellingPlan: true') can be updated only for online stores. If you update a product to be subscription only, then the product is unpublished from all channels except the online store. | |
| SellingPlanGroupsCount | Int | True |
Count of selling plan groups associated with the product. | |
| SellingPlanGroupsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| PriceRangeMaxVariantPriceAmount | Decimal | True |
Decimal money amount. | |
| PriceRangeMaxVariantPriceCurrencyCode | String | True |
Currency of the money. | |
| PriceRangeMinVariantPriceAmount | Decimal | True |
Decimal money amount. | |
| PriceRangeMinVariantPriceCurrencyCode | String | True |
Currency of the money. | |
| CompareAtPriceRangeMaxVariantCompareAtPriceAmount | Decimal | True |
Decimal money amount. | |
| CompareAtPriceRangeMaxVariantCompareAtPriceCurrencyCode | String | True |
Currency of the money. | |
| CompareAtPriceRangeMinVariantCompareAtPriceAmount | Decimal | True |
Decimal money amount. | |
| CompareAtPriceRangeMinVariantCompareAtPriceCurrencyCode | String | True |
Currency of the money. | |
| MediaCount | Int | True |
Total count of media belonging to a product. | |
| MediaCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| FeaturedMediaId | String | True |
A globally-unique ID. | |
| FeaturedMediaAlt | String | True |
A word or phrase to share the nature or contents of a media. | |
| FeaturedMediaContentType | String | True |
The media content type. | |
| FeaturedMediaStatus | String | True |
Current status of the media. | |
| FeaturedMediaPreviewStatus | String | True |
Current status of the preview image. | |
| FeaturedMediaPreviewImageId | String | True |
The preview image for the media. Returns null until status is READY. | |
| FeaturedMediaPreviewImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| FeaturedMediaPreviewImageUrl | String | True |
The location of the image as a URL. | |
| FeaturedMediaPreviewImageWidth | Int | True |
The original width of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| FeaturedMediaPreviewImageHeight | Int | True |
The original height of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| AvailablePublicationsCount | Int | True |
The number of publications a resource is published to without feedback errors. | |
| AvailablePublicationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| PublishedOnCurrentPublication | Bool | True |
Whether the resource is published to the app's publication. For example, the resource might be published to the app's online store channel. | |
| ResourcePublicationOnCurrentPublicationAutoPublish | Bool | True |
Whether new products are automatically published to this publication. | |
| ResourcePublicationOnCurrentPublicationIsPublished | Bool | True |
Whether the resource publication is published. If true, then the resource publication is published to the publication. If false, then the resource publication is staged to be published to the publication. | |
| ResourcePublicationOnCurrentPublicationPublishDate | Datetime | True |
The date that the resource publication was or is going to be published to the publication. | |
| ResourcePublicationOnCurrentPublicationPublicationId | String | True |
A globally-unique identifier. | |
| ResourcePublicationOnCurrentPublicationPublicationName | String | True |
Name of the publication. | |
| ResourcePublicationOnCurrentPublicationPublicationSupportsFuturePublishing | Bool | True |
Whether the publication supports future publishing. | |
| ResourcePublicationsCount | Int | True |
The number of publications that a resource is published to, without feedback errors. | |
| ResourcePublicationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| FeedbackSummary | String | True |
Summary of resource feedback pertaining to the resource. | |
| FeedbackDetails | String | True |
List of AppFeedback detailing issues regarding a resource. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Metafields | String |
The additional customizable information about the product variant. |
Returns a list of the product variants.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ProductVariants WHERE Id = 'Val1'
SELECT * FROM ProductVariants WHERE ProductId = 'Val1'
SELECT * FROM ProductVariants WHERE Barcode = 'Val1'
SELECT * FROM ProductVariants WHERE Sku = 'Val1'
SELECT * FROM ProductVariants WHERE Title = 'Val1'
SELECT * FROM ProductVariants WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM ProductVariants WHERE Taxable = true
SELECT * FROM ProductVariants WHERE DeliveryProfileId = 'Val1'
SELECT * FROM ProductVariants WHERE LocationInventoryQuantity = 123
The following columns can be used to create a new record:
ProductId, Barcode, Sku, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin
The following pseudo-columns can be used to create a new record:
MediaId, MediaSrc, InventoryQuantities (references InventoryItemInventoryLevelQuantities), OptionValues (references ProductOptionValues), Metafields (references Metafields), Strategy
| Column Name | Type | Description |
| InventoryLevelLocationId | String | A globally-unique ID. |
| Quantity | Int | The quantity for the quantity name. |
| Column Name | Type | Description |
| ProductOptionId | String | A globally-unique ID. |
| ProductOptionName | String | The product option's name. |
| Id | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
ProductId, Barcode, Sku, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin
The following pseudo-columns can be used to update a record:
MediaId, MediaSrc, OptionValues (references ProductOptionValues), Metafields (references Metafields), AllowPartialUpdates
| Column Name | Type | Description |
| ProductOptionId | String | A globally-unique ID. |
| ProductOptionName | String | The product option's name. |
| Id | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique identifier. | |
| LegacyResourceId | Long | True |
The ID of the corresponding resource in the REST Admin API. | |
| ProductId | String | False |
Products.Id |
A globally-unique identifier. |
| Position | Int | True |
The order of the product variant in the list of product variants. The first position in the list is 1. | |
| DisplayName | String | True |
Display name of the variant, based on product's title + variant's title. | |
| Barcode | String | False |
The value of the barcode associated with the product. | |
| Sku | String | False |
An identifier for the product variant in the shop. Required in order to connect to a fulfillment service. | |
| Title | String | True |
The title of the product variant. | |
| RequiresComponents | Bool | True |
Whether a product variant requires components. The default value is 'false'. If 'true', then the product variant can only be purchased as a parent bundle with components and it will be omitted from channels that don't support bundles. | |
| UpdatedAt | Datetime | True |
The date and time when the product variant was last modified. | |
| CreatedAt | Datetime | True |
The date and time when the variant was created. | |
| SelectedOptions | String | True |
List of product options applied to the variant. | |
| AvailableForSale | Bool | True |
Whether the product variant is available for sale. | |
| Price | Decimal | False |
The price of the product variant in the default shop currency. | |
| CompareAtPrice | Decimal | False |
The compare-at price of the variant in the default shop currency. | |
| TaxCode | String | False |
The tax code for the product variant. | |
| Taxable | Bool | False |
Whether a tax is charged when the product variant is sold. | |
| SellableOnlineQuantity | Int | True |
The total sellable quantity of the variant for online channels. This doesn't represent the total available inventory or capture (limitations based on customer location). | |
| SellingPlanGroupsCount | Int | True |
Count of selling plan groups associated with the product variant. | |
| SellingPlanGroupsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DeliveryProfileId | String | True |
A globally-unique identifier. | |
| InventoryPolicy | String | False |
Whether customers are allowed to place an order for the product variant when it's out of stock. | |
| InventoryQuantity | Int | True |
The total sellable quantity of the variant. | |
| InventoryItemId | String | True |
A globally-unique identifier. | |
| InventoryItemUnitCostAmount | Decimal | False |
Unit cost associated with the inventory item. | |
| InventoryItemUnitCostCurrencyCode | String | True |
Currency code of the unit cost associated with the inventory item. | |
| InventoryItemHarmonizedSystemCode | String | False |
The harmonized system code of the inventory item. | |
| InventoryItemMeasurementWeightValue | Double | False |
The weight value using the unit system specified with 'unit'. | |
| InventoryItemMeasurementWeightUnit | String | False |
The unit of measurement for 'value'. | |
| InventoryItemRequiresShipping | Bool | False |
Whether the inventory item requires shipping. | |
| InventoryItemTracked | Bool | False |
Whether inventory levels are tracked for the item. | |
| InventoryItemCountryCodeOfOrigin | String | False |
The ISO 3166-1 alpha-2 country code of where the item originated from. | |
| InventoryItemProvinceCodeOfOrigin | String | False |
The ISO 3166-2 alpha-2 province code of where the item originated from. | |
| ImageId | String | True |
A unique identifier for the image. | |
| ImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The location of the image as a URL. | |
| LocationInventoryQuantity | Int | True |
Filters by the available inventory quantity of any variant at individual locations. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| MediaId | String |
The ID of the media to associate with the variant. |
| MediaSrc | String |
The URL of the media to associate with the variant. |
| InventoryQuantities | String |
The inventory quantities at each location where the variant is stocked. The number of elements in the array of inventory quantities can't exceed the amount specified for the plan. |
| OptionValues | String |
The custom properties that a shop owner uses to define product variants. |
| Metafields | String |
The additional customizable information about the product variant. |
| Strategy | String |
The strategy defines which behavior is observed, such as whether to keep or delete the standalone variant (when product has only a single or default variant) when creating new variants. If set to 'DEFAULT', keep the standalone variant (when product has only a single or default variant) when creating variants. If set to 'REMOVE_STANDALONE_VARIANT', delete the standalone variant (when product has only a single or default variant) when creating new variants. The allowed values are DEFAULT, REMOVE_STANDALONE_VARIANT. |
| AllowPartialUpdates | Bool |
When partial updates are allowed, valid variant changes may be persisted even if some of the variants updated have invalid data and cannot be persisted. When partial updates are not allowed, any error will prevent all variants from updating. |
Returns the list of publications.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Publications WHERE Id = 'Val1'
SELECT * FROM Publications WHERE CatalogType = 'Val1'
The following columns can be used to create a new record:
AutoPublish, CatalogId
The following pseudo-column can be used to create a new record:
DefaultState
The following column can be updated:
AutoPublish
The following pseudo-columns can be used to update a record:
PublishablesToAdd, PublishablesToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AutoPublish | Bool | False |
Whether new products are automatically published to this publication. | |
| SupportsFuturePublishing | Bool | True |
Whether the publication supports future publishing. | |
| CatalogId | String | True |
A globally-unique ID. | |
| AddAllProductsOperationId | String | True |
A globally-unique ID. | |
| AddAllProductsOperationStatus | String | True |
The status of this operation. | |
| AddAllProductsOperationProcessedRowCount | Int | True |
The count of processed rows, summing imported, failed, and skipped rows. | |
| AddAllProductsOperationRowCountCount | Int | True |
Estimated number of rows contained within this background operation. | |
| AddAllProductsOperationRowCountExceedsMax | Bool | True |
Whether the operation exceeds max number of reportable rows. | |
| CatalogCsvOperationId | String | True |
A globally-unique ID. | |
| CatalogCsvOperationStatus | String | True |
The status of this operation. | |
| CatalogCsvOperationProcessedRowCount | Int | True |
The count of processed rows, summing imported, failed, and skipped rows. | |
| CatalogCsvOperationRowCountCount | Int | True |
Estimated number of rows contained within this background operation. | |
| CatalogCsvOperationRowCountExceedsMax | Bool | True |
Whether the operation exceeds max number of reportable rows. | |
| PublicationResourceOperationId | String | True |
A globally-unique ID. | |
| PublicationResourceOperationStatus | String | True |
The status of this operation. | |
| PublicationResourceOperationProcessedRowCount | Int | True |
The count of processed rows, summing imported, failed, and skipped rows. | |
| PublicationResourceOperationRowCountCount | Int | True |
Estimated number of rows contained within this background operation. | |
| PublicationResourceOperationRowCountExceedsMax | Bool | True |
Whether the operation exceeds max number of reportable rows. | |
| CatalogType | String | True |
Filter publications by catalog type. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| DefaultState | String |
Whether to create an empty publication or prepopulate it with all products. The allowed values are ALL_PRODUCTS, EMPTY. |
| PublishablesToAdd | String |
A simple, comma-separated list of publishable IDs to add. The maximum number of publishables to update simultaneously is 50. |
| PublishablesToRemove | String |
A simple, comma-separated list of publishable IDs to remove. The maximum number of publishables to update simultaneously is 50. |
Represents a refund of items or transactions in an order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Refunds WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OrderId, Note, RefundLineItems (references RefundLineItems)
| Column Name | Type | Description |
| LineItemId | String | A globally-unique ID. |
| LineItemQuantity | Int | The number of variant units ordered. |
| RestockType | String | The type of restock for the refunded line item. |
| LocationId | String | A globally-unique ID. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Globally unique identifier. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| OrderId | String | True |
Orders.Id |
A globally-unique ID. |
| Note | String | True |
The optional note associated with the refund. | |
| CreatedAt | Datetime | True |
The date and time when the refund was created. | |
| UpdatedAt | Datetime | True |
The date and time when the refund was updated. | |
| ReturnId | String | True |
A globally-unique ID. | |
| StaffMemberId | String | True |
A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| TotalRefundedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| RefundLineItems | String | True |
The list of the line items in the draft order. |
Retrieves a list of returns for the order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Returns WHERE OrdersId = 'Val1'
The following columns can be used to create a new record:
OrdersId, ReturnLineItems (references ReturnLineItems)
| Column Name | Type | Description |
| Quantity | Int | The quantity being returned. |
| ReturnReason | String | The reason for returning the item. |
| ReturnReasonNote | String | Additional information about the reason for the return. Maximum length: 255 characters. |
| FulfillmentLineItemId | String | A globally-unique ID. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| OrdersId | String | True |
Orders.Id |
A globally-unique ID. |
| Name | String | True |
The name of the return. | |
| Status | String | True |
The status of the return. | |
| TotalQuantity | Int | True |
The sum of all line item quantities for the return. | |
| DeclineReason | String | True |
The reason the customer's return request was declined. | |
| DeclineNote | String | True |
The notification message sent to the customer about their declined return request. Maximum length: 500 characters. | |
| ReturnLineItems | String | True |
The list of the line items in the return. |
Returns a list of script tags.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ScriptTags WHERE Id = 'Val1'
SELECT * FROM ScriptTags WHERE Src = 'Val1'
The following columns can be used to create a new record:
Cache, Src, DisplayScope
The following columns can be updated:
Cache, Src, DisplayScope
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Cache | Bool | False |
Whether the Shopify CDN can cache and serve the script tag. If 'true', then the script will be cached and served by the CDN. The cache expires 15 minutes after the script tag is successfully returned. If 'false', then the script will be served as is. | |
| Src | String | False |
The URL to the remote script. | |
| DisplayScope | String | False |
The page or pages on the online store that the script should be included. The allowed values are ALL, ONLINE_STORE, ORDER_STATUS. | |
| CreatedAt | Datetime | True |
The date and time when the script tag was created. | |
| UpdatedAt | Datetime | True |
The date and time when the script tag was last updated. |
A list of a shop's segments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Segments WHERE Id = 'Val1'
The following columns can be used to create a new record:
Name, Query
The following columns can be updated:
Name, Query
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
The name of the segment. | |
| Query | String | False |
A precise definition of the segment. The definition is composed of a combination of conditions on facts about customers. | |
| CreationDate | Datetime | True |
The date and time when the segment was added to the store. | |
| LastEditDate | Datetime | True |
The date and time when the segment was last updated. |
Returns a list Selling Plan Groups.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM SellingPlanGroups WHERE Id = 'Val1'
SELECT * FROM SellingPlanGroups WHERE Name = 'Val1'
SELECT * FROM SellingPlanGroups WHERE CreatedAt < '2023-01-01 11:10:00'
The following columns can be used to create a new record:
AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans)
The following pseudo-columns can be used to create a new record:
ProductIds, ProductVariantIds
| Column Name | Type | Description |
| Id | String | A globally-unique ID. |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. |
| Category | String | The category used to classify the selling plan for reporting purposes. |
| Description | String | Buyer facing string which describes the selling plan commitment. |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. |
| InventoryPolicyReserve | String | When to reserve inventory for the order. |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge. |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due. |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year. |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN. |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
The following columns can be updated:
AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans), SellingPlansToUpdate (references SellingPlanGroupSellingPlans)
The following pseudo-column can be used to update a record:
SellingPlansToDelete
| Column Name | Type | Description |
| Id | String | A globally-unique ID. |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. |
| Category | String | The category used to classify the selling plan for reporting purposes. |
| Description | String | Buyer facing string which describes the selling plan commitment. |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. |
| InventoryPolicyReserve | String | When to reserve inventory for the order. |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge. |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due. |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year. |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN. |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AppId | String | False |
The ID for app, exposed in Liquid and product JSON. | |
| Name | String | False |
The buyer-facing label of the selling plan group. | |
| Description | String | False |
The merchant-facing description of the selling plan group. | |
| Options | String | False |
The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. | |
| Position | Int | False |
The relative position of the selling plan group for display. | |
| Summary | String | True |
A summary of the policies associated to the selling plan group. | |
| MerchantCode | String | False |
The merchant-facing label of the selling plan group. | |
| ProductsCount | Int | True |
A count of products associated to the selling plan group. | |
| ProductsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CreatedAt | Datetime | True |
The date and time when the selling plan group was created. | |
| SellingPlansToCreate | String | False |
List of selling plans to create. | |
| SellingPlansToUpdate | String | False |
List of selling plans to update. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| SellingPlansToDelete | String |
List of selling plans to delete as a simple, comma-separated list. |
| ProductIds | String |
The IDs of the Products to add to the Selling Plan Group as a simple, comma-separated list. |
| ProductVariantIds | String |
The IDs of the Variants to add to the Selling Plan Group as a simple, comma-separated list. |
Retrieves the storefront access token of a private application. These are scoped per-application.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM StorefrontAccessTokens
The following column can be used to create a new record:
Title
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ShopId | String | True |
Shop.Id |
A globally-unique ID. |
| Title | String | True |
An arbitrary title for each token determined by the developer, used for reference purposes. | |
| AccessToken | String | True |
The issued public access token. | |
| CreatedAt | Datetime | True |
The date and time when the public access token was created. | |
| UpdatedAt | Datetime | True |
The date and time when the storefront access token was updated. |
Returns a list of redirects for a shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM UrlRedirects WHERE Id = 'Val1'
SELECT * FROM UrlRedirects WHERE Path = 'Val1'
SELECT * FROM UrlRedirects WHERE Target = 'Val1'
The following columns can be used to create a new record:
Path, Target
The following columns can be updated:
Path, Target
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The ID of the URL redirect. | |
| Path | String | False |
The old path to be redirected from. When the user visits this path, they will be redirected to the target location. | |
| Target | String | False |
The target location where the user will be redirected to. |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| AbandonedCheckoutLineItems | Retrieves a list of line items in the associated resource. |
| Abandonment | Returns abandonment. |
| AbandonmentProductsAddedToCart | Returns the products added to the cart during the customer abandoned visit. |
| AbandonmentProductsViewed | Returns the products viewed during the customer abandoned visit. |
| AppCredits | Lists credits that can be used towards future app purchases. |
| ArticleComments | Returns a list of comments posted on an article. |
| Articles | Returns a list of the shop's visible articles. |
| AssignedFulfillmentOrders | Retrieves a paginated list of fulfillment orders assigned to the shop locations owned by the app. Assigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations managed by fulfillment services that are registered by the app. One app (api_client) can host multiple fulfillment services on a shop. Each fulfillment service manages a dedicated location on a shop. Assigned fulfillment orders can have associated, or might currently not be requested to be fulfilled. The app must have 'read_assigned_fulfillment_orders' to be able to retrieve fulfillment orders assigned to its locations. All assigned fulfillment orders (except those with the 'CLOSED' status) will be returned by default. |
| Blogs | Retrieves a list of the shop's blogs. |
| CarrierServices | Returns a list of activated carrier services and associated shop locations that support them. |
| CollectionProducts | Retrieves a list of the products inside of a collection. |
| CompanyContactRoles | Returns available roles for company contacts. |
| CompanyEvents | Retrieves a paginated list of events associated with the host subject. |
| CustomerEvents | Retrieves a paginated list of events associated with the host subject. |
| CustomerSegmentMembers | The list of members, such as customers, that's associated with individual segments. |
| DeliveryProfileLocationGroupCountries | Lists countries already selected in any zone for the specified location group. |
| DeliveryProfileLocationGroupCountryProvinces | Returns the list of regions associated with this country. |
| DeliveryProfileLocationGroups | Lists the location groups using this profile. |
| DeliveryProfileLocationGroupZones | Lists the applicable zones associated to the specified location group. |
| DeliveryProfileUnassignedLocations | Lists the locations that have not been assigned to a location group for this profile. |
| DiscountEvents | Retrieves a paginated list of events associated with the host subject. |
| DiscountsCodeFreeShipping | Returns a list of discounts. |
| DraftOrderCustomAttributes | Retrieves custom attributes associated with the resource. |
| DraftOrderEvents | Retrieves a paginated list of events associated with the host subject. |
| DraftOrderLineItemCustomAttributes | Retrieves custom attributes associated with the resource. |
| DraftOrderLineItems | Returns a list of the line items in the draft order. |
| DraftOrderLineItemTaxLines | Represents a single tax applied to the associated resource. |
| DraftOrderTaxLines | Represents a single tax applied to the associated resource. |
| FulfillmentLineItems | Line items from orders that are included in fulfillments. |
| FulfillmentLineItemTaxLines | Represents a single tax applied to the associated resource. |
| FulfillmentOrderLineItems | A list of the fulfillment order's line items. |
| FulfillmentOrderLocationForMoveAvailableLineItems | A list of the fulfillment order's line items. |
| FulfillmentOrderLocationForMoveUnavailableLineItems | A list of the fulfillment order's line items. |
| FulfillmentOrderLocationsForMove | A list of locations that the fulfillment order can potentially move to. |
| InventoryAdjustmentGroupChanges | Sets of inventory quantity changes that occurred in inventory events. |
| InventoryAdjustmentGroups | Groups of adjustments made as part of inventory operations. |
| InventoryItemCountryHarmonizedSystemCodes | Returns a list of country specific harmonized system codes. |
| InventoryItemInventoryLevelQuantities | List quantities for inventory items at specific locations. |
| InventoryItemInventoryLevelScheduledChanges | Scheduled changes for inventory levels. |
| Jobs | Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes. |
| MarketingEvents | Returns a list of marketing events associated with the marketing app. |
| MetaobjectDefinitions | Provides the definition of a generic object structure composed of metafields. |
| MetaObjects | All metaobjects for the shop. |
| OrderAdditionalFees | A list of additional fees applied to the order. |
| OrderAgreementAdditionalFeeSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementAdjustmentSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementDutySales | Retrieves a list of sales associated with agreements. |
| OrderAgreementGiftCardSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementProductSales | Retrieves a list of sales associated with agreements. |
| OrderAgreements | Retrieves a list of sales agreements associated with orders. |
| OrderAgreementShippingLineSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementTipSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementUnknownSales | Retrieves a list of sales associated with agreements. |
| OrderCustomAttributes | Retrieves custom attributes associated with the resource. |
| OrderDiscountApplications | Returns a list of discounts that are applied to the order, not including order edits and refunds. |
| OrderEditAgreementAdditionalFeeSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementAdjustmentSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementDutySales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementGiftCardSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementProductSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreements | Retrieves a list of sales agreements associated with orders. |
| OrderEditAgreementShippingLineSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementTipSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementUnknownSales | Retrieves a list of sales associated with agreements. |
| OrderEvents | Retrieves a paginated list of events associated with the host subject. |
| OrderLineItemCustomAttributes | Retrieves custom attributes associated with the resource. |
| OrderLineItemDiscountAllocations | Retrieves the discounts that have been allocated onto the line item by discount applications, not including order edits and refunds. |
| OrderLineItemDuties | Lists the duties associated with the line items. |
| OrderLineItems | Retrieves line items associated with orders. |
| OrderLineItemTaxLines | Represents a single tax applied to the associated resource. |
| OrderNonFulfillableLineItemDuties | Lists the duties associated with the line items. |
| OrderNonFulfillableLineItems | Retrieves a list of line items in the associated resource. |
| OrderRefundAgreementAdditionalFeeSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementAdjustmentSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementDutySales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementGiftCardSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementProductSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreements | Retrieves a list of sales agreements associated with orders. |
| OrderRefundAgreementShippingLineSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementTipSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementUnknownSales | Retrieves a list of sales associated with agreements. |
| OrderTaxLines | Represents a single tax applied to the associated resource. |
| Pages | Returns a list of the shop's pages. |
| PriceListPrices | A list of prices associated with a price list. |
| PublicationCollections | Returns a list of collections published to the publication. |
| PublicationProducts | Returns the list of publication for products. |
| RefundDuties | Lists the refunded duties as part of this refund. |
| RefundLineItemDuties | Lists the duties associated with the line items. |
| RefundLineItems | Retrieves the 'RefundLineItem' resources attached to the refund. |
| RefundTransactionFees | Returns the transaction fees charged on the order transaction. Only present for Shopify Payments transactions. |
| RefundTransactions | Retrieves the transactions associated with the resource. |
| ReturnExchangeLineItems | Retrieves a list of line items in the associated resource. |
| ReturnLineItems | Retrieves the return line items attached to the return. |
| SegmentFilterParameters | The parameters for event segment filters. |
| SegmentFilters | A list of filters. |
| SellingPlanGroupSellingPlans | Retrieves selling plans associated to the selling plan group. |
| Shop | Returns the Shop resource corresponding to the access token used in the request. The Shop resource contains business and store management settings for the shop. |
| ShopifyPaymentsAccount | Returns Shopify Payments account information, including balances and payouts. |
| ShopifyPaymentsAccountBalance | Returns current balances in all currencies for the account. |
| ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders | The adjustment orders associated to the transaction. |
| ShopifyPaymentsAccountBalanceTransactions | A list of balance transactions associated with a Shopify Payments account balance. |
| ShopifyPaymentsAccountBankAccounts | Lists all bank accounts configured for the Shopify Payments account. |
| ShopifyPaymentsAccountDisputes | Lists all disputes related to the Shopify Payments account. |
| ShopifyPaymentsAccountPayouts | Returns all current and previous payouts made between the account and the bank account. Its avaible only in a few certain countries. |
| ShopifyPaymentsAccountPermittedVerificationDocuments | Retrieves the permitted documents for identity verification. |
| ShopifyPaymentsAccountVerifications | Returns the verifications necessary for this account. |
| StaffMembers | Retrieves a paginated list of the shop's staff members. (This table is available only with a ShopifyPlus subscription) |
| TenderTransactions | Returns a list of TenderTransactions associated with the shop. |
Retrieves a list of line items in the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Abandonment.AbandonedCheckoutPayloadId | A globally-unique ID. |
| Title | String | Title of the line item. Defaults to the product's title. | |
| ProductId | String | A globally-unique ID. | |
| VariantId | String | A globally-unique ID. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| Quantity | Int | The number of variant units ordered. | |
| Sku | String | The variant SKU number. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| DiscountedTotalPriceSetPresentmentMoneyAmount | Decimal | Final total price for the entire quantity of this line item, including discounts. Decimal money amount. | |
| DiscountedTotalPriceSetPresentmentMoneyCurrencyCode | String | Final total price for the entire quantity of this line item, including discounts. Currency of the money. | |
| DiscountedTotalPriceSetShopMoneyAmount | Decimal | Final total price for the entire quantity of this line item, including discounts. Decimal money amount. | |
| DiscountedTotalPriceSetShopMoneyCurrencyCode | String | Final total price for the entire quantity of this line item, including discounts. Currency of the money. | |
| DiscountedTotalPriceWithCodeDiscountPresentmentMoneyAmount | Decimal | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedTotalPriceWithCodeDiscountPresentmentMoneyCurrencyCode | String | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| DiscountedTotalPriceWithCodeDiscountShopMoneyAmount | Decimal | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedTotalPriceWithCodeDiscountShopMoneyCurrencyCode | String | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Currency of the money. | |
| DiscountedUnitPriceWithCodeDiscountPresentmentMoneyAmount | Decimal | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedUnitPriceWithCodeDiscountPresentmentMoneyCurrencyCode | String | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| DiscountedUnitPriceWithCodeDiscountShopMoneyAmount | Decimal | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedUnitPriceWithCodeDiscountShopMoneyCurrencyCode | String | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| OriginalTotalPriceSetPresentmentMoneyAmount | Decimal | Original total price for the entire quantity of this line item, before discounts. Decimal money amount. | |
| OriginalTotalPriceSetPresentmentMoneyCurrencyCode | String | Original total price for the entire quantity of this line item, before discounts. Currency of the money. | |
| OriginalTotalPriceSetShopMoneyAmount | Decimal | Original total price for the entire quantity of this line item, before discounts. Decimal money amount. | |
| OriginalTotalPriceSetShopMoneyCurrencyCode | String | Original total price for the entire quantity of this line item, before discounts. Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Original price for a single unit of this line item, before discounts. Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Original price for a single unit of this line item, before discounts. Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Original price for a single unit of this line item, before discounts. Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Original price for a single unit of this line item, before discounts. Currency of the money. |
Returns abandonment.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Abandonment WHERE Id = 'Val1'
SELECT * FROM Abandonment WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| AppId | String | A globally-unique ID. | |
| CustomerId | String | A globally-unique ID. | |
| AbandonmentType | String | The abandonment type. | |
| EmailState | String | The email state (e.g., sent or not sent). | |
| InventoryAvailable | Bool | Whether the products in abandonment are available. | |
| EmailSentAt | Datetime | When the email was sent, if that is the case. | |
| MostRecentStep | String | The most recent step type. | |
| VisitStartedAt | Datetime | The date and time when the visit started. | |
| IsFromOnlineStore | Bool | Whether the abandonment event comes from the Online Store sales channel. | |
| IsFromShopApp | Bool | Whether the abandonment event comes from the Shop app sales channel. | |
| IsFromShopPay | Bool | Whether the abandonment event comes from Shop Pay. | |
| IsMostSignificantAbandonment | Bool | Whether the customer did not complete another most significant step since this abandonment. | |
| LastBrowseAbandonmentDate | Datetime | The date for the latest browse abandonment. | |
| LastCartAbandonmentDate | Datetime | The date for the latest cart abandonment. | |
| LastCheckoutAbandonmentDate | Datetime | The date for the latest checkout abandonment. | |
| DaysSinceLastAbandonmentEmail | Int | The number of days since the last abandonment email was sent to the customer. | |
| HoursSinceLastAbandonedCheckout | Double | The number of hours since the customer has last abandoned a checkout. | |
| CustomerHasNoOrderSinceAbandonment | Bool | Whether the customer has completed an order since this checkout has been abandoned. | |
| CreatedAt | Datetime | The date and time when the abandonment was created. | |
| IsFromCustomStorefront | Bool | Whether the abandonment event comes from a custom storefront channel. | |
| AbandonedCheckoutPayloadId | String | A globally-unique ID. | |
| AbandonedCheckoutPayloadDefaultCursor | String | A default cursor that returns the single next record, sorted ascending by ID. | |
| AbandonedCheckoutPayloadAbandonedCheckoutUrl | String | The URL for the buyer to recover their checkout. |
Returns the products added to the cart during the customer abandoned visit.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonmentId = 'Val1'
SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| AbandonmentId | String | A globally-unique ID. | |
| AbandonedCheckoutPayloadId [KEY] | String | A globally-unique ID. | |
| ProductId [KEY] | String | A globally-unique ID. | |
| VariantId [KEY] | String | A globally-unique ID. | |
| Quantity | Int | The quantity of the product that the customer requested. |
Returns the products viewed during the customer abandoned visit.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonmentProductsViewed WHERE AbandonmentId = 'Val1'
SELECT * FROM AbandonmentProductsViewed WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| AbandonmentId | String |
Abandonment.Id | A globally-unique ID. |
| AbandonedCheckoutPayloadId [KEY] | String | A globally-unique ID. | |
| ProductId [KEY] | String | A globally-unique ID. | |
| VariantId [KEY] | String | A globally-unique ID. | |
| Quantity | Int | The quantity of the product that the customer requested. |
Lists credits that can be used towards future app purchases.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppCredits WHERE AppInstallationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| AppInstallationId | String | A globally-unique ID. | |
| Description | String | The description of the app credit. | |
| Test | Bool | Whether the app credit is a test transaction. | |
| CreatedAt | Datetime | The date and time when the app credit was created. | |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. |
Returns a list of comments posted on an article.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ArticleComments WHERE ArticleId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ArticleId | String |
Articles.Id | A globally-unique ID. |
| ContentHtml | String | The content of the comment, complete with HTML formatting. | |
| AuthorName | String | The author's name. | |
| AuthorEmail | String | The author's email. |
Returns a list of the shop's visible articles.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Articles WHERE Id = 'Val1'
SELECT * FROM Articles WHERE AuthorV2Name = 'Val1'
SELECT * FROM Articles WHERE AuthorV2FirstName = 'Val1'
SELECT * FROM Articles WHERE AuthorV2LastName = 'Val1'
SELECT * FROM Articles WHERE BlogTitle = 'Val1'
SELECT * FROM Articles WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Articles WHERE UpdatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Title | String | The article's name. | |
| Handle | String | A human-friendly unique string for the Article automatically generated from its title. | |
| Tags | String | A categorization that a article can be tagged with. | |
| ContentHtml | String | The content of the article, complete with HTML formatting. | |
| ExcerptHtml | String | The excerpt of the article, complete with HTML formatting. | |
| OnlineStoreUrl | String | The URL used for viewing the resource on the shop's Online Store. Returns 'null' if the resource is currently not published to the Online Store sales channel. | |
| PublishedAt | Datetime | The date and time when the article was published. | |
| AuthorV2Name | String | The author's full name. | |
| AuthorV2FirstName | String | The author's first name. | |
| AuthorV2LastName | String | The author's last name. | |
| AuthorV2Bio | String | The author's bio. | |
| AuthorV2Email | String | The author's email. | |
| BlogId | String | A globally-unique ID. | |
| BlogTitle | String | The blogs's title. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| SeoTitle | String | The SEO title. | |
| SeoDescription | String | The meta description. | |
| CreatedAt | Datetime | The date and time when the article was created. This column can only be used as an input for filtering. | |
| UpdatedAt | Datetime | The date and time when the article was last updated. This column can only be used as an input for filtering. |
Retrieves a paginated list of fulfillment orders assigned to the shop locations owned by the app. Assigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations managed by fulfillment services that are registered by the app. One app (api_client) can host multiple fulfillment services on a shop. Each fulfillment service manages a dedicated location on a shop. Assigned fulfillment orders can have associated, or might currently not be requested to be fulfilled. The app must have 'read_assigned_fulfillment_orders' to be able to retrieve fulfillment orders assigned to its locations. All assigned fulfillment orders (except those with the 'CLOSED' status) will be returned by default.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AssignedFulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
SELECT * FROM AssignedFulfillmentOrders WHERE AssignmentStatus = 'CANCELLATION_REQUESTED'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopId | String |
Shop.Id | A globally-unique ID. |
| OrderId | String | A globally-unique ID. | |
| Status | String | The status of the fulfillment order. | |
| FulfillAt | Datetime | The date and time at which the fulfillment order will be fulfillable. When this date and time is reached, the scheduled fulfillment order is automatically transitioned to open. For example, the 'fulfill_at' date for a subscription order might be the 1st of each month, a pre-order 'fulfill_at' date would be 'nil', and a standard order 'fulfill_at' date would be the order creation date. | |
| FulfillBy | Datetime | The latest date and time by which all items in the fulfillment order need to be fulfilled. | |
| RequestStatus | String | The request status of the fulfillment order. | |
| CreatedAt | Datetime | Date and time when the fulfillment order was created. | |
| UpdatedAt | Datetime | The date and time when the fulfillment order was last updated. | |
| AssignedLocationName | String | The name of the location. | |
| AssignedLocationAddress1 | String | The first line of the address for the location. | |
| AssignedLocationAddress2 | String | The second line of the address for the location. | |
| AssignedLocationCity | String | The city of the location. | |
| AssignedLocationPhone | String | The phone number of the location. | |
| AssignedLocationProvince | String | The province of the location. | |
| AssignedLocationZip | String | The ZIP code of the location. | |
| AssignedLocationCountryCode | String | The two-letter country code of the location. | |
| AssignedLocationLocationId | String | A globally-unique ID. | |
| AssignedLocationLocationLegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| AssignedLocationLocationName | String | The name of the location. | |
| AssignedLocationLocationActivatable | Bool | Whether this location can be reactivated. | |
| AssignedLocationLocationDeactivatable | Bool | Whether this location can be deactivated. | |
| AssignedLocationLocationDeletable | Bool | Whether this location can be deleted. | |
| AssignedLocationLocationAddressVerified | Bool | Whether the location address has been verified. | |
| AssignedLocationLocationDeactivatedAt | String | The date and time that the location was deactivated at. For example, 3: 30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as '2019-09-07T15: 50: 00Z'. | |
| AssignedLocationLocationIsActive | Bool | Whether the location is active. | |
| AssignedLocationLocationShipsInventory | Bool | Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| AssignedLocationLocationFulfillsOnlineOrders | Bool | Whether this location can fulfill online orders. | |
| AssignedLocationLocationHasActiveInventory | Bool | Whether this location has active inventory. | |
| AssignedLocationLocationHasUnfulfilledOrders | Bool | Whether this location has orders that need to be fulfilled. | |
| DeliveryMethodId | String | A globally-unique ID. | |
| DeliveryMethodMethodType | String | The type of the delivery method. | |
| DeliveryMethodMaxDeliveryDateTime | Datetime | The latest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodMinDeliveryDateTime | Datetime | The earliest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodServiceCode | String | A reference to the shipping method. | |
| DeliveryMethodBrandedPromiseName | String | The name of the branded promise. For example: 'Shop Promise'. | |
| DeliveryMethodBrandedPromiseHandle | String | The handle of the branded promise. For example: 'shop_promise'. | |
| DeliveryMethodAdditionalInformationPhone | String | The phone number to contact when performing the delivery. | |
| DeliveryMethodAdditionalInformationInstructions | String | The delivery instructions to follow when performing the delivery. | |
| DestinationId | String | A globally-unique ID. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationEmail | String | The email of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| DestinationProvince | String | The province of the destination. | |
| DestinationZip | String | The ZIP code of the destination. | |
| DestinationCountryCode | String | The two-letter country code of the destination. | |
| InternationalDutiesIncoterm | String | The method of duties payment. Example values: 'DDP', 'DAP'. | |
| AssignmentStatus | String | The assigment status of the fulfillment orders that should be returned. If assignmentStatus argument is not provided, then the query will return all assigned fulfillment orders, except those that have the CLOSED status.
The allowed values are CANCELLATION_REQUESTED, FULFILLMENT_ACCEPTED, FULFILLMENT_REQUESTED, FULFILLMENT_UNSUBMITTED. |
Retrieves a list of the shop's blogs.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Blogs WHERE Id = 'Val1'
SELECT * FROM Blogs WHERE Title = 'Val1'
SELECT * FROM Blogs WHERE Handle = 'Val1'
SELECT * FROM Blogs WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Blogs WHERE UpdatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Title | String | The blogs's title. | |
| Handle | String | A human-friendly unique string for the Blog automatically generated from its title. | |
| OnlineStoreUrl | String | The URL used for viewing the resource on the shop's Online Store. Returns 'null' if the resource is currently not published to the Online Store sales channel. | |
| SeoTitle | String | The SEO title. | |
| SeoDescription | String | The meta description. | |
| CreatedAt | Datetime | The date and time when the blog was created. This column can only be used as an input for filtering. | |
| UpdatedAt | Datetime | The date and time when the blog was last updated. This column can only be used as an input for filtering. |
Returns a list of activated carrier services and associated shop locations that support them.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM CarrierServices
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Name | String | The name of the shipping service provider. | |
| FormattedName | String | The properly formatted name of the shipping service provider, ready to display. | |
| IconAltText | String | A word or phrase to share the nature or contents of an image. | |
| IconHeight | Int | The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify. | |
| IconId | String | A unique ID for the image. | |
| IconWidth | Int | The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify. |
Retrieves a list of the products inside of a collection.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CollectionProducts WHERE CollectionId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | Globally unique identifier. | |
| CollectionId [KEY] | String |
Collections.Id | A globally-unique identifier for the collection. |
| Title | String | The title of the product. | |
| Position | Int | The position in which the products are sorted. |
Returns available roles for company contacts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyContactRoles WHERE CompanyId = 'Val1'
| Name | Type | References | Description |
| CompanyId | String | The company to which the role belongs. | |
| Id [KEY] | String | A globally-unique ID. | |
| Name | String | The name of a role. For example, 'admin' or 'buyer'. | |
| Note | String | A note for the role. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Companies.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Message | String | Human readable text that describes the event. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Customers.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Message | String | Human readable text that describes the event. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
The list of members, such as customers, that's associated with individual segments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerSegmentMembers WHERE SegmentId = 'Val1'
| Name | Type | References | Description |
| SegmentId [KEY] | String |
Segments.Id | The ID of the segment. |
| Id [KEY] | String | The member's ID. | |
| DisplayName | String | The full name of the member, which is based on the values of the 'first_name' and 'last_name' fields. If the member's first name and last name aren't available, then the customer's email address is used. If the customer's email address isn't available, then the customer's phone number is used. | |
| FirstName | String | The member's first name. | |
| LastName | String | The member's last name. | |
| Note | String | A note about the member. | |
| LastOrderId | String | The ID of the member's most recent order. | |
| NumberOfOrders | String | The total number of orders that the member has made. | |
| AmountSpentAmount | Decimal | Decimal money amount. | |
| AmountSpentCurrencyCode | String | Currency of the money. | |
| DefaultAddressId | String | A globally-unique ID. | |
| DefaultAddressCountry | String | The name of the country. | |
| DefaultAddressProvince | String | The region of the address, such as the province, state, or district. | |
| DefaultAddressCity | String | The name of the city, district, village, or town. | |
| DefaultAddressFormattedArea | String | A comma-separated list of the values for city, province, and country. | |
| DefaultAddressCompany | String | The name of the customer's company or organization. | |
| DefaultAddressAddress1 | String | The first line of the address. Typically the street address or PO Box number. | |
| DefaultAddressAddress2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| DefaultAddressName | String | The full name of the customer, based on firstName and lastName. | |
| DefaultAddressFirstName | String | The first name of the customer. | |
| DefaultAddressLastName | String | The last name of the customer. | |
| DefaultAddressLatitude | Double | The latitude coordinate of the customer address. | |
| DefaultAddressLongitude | Double | The longitude coordinate of the customer address. | |
| DefaultAddressCoordinatesValidated | Bool | Whether the address coordinates are valid. | |
| DefaultAddressPhone | String | A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| DefaultAddressZip | String | The zip or postal code of the address. | |
| DefaultAddressProvinceCode | String | The alphanumeric code for the region. For example, ON. | |
| DefaultAddressCountryCode | String | The two-letter code for the country of the address. For example, US. | |
| DefaultAddressTimeZone | String | The time zone of the address. | |
| DefaultEmailAddressEmailAddress | String | The customer's default email address. | |
| DefaultEmailAddressMarketingState | String | Whether the customer has subscribed to email marketing. | |
| DefaultEmailAddressMarketingUnsubscribeUrl | String | The URL to unsubscribe a member from all mailing lists. | |
| DefaultEmailAddressOpenTrackingLevel | String | Whether the customer has opted in to having their opened emails tracked. | |
| DefaultEmailAddressOpenTrackingUrl | String | The URL that can be used to opt a customer in or out of email open tracking. | |
| DefaultPhoneNumberMarketingState | String | Whether the customer has subscribed to SMS marketing material. | |
| DefaultPhoneNumberPhoneNumber | String | A customer's phone number. | |
| MergeableReason | String | The reason why the customer can't be merged with another customer. | |
| MergeableErrorFields | String | The list of fields preventing the customer from being merged. | |
| MergeableIsMergeable | Bool | Whether the customer can be merged with another customer. | |
| MergeableMergeInProgressJobId | String | The UUID of the merge job. | |
| MergeableMergeInProgressResultingCustomerId | String | The ID of the customer resulting from the merge. | |
| MergeableMergeInProgressStatus | String | The status of the customer merge request. |
Lists countries already selected in any zone for the specified location group.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroupCountries
| Name | Type | References | Description |
| CountryId [KEY] | String | A globally-unique ID. | |
| LocationGroupId [KEY] | String | A globally-unique ID. | |
| DeliveryProfileId | String | The ID of the DeliveryProfile to return. | |
| Zone | String | The name of the shipping zone. | |
| CountryName | String | The full name of the country. | |
| CountryTranslatedName | String | The translated name of the country. The translation returned is based on the system's locale. | |
| CountryCodeCountryCode | String | The country code in the ISO 3166-1 alpha-2 format. | |
| CountryCodeRestOfWorld | Bool | Whether the country is a part of the 'Rest of World' shipping zone. |
Returns the list of regions associated with this country.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroupCountryProvinces
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| CountryId | String | A globally-unique ID. | |
| Code | String | The code of the region. | |
| Name | String | The full name of the region. | |
| TranslatedName | String | The translated name of the region. The translation returned is based on the system's locale. |
Lists the location groups using this profile.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroups
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| DeliveryProfileId | String | The ID of the DeliveryProfile to return. | |
| LocationsCount | Int | A count of all locations that are part of this location group. | |
| LocationsCountPrecision | String | The count's precision, or the exactness of the value. |
Lists the applicable zones associated to the specified location group.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DeliveryProfileLocationGroupZones WHERE DeliveryProfileId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LocationGroupId [KEY] | String | Filter the location groups of the profile by location group ID. | |
| DeliveryProfileId | String | The ID of the DeliveryProfile to return. | |
| Name | String | The name of the zone. | |
| MethodDefinitionCountsParticipantDefinitionsCount | Int | The number of participant method definitions for the specified zone. | |
| MethodDefinitionCountsRateDefinitionsCount | Int | The number of merchant-defined method definitions for the specified zone. |
Lists the locations that have not been assigned to a location group for this profile.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DeliveryProfileUnassignedLocations WHERE DeliveryProfileId = 'Val1'
| Name | Type | References | Description |
| DeliveryProfileId [KEY] | String | A globally-unique ID. | |
| LocationId [KEY] | String |
Locations.Id | A globally-unique ID. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DiscountEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String | A globally-unique ID. | |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Message | String | Human readable text that describes the event. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeFreeShipping WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeFreeShipping WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeFreeShipping WHERE StartsAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Title | String | The title of the discount. | |
| Status | String | The status of the discount. | |
| Summary | String | A detailed summary of the discount. | |
| CodesCount | Int | The number of redeem codes for the discount. | |
| CodesCountPrecision | String | The count's precision, or the exactness of the value. | |
| DiscountClass | String | The class of the discount for combining purposes. | |
| EndsAt | Datetime | The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| ShortSummary | String | A short summary of the discount. | |
| StartsAt | Datetime | The date and time when the discount starts. | |
| UsageLimit | Int | The maximum number of times that the discount can be used. | |
| AppliesOnSubscription | Bool | Whether the discount applies on subscription shipping lines. | |
| AsyncUsageCount | Int | The number of times that the discount has been used. | |
| HasTimelineComment | Bool | Indicates whether there are any timeline comments on the discount. | |
| RecurringCycleLimit | Int | The number of times a discount applies on recurring purchases (subscriptions). | |
| AppliesOncePerCustomer | Bool | Whether the discount can be applied only once per customer. | |
| AppliesOnOneTimePurchase | Bool | Whether the discount applies on regular one-time-purchase shipping lines. | |
| CreatedAt | Datetime | The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | Combines with shipping discounts. | |
| DiscountCustomerAllAllCustomers | Bool | Whether the discount can be applied by all customers. This value is always 'true'. | |
| DiscountCountriesCountries | String | The codes for the countries where the discount can be applied. | |
| DiscountCountriesIncludeRestOfWorld | Bool | Whether the discount is applicable to countries that have not been defined in the shop's shipping zones. | |
| DiscountCountryAllAllCountries | Bool | Whether the discount can be applied to all countries as shipping destination. This value is always 'true'. | |
| MaximumShippingPriceAmount | Decimal | Decimal money amount. | |
| MaximumShippingPriceCurrencyCode | String | Currency of the money. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | The minimum quantity of items that's required for the discount to be applied. | |
| TotalSalesAmount | Decimal | Decimal money amount. | |
| TotalSalesCurrencyCode | String | Currency of the money. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String |
DraftOrders.Id | A globally-unique ID. |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
DraftOrders.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Message | String | Human readable text that describes the event. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItemCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Returns a list of the line items in the draft order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItems WHERE DraftOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| DraftOrderId | String |
DraftOrders.Id | A globally-unique ID. |
| Name | String | The name of the product. | |
| Title | String | The title of the product or variant. This field only applies to custom line items. | |
| VariantTitle | String | The name of the variant. | |
| Custom | Bool | Whether the line item is a custom line item ('true') or a product variant line item ('false'). | |
| Quantity | Int | The number of product variants that are requested in the draft order. | |
| Sku | String | The SKU number of the product variant. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who created the product variant. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| IsGiftCard | Bool | Whether the line item is a gift card. | |
| AppliedDiscountTitle | String | Name of the order-level discount. | |
| AppliedDiscountDescription | String | Description of the order-level discount. | |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. | |
| AppliedDiscountValueType | String | Type of the order-level discount. | |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. | |
| AppliedDiscountAmountV2CurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| FulfillmentServiceId | String | The ID of the fulfillment service. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ProductId | String | A globally-unique ID. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| VariantId | String | A globally-unique ID. | |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. | |
| WeightUnit | String | The unit of measurement for 'value'. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String |
DraftOrders.Id | A globally-unique ID. |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Line items from orders that are included in fulfillments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentLineItems WHERE FulfillmentId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| FulfillmentId | String |
Fulfillments.Id | A globally-unique ID. |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| Quantity | Int | Number of line items in the fulfillment. | |
| LineItemId | String | A globally-unique ID. | |
| LineItemName | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| LineItemTitle | String | The title of the product at time of order creation. | |
| LineItemVariantTitle | String | The title of the variant at time of order creation. | |
| LineItemVariantId | String | A globally-unique ID. | |
| LineItemProductId | String | A globally-unique ID. | |
| LineItemSellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| LineItemQuantity | Int | The number of variant units ordered. | |
| LineItemRestockable | Bool | Whether the line item can be restocked. | |
| LineItemSku | String | The variant SKU number. | |
| LineItemTaxable | Bool | Whether the variant is taxable. | |
| LineItemVendor | String | The name of the vendor who made the variant. | |
| LineItemCurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemMerchantEditable | Bool | Whether the line item can be edited or not. | |
| LineItemRefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemRequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| LineItemUnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| LineItemNonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| LineItemIsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| LineItemDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemDiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemDiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemImageId | String | A unique ID for the image. | |
| LineItemImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| LineItemImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageUrl | String | The location of the image as a URL. | |
| LineItemOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemOriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemOriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemTotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemTotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemTotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemTotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
A list of the fulfillment order's line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentOrderLineItems WHERE FulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The unique identifier of the line item. | |
| FulfillmentOrderId | String | The unique identifier of the fulfillment order. | |
| FulfillmentOrderUpdatedAt | Datetime | The date and time when the fulfillment order was last updated. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| InventoryItemId | String | The ID of the inventory item. | |
| Sku | String | The variant SKU number. | |
| ProductTitle | String | The title of the product. | |
| VariantTitle | String | The name of the variant. | |
| Vendor | String | The name of the vendor who made the variant. | |
| RemainingQuantity | Int | The number of units remaining to be fulfilled. | |
| TotalQuantity | Int | The total number of units to be fulfilled. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| WeightUnit | String | The weight of a line item unit. The unit of measurement for value. | |
| WeightValue | Double | The weight value using the unit system specified with unit. | |
| Warnings | String | Warning messages for a fulfillment order line item. | |
| FinancialSummaries | String | The financial summary for the Fulfillment Order's Line Items. |
A list of the fulfillment order's line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE FulfillmentOrderId = 'Val1'
SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE LocationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The unique identifier of the line item. | |
| FulfillmentOrderId | String | The unique identifier of the fulfillment order. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| InventoryItemId | String | The ID of the inventory item. | |
| Sku | String | The variant SKU number. | |
| ProductTitle | String | The title of the product. | |
| VariantTitle | String | The name of the variant. | |
| Vendor | String | The name of the vendor who made the variant. | |
| RemainingQuantity | Int | The number of units remaining to be fulfilled. | |
| TotalQuantity | Int | The total number of units to be fulfilled. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| WeightUnit | String | The weight of a line item unit. The unit of measurement for value. | |
| WeightValue | Double | The weight value using the unit system specified with unit. | |
| Warnings | String | Warning messages for a fulfillment order line item. | |
| FinancialSummaries | String | The financial summary for the Fulfillment Order's Line Items. | |
| LocationId [KEY] | String | The unique identifier of the location. |
A list of locations that the fulfillment order can potentially move to.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrderLocationsForMove WHERE FulfillmentOrderId = 'Val1'
SELECT * FROM FulfillmentOrderLocationsForMove WHERE LocationId = 'Val1'
| Name | Type | References | Description |
| FulfillmentOrderId [KEY] | String | The unique identifier of the fulfillment order. | |
| LocationId [KEY] | String | The unique identifier of the location. | |
| AvailableLineItemsCount | Int | Total number of fulfillment order line items that can be moved from their current assigned location to the given location. | |
| AvailableLineItemsCountPrecision | String | The count's precision, or the exactness of the value. | |
| UnavailableLineItemsCount | Int | Total number of fulfillment order line items that can't be moved from their current assigned location to the given location. | |
| UnavailableLineItemsCountPrecision | String | The count's precision, or the exactness of the value. | |
| Movable | Bool | Whether the fulfillment order can be moved to the location. | |
| Message | String | A human-readable string with the reason why the fulfillment order, or some of its line items, can't be moved to the location. |
Sets of inventory quantity changes that occurred in inventory events.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND InventoryItemId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND LocationId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND Name = 'Val1'
| Name | Type | References | Description |
| InventoryAdjustmentGroupId [KEY] | String | A globally-unique ID. | |
| InventoryItemId [KEY] | String | A globally-unique ID. | |
| LocationId [KEY] | String | A globally-unique ID. | |
| Name [KEY] | String | The name of the inventory quantity that was changed. | |
| Delta | Int | The amount by which the inventory quantity was changed. | |
| QuantityAfterChange | Int | The quantity of named inventory after the change. | |
| LedgerDocumentUri | String | A URI that represents what the inventory quantity change was applied to. |
Groups of adjustments made as part of inventory operations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryAdjustmentGroups WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Reason | String | The reason for the group of adjustments. | |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. This can be the entity adjusting inventory quantities or the Shopify resource that's associated with the inventory adjustment. For example, a unit in a draft order might have been previously reserved, and a merchant later creates an order from the draft order. In this case, the 'referenceDocumentUri' for the inventory adjustment is a URI referencing the order ID. | |
| CreatedAt | Datetime | The date and time the inventory adjustment group was created. | |
| AppId | String | A globally-unique ID. | |
| StaffMemberId | String | A globally-unique ID. (This column is available only with a ShopifyPlus subscription) |
Returns a list of country specific harmonized system codes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemCountryHarmonizedSystemCodes WHERE InventoryItemId = 'Val1'
| Name | Type | References | Description |
| InventoryItemId | String | A globally-unique ID. | |
| CountryCode | String | The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. | |
| HarmonizedSystemCode [KEY] | String | The country-specific harmonized system code. These are usually longer than 6 digits. |
List quantities for inventory items at specific locations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryItemInventoryLevelQuantities WHERE InventoryLevelId = 'Val1'
SELECT * FROM InventoryItemInventoryLevelQuantities WHERE Name = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| InventoryItemId | String | A globally-unique ID. | |
| InventoryLevelId | String | A globally-unique ID. | |
| InventoryLevelLocationId | String | A globally-unique ID. | |
| Name | String | The name that identifies the inventory quantity. | |
| Quantity | Int | The quantity for the quantity name. | |
| UpdatedAt | Datetime | When the quantity was last updated. |
Scheduled changes for inventory levels.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemInventoryLevelScheduledChanges WHERE InventoryLevelId = 'Val1'
| Name | Type | References | Description |
| InventoryItemId | String | A globally-unique ID. | |
| InventoryLevelId | String | A globally-unique ID. | |
| ExpectedAt | Datetime | The date and time that the scheduled change is expected to happen. | |
| FromName | String | The quantity name to transition from. | |
| ToName | String | The quantity name to transition to. | |
| Quantity | Int | The quantity of the scheduled change associated with the ledger document in the 'fromName' state. | |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Jobs WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID that's returned when running an asynchronous mutation. | |
| Done | Bool | This indicates if the job is still queued or has been run. |
Returns a list of marketing events associated with the marketing app.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM MarketingEvents WHERE Id = 'Val1'
SELECT * FROM MarketingEvents WHERE AppId = 'Val1'
SELECT * FROM MarketingEvents WHERE Type = 'Val1'
SELECT * FROM MarketingEvents WHERE StartedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| RemoteId | String | An optional ID that helps Shopify validate engagement data. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| AppId | String | A globally-unique ID. | |
| MarketingChannelType | String | The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. | |
| Description | String | A human-readable description of the marketing event. | |
| Type | String | The marketing event type. | |
| EndedAt | Datetime | The date and time when the marketing event ended. | |
| ManageUrl | String | The URL where the marketing event can be managed. | |
| PreviewUrl | String | The URL where the marketing event can be previewed. | |
| StartedAt | Datetime | The date and time when the marketing event started. | |
| UtmCampaign | String | The name of the marketing campaign. | |
| UtmMedium | String | The medium that the marketing campaign is using. Example values: 'cpc', 'banner'. | |
| UtmSource | String | The referrer of the marketing event. Example values: 'google', 'newsletter'. | |
| SourceAndMedium | String | Where the 'MarketingEvent' occurred and what kind of content was used. Because 'utmSource' and 'utmMedium' are often used interchangeably, this is based on a combination of 'marketingChannel', 'referringDomain', and 'type' to provide a consistent representation for any given piece of marketing regardless of the app that created it. | |
| ScheduledToEndAt | Datetime | The date and time when the marketing event is scheduled to end. |
Provides the definition of a generic object structure composed of metafields.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetaobjectDefinitions
| Name | Type | References | Description |
| ID [KEY] | String | A globally-unique ID. | |
| Name | String | The human-readable name. | |
| MetaobjectsCount | Int | The count of metaobjects created for the definition. | |
| Type | String | The type of the object definition. Defines the namespace of associated metafields. | |
| Description | String | The administrative description. | |
| DisplayNameKey | String | The key of a field to reference as the display name for each object. | |
| AccessAdmin | String | Access configuration for the metaobject definition. Access configuration for Admin API surface areas, including the GraphQL Admin API. | |
| AccessStorefront | String | Access configuration for the metaobject definition. Access configuration for Storefront surface areas, including the GraphQL Storefront API and Liquid. | |
| CapabilitiesPublishableEnabled | Bool | The capabilities of the metaobject definition. Indicate whether a metaobject definition is publishable. Indicates if the capability is enabled. | |
| CapabilitiesTranslatableEnabled | Bool | The capabilities of the metaobject definition. Indicate whether a metaobject definition is translatable. Indicates if the capability is enabled. | |
| CapabilitiesOnlineStoreEnabled | Bool | The capabilities of the metaobject definition. Indicates whether a metaobject definition can be displayed as a page on the Online Store. Indicates if the capability is enabled. | |
| CapabilitiesOnlineStoreDataCanCreateRedirects | Bool | The capabilities of the metaobject definition. Indicates whether a metaobject definition can be displayed as a page on the Online Store. The data associated with the Online Store capability. Flag indicating if a sufficient number of redirects are available to redirect all published entries. | |
| CapabilitiesOnlineStoreDataUrlHandle | String | The capabilities of the metaobject definition. Indicates whether a metaobject definition can be displayed as a page on the Online Store. The data associated with the Online Store capability. The URL handle for accessing pages of this metaobject type in the Online Store. | |
| CapabilitiesRenderableEnabled | Bool | The capabilities of the metaobject definition. Indicate whether a metaobject definition is renderable and exposes SEO data. Indicates if the capability is enabled. | |
| CapabilitiesRenderableDataMetaDescriptionKey | String | The capabilities of the metaobject definition. Indicate whether a metaobject definition is renderable and exposes SEO data. The data associated with the renderable capability. The metaobject field used as an alias for the SEO page description. | |
| CapabilitiesRenderableDataMetaTitleKey | String | The capabilities of the metaobject definition. Indicate whether a metaobject definition is renderable and exposes SEO data. The data associated with the renderable capability. The metaobject field used as an alias for the SEO page title. |
All metaobjects for the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM MetaObjects WHERE Type = 'Val1'
| Name | Type | References | Description |
| ID [KEY] | String | A globally-unique ID. | |
| Handle | String | The unique handle of the object, useful as a custom ID. | |
| DisplayName | String | The preferred display name field value of the metaobject. | |
| CreatedByDeveloperName | String | The name of the app developer. | |
| DefinitionId | String | The identifier of the MetaobjectDefinition that models this object type. | |
| Title | String | Name of the app. | |
| Type | String | The type of the metaobject. | |
| Key [KEY] | String | The object key of this field. | |
| Value | String | The assigned field value, always stored as a string regardless of the field type. | |
| TypeField | String | The type of the field. | |
| UpdatedAt | Datetime | When the object was last updated. | |
| CapabilitiesPublishableStatus | String | Metaobject capabilities for this Metaobject. The publishable capability for this metaobject. | |
| CapabilitiesOnlineStoreTemplateSuffix | String | Metaobject capabilities for this Metaobject. The Online Store capability for this metaobject. The theme template used when viewing the metaobject in a store. | |
| ThumbnailFieldKey | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The object key of this field. | |
| ThumbnailFieldThumbnailHex | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The hexadecimal color code to be used for respresenting this metaobject. | |
| ThumbnailFieldFileId | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. A globally-unique ID. | |
| ThumbnailFieldFileAlt | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. A word or phrase to describe the contents or the function of a file. | |
| ThumbnailFieldFileCreatedAt | Datetime | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The date and time when the file was created. | |
| ThumbnailFieldFileUpdatedAt | Datetime | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The date and time when the file was last updated. | |
| ThumbnailFieldFileFileStatus | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The status of the file. | |
| ThumbnailFieldFileFileErrors | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. Any errors that have occurred on the file. | |
| ThumbnailFieldFilePreviewStatus | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. Current status of the preview image. | |
| ThumbnailFieldFilePreviewImageId | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. A unique ID for the image. | |
| ThumbnailFieldFilePreviewImageAltText | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. A word or phrase to share the nature or contents of an image. | |
| ThumbnailFieldFilePreviewImageHeight | Int | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. The original height of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| ThumbnailFieldFilePreviewImageWidth | Int | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. The original width of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| ThumbnailFieldFilePreviewImageUrl | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. The location of the image as a URL. |
A list of additional fees applied to the order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAdditionalFees WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| OrderId | String |
Orders.Id | A globally-unique ID. |
| Name | String | The name of the additional fee. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | A sale associated with an additional fee charge. The additional fees for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | A sale associated with a duty charge. The duty for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | A sale associated with a gift card. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | A sale associated with a product. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales agreements associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| Id [KEY] | String | The unique ID for the agreement. | |
| HappenedAt | Datetime | The date and time at which the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The staff member associated with the agreement. A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| AppApiKey | String | The application that created the agreement. A unique application API identifier. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | A sale associated with a shipping charge. The shipping line item for the associated sale. shippingLine is not available if the SaleActionType is a return. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | A sale associated with a tip. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String |
Orders.Id | A globally-unique ID. |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Returns a list of discounts that are applied to the order, not including order edits and refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderDiscountApplications WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId [KEY] | String |
Orders.Id | A globally-unique ID. |
| AllocationMethod | String | The method by which the discount's value is applied to its entitled items. | |
| Index [KEY] | Int | An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations. | |
| TargetSelection | String | How the discount amount is distributed on the discounted lines. | |
| TargetType | String | Whether the discount is applied on line items or shipping lines. | |
| ValueAmount | Decimal | The value of the discount application. Decimal money amount. | |
| ValueCurrencyCode | String | The value of the discount application. Currency of the money. | |
| ValuePercentage | Double | The value of the discount application. The percentage value of the object. This is a number between -100 (free) and 0 (no discount). | |
| AutomaticDiscountApplicationTitle | String | The title of the discount application. | |
| DiscountCodeApplicationCode | String | The string identifying the discount code that was used at the time of application. | |
| ManualDiscountApplicationTitle | String | The title of the discount application. | |
| ManualDiscountApplicationDescription | String | The description of the discount application. | |
| ScriptDiscountApplicationTitle | String | The title of the discount application. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | A sale associated with an additional fee charge. The additional fees for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | A sale associated with a duty charge. The duty for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | A sale associated with a gift card. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | A sale associated with a product. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales agreements associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| Id [KEY] | String | The unique ID for the agreement. | |
| HappenedAt | Datetime | The date and time at which the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The staff member associated with the agreement. A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| AppApiKey | String | The application that created the agreement. A unique application API identifier. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | A sale associated with a shipping charge. The shipping line item for the associated sale. shippingLine is not available if the SaleActionType is a return. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | A sale associated with a tip. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Orders.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Message | String | Human readable text that describes the event. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Retrieves the discounts that have been allocated onto the line item by discount applications, not including order edits and refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemDiscountAllocations WHERE OrderLineItemId = 'Val1'
| Name | Type | References | Description |
| OrderLineItemId [KEY] | String | The ID of the Order to return. | |
| DiscountApplicationIndex [KEY] | Decimal | An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations. | |
| AllocatedAmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AllocatedAmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AllocatedAmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AllocatedAmountSetShopMoneyCurrencyCode | String | Currency of the money. |
Lists the duties associated with the line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemDuties WHERE LineItemId = 'Val1'
| Name | Type | References | Description |
| LineItemId | String | A globally-unique ID. | |
| Id [KEY] | String | A globally-unique ID. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves line items associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Orders.Id | A globally-unique ID. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at time of order creation. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| VariantId | String | A globally-unique ID. | |
| ProductId | String | A globally-unique ID. | |
| SellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| MerchantEditable | Bool | Whether the line item can be edited or not. | |
| RefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OrderUpdatedAt | Datetime | The date and time when the order was modified last. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Lists the duties associated with the line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderNonFulfillableLineItemDuties WHERE LineItemId = 'Val1'
| Name | Type | References | Description |
| LineItemId | String | A globally-unique ID. | |
| Id [KEY] | String | A globally-unique ID. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of line items in the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderNonFulfillableLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Orders.Id | A globally-unique ID. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at time of order creation. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| VariantId | String | A globally-unique ID. | |
| ProductId | String | A globally-unique ID. | |
| SellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| MerchantEditable | Bool | Whether the line item can be edited or not. | |
| RefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | A sale associated with an additional fee charge. The additional fees for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | A sale associated with a duty charge. The duty for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | A sale associated with a gift card. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | A sale associated with a product. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales agreements associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| Id [KEY] | String | The unique ID for the agreement. | |
| HappenedAt | Datetime | The date and time at which the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The staff member associated with the agreement. A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| AppApiKey | String | The application that created the agreement. A unique application API identifier. | |
| RefundId | String |
Refunds.Id | The refund associated with the agreement. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | A sale associated with a shipping charge. The shipping line item for the associated sale. shippingLine is not available if the SaleActionType is a return. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | A sale associated with a tip. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String |
Orders.Id | A globally-unique ID. |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Returns a list of the shop's pages.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Pages WHERE Title = 'Val1'
SELECT * FROM Pages WHERE Handle = 'Val1'
SELECT * FROM Pages WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Pages WHERE UpdatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Title | String | The title of the page. | |
| Body | String | The description of the page, complete with HTML formatting. | |
| Handle | String | A human-friendly unique string for the page automatically generated from its title. | |
| BodySummary | String | Summary of the page body. | |
| OnlineStoreUrl | String | The URL used for viewing the resource on the shop's Online Store. Returns 'null' if the resource is currently not published to the Online Store sales channel. | |
| CreatedAt | Datetime | The timestamp of the page creation. | |
| UpdatedAt | Datetime | The timestamp of the latest page update. | |
| SeoTitle | String | The SEO title. | |
| SeoDescription | String | The meta description. |
A list of prices associated with a price list.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PriceListPrices WHERE PriceListId = 'Val1'
| Name | Type | References | Description |
| PriceListId [KEY] | String |
PriceLists.Id | The unique identifier of the price list. |
| ProductVariantId [KEY] | String | The unique identifier of the product variant associated with this price. | |
| OriginType | String | The origin of a price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration). | |
| PriceAmount | Decimal | The price of the product variant on this price list. Decimal money amount. | |
| PriceCurrencyCode | String | The price of the product variant on this price list. Currency of the money. | |
| CompareAtPriceAmount | Decimal | The compare-at price of the product variant on this price list. Decimal money amount. | |
| CompareAtPriceCurrencyCode | String | The compare-at price of the product variant on this price list. Currency of the money. |
Returns a list of collections published to the publication.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PublicationCollections WHERE PublicationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| PublicationId [KEY] | String |
Publications.Id | A globally-unique ID. |
Returns the list of publication for products.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PublicationProducts WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String |
Products.Id | A globally-unique ID. |
| PublishDate | Datetime | The date that the resource publication was or is going to be published to the publication. | |
| IsPublished | Bool | Whether the resource publication is published. | |
| PublicationId [KEY] | String | A globally-unique ID. | |
| PublicationName | String | Name of the publication. |
Lists the refunded duties as part of this refund.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundDuties WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| OriginalDutyId [KEY] | String | A globally-unique ID. | |
| RefundId [KEY] | String |
Refunds.Id | A globally-unique ID. |
| OriginalDutyHarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| OriginalDutyCountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. |
Lists the duties associated with the line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundLineItemDuties WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| RefundId | String | A globally-unique ID. | |
| LineItemId | String | A globally-unique ID. | |
| Id [KEY] | String | A globally-unique ID. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves the 'RefundLineItem' resources attached to the refund.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundLineItems WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| LineItemId [KEY] | String | A globally-unique ID. | |
| RefundId [KEY] | String |
Refunds.Id | A globally-unique ID. |
| LineItemName | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| LineItemTitle | String | The title of the product at time of order creation. | |
| LineItemVariantTitle | String | The title of the variant at time of order creation. | |
| LineItemQuantity | Int | The number of variant units ordered. | |
| LineItemRestockable | Bool | Whether the line item can be restocked. | |
| LineItemSku | String | The variant SKU number. | |
| LineItemTaxable | Bool | Whether the variant is taxable. | |
| LineItemVendor | String | The name of the vendor who made the variant. | |
| LineItemCurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemMerchantEditable | Bool | Whether the line item can be edited or not. | |
| LineItemRefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemNonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| LineItemRequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| LineItemUnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| LineItemImageId | String | A unique ID for the image. | |
| LineItemImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| LineItemImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageUrl | String | The location of the image as a URL. | |
| LineItemProductId | String | A globally-unique ID. | |
| LineItemVariantId | String | A globally-unique ID. | |
| LineItemSellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| LineItemStaffMemberId | String | A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| Quantity | Int | The quantity of a refunded line item. | |
| Restocked | Bool | Whether the refunded line item was restocked. Not applicable in the context of a SuggestedRefund. | |
| RestockType | String | The type of restock for the refunded line item. | |
| LocationId | String | A globally-unique ID. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| SubtotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| SubtotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemContractId | String | A globally-unique ID. |
Returns the transaction fees charged on the order transaction. Only present for Shopify Payments transactions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundTransactionFees WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| TransactionId | String | A globally-unique ID. | |
| RefundId | String |
Refunds.Id | A globally-unique ID. |
| RateName | String | Name of the credit card rate. | |
| FlatFeeName | String | Name of the credit card flat fee. | |
| Rate | Decimal | Percentage charge. | |
| Type | String | Name of the type of fee. | |
| AmountAmount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| FlatFeeAmount | Decimal | Decimal money amount. | |
| FlatFeeCurrencyCode | String | Currency of the money. | |
| TaxAmountAmount | Decimal | Decimal money amount. | |
| TaxAmountCurrencyCode | String | Currency of the money. |
Retrieves the transactions associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundTransactions WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId [KEY] | String |
Refunds.Id | A globally-unique ID. |
| PaymentId | String | The payment ID associated with the transaction. | |
| ParentTransactionId | String | The associated parent transaction, for example the authorization of a capture. | |
| AccountNumber | String | The masked account number associated with the payment method. | |
| Gateway | String | The payment gateway used to process the transaction. | |
| Kind | String | The kind of transaction. | |
| Status | String | The status of this transaction. | |
| Test | Bool | Whether the transaction is a test transaction. | |
| AuthorizationCode | String | Authorization code associated with the transaction. | |
| ErrorCode | String | A standardized error code, independent of the payment provider. | |
| FormattedGateway | String | The human-readable payment gateway name used to process the transaction. | |
| ManuallyCapturable | Bool | Whether the transaction can be manually captured. | |
| MultiCapturable | Bool | Whether the transaction can be captured multiple times. | |
| ProcessedAt | Datetime | Date and time when the transaction was processed. | |
| ReceiptJson | String | The transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction. | |
| SettlementCurrency | String | The settlement currency. | |
| AuthorizationExpiresAt | Datetime | The time when the authorization expires. This field is available only to stores on a Shopify Plus plan and is populated only for Shopify Payments authorizations. | |
| SettlementCurrencyRate | Decimal | The rate used when converting the transaction amount to settlement currency. | |
| CreatedAt | Datetime | Date and time when the transaction was created. | |
| CardPaymentDetailsName | String | The holder of the credit card. | |
| CardPaymentDetailsBin | String | The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number. | |
| CardPaymentDetailsCompany | String | The name of the company that issued the customer's credit card. | |
| CardPaymentDetailsNumber | String | The customer's credit card number, with most of the leading digits redacted. | |
| CardPaymentDetailsWallet | String | Digital wallet used for the payment. | |
| CardPaymentDetailsExpirationMonth | Int | The month in which the used credit card expires. | |
| CardPaymentDetailsExpirationYear | Int | The year in which the used credit card expires. | |
| CardPaymentDetailsAvsResultCode | String | The response code from the address verification system (AVS). The code is always a single letter. | |
| CardPaymentDetailsCvvResultCode | String | The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string. | |
| PaymentIconId | String | A unique ID for the image. | |
| PaymentIconWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| PaymentIconAltText | String | A word or phrase to share the nature or contents of an image. | |
| PaymentIconHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| MaximumRefundableV2Amount | Decimal | Decimal money amount. | |
| MaximumRefundableV2CurrencyCode | String | Currency of the money. | |
| ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt | Datetime | The time after which the extended authorization expires. After the expiry, the merchant is unable to capture the payment. | |
| ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt | Datetime | The time after which capture will incur an additional fee. | |
| ShopifyPaymentsSetRefundSetAcquirerReferenceNumber | String | The acquirer reference number (ARN) code generated for Visa/Mastercard transactions. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalUnsettledSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalUnsettledSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of line items in the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnExchangeLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Returns.Id | A globally-unique ID. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at time of order creation. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| VariantId | String | A globally-unique ID. | |
| ProductId | String | A globally-unique ID. | |
| SellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| MerchantEditable | Bool | Whether the line item can be edited or not. | |
| RefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves the return line items attached to the return.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnLineItems WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ReturnId [KEY] | String |
Returns.Id | A globally-unique ID. |
| Quantity | Int | The quantity being returned. | |
| CustomerNote | String | A note from the customer that describes the item to be returned. Maximum length: 300 characters. | |
| RefundableQuantity | Int | The quantity that can be refunded. | |
| RefundedQuantity | Int | The quantity that was refunded. | |
| ReturnReason | String | The reason for returning the item. | |
| ReturnReasonNote | String | Additional information about the reason for the return. Maximum length: 255 characters. | |
| TotalWeightUnit | String | The unit of measurement for `value`. | |
| TotalWeightValue | Double | The weight value using the unit system specified with `unit`. | |
| WithCodeDiscountedTotalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| WithCodeDiscountedTotalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| WithCodeDiscountedTotalPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| WithCodeDiscountedTotalPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| FulfillmentLineItemId | String | A globally-unique ID. |
The parameters for event segment filters.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM SegmentFilterParameters
| Name | Type | References | Description |
| SegmentFilterQueryName [KEY] | String | The query name of the filter. | |
| QueryName [KEY] | String | The query name of the parameter. | |
| ParameterType | String | The type of the parameter. | |
| Optional | Bool | Whether the parameter is optional. | |
| AcceptsMultipleValues | Bool | Whether the parameter accepts a list of values. | |
| LocalizedName | String | The localized name of the parameter. | |
| LocalizedDescription | String | The localized description of the parameter. |
A list of filters.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM SegmentFilters
| Name | Type | References | Description |
| QueryName [KEY] | String | The query name of the filter. | |
| MultiValue | Bool | Whether a file can have multiple values for a single customer. | |
| LocalizedName | String | The localized name of the filter. | |
| ReturnValueType | String | The return value type for an event segment filter. |
Retrieves selling plans associated to the selling plan group.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM SellingPlanGroupSellingPlans WHERE SellingPlanGroupId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| SellingPlanGroupId | String | A globally-unique ID. | |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. | |
| Category | String | The category used to classify the selling plan for reporting purposes.
The allowed values are OTHER, PRE_ORDER, SUBSCRIPTION, TRY_BEFORE_YOU_BUY. | |
| Description | String | Buyer facing string which describes the selling plan commitment. | |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. | |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. | |
| CreatedAt | Datetime | The date and time when the selling plan was created. | |
| InventoryPolicyReserve | String | When to reserve inventory for the order.
The allowed values are ON_FULFILLMENT, ON_SALE. | |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge.
The allowed values are PERCENTAGE, PRICE. | |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. | |
| FixedBillingPolicyCheckoutChargeValueCurrencyCode | String | The charge value for the checkout charge. Currency of the money. | |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. | |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. | |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. | |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due.
The allowed values are EXACT_TIME, NO_REMAINING_BALANCE, TIME_AFTER_CHECKOUT. | |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. | |
| RecurringBillingPolicyCreatedAt | Datetime | The date and time when the selling plan billing policy was created. | |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year.
The allowed values are DAY, MONTH, WEEK, YEAR. | |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. | |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. | |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. | |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. | |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. | |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. | |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.
The allowed values are ANCHOR, ASAP, EXACT_TIME, UNKNOWN. | |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. | |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
The allowed values are ASAP, NEXT. | |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. | |
| RecurringDeliveryPolicyCreatedAt | Datetime | The date and time when the selling plan delivery policy was created. | |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. | |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
The allowed values are FULFILLMENT_BEGIN. | |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. | |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. | |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
The allowed values are ASAP, NEXT. | |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. | |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
Returns the Shop resource corresponding to the access token used in the request. The Shop resource contains business and store management settings for the shop.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Shop
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Name | String | The shop's name. | |
| RichTextEditorUrl | String | The URL of the rich text editor that can be used for mobile devices. | |
| Description | String | The shop's meta description used in search engine results. | |
| String | The shop owner's email address. Shopify will use this email address to communicate with the shop owner. | ||
| Url | String | The URL of the shop's online store. | |
| ContactEmail | String | The public-facing contact email address for the shop. Customers will use this email to communicate with the shop owner. | |
| CurrencyCode | String | The three letter code for the currency that the shop sells in. | |
| CustomerAccounts | String | Whether customer accounts are required, optional, or disabled for the shop. | |
| IanaTimezone | String | The shop's time zone as defined by the IANA. | |
| MyshopifyDomain | String | The shop's . myshopify. com domain name. | |
| PublicationsCount | Int | The number of publications for the shop. | |
| PublicationsCountPrecision | String | The count's precision, or the exactness of the value. | |
| SetupRequired | Bool | Whether the shop has outstanding setup steps. | |
| TaxShipping | Bool | Whether the shop charges taxes for shipping. | |
| TaxesIncluded | Bool | Whether applicable taxes are included in the shop's product prices. | |
| TimezoneAbbreviation | String | The shop's time zone abbreviation. | |
| TimezoneOffset | String | The shop's time zone offset. | |
| UnitSystem | String | The shop's unit system for weights and measures. | |
| WeightUnit | String | The shop's primary unit of weight for products and shipping. | |
| CheckoutApiSupported | Bool | Specifies whether the shop supports checkouts via Checkout API. | |
| EnabledPresentmentCurrencies | String | The presentment currencies enabled for the shop. | |
| ShipsToCountries | String | The list of countries that the shop ships to. | |
| TimezoneOffsetMinutes | Int | The shop's time zone offset expressed as a number of minutes. | |
| TransactionalSmsDisabled | Bool | Whether transactional SMS sent by Shopify have been disabled for a shop. | |
| OrderNumberFormatPrefix | String | The prefix that appears before order numbers. | |
| OrderNumberFormatSuffix | String | The suffix that appears after order numbers. | |
| BillingAddressId | String | A globally-unique ID. | |
| BillingAddressCoordinatesValidated | Bool | Whether the address coordinates are valid. | |
| BillingAddressAddress1 | String | The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | The name of the city, district, village, or town. | |
| BillingAddressCompany | String | The name of the company or organization. | |
| BillingAddressCountry | String | The name of the country. | |
| BillingAddressLatitude | Double | The latitude coordinate of the address. | |
| BillingAddressLongitude | Double | The longitude coordinate of the address. | |
| BillingAddressPhone | String | A phone number associated with the address. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | The region of the address, such as the province, state, or district. | |
| BillingAddressZip | String | The zip or postal code of the address. | |
| BillingAddressFormattedArea | String | A comma-separated list of the values for city, province, and country. | |
| BillingAddressProvinceCode | String | The two-letter code for the region. For example, ON. | |
| BillingAddressCountryCodeV2 | String | The two-letter code for the country of the address. For example, US. | |
| CountriesInShippingZonesCountryCodes | String | The list of all the countries from all the combined shipping zones. | |
| CountriesInShippingZonesIncludeRestOfWorld | Bool | Whether 'Rest of World' has been defined in any of the shipping zones. | |
| CurrencyFormatsMoneyFormat | String | Money without currency in HTML. | |
| CurrencyFormatsMoneyInEmailsFormat | String | Money without currency in emails. | |
| CurrencyFormatsMoneyWithCurrencyFormat | String | Money with currency in HTML. | |
| CurrencyFormatsMoneyWithCurrencyInEmailsFormat | String | Money with currency in emails. | |
| FeaturesInternationalPriceOverrides | Bool | Whether a shop can enable international price overrides. | |
| FeaturesBranding | String | The branding of the shop, which influences its look and feel in the Shopify admin. | |
| FeaturesCaptcha | Bool | Whether a shop's online store can have CAPTCHA protection. | |
| FeaturesReports | Bool | Whether a shop has access to all reporting features. | |
| FeaturesStorefront | Bool | Whether a shop has an online store. | |
| FeaturesAvalaraAvatax | Bool | Whether a shop has access to Avalara AvaTax. | |
| FeaturesDynamicRemarketing | Bool | Whether a shop has access to the Google Analytics dynamic remarketing feature. | |
| FeaturesGiftCards | Bool | Whether a shop can create gift cards. | |
| FeaturesLiveView | Bool | Whether to show the Live View metrics in the Shopify admin. Live view is hidden from merchants that are on a trial or don't have a storefront. | |
| FeaturesSellsSubscriptions | Bool | Whether a shop has ever had subscription products. | |
| FeaturesShowMetrics | Bool | Whether to show metrics in the Shopify admin. Metrics are hidden for new merchants until they become meaningful. | |
| FeaturesEligibleForSubscriptions | Bool | Whether a shop is configured properly to sell subscriptions. | |
| FeaturesHarmonizedSystemCode | Bool | Whether a shop displays Harmonized System codes on products. This is used for customs when shipping internationally. | |
| FeaturesInternationalPriceRules | Bool | Whether a shop can enable international price rules. | |
| FeaturesEligibleForSubscriptionMigration | Bool | Whether a shop can be migrated to use Shopify subscriptions. | |
| FeaturesLegacySubscriptionGatewayEnabled | Bool | Whether a shop has enabled a legacy subscription gateway to handle older subscriptions. | |
| FeaturesPaypalExpressSubscriptionGatewayStatus | String | Whether a shop is configured to sell subscriptions with PayPal Express. | |
| PendingOrdersCount | Int | The count of elements. | |
| PendingOrdersPrecision | String | The count's precision, or the exactness of the value. | |
| PaymentSettingsSupportedDigitalWallets | String | List of the digital wallets which the shop supports. | |
| PlanDisplayName | String | The name of the shop's billing plan. | |
| PlanPartnerDevelopment | Bool | Whether the shop is a partner development shop for testing purposes. | |
| PlanShopifyPlus | Bool | Whether the shop has a Shopify Plus subscription. | |
| PrimaryDomainId | String | A globally-unique ID. | |
| PrimaryDomainHost | String | The host name of the domain. For example, 'example. com'. | |
| PrimaryDomainUrl | String | The URL of the domain (for example, 'https: //example. com'). | |
| PrimaryDomainSslEnabled | Bool | Whether SSL is enabled. | |
| PrimaryDomainLocalizationCountry | String | The ISO code for the country assigned to the domain. For example, 'CA' or '*' for a domain set to 'Rest of world'. | |
| PrimaryDomainLocalizationAlternateLocales | String | The ISO codes for the domain's alternate locales. For example, '['en']'. | |
| PrimaryDomainLocalizationDefaultLocale | String | The ISO code for the domain's default locale. For example, 'en'. | |
| PrimaryDomainMarketWebPresenceId | String | A globally-unique ID. | |
| PrimaryDomainMarketWebPresenceAlternateLocales | String | The ISO codes for the alternate locales. When a domain is used, these locales will be available as language-specific subfolders. For example, if English is an alternate locale, and 'example. ca' is the market's domain, then 'example. ca/en' will load in English. | |
| PrimaryDomainMarketWebPresenceDefaultLocale | String | The ShopLocale object for the default locale. The locale ISO code. | |
| PrimaryDomainMarketWebPresenceDefaultLocaleMarketWebPresencesId | String | The ShopLocale object for the default locale. The market web presences that use the locale. | |
| PrimaryDomainMarketWebPresenceDefaultLocaleName | String | The ShopLocale object for the default locale. The human-readable locale name. | |
| PrimaryDomainMarketWebPresenceDefaultLocalePrimary | Bool | The ShopLocale object for the default locale. Whether the locale is the default locale for the shop. | |
| PrimaryDomainMarketWebPresenceDefaultLocalePublished | Bool | The ShopLocale object for the default locale. Whether the locale is visible to buyers. | |
| PrimaryDomainMarketWebPresenceSubfolderSuffix | String | The market-specific suffix of the subfolders defined by the web presence. Example: in '/en-us' the subfolder suffix is 'us'. This field will be null if 'domain' isn't null. | |
| ResourceLimitsLocationLimit | Int | Maximum number of locations allowed. | |
| ResourceLimitsMaxProductOptions | Int | Maximum number of product options allowed. | |
| ResourceLimitsMaxProductVariants | Int | The maximum number of variants allowed per product. | |
| ResourceLimitsRedirectLimitReached | Bool | Whether the shop has reached the limit of the number of URL redirects it can make for resources. |
Returns Shopify Payments account information, including balances and payouts.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccount
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Activated | Bool | Whether the Shopify Payments setup is completed. | |
| Country | String | The Shopify Payments account country. | |
| Onboardable | Bool | Whether the Shopify Payments account can be onboarded. | |
| DefaultCurrency | String | The default payout currency for the Shopify Payments account. | |
| PayoutStatementDescriptor | String | The descriptor used for payouts. The descriptor appears on a merchant's bank statement when they receive a payout. | |
| FraudSettingsDeclineChargeOnAvsFailure | Bool | Decline a charge if there is an AVS failure. | |
| FraudSettingsDeclineChargeOnCvcFailure | Bool | Decline a charge if there is an CVC failure. | |
| NotificationSettingsPayouts | Bool | Receive email notifications when new payouts are sent or payouts fail. | |
| PayoutScheduleInterval | String | The interval at which payouts are sent to the connected bank account. | |
| PayoutScheduleMonthlyAnchor | Int | The day of the month funds will be paid out. The value can be any day of the month from the 1st to the 31st. If the payment interval is set to monthly, this value will be used. Payouts scheduled between 29-31st of the month are sent on the last day of shorter months. | |
| PayoutScheduleWeeklyAnchor | String | The day of the week funds will be paid out. The value can be any weekday from Monday to Friday. If the payment interval is set to weekly, this value will be used. |
Returns current balances in all currencies for the account.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalance
| Name | Type | References | Description |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| Amount | Decimal | Decimal money amount. | |
| CurrencyCode [KEY] | String | Currency of the money. |
The adjustment orders associated to the transaction.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders WHERE ShopifyPaymentsAccountBalanceTransactionId = 'Val1'
| Name | Type | References | Description |
| Link [KEY] | String | The link to the adjustment order. | |
| Name | String | The name of the adjustment order. | |
| Amount | Decimal | The amount of the adjustment order. Decimal money amount. | |
| AmountCurrencyCode | String | The amount of the adjustment order. Currency of the money. | |
| ShopifyPaymentsAccountBalanceTransactionId [KEY] | String | A globally-unique ID. |
A list of balance transactions associated with a Shopify Payments account balance.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalanceTransactions
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| NetAmount | Decimal | The net amount contributing to the merchant's balance. Decimal money amount. | |
| NetCurrencyCode | String | The net amount contributing to the merchant's balance. Currency of the money. | |
| TransactionDate | Datetime | The date and time when the balance transaction was processed. |
Lists all bank accounts configured for the Shopify Payments account.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBankAccounts
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| BankName | String | The name of the bank. | |
| Country | String | The country of the bank. | |
| Currency | String | The currency of the bank account. | |
| Status | String | The status of the bank account. | |
| AccountNumber | String | The account number of the bank account. | |
| RoutingNumber | String | The routing number of the bank account. | |
| AccountNumberLastDigits | String | The last digits of the account number (the rest is redacted). | |
| CreatedAt | Datetime | The date that the bank account was created. |
Lists all disputes related to the Shopify Payments account.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Id = 'Val1'
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Status = 'Val1'
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE InitiatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| EvidenceDueBy | Date | The deadline for evidence submission. | |
| EvidenceSentOn | Date | The date when evidence was sent. Returns null if evidence has not yet been sent. | |
| Status | String | The current state of the dispute. | |
| Type | String | Indicates if this dispute is still in the inquiry phase or has turned into a chargeback. | |
| FinalizedOn | Date | The date when this dispute was resolved. Returns null if the dispute is not yet resolved. | |
| InitiatedAt | Datetime | The date when this dispute was initiated. | |
| AmountAmount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| OrderId | String | A globally-unique ID. | |
| ReasonDetailsReason | String | The reason for the dispute provided by the cardholder's banks. | |
| ReasonDetailsNetworkReasonCode | String | The raw code provided by the payment network. |
Returns all current and previous payouts made between the account and the bank account. Its avaible only in a few certain countries.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ShopifyPaymentsAccountPayouts WHERE TransactionType = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| Status | String | The transfer status of the payout. | |
| IssuedAt | Datetime | The exact time when the payout was issued. The payout only contains balance transactions that were available at this time. | |
| TransactionType | String | The direction of the payout. | |
| BankAccountId | String | A globally-unique ID. | |
| NetAmount | Decimal | Decimal money amount. | |
| NetCurrencyCode | String | Currency of the money. | |
| SummaryAdjustmentsFeeAmount | Decimal | Decimal money amount. | |
| SummaryAdjustmentsFeeCurrencyCode | String | Currency of the money. | |
| SummaryAdjustmentsGrossAmount | Decimal | Decimal money amount. | |
| SummaryAdjustmentsGrossCurrencyCode | String | Currency of the money. | |
| SummaryChargesFeeAmount | Decimal | Decimal money amount. | |
| SummaryChargesFeeCurrencyCode | String | Currency of the money. | |
| SummaryChargesGrossAmount | Decimal | Decimal money amount. | |
| SummaryChargesGrossCurrencyCode | String | Currency of the money. | |
| SummaryRefundsFeeAmount | Decimal | Decimal money amount. | |
| SummaryRefundsFeeCurrencyCode | String | Currency of the money. | |
| SummaryRefundsFeeGrossAmount | Decimal | Decimal money amount. | |
| SummaryRefundsFeeGrossCurrencyCode | String | Currency of the money. | |
| SummaryReservedFundsFeeAmount | Decimal | Decimal money amount. | |
| SummaryReservedFundsFeeCurrencyCode | String | Currency of the money. | |
| SummaryReservedFundsGrossAmount | Decimal | Decimal money amount. | |
| SummaryReservedFundsGrossCurrencyCode | String | Currency of the money. | |
| SummaryRetriedPayoutsFeeAmount | Decimal | Decimal money amount. | |
| SummaryRetriedPayoutsFeeCurrencyCode | String | Currency of the money. | |
| SummaryRetriedPayoutsGrossAmount | Decimal | Decimal money amount. | |
| SummaryRetriedPayoutsGrossCurrencyCode | String | Currency of the money. |
Retrieves the permitted documents for identity verification.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountPermittedVerificationDocuments
| Name | Type | References | Description |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| Type [KEY] | String | The type of the document which can be used for verification. | |
| BackRequired | Bool | True if the back side of the document is required. | |
| FrontRequired | Bool | True if the front side of the document is required. |
Returns the verifications necessary for this account.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountVerifications
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| Status | String | The status of the verification. | |
| SubjectFamilyName | String | The family name of the individual to verify. | |
| SubjectGivenName | String | The given name of the individual to verify. |
Retrieves a paginated list of the shop's staff members. (This table is available only with a ShopifyPlus subscription)
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM StaffMembers
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopId | String |
Shop.Id | A globally-unique ID. |
| Name | String | The staff member's full name. | |
| FirstName | String | The staff member's first name. | |
| LastName | String | The staff member's last name. | |
| Active | Bool | Whether the staff member is active. | |
| String | The staff member's email address. | ||
| Exists | Bool | Whether the staff member's account exists. | |
| Initials | String | The staff member's initials, if available. | |
| Locale | String | The staff member's preferred locale. Locale values use the format 'language' or 'language-COUNTRY', where 'language' is a two-letter language code, and 'COUNTRY' is a two-letter country code. For example: 'en' or 'en-US' | |
| Phone | String | The staff member's phone number. | |
| IsShopOwner | Bool | Whether the staff member is the shop owner. | |
| PrivateDataAccountSettingsUrl | String | The URL to the staff member's account settings page. | |
| PrivateDataCreatedAt | Datetime | The date and time when the staff member was created. |
Returns a list of TenderTransactions associated with the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM TenderTransactions WHERE Id = 'Val1'
SELECT * FROM TenderTransactions WHERE Test = true
SELECT * FROM TenderTransactions WHERE ProcessedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Test | Bool | Whether the transaction is a test transaction. | |
| PaymentMethod | String | Information about the payment method used for the transaction. | |
| ProcessedAt | Datetime | Date and time when the transaction was processed. | |
| RemoteReference | String | The remote gateway reference associated with the tender transaction. | |
| AmountAmount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| TenderTransactionCreditCardDetailsCreditCardCompany | String | The name of the company that issued the customer's credit card. Example: 'Visa'. | |
| TenderTransactionCreditCardDetailsCreditCardNumber | String | The customer's credit card number, with all digits except the last 4 redacted. Example: '???? ???? ???? 1234' | |
| UserId | String | A globally-unique ID. (This column is available only with a ShopifyPlus subscription) |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| AcceptCancellationRequest | Accepts a cancellation request sent to a fulfillment service for a fulfillment order. |
| AcceptFulfillmentRequest | Accepts a fulfillment request sent to a fulfillment service for a fulfillment order. |
| CollectionReorder | Reorders a set of products within a specified collection. |
| CompanyContactRemoveFromCompany | Removes a company contact from a Company. |
| FulfillmentOrderMerge | Merges a set or multiple sets of fulfillment orders together into one based on line item inputs and quantities. |
| FulfillmentOrderSplit | Splits a fulfillment order or orders based on line item inputs and quantities. |
| InventoryAdjustQuantities | Apply changes to inventory quantities. |
| InventoryBulkToggleActivation | Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location. |
| InventoryMoveQuantities | Moves inventory between inventory quantity names at a single location. |
| InventorySetScheduledChanges | Set up scheduled changes of inventory items. |
| OrderCancel | Cancels an order. |
| RejectCancellationRequest | Rejects a cancellation request sent to a fulfillment service for a fulfillment order. |
| RejectFulfillmentRequest | Rejects a fulfillment request sent to a fulfillment service for a fulfillment order. |
| SendCancellationRequest | Sends a cancellation request to the fulfillment service of a fulfillment order. |
| SendFulfillmentRequest | Sends a fulfillment request to the fulfillment service of a fulfillment order. |
| TransactionVoid | Trigger the voiding of an uncaptured authorization transaction. |
Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the cancellation request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Reorders a set of products within a specified collection.
| Name | Type | Description |
| CollectionID | String | The ID of the collection on which to reorder products. |
| ProductIDs | String | A comma separated list of product IDs to be reordered. |
| NewPositions | String | A comma separated list of the new positions for the products. |
| WaitJob | String | The Store Procedure will wait until the Job is done.
The default value is true. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| JobID | String | The Job Id. |
| Status | String | The status of the Job. |
Removes a company contact from a Company.
| Name | Type | Description |
| CompanyContactId | String | The ID of the company contact to remove from the Company. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| RemovedCompanyContactId | String | The ID of the removed company contact. |
Merges a set or multiple sets of fulfillment orders together into one based on line item inputs and quantities.
| Name | Type | Description |
| MergeIntents | String | Temp table or aggregate (json/xml) array of objects containing fulfillmentOrderId, fulfillmentOrderLineItemId and fulfillmentOrderLineItemQuantity. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderId | String | The id of the new fulfillment order as a result of the merge. |
Splits a fulfillment order or orders based on line item inputs and quantities.
| Name | Type | Description |
| FulfillmentOrderId | String | The ID of the fulfillment order to be split. |
| FulfillmentOrderLineItemIDs | String | A comma separated list of IDs corresponding to the FulfillmentOrderLineItems to be split out. |
| FulfillmentOrderLineItemQuantities | String | A comma separated list of quantities corresponding to each FulfillmentOrderLineItem to be split out. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderId | String | The id of the original fulfillment order as a result of the split. |
| RemainingFulfillmentOrderId | String | The id of the remaining fulfillment order as a result of the split. |
| ReplacementFulfillmentOrderId | String | The id of the replacement fulfillment order if the original fulfillment order wasn't in a state to be split. |
Apply changes to inventory quantities.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| InventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| Delta | Int | The amount by which the inventory quantity will be changed. |
| Name | Type | Description |
| Name | String | The quantity name to be adjusted.
The allowed values are available, damaged, quality_control, reserved, safety_stock. |
| Reason | String | The reason for the quantity changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| InventoryAdjustChanges | String | The quantity changes of items at locations to be made. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | The ID of the group of changes made by the operation. |
Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| Activate | Bool | Whether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location. |
| LocationId | String | The ID of the location to modify the inventory item's stocked status. |
| Name | Type | Description |
| InventoryItemId | String | The ID of the inventory item to modify the activation status locations for. |
| InventoryItemUpdates | String | A list of pairs of locations and activate status to update for the specified inventory item. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| InventoryItemId | String | The ID of the inventory item to modify the activation status locations for. |
| InventoryLevelIds | String | The activated inventory levels. |
Moves inventory between inventory quantity names at a single location.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| Quantity | Int | The amount by which the inventory quantity will be changed. |
| FromName | String | The quantity name to be moved. |
| FromInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| FromLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| ToName | String | The quantity name to be moved. |
| ToInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| ToLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| Name | Type | Description |
| Reason | String | The reason for the quantity changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| InventoryMoveChanges | String | The quantity changes of items at locations to be made. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | The ID of the group of changes made by the operation. |
Set up scheduled changes of inventory items.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| InventoryLevelLocationId | String | The ID of the location. |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| InventorySetScheduledItemChanges (references InventorySetScheduledItemChanges) | String | An array of all the scheduled changes for the item. |
| Column Name | Type | Description |
| FromName | String | The quantity name to transition from. |
| ToName | String | The quantity name to transition to. |
| ExpectedAt | Datetime | The date and time that the scheduled change is expected to happen. |
| Name | Type | Description |
| Reason | String | The reason for setting up the scheduled changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| InventorySetScheduledItems | String | The list of all the items on which the scheduled changes need to be applied. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| ScheduledChanges | String | The scheduled changes that were created. |
Cancels an order.
| Name | Type | Description |
| NotifyCustomer | Bool | Whether to send a notification to the customer about the order cancellation. |
| OrderId | String | The ID of the order to be canceled. |
| Reason | String | The reason for canceling the order.
The allowed values are CUSTOMER, DECLINED, FRAUD, INVENTORY, OTHER, STAFF. |
| Refund | Bool | Whether to refund the amount paid by the customer. |
| Restock | Bool | Whether to restock the inventory committed to the order. |
| StaffNote | String | A staff-facing note about the order cancellation. This is not visible to the customer. |
| WaitJob | Bool | The Store Procedure will wait until the Job is done.
The default value is true. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| JobID | String | The Job Id. |
| Status | String | The status of the Job. |
Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the cancellation request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| Reason | String | Whether the customer should be notified when fulfillments are created for this fulfillment order.
The allowed values are INCORRECT_ADDRESS, INELIGIBLE_PRODUCT, INVENTORY_OUT_OF_STOCK, OTHER, UNDELIVERABLE_DESTINATION. |
| LineItems | String | An optional array of line item rejection details. If none are provided, all line items will be assumed to be unfulfillable.. Ex: [{fulfillmentOrderLineItemId: 'xxx', message: 'xx'}] |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Sends a cancellation request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Sends a fulfillment request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with a fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| NotifyCustomer | String | Whether the customer should be notified when fulfillments are created for this fulfillment order. |
| ShippingMethod | String | A reference to the ShippingMethod code, such as FREE_SHIPPING. |
| FulfillmentOrderLineItems | String | The fulfillment order line items to be requested for fulfillment. If left blank, all line items of the fulfillment order are requested for fulfillment. Ex: [{id: 'xxx', quantity: 1}] |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Trigger the voiding of an uncaptured authorization transaction.
| Name | Type | Description |
| ParentTransactionId | String | An uncaptured authorization transaction. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| TransactionId | String | The created void transaction. |
The CData Cloud models entities in the Shopify API as an easy-to-use SQL database, using tables, views, and stored procedures. These are defined in schema files, which are simple, easy-to-read text files that define the structure and organization of data.
Note: Shopify typically releases new API versions quarterly. If a stable API version is no longer supported, Shopify automatically defaults to the oldest supported stable version to respond to your API request. For more information on Shopify's API versioning, click this link.
See REST Data Model for the available entities in the REST API.
See GRAPHQL Data Model for the available entities in the GraphQL API.
The CData Cloud models the Shopify API as relational tables, views, and stored procedures.
To use the REST Data Model, simply set Schema to REST.
Note: As of October 1, 2024, Shopify has designated the REST API as legacy.
The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.
Common tables include:
| Table | Description |
| Shop | Contains general settings and information about the shop. |
| Customers | Create, update, delete, and query customers. |
| CustomerAddresses | Create, update, delete, and query customer addresses. |
| Orders | Create, update, delete, and query orders. |
| OrdersItems | Query order items. |
| OrderTransactions | Create, update, delete, and query transactions. |
| Refunds | Create, update, delete, and query refunds. |
| RefundsItems | Get data on OrdersItems that have been refunded. |
| Redirects | Create, update, delete, and query redirects. |
| Collects | Query, insert, or delete information regarding different collects. |
| DiscountCodes | Create, select, update, and delete information regarding discount codes. |
| PriceRules | Create, update, delete, and query price rules. |
| DraftOrders | Create, update, delete, and query draft orders. |
| DraftOrderItems | Query draft order items. |
| Fulfillments | Create, update, and query fulfillments. |
| FulfillmentOrders | Query fulfillment orders. |
| FulfillmentEvents | Create, delete, and query information regarding fulfillment events. |
| Locations | Retrieve information regarding store locations. |
| TaxItems | Query order taxes. |
| Users | Query Users. |
Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing order cancellations and fulfillments, sending invoices, and handling authentication flows.
The Cloud models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.
| Name | Description |
| ApplicationCharges | Create or view Application Charges for Billing. |
| ApplicationCredit | Create or view Application Credit for Billing. |
| Articles | Create, read, update or delete articles |
| Assets | Create, read, update or delete assets. CUD support is no longer accessible for public apps. |
| Blogs | Create, read, update or delete blogs |
| CarrierServices | Returns a list of resource feedback objects.. |
| CollectionListings | Query and delete information regarding different collects. |
| Collects | Query, insert, or delete information regarding different collects. |
| Comments | Create, read, update and delete the comments. |
| CustomCollections | Query, insert, update, or delete information regarding different custom collections. |
| CustomerAddresses | Create, update, delete, and query customer addresses. |
| Customers | Create, update, delete, and query customers. |
| DiscountCodes | Create, select, update, and delete information regarding discount codes. |
| DraftOrders | Create, update, delete, and query draft orders. |
| FulfillmentEvents | Create, delete, and query information regarding fulfillment events. |
| Fulfillments | Create, update, and query fulfillments. |
| FulfillmentServices | Query, create, update, and delete information regarding different fulfillment services. |
| GiftCards | Create, update, delete, and query gift cards. |
| MarketingEvents | Create, update, delete, and query marketing events. |
| Metafields | Retrieves a list of metafields that belong to a resource. |
| Orders | Create, update, delete, and query orders. |
| OrderTransactions | Create and query transactions. |
| Pages | Create, read, update or delete pages |
| PriceRules | Create, update, delete, and query price rules. |
| RecurringApplicationCharges | Create, update, delete, and query Recurring Application Charges. |
| Redirects | Create, read, update or delete redirects. |
| Refunds | Create and query refunds. |
| ResourceFeedbacks | Returns a list of resource feedback objects.. |
| ScriptTags | Create, read, update or delete script tags. |
| SmartCollections | Query, insert, update, or delete information regarding different smart collections. |
| Themes | Create, read, update or delete themes |
| UsageCharges | Create or view Usage Charges for Recurring Application Charges. |
Create or view Application Charges for Billing.
SELECT * FROM ApplicationCharges WHERE Id = '123'
INSERT INTO ApplicationCharges ( Test ) VALUES ( 'true' )
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The Unique Identifier of the Application Charge | |
| Name | String | False |
The Order Number | |
| ApiClientId | Long | True |
The API Client ID | |
| Price | Decimal | False |
The price of the application charge | |
| Status | String | True |
The status of the application charge. Valid Values are: pending, active, declined, expired | |
| ReturnUrl | String | False |
The URL where the merchant is redirected after accepting a charge. | |
| Test | String | False |
Whether the application charge is a test transaction. Valid values:true,null | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the application charge was created. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the application charge was last updated. | |
| ChargeType | String | True |
The type of the application charge | |
| DecoratedReturnUrl | String | True |
The decorated return url |
Create or view Application Credit for Billing.
SELECT * FROM ApplicationCredit WHERE Id = '123'
INSERT INTO ApplicationCredit (Amount, Description, Test) VALUES ('100', 'success or failure', 'true')
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the application credit. | |
| Amount | Decimal | False |
The amount refunded by the application credit. | |
| Description | String | False |
The description of the application credit. | |
| Test | String | False |
Whether the application credit is a test transaction. Valid values: true,null |
Create, read, update or delete articles
SELECT * FROM Articles
SELECT * FROM Articles WHERE Id = '123'
You must specify the Title to create an Article.
INSERT INTO Articles (BlogId, Author, Title) VALUES ('599421749', 'Adam', 'New Article')
You must specify the blog id and id to update an article. For example:
UPDATE Articles SET Author = 'Harry' WHERE BlogId = '599421749' AND Id = '5557081211'
You must specify the Id and the Blog Id of the article to delete it.
DELETE FROM Articles WHERE BlogId = '599421749' AND Id = '5556952105'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the article. | |
| BlogId [KEY] | Long | False |
Blogs.Id |
The ID of the blog containing the article. |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Author | String | False |
The name of the author of the article. | |
| BodyHtml | String | False |
The text of the body of the article, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the article was created. | |
| Handle | String | False |
A human-friendly unique string for the article that's automatically generated from the article's title. The handle is used in the article's URL. | |
| ImageAlt | String | False |
Alternative text that describes the image. | |
| ImageCreatedAt | Datetime | True |
The date and time when image is created. | |
| ImageHeight | Int | False |
Height of the image. | |
| ImageSrc | String | False |
A source URL that specifies the location of the image. | |
| ImageWidth | Int | False |
Width of the image. | |
| ImageAttachment | String | False |
An image attached to article returned as Base64-encoded binary data. | |
| PublishedAt | Datetime | False |
The date and time (ISO 8601 format) when the article was published. | |
| SummaryHtml | String | False |
A summary of the article, complete with HTML markup. | |
| Tags | String | False |
Tags are additional short descriptors formatted as a string of comma-separated values. | |
| TemplateSuffix | String | False |
The name of the template an article is using if it's using an alternate template. If an article is using the default article.liquid template, then the value returned is null. | |
| Title | String | False |
The title of the article. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the article was last updated. | |
| UserId | Long | True |
A unique numeric identifier for the author of the article. | |
| PublishedStatus | String | False |
Filter articles by their publish status. Valid values are: published, unpublished and any ; default: any. The allowed values are published, unpublished, any. |
Create, read, update or delete assets. CUD support is no longer accessible for public apps.
SELECT * FROM Assets WHERE Key = 'assets/abc.gif'
You must specify the Theme Id and Key to insert an Asset. For example:
INSERT INTO Assets(Key, Value, ThemeId) VALUES('assets/abc.gif', '', '282977')
You must specify the Theme Id and Key to update an Asset. For example:
UPDATE Assets SET value = 'pqrs' WHERE Key = 'assets/abc.gif' AND ThemeId = '282977'
You must specify the Id and the Theme Id of the Asset to delete it.
DELETE FROM Assets WHERE Key = 'assets/abc.gif' AND ThemeId = '282977'
| Name | Type | ReadOnly | References | Description |
| Key [KEY] | String | False |
The path to the asset within a theme. | |
| ThemeId [KEY] | Long | True |
Themes.Id |
The ID for the theme that an asset belongs to. |
| Attachment | String | False |
A base64-encoded image. | |
| Checksum | String | True |
The MD5 representation of the content, consisting of a string of 32 hexadecimal digits. May be null if an asset has not been updated recently. | |
| ContentType | String | True |
The MIME representation of the content, consisting of the type and subtype of the asset. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the asset was created. | |
| PublicUrl | String | True |
The public-facing URL of the asset. | |
| Size | Int | True |
The asset size in bytes. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when an asset was last updated. | |
| Value | String | False |
The text content of the asset, such as the HTML and Liquid markup of a template file. |
Create, read, update or delete blogs
SELECT * FROM Blogs WHERE Id = '123'
SELECT * FROM Blogs WHERE Id IN ('123', '345')
SELECT * FROM Blogs WHERE Handle = 'new-blog-5927';
SELECT * FROM Blogs WHERE Handle IN ('new-blog-5927', 'new-blog-5926');
You must specify the Title to create a Blog.
INSERT INTO Blogs (title) VALUES ('new blog')
INSERT INTO Blogs (Title, Metafields) VALUES ('new blog','[{"key":"sponsor","value":"shopify","type":"single_line_text_field","namespace":"global"}]')
You must specify the id to update a Blog. For example:
UPDATE Blogs SET title = 'new blog' WHERE Id = '77171130'
UPDATE Blogs SET Metafields='[{"key":"sponsor","value":"shopify","type":"single_line_text_field","namespace":"global"}]' WHERE Id='77171130'
You must specify the Id of the Blog to delete it.
DELETE FROM Blogs WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the blog. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Commentable | String | False |
Indicates whether readers can post comments to the blog and if comments are moderated or not. The allowed values are no, yes, moderate. | |
| CreatedAt | Datetime | True |
The date and time when the blog was created. | |
| Feedburner | String | False |
Feedburner is a web feed management provider and can be enabled to provide custom RSS feeds for Shopify bloggers. This property will default to blank or null unless feedburner is enabled through the shop admin. | |
| FeedburnerLocation | String | False |
URL to the feedburner location for blogs that have enabled feedburner through their store admin. This property will default to blank or null unless feedburner is enabled through the shop admin. | |
| Handle | String | False |
A human-friendly unique string for a blog automatically generated from its title. | |
| Metafields | String | False |
Attaches additional metadata to a store's resources. | |
| Tags | String | False |
Tags are additional short descriptors formatted as a string of comma-separated values. | |
| TemplateSuffix | String | False |
States the name of the template a blog is using if it is using an alternate template. If a blog is using the default blog.liquid template, the value returned is null. | |
| Title | String | False |
The title of the blog. | |
| UpdatedAt | Datetime | True |
The date and time when changes were last made to the blog's properties. |
Returns a list of resource feedback objects..
SELECT * FROM CarrierServices
SELECT * FROM CarrierServices WHERE Id = '123'
SELECT * FROM CarrierServices WHERE Id IN ('123', '235');
You must specify path and target to create a Redirect.
INSERT INTO [CarrierServices] (Name, Type, CallbackUrl) VALUES ('ApiServiceType', 'api', 'https://test.com');
You must specify the id to update a Redirect. For example:
UPDATE [CarrierServices] SET [Active] = 'false' WHERE [Id] = 59103608855;
You must specify the Id of the Redirect to delete it.
DELETE FROM [CarrierServices] WHERE [Id] = 59103608855;
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the carrier service. | |
| Active | Bool | False |
Whether this carrier service is active. If true, then the service will be available to serve rates in checkout. | |
| Name | String | False |
The name of the shipping service as seen by merchants and their customers. | |
| CallbackUrl | String | False |
The URL endpoint that Shopify needs to retrieve shipping rates. This must be a public URL. | |
| Type | String | False |
Distinguishes between API or legacy carrier services. | |
| Format | String | False |
The format of the data returned by the URL endpoint. json is the only valid value. | |
| ServiceDiscovery | String | False |
Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples. | |
| AdminGraphqlApiId | String | False |
The GraphQL GID for this carrier service. |
Query and delete information regarding different collects.
SELECT * FROM CollectionListings WHERE Id = '123'
You must specify the Id of the collection listing to delete it.
DELETE FROM CollectionListings WHERE id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The Id of the collection this listing belongs to. | |
| Title | String | True |
The titke of the collection listing. | |
| BodyHtml | String | True |
The HTML body/description for this listing. | |
| DefaultProductImage | String | True |
The default product image in this listing. | |
| ImageCreatedAt | String | True |
The date and time the image for this listing was created at. | |
| ImageSource | String | True |
The source/link of the image for this listing. | |
| Handle | String | True |
The handle of this listing. | |
| UpdatedAt | Datetime | True |
The date and time when the collection listing was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the collection listing was created. |
Query, insert, or delete information regarding different collects.
SELECT * FROM Collects WHERE Id = '123'
You must specify the ProductId and CollectionId to create a collect.
INSERT INTO Collects (ProductId, CollectionId) VALUES ('512433520663', '22892937239')
You must specify the Id of the collect to delete it.
DELETE FROM Collects WHERE id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the collect. | |
| CollectionId | Long | False |
The Id of the collection this collection is linked with. | |
| ProductId | Long | False |
The Id of the product this collection is linked with. | |
| Position | Int | True |
The position of this product in a manually sorted custom collection. The first position is 1. This value is applied only when the custom collection is sorted manually. | |
| SortValue | String | True |
This is the same value as position but padded with leading zeroes to make it alphanumeric-sortable. | |
| CreatedAt | Datetime | True |
The date and time when the collect was created. | |
| UpdatedAt | Datetime | True |
The date and time when the collect was last modified. |
Create, read, update and delete the comments.
SELECT * FROM Comments WHERE Id = '123'
You must specify Article Id, Author, Body, Email to create a Comment.
INSERT INTO Comments (articleid, author, body, email) VALUES ('5557001', 'Harry', 'test', '[email protected]')
You must specify the Id to update a Comment. For example:
UPDATE Comments SET Author = 'Adam' WHERE Id = '77171130'
You must specify the Id of the Comments to delete it.
DELETE FROM Comments WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the comment. | |
| BlogId | Long | False |
Blogs.Id |
A unique numeric identifier for the blog containing the article that the comment belongs to. |
| ArticleId | Long | False |
Articles.Id |
A unique numeric identifier for the article that the comment belongs to. |
| Author | String | False |
The name of the author of the comment. | |
| Body | String | False |
The basic Textile markup of a comment. | |
| BodyHtml | String | False |
The text of the comment, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the comment was created. | |
| String | False |
The email address of the author of the comment. | ||
| Ip | String | False |
The IP address from which the comment was posted. | |
| PublishedAt | String | False |
The date and time (ISO 8601 format) when the comment was published. | |
| Status | String | True |
The status of the comment. The allowed values are pending, approved, unapproved, spam, published, removed. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the comment was last modified. | |
| UserAgent | String | False |
The user agent string provided by the software used to create the comment. | |
| PublishedStatus | String | False |
Filter comments by their publish status. The allowed values are published, unpublished, any. |
Query, insert, update, or delete information regarding different custom collections.
For example, the following queries are processed server-side.
SELECT * FROM CustomCollections WHERE Id = '123'
SELECT * FROM CustomCollections WHERE Id IN ('123', '456')
SELECT * FROM CustomCollections WHERE ProductId = '123'
SELECT * FROM CustomCollections WHERE Title = 'Ducks'
SELECT * FROM CustomCollections WHERE Handle = 'frontpage'
SELECT * FROM CustomCollections WHERE Handle IN ('frontpage', 'lastpage')
SELECT * FROM CustomCollections WHERE PublishedStatus = 'published'
SELECT * FROM CustomCollections WHERE UpdatedAt > '2018-05-02'
SELECT * FROM CustomCollections WHERE PublishedAt < '2017-08-15'
You must specify the Title to create a custom collection.
INSERT INTO CustomCollections (Title) VALUES ('Macbooks')
INSERT INTO CustomCollections (Title, Published) VALUES ('Macbooks', false)
You must specify the custom collection Id to update a custom collection. For example:
UPDATE CustomCollections SET Title = 'Updated title' WHERE Id = '123'
You must specify the Id of the custom collection to delete it.
DELETE FROM CustomCollections WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the custom collection. | |
| Title | String | False |
The title of the custom collection. | |
| BodyHtml | String | False |
The body/description of the custom collection. | |
| Image | String | False |
A JSON aggregate with information regarding the image of custom collection. | |
| Metafields | String | False |
Attaches additional metadata to a shop's resources: key: An identifier for the metafield. (maximum: 30 characters), namespace: A container for a set of metadata. Namespaces help distinguish between metadata created by different apps. (maximum: 20 characters), value: Information to be stored as metadata, value_type: The information type being stored. Valid values: string or integer, description (optional): Additional information about the metafield . | |
| Handle | String | False |
A human-friendly unique string for the custom collection automatically generated from its title. | |
| SortOrder | String | False |
The order in which products in the custom collection appear. | |
| TemplateSuffix | String | False |
The suffix of the liquid template being used. | |
| PublishedScope | String | False |
The sales channels in which the custom collection is visible. | |
| UpdatedAt | Datetime | True |
The date and time when the custom collection was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the custom collection was published to the Online Store channel. | |
| ProductId | String | False |
Show custom collections that include a given product. | |
| PublishedStatus | String | False |
Show custom collection with a given published status: published: show only published custom collections, unpublished: show only unpublished custom collections, any: show custom collections of any published status. (default: any). The allowed values are published, unpublished, any. |
Create, update, delete, and query customer addresses.
For example, the following queries are processed server-side:
SELECT * FROM CustomerAddresses WHERE CustomerId = '123'
SELECT * FROM CustomerAddresses WHERE CustomerId IN ('123', '456')
SELECT * FROM CustomerAddresses WHERE CustomerUpdatedAt >= '2018-05-04'
You must specify the customer Id to create an address.
INSERT INTO CustomerAddresses (CustomerId, Address1, City, Company) VALUES ('123', '1 Rue des Carrieres', 'Suite 1234', 'Montreal')
You must specify the customer Id and the Id of the customer address to update an address.
UPDATE CustomerAddresses SET Zip = '90210' WHERE CustomerId = '123' AND Id = '456'
You must specify the customer Id and the Id of the customer address to delete an address. You cannot delete a customer's default address.
DELETE FROM CustomerAddresses WHERE CustomerId = '183467180055' AND Id = '292265787415'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the address. | |
| CustomerId [KEY] | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| CustomerUpdatedAt | Datetime | True |
The date and time when the customer information was last updated. | |
| Name | String | False |
The customer's name. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| Company | String | False |
The customer's company. | |
| Address1 | String | False |
The customer's mailing address. | |
| Address2 | String | False |
An additional field for the customer's mailing address. | |
| City | String | False |
The customer's city. | |
| Province | String | False |
The customer's province or state name. | |
| Country | String | False |
The customer's country. | |
| Zip | String | False |
The customer's zip or postal code. | |
| Phone | String | False |
The customer's phone number for this mailing address. | |
| ProvinceCode | String | False |
The two-letter pcode for the customer's province or state. | |
| CountryCode | String | False |
The two-letter country code corresponding to the customer's country. | |
| CountryName | String | False |
The customer's normalized country name. | |
| Default | Bool | True |
Indicates whether this address is the default address for the customer. |
Create, update, delete, and query customers.
SELECT * FROM Customers WHERE Id = '123'
SELECT * FROM Customers WHERE Id IN ('123', '456')
SELECT * FROM Customers WHERE CreatedAt >= '2017-10-25'
SELECT * FROM Customers WHERE CreatedAt <= '2017-10-25'
SELECT * FROM Customers WHERE UpdatedAt <= '2017-10-25'
SELECT * FROM Customers WHERE UpdatedAt >= '2017-10-25'
SELECT * FROM Customers WHERE FirstName = 'abc'
SELECT * FROM Customers WHERE LastName = 'xyz'
SELECT * FROM Customers WHERE Email = '[email protected]'
SELECT * FROM Customers WHERE OrdersCount = 5
SELECT * FROM Customers WHERE Phone = '999999999'
SELECT * FROM Customers WHERE VerifiedEmail = true
SELECT * FROM Customers WHERE UpdatedAt = '2017-10-25'
The Email field is required to insert.
INSERT INTO Customers (Email, Phone) VALUES ('[email protected]', '+15142546011')
INSERT INTO Customers (Email, Phone, SendEmailInvite) VALUES ('[email protected]', '+15142546011', true)
You must specify the Id of the customer to update a customer.
UPDATE Customers SET Note = 'Customer is a great guy' WHERE Id = '123'
UPDATE Customers SET Tags = 'New Customer, Repeat Customer' WHERE Id = '123'
You must specify the Id of the customer to delete a customer.
DELETE FROM Customers WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the customer. | |
| LastOrderId | Long | True |
Orders.Id |
The id of the customer's last order. |
| LastOrderName | String | True |
The name of the customer's last order. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| String | False |
The unique email address of the customer. | ||
| Phone | String | False |
The unique phone number for this customer. | |
| TaxExempt | Bool | False |
Indicates whether the customer should be charged taxes when placing orders. | |
| TotalSpent | Decimal | True |
The total amount of money that the customer has spent at the shop. | |
| OrdersCount | Int | True |
The number of orders associated with this customer. | |
| MultipassIdentifier | String | True |
The customer's identifier used with Multipass login. | |
| Note | String | False |
A note about the customer. | |
| EmailMarketingState | String | False |
The current email marketing state for the customer. | |
| EmailMarketingLevel | String | False |
The marketing subscription opt-in level. | |
| EmailMarketingUpdatedAt | Datetime | False |
The date and time when the customer consented to receive marketing material by email. | |
| State | String | True |
The state of the customer's account in a shop. | |
| Tags | String | False |
The tags for this customer. Separate with comma for multiple tags. | |
| VerifiedEmail | Bool | True |
States whether or not the email address has been verified. | |
| CreatedAt | Datetime | True |
The date and time when the customer was created. | |
| UpdatedAt | Datetime | True |
The date and time when the customer information was updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Password | String |
Password of the customer. |
| PasswordConfirmation | String |
Password confirmation of the customer. |
| SendEmailWelcome | Bool |
Whether to send a welcome email to the customer or not. |
| SendEmailInvite | Bool |
Whether to send an invite email to the customer or not. |
Create, select, update, and delete information regarding discount codes.
For example, the following queries are processed server-side:
SELECT * FROM DiscountCodes WHERE PriceRuleId = '123'
SELECT * FROM DiscountCodes WHERE PriceRuleId = '123' AND Id = '456'
You must specify the PriceRuleId and Code to create a discount code.
INSERT INTO DiscountCodes (PriceRuleId, Code) VALUES ('290807676951', 'SUMMERSALE100OFF')
You must specify the PriceRuleId and Id to update a discount code. For example:
UPDATE DiscountCodes SET Code = 'WINTERSALE500OFF' WHERE PriceRuleId = '123' AND Id = '456'
You must specify the Id of the custom collection to delete it.
DELETE FROM DiscountCodes WHERE PriceRuleId = '123' AND Id = '456'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the discount code. | |
| PriceRuleId [KEY] | Long | False |
PriceRules.Id |
The Id for the price rule that this discount code belongs to. |
| Code | String | False |
The case-insensitive discount code that customers use at checkout. | |
| UsageCount | Int | True |
The number of times that the discount code has been redeemed. | |
| CreatedAt | Datetime | True |
The date and time when the discount code was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount code was last modified. |
Create, update, delete, and query draft orders.
The Cloud uses the Shopify API to process search criteria that refer to the Id, Status, and UpdatedAt columns. The supported SQL operators are "=" and "IN" for Id, "=" for Status, and ">" and "<" for UpdatedAt. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DraftOrders WHERE Id = '123'
SELECT * FROM DraftOrders WHERE Id IN ('123', '456')
SELECT * FROM DraftOrders WHERE Status = 'completed'
SELECT * FROM DraftOrders WHERE UpdatedAt > '2018-02-05'
Create a simple draft order with only a product variant Id using aggregates.
INSERT INTO DraftOrders (LineAggregate) VALUES ('[{\"variant_id\":\"4236041945111\",\"quantity\":2},{\"variant_id\":\"4236069011479\",\"quantity\":3}]')
Create a simple draft order with only a product variant Id using temporary table.
The temporary table you are populating is dynamic and will be created at run time the first time you insert to it. Temporary tables are denoted by a # appearing in their name. When using a temporary table to insert, the temporary table must be named in the format [TableName]#TEMP, where TableName is the name of the table you will be inserting to. For instance:
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('123', 2)
Once your temporary table is populated, it is now time to insert to the actual table in Shopify. You can do this by performing an INSERT to the actual table and setting as a value for LinesAggregate the name of the temporary table. For instance:
INSERT INTO DraftOrders (LineAggregate) VALUES ('OrdersItems#TEMP')
Create a custom draft order using aggregates.
INSERT INTO DraftOrders (LineAggregate, CustomerId, UseCustomerDefaultAddress) VALUES ('[{\"title\":\"Custom Tee\",\"price\":20.15,\"quantity\":5}]', '709015339031', true)
Create a custom draft order using temporary table.
INSERT INTO OrdersItems#TEMP (ItemTitle, ItemPrice, ItemQuantity) VALUES ('Custom Tee', 20.15, 5)
INSERT INTO DraftOrders (LineAggregate, CustomerId, UseCustomerDefaultAddress) VALUES ('OrdersItems#TEMP', '709015339031', true)
Add a Note to a draft order:
UPDATE DraftOrders SET Note = 'Customer contacted us about a custom engraving on this iPod' WHERE Id = '123'
Set a discount on a draft order:
UPDATE DraftOrders SET AppliedDiscountDescription = 'Custom discount', AppliedDiscountValueType = 'percentage', AppliedDiscountValue = 10.0, AppliedDiscountAmount = 19.90, AppliedDiscountTitle = 'Custom' WHERE Id = '123'
You must specify the Id of the draft order to delete it.
DELETE FROM DraftOrders WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the order. | |
| CustomerId | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| String | False |
The customer's email address. | ||
| Name | String | True |
The customer's order name as represented by a number. | |
| TotalPrice | Decimal | True |
The sum of all the prices of all the items in the order, taxes and discounts included. | |
| SubtotalPrice | Decimal | True |
Price of the order before shipping and taxes. | |
| TotalTax | Decimal | False |
The sum of all the taxes applied to the order. | |
| TaxesIncluded | Bool | False |
States whether or not taxes are included in the order subtotal. | |
| InvoiceSentAt | Datetime | True |
This auto-generated property is the date and time when the invoice was emailed to the customer. Only available for draft orders. | |
| Note | String | False |
The text of an optional note that a shop owner can attach to the order. | |
| Tags | String | False |
Additional short descriptors. | |
| InvoiceUrl | String | True |
The URL for the invoice. Only available for draft orders. | |
| TaxExempt | Bool | True |
States whether or not taxes are exempt for this order. Only available for draft orders. | |
| Status | String | True |
The status of the order. Valid values are: open (all open orders), invoice_sent (only closed orders), and completed (cancelled orders). Defaults to 'open'. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the draft order. | |
| BillingAddressFirstName | String | False |
The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | False |
The last name of the person associated with the payment method. | |
| BillingAddressAddress1 | String | False |
The street address of the billing address. | |
| BillingAddressAddress2 | String | False |
An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | False |
The phone number at the billing address. | |
| BillingAddressCity | String | False |
The city of the billing address. | |
| BillingAddressCompany | String | False |
The company of the person associated with the billing address. | |
| BillingAddressZip | String | False |
The zip or postal code of the billing address. | |
| BillingAddressProvince | String | False |
The name of the state or province of the billing address. | |
| BillingAddressCountry | String | False |
The name of the country of the billing address. | |
| BillingAddressLatitude | Double | False |
The latitude of the billing address. | |
| BillingAddressLongitude | Double | False |
The longitude of the billing address. | |
| BillingAddressName | String | False |
The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | False |
The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | False |
The first name of the person associated with the shipping method. | |
| ShippingAddressLastName | String | False |
The last name of the person associated with the shipping method. | |
| ShippingAddressAddress1 | String | False |
The street address of the shipping address. | |
| ShippingAddressAddress2 | String | False |
An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | False |
The phone number at the shipping address. | |
| ShippingAddressCity | String | False |
The city of the shipping address. | |
| ShippingAddressCompany | String | False |
The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | False |
The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | False |
The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | False |
The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | False |
The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | False |
The longitude of the shipping address. | |
| ShippingAddressName | String | False |
The full name of the person associated with the shipping method. | |
| ShippingAddressCountryCode | String | False |
The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| AppliedDiscountTitle | String | False |
The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | False |
The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | False |
The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | False |
The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | False |
The amount of the applied discount for this order. Only available for draft orders. | |
| CreatedAt | Datetime | True |
The date and time when the order was created. | |
| UpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| CompletedAt | Datetime | True |
The date and time when the order was completed at. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| UseCustomerDefaultAddress | Bool |
Optional boolean that you can send as part of a draft order object to load customer shipping information. Valid values: true or false. |
Create, delete, and query information regarding fulfillment events.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentEvents WHERE OrderId = '123' AND FulfillmentId = '456'
SELECT * FROM FulfillmentEvents WHERE OrderId = '123' AND FulfillmentId = '456' AND Id = '789'
You must specify the OrderId, FulfillmentId, and Status to create a fulfillment event.
INSERT INTO FulfillmentEvents (Orderid, FulfillmentId, Status, Message, EstimatedDeliveryAt) VALUES ('202520330263', '206541914135', 'in_transit', 'test', '2018-08-02 10:15:25 PM')
You must specify the OrderId, FulfillmentId, and Id of the fulfillment event to delete it.
DELETE FROM FulfillmentEvents WHERE Orderid = '202520330263' AND FulfillmentId = '206541914135' AND Id = '2374424264727'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A numeric unique identifier for the fulfillment event. | |
| OrderId [KEY] | Long | False |
Orders.Id |
The id of the order the fulfillment event belongs to. |
| FulfillmentId [KEY] | Long | False |
Fulfillments.Id |
A numeric unique identifier for the fulfillment to which the fulfillment event belongs. |
| ShopId | Long | True |
Shop.Id |
A numeric unique identifier for the shop to which the fulfillment event belongs. |
| Status | String | False |
The status of the fulfillment event. Valid values are: confirmed, in_transit, out_for_delivery, delivered, failure. | |
| EstimatedDeliveryAt | Datetime | False |
The status of the fulfillment event. Valid values are: confirmed, in_transit, out_for_delivery, delivered, failure. | |
| Message | String | False |
An arbitrary message describing the status. Can be provided by a shipping carrier. | |
| City | String | False |
The city in which the fulfillment event occurred. | |
| Province | String | False |
The province in which the fulfillment event occurred. | |
| Zip | String | False |
The zip code in the location in which the fulfillment event occurred. | |
| Country | String | False |
The country in which the fulfillment event occurred. | |
| Address1 | String | False |
The fulfillment event's street address. | |
| Latitude | Double | False |
Geographic coordinate specifying the north/south location of a fulfillment event. | |
| Longitude | Double | False |
Geographic coordinate specifying the east/west location of a fulfillment event. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment event was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment event was updated. | |
| HappenedAt | Datetime | True |
The date and time when the fulfillment event occurred. |
Create, update, and query fulfillments.
For example, the following queries are processed server-side.
If you specify the unique identifier of the order, then this view will only list fulfillment information concerning that order. You can also retrieve a specific fulfillment by specifying OrderId and Id. To retrieve fulfillments associated with a fulfillment order you need to specify the FulfillmentOrderId.
SELECT * FROM Fulfillments WHERE OrderId = '5729988903171'
SELECT * FROM Fulfillments WHERE OrderId = '5729988903171' AND Id = '5165361791235'
SELECT * FROM Fulfillments WHERE FulfillmentOrderId = '6817622622467'
This view supports filtering by the CreatedAt and UpdatedAt columns on the server-side.
SELECT * FROM Fulfillments WHERE CreatedAt > '2017-10-25'
You must specify the FulfillmentOrderId column to insert a fulfillment.
Fulfill all line items.
INSERT INTO Fulfillments (FulfillmentOrderId) VALUES ('6817622622467')
Fulfill one line item using aggregates.
You must specify the fulfillment order line item id and the quantity to be fulfilled in the aggregate.
Note: To obtain the fulfillment order line item id, you can query the Id column in the FulfillmentOrderLineItems table.
INSERT INTO Fulfillments (FulfillmentOrderId, LineAggregate) VALUES ('6817622622467','[{\"id\":14179445244163,\"quantity\":5}]')
Fulfill one line item using temporary table.
The temporary table you are populating is dynamic and will be created at run time the first time you insert to it. Temporary tables are denoted by a # appearing in their name. When using a temporary table to insert, the temporary table must be named in the format [TableName]#TEMP, where TableName is the name of the table you will be inserting to. For instance:
INSERT INTO OrdersItems#Temp (ItemId, ItemQuantity) Values ('14179445244163', '5')
Once your temporary table is populated, it is now time to insert to the actual table in Shopify. You can do this by performing an INSERT to the actual table and setting as a value for LineAggregate the name of the temporary table. For instance:
Insert INTO Fulfillments (FulfillmentOrderId, LineAggregate) VALUES ('6817622622467', 'OrdersItems#TEMP')
In cases that two ore more shop locations are specified in your Shopify account the LocationId needs to be added. For instance:
Insert INTO Fulfillments (FulfillmentOrderId, LocationId, LineAggregate) VALUES ('6817622622467', '1448280087', 'OrdersItems#TEMP')
Fulfill many line items using aggregates.
INSERT INTO Fulfillments (FulfillmentOrderId, LineAggregate) VALUES ('6817622622467', '[{\"id\":14179445244163,\"quantity\":5},{\"id\":14179445276931,\"quantity\":2}]')
Fulfill many line items using temporary table.
INSERT INTO OrdersItems#Temp (ItemId, ItemQuantity) Values ('14179445244163', '5')
INSERT INTO OrdersItems#Temp (ItemId, ItemQuantity) Values ('14179445276931', '2')
INSERT INTO Fulfillments (FulfillmentOrderId, LineAggregate) VALUES ('6817622622467', 'OrdersItems#TEMP')
Fulfill all line items, notify the customer, and set a tracking number.
INSERT INTO Fulfillments (FulfillmentOrderId, TrackingNumbers, NotifyCustomer) VALUES ('6817622622467', 'FEDEX1', true)
Complete a fulfillment (you must specify the Id of the fulfillment as well).
INSERT INTO Fulfillments (FulfillmentOrderId, Id, Status) VALUES ('6817622622467', '5165361791235', 'Complete')
Transition a fulfillment from pending to open (you must specify the Id of the fulfillment as well).
INSERT INTO Fulfillments (FulfillmentOrderId, Id, Status) VALUES ('6817622622467', '5165361791235', 'Open')
Cancel a fulfillment (you must specify Id of the fulfillment as well).
INSERT INTO Fulfillments (FulfillmentOrderId, Id, Status) VALUES ('6817622622467', '5165361791235', 'Cancel')
You must specify the OrderId and Id of the fulfillment to fulfill an order.
UPDATE Fulfillments SET TrackingNumbers = 'FedEx123,UPS123' WHERE OrderId = '5729988903171' AND Id = '5165361791235'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the fulfillment. | |
| OrderId | Long | False |
Orders.Id |
A unique numeric identifier for the order. |
| LocationId [KEY] | Long | False |
A unique numeric identifier for the Location. | |
| NotifyCustomer | Bool | False |
A flag indicating whether the customer should be notified | |
| Status | String | False |
The status of the fulfillment. | |
| Receipt | String | True |
Provides information about the receipt of this fulfillment. | |
| TrackingCompany | String | False |
The name of the tracking company. | |
| TrackingNumbers | String | False |
A list of comma-separated tracking numbers, provided by the shipping company. | |
| TrackingUrls | String | False |
The sum of all the prices of all the items in the fulfillment. | |
| VariantInventoryManagement | String | True |
States the name of the inventory management service. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment was last modified. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the fulfillment. | |
| OrderUpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| OrderCreatedAt | Datetime | True |
The date and time when the order was last created. | |
| FulfillmentOrderId | Long | False |
The ID of the fulfillment order that is associated with the fulfillments. |
Query, create, update, and delete information regarding different fulfillment services.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentServices WHERE Id = '123'
You must specify the Name, CallbackUrl, and Format to create a fulfillment service.
INSERT INTO FulfillmentServices (Name, CallbackUrl, Format) VALUES ('testing fulfillment services', 'http://google.com', 'json')
You must specify the Id to update a fulfillment service. For example:
UPDATE FulfillmentServices SET Name = 'test32', IncludePendingStock = true WHERE Id = '123'
You must specify the Id of the fulfillment service to delete it.
DELETE FROM FulfillmentServices WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the fulfillment service. | |
| LocationId | Long | True |
Locations.Id |
The unique identifier of the location tied to the fulfillment service. |
| ProviderId | String | True |
A unique identifier for the fulfillment service provider. | |
| Name | String | False |
The name of the fulfillment service as seen by merchants and their customers. | |
| Handle | String | True |
A human-friendly unique string for the fulfillment service generated from its title. | |
| ServiceName | String | True |
The name of the fulfillment service. | |
| String | False |
The email of the fulfillment service. | ||
| IncludePendingStock | Bool | False |
States if the fulfillment service includes a pending stock. | |
| RequiresShippingMethod | Bool | False |
States if the fulfillment service requires products to be physically shipped. Valid values are 'true' and 'false'. | |
| TrackingSupport | Bool | False |
States if the fulfillment service provides tracking numbers for packages. Valid values are | |
| InventoryManagement | Bool | False |
States if the fulfillment service tracks product inventory and provides updates to Shopify. Valid values are | |
| FulfillmentOrdersOptIn | Bool | False |
States if the fulfillment orders is opt in. | |
| CallbackUrl | String | False |
States the URL endpoint that Shopify needs to retrieve inventory and tracking updates. This field is necessary if either inventory_management or tracking_support is set to | |
| Format | String | False |
Specifies the format of the API output. Valid values are json and xml. |
Create, update, delete, and query gift cards.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM GiftCards
SELECT * FROM GiftCards WHERE Id = 123
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the gift card. | |
| APIClientId | Long | True |
The ID of the client that issued the gift card. | |
| Balance | Decimal | True |
The balance of the gift card. | |
| Code | String | False |
The gift card code, which is a string of alphanumeric characters. For security reasons, this is available only upon creation of the gift card. (minimum: 8 characters, maximum: 20 characters) | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was created. | |
| Currency | String | True |
The currency of the gift card. | |
| CustomerId | Long | True |
Customers.Id |
The ID of the customer associated with this gift card. |
| DisabledAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was disabled. | |
| ExpiresOn | Date | False |
The date (YYYY-MM-DD format) when the gift card expires. Returns null if the gift card doesn't have an expiration date. | |
| InitialValue | Decimal | False |
The initial value of the gift card when it was created. | |
| LastCharacters | String | True |
The last four characters of the gift card code. Because gift cards are alternative payment methods, the full code cannot be retrieved. | |
| LineItemId | Long | True |
OrdersItems.ItemId |
The ID of the line item that initiated the creation of this gift card, if it was created by an order. |
| Note | String | False |
An optional note that a merchant can attach to the gift card that isn't visible to customers. | |
| OrderId | Long | True |
Orders.Id |
The ID of the order that initiated the creation of this gift card, if it was created by an order. |
| TemplateSuffix | String | False |
The suffix of the Liquid template that's used to render the gift card online. For example, if the value is birthday, then the gift card is rendered using the template gift_card.birthday.liquid. When the value is null, the default gift_card.liquid template is used. | |
| UserId | Long | True |
Users.Id |
The ID of the user that issued the gift card, if it was issued by a user. |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was last modified. |
Create, update, delete, and query marketing events.
SELECT * FROM MarketingEvents
SELECT * FROM MarketingEvents WHERE Id = '123'
You must specify the MarketingChannel, EventType, Paid, ReferringDomain, and StartedAt columns to create a marketing event. For example:
INSERT INTO MarketingEvents (MarketingChannel, EventType, Paid, ReferringDomain, StartedAt) VALUES ('social', 'ad', true, 'facebook.com', '2018-12-15')
You must specify the Id to update a marketing event. You can modify only timestamps, RemoteId, and budget/currency. For example:
UPDATE MarketingEvents SET RemoteId = '1000:2000', StartedAt = '2018-02-02T00:00 +00:00', EndedAt = '2018-02-03T00:00 +00:00', ScheduledToEndAt = '2018-02-04T00:00 +00:00', Budget = 11.1, BudgetType = 'daily', Currency = 'USD' WHERE Id = '123'
You must specify the Id of the marketing event to delete it.
DELETE FROM MarketingEvents WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the marketing event. | |
| RemoteId | String | False |
An optional remote identifier for a marketing event. | |
| BreadcrumbId | String | True |
An optional identifier for the breadcrumb of a marketing event. | |
| UTMCampaign | String | True |
A unique name for the UTM campaign. | |
| UTMSource | String | True |
The source of the UTM campaign. | |
| UTMMedium | String | True |
The medium of the UTM campaign. | |
| UTMContent | String | True |
The content of the UTM campaign. | |
| UTMTerm | String | True |
The term of the UTM campaign. | |
| EventTarget | String | True |
The target of the event. | |
| Description | String | True |
A description for the marketing event. | |
| MarketingChannel | String | False |
A broader marketing event type that is focused only on the channel. Must be one of the allowed values (`search`, `display`, `social`, `email`, `referral`). | |
| EventType | String | False |
The specific type of marketing event. Must be one of the allowed values (`ad`, `post`, `message`, `retargeting`, `transactional`, `affiliate`, `loyalty`, `newsletter`, `abandoned_cart`, `receipt`). | |
| Budget | Decimal | False |
The budget of the ad campaign. | |
| Paid | Bool | False |
A boolean field to specify whether this event is paid or organic. | |
| BudgetType | String | False |
The type of the budget; must be either `daily` or `lifetime`. | |
| Currency | String | False |
The currency for the budget. | |
| ManageUrl | String | True |
A link to manage the marketing event, generally in the Shopify app's interface. | |
| PreviewUrl | String | True |
A link to view the live version of the post/ad, or to view a rendered preview of the post/ad/email in the Shopify app. | |
| ReferringDomain | String | False |
The destination domain of the marketing event. Required unless MarketingChannel is one of email/referral/display. | |
| MarketedResources | String | True |
A list of the items that were marketed in the marketing event. It's a list of dictionaries with type keys and id keys. Valid values for type are: (`product`, `collection`, `price_rule`, `page`, `article`, `homepage`). All types, other than homepage, also require an id. | |
| StartedAt | Datetime | False |
The timestamp when the marketing action was started, or when the email was sent, or when the Facebook post was made live, etc. | |
| EndedAt | Datetime | False |
For events with a duration, when the event actually ended. This may differ from ScheduledToEndAt, if the ad was stopped early, etc. | |
| ScheduledToEndAt | Datetime | False |
For events with a duration, when the event was supposed to end. |
Retrieves a list of metafields that belong to a resource.
OwnerResource or the metafield Id (when executing non-bulk operations) is required for any query against Metafields.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Metafields WHERE Id = 'gid://shopify/Metafield/19334473318423'
SELECT * FROM Metafields WHERE Id IN ('gid://shopify/Metafield/19334473318423', 'gid://shopify/Metafield/19334473318424')
SELECT * FROM Metafields WHERE OwnerResource = 'product'
SELECT * FROM Metafields WHERE OwnerResource = 'variant' AND OwnerId = 'gid://shopify/ProductVariant/39378393497623'
SELECT * FROM Metafields WHERE OwnerResource = 'variant' AND OwnerId IN ('gid://shopify/ProductVariant/39378393497623', 'gid://shopify/Product/1418248224791')
The following columns can be used to create a new record:
Namespace, Key, Value, Type, OwnerId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique ID of the metafield. | |
| Namespace | String | False |
A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. | |
| Key | String | False |
The name of the metafield. | |
| Value | String | False |
The information to be stored as metadata. | |
| Type | String | False |
The metafield's information type. | |
| Description | String | False |
A description of the information that the metafield contains. | |
| OwnerId | Long | False |
The unique ID of the resource that the metafield is attached to. | |
| OwnerResource | String | False |
The type of resource that the metafield is attached to. The allowed values are shop, draft_order, page, article, order, customer, collection, blog. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the metafield was created. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the metafield was last updated. | |
| AdminGraphqlApiId | String | True |
The admin graphql api id |
Create, update, delete, and query orders.
For example, the following queries are processed server-side:
SELECT * FROM Orders WHERE Id = '123'
SELECT * FROM Orders WHERE FinancialStatus = 'pending'
SELECT * FROM Orders WHERE CreatedAt > '2017-10-25'
Create a simple order with only a product variant Id using aggregates.
INSERT INTO Orders (LineAggregate) VALUES ('[{\"variant_id\":\"4236041945111\",\"quantity\":2}]')
Create a simple order with only a product variant Id using temporary table.
The temporary table you are populating is dynamic and will be created at run time the first time you insert to it. Temporary tables are denoted by a # appearing in their name. When using a temporary table to insert, the temporary table must be named in the format [TableName]#TEMP, where TableName is the name of the table you will be inserting to. For instance:
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('123', 2)
Once your temporary table is populated, it is now time to insert to the actual table in Shopify. You can do this by performing an INSERT to the actual table and setting as a value for LinesAggregate the name of the temporary table. For instance:
INSERT INTO Orders (LineAggregate) VALUES ('OrdersItems#TEMP')
Create a simple order, sending the order receipt and fulfillment receipt to the customer using aggregates.
INSERT INTO Orders (Email, FulfillmentStatus, SendReceipt, SendFulfillmentReceipt, LineAggregate) VALUES ('[email protected]', 'fulfilled', true, true, '[{\"variant_id\":\"4236041945111\",\"quantity\":2},{\"variant_id\":\"4236069011479\",\"quantity\":3}]')
Create a simple order, sending the order receipt and fulfillment receipt to the customer using temporary table.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236041945111', 2)
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236069011479', 3)
INSERT INTO Orders (Email, FulfillmentStatus, SendReceipt, SendFulfillmentReceipt, LineAggregate) VALUES ('[email protected]', 'fulfilled', true, true, 'OrdersItems#TEMP')
Create a simple order, with taxes using aggregates.
INSERT INTO Orders (LineAggregate, TaxAggregate) VALUES ('[{\"variant_id\":\"4236041945111\",\"quantity\":2},{\"variant_id\":\"4236069011479\",\"quantity\":3}]', '[{\"price\":10.2,\"rate\":0.06,\"title\":\"State Tax\"}]')
Create a simple order, with taxes using temporary table.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236041945111', 2)
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236069011479', 3)
INSERT INTO TaxItems#TEMP (TaxItemPrice, TaxItemRate, TaxItemTitle) VALUES (10.2, 0.06, 'State Tax')
INSERT INTO Orders (LineAggregate, TaxAggregate) VALUES ('OrdersItems#TEMP', 'TaxItems#TEMP')
Create a simple order, with multiple taxes using aggregates.
INSERT INTO Orders (LineAggregate, TaxAggregate) VALUES ('[{\"variant_id\":\"4236041945111\",\"quantity\":2},{\"variant_id\":\"4236069011479\",\"quantity\":3}]', '[{\"price\":10.2,\"rate\":0.06,\"title\":\"State Tax\"},{\"price\":4.25,\"rate\":0.025,\"title\":\"County Tax\"}]')
Create a simple order, with multiple taxes using temporary table.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236041945111', 2)
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236069011479', 3)
INSERT INTO TaxItems#TEMP (TaxItemPrice, TaxItemRate, TaxItemTitle) VALUES (10.2, 0.06, 'State Tax')
INSERT INTO TaxItems#TEMP (TaxItemPrice, TaxItemRate, TaxItemTitle) VALUES (4.25, 0.025, 'County Tax')
INSERT INTO Orders (LineAggregate, TaxAggregate) VALUES ('OrdersItems#TEMP', 'TaxItems#TEMP')
Create a more comprehensive order using aggregates.
INSERT INTO Orders (LineAggregate) VALUES ([{\"title\":\"Big Brown Bear Boots\",\"price\":74.99,\"grams\":1300,\"quantity\":3}])
Create a more comprehensive order using temporary table.
INSERT INTO OrdersItems#TEMP (ItemTitle, ItemPrice, ItemGrams, ItemQuantity) VALUES ('Big Brown Bear Boots', 74.99, 1300, 3)
INSERT INTO Orders (LineAggregate) VALUES ('OrdersItems#TEMP')
Create a pending order with an existing customer using aggregates.
INSERT INTO Orders (LineAggregate, CustomerId, FinancialStatus) VALUES ('[{\"variant_id\":\"123\",\"quantity\":3}]', '456', 'pending')
Create a pending order with an existing customer using temporary table.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('123', 3)
INSERT INTO Orders (LineAggregate, CustomerId, FinancialStatus) VALUES ('OrdersItems#TEMP', '456', 'pending')
Create a partially paid order with a new customer and addresses using aggregates.
INSERT INTO Orders (LineAggregate, CustomerFirstName, CustomerLastName, CustomerEmail, FinancialStatus) VALUES ('[{\"variant_id\":\"123\",\"quantity\":3}]', 'Paul', 'Norman', '[email protected]', 'partially_paid')
Create a partially paid order with a new customer and addresses using temporary.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('123', 3)
INSERT INTO Orders (LineAggregate, CustomerFirstName, CustomerLastName, CustomerEmail, FinancialStatus) VALUES ('OrdersItems#TEMP', 'Paul', 'Norman', '[email protected]', 'partially_paid')
Close an order (you must specify the Id of the order).
INSERT INTO Orders (Id, Operation) VALUES ('123', 'Close')
Reopen an order (you must specify the Id of the order).
INSERT INTO Orders (Id, Operation) VALUES ('123', 'Open')
Cancel an order (you must specify the Id of the order).
INSERT INTO Orders (Id, Operation) VALUES ('123', 'Cancel')
Only columns BuyerAcceptsMarketing, Email, Phone, Note, Tags, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressPhone, ShippingAddressCity, ShippingAddressCompany, ShippingAddressZip, ShippingAddressProvince, ShippingAddressCountry, ShippingAddressLatitude, ShippingAddressLongitude, ShippingAddressName, ShippingAddressCountryCode, ShippingAddressProvinceCode and ShippingAddressDefault can be updated.
Update the shipping address of an existing order.
UPDATE Orders SET ShippingAddressAddress1 = '123 Ship Street', ShippingAddressCity = 'Shipsville' WHERE Id = '123'
Update an order's tags.
UPDATE Orders SET Tags = 'External, Inbound, Outbound' WHERE Id = '123'
You must specify the Id of the order when deleting an item from this table.
DELETE FROM Orders WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the order. | |
| Number | Long | True |
A unique identifier for the order, used by the shop owner and customer. | |
| CustomerId | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| CustomerFirstName | String | False |
The first name of the customer. | |
| CustomerLastName | String | False |
The last name of the customer. | |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| String | False |
The customer's email address. | ||
| Name | String | True |
The customer's order name as represented by a number. | |
| TotalDiscounts | Decimal | True |
The total amount of the discounts to be applied to the price of the order. | |
| TotalOrderItemsPrice | Decimal | True |
The sum of all the prices of all the items in the order. | |
| TotalPrice | Decimal | True |
The sum of all the prices of all the items in the order, taxes and discounts included. | |
| SubtotalPrice | Decimal | True |
Price of the order before shipping and taxes. | |
| TotalTax | Decimal | False |
The sum of all the taxes applied to the order. | |
| TotalWeight | Int | True |
The sum of all the weights of the line items in the order, in grams. | |
| BrowserIp | String | True |
The IP address of the browser used by the customer when placing the order. | |
| BuyerAcceptsMarketing | Bool | False |
Indicates whether or not the person who placed the order would like to receive email updates from the shop. | |
| CancelReason | String | True |
The reason why the order was canceled. | |
| CartToken | String | True |
Unique identifier for a particular cart that is attached to a particular order. | |
| OrderStatusUrl | String | True |
The URL pointing to the order status web page. | |
| Token | String | True |
Unique identifier for a particular order. | |
| TaxesIncluded | Bool | False |
States whether or not taxes are included in the order subtotal. | |
| SourceName | String | True |
Where the order originated. | |
| ReferringSite | String | True |
The website that the customer clicked on to come to the shop. | |
| Phone | String | False |
The customer's phone number. | |
| Note | String | False |
The text of an optional note that a shop owner can attach to the order. | |
| LocationId | Long | True |
The unique numeric identifier for the physical location at which the order was processed. | |
| LandingSite | String | True |
The URL for the page where the buyer landed when entering the shop. | |
| Tags | String | False |
Additional short descriptors. | |
| FulfillmentStatus | String | False |
The fulfillment status of the order. Valid values during SELECT: shipped, partial, unshipped, any, unfulfilled. Valid values during INSERT: fulfilled, null, partial, restocked. The allowed values are shipped, partial, unshipped, any, unfulfilled, fulfilled, null, restocked. | |
| FinancialStatus | String | False |
The financial status of the order. Valid values during SELECT: authorized, pending, paid, partially_paid, refunded, voided, partially_refunded, any, unpaid. Valid values during INSERT: authorized, pending, paid, partially_paid, refunded, voided, partially_refunded. The allowed values are authorized, pending, paid, partially_paid, refunded, voided, partially_refunded, any, unpaid. | |
| CustomerLocale | String | True |
The customer locale of the order. | |
| InvoiceSentAt | Datetime | True |
This auto-generated property is the date and time when the invoice was emailed to the customer. Only available for draft orders. | |
| InvoiceUrl | String | True |
The URL for the invoice. Only available for draft orders. | |
| TaxExempt | Bool | True |
States whether or not taxes are exempt for this order. Only available for draft orders. | |
| DiscountCodes | String | True |
Applicable discount codes that can be applied to the order. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the order. | |
| TaxAggregate | String | False |
A JSON aggregate of tax line items associated with the order. Note, these taxes are applied on the order, not on individual items. If you want them to be applied on individual items, use them in LineAggregate. Tax lines must be associated with either order or line item but not both. | |
| ShippingAggregate | String | False |
A JSON aggregate of shipping line items associated with the order. | |
| NoteAttributesAggregate | String | False |
A JSON aggregate of note attributes associated with the order. | |
| DiscountApplicationsAggregate | String | True |
An ordered list of stacked discount applications. | |
| BillingAddressFirstName | String | False |
The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | False |
The last name of the person associated with the payment method. | |
| BillingAddressAddress1 | String | False |
The street address of the billing address. | |
| BillingAddressAddress2 | String | False |
An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | False |
The phone number at the billing address. | |
| BillingAddressCity | String | False |
The city of the billing address. | |
| BillingAddressCompany | String | False |
The company of the person associated with the billing address. | |
| BillingAddressZip | String | False |
The zip or postal code of the billing address. | |
| BillingAddressProvince | String | False |
The name of the state or province of the billing address. | |
| BillingAddressCountry | String | False |
The name of the country of the billing address. | |
| BillingAddressLatitude | Double | False |
The latitude of the billing address. | |
| BillingAddressLongitude | Double | False |
The longitude of the billing address. | |
| BillingAddressName | String | False |
The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | False |
The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | False |
The first name of the person associated with the shipping method. | |
| ShippingAddressLastName | String | False |
The last name of the person associated with the shipping method. | |
| ShippingAddressAddress1 | String | False |
The street address of the shipping address. | |
| ShippingAddressAddress2 | String | False |
An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | False |
The phone number at the shipping address. | |
| ShippingAddressCity | String | False |
The city of the shipping address. | |
| ShippingAddressCompany | String | False |
The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | False |
The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | False |
The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | False |
The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | False |
The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | False |
The longitude of the shipping address. | |
| ShippingAddressName | String | False |
The full name of the person associated with the shipping method. | |
| ShippingAddressCountryCode | String | False |
The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| AppliedDiscountTitle | String | False |
The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | False |
The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | False |
The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | False |
The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | False |
The amount of the applied discount for this order. Only available for draft orders. | |
| PaymentTermsAmount | Long | True |
The amount that is owed according to the payment terms. | |
| PaymentTermsCurrency | String | True |
The presentment currency for the payment. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the selected payment terms template for the order. | |
| PaymentTermsPaymentTermsType | String | True |
The type of selected payment terms template for the order. | |
| PaymentTermsDueInDays | Int | True |
The number of days between the invoice date and due date that is defined in the selected payment terms template. | |
| PaymentTermsPaymentSchedules | String | True |
An array of schedules associated to the payment terms. | |
| ProcessedAt | Datetime | True |
The date and time when the order was imported, in ISO 8601 format. | |
| CreatedAt | Datetime | True |
The date and time when the order was created. | |
| ClosedAt | Datetime | True |
The date and time when the order was closed. | |
| CancelledAt | Datetime | True |
The date and time when the order was canceled. | |
| UpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| SendReceipt | Bool | False |
Determines whether an order confirmation will be sent to the customer. | |
| SendFulfillmentReceipt | Bool | False |
Determines whether a fulfillment confirmation will be sent to the customer. | |
| InventoryBehaviour | String | False |
Determines which inventory updating behavior is used. The following values are available: default, decrement_ignoring_policy, decrementobeying_policy The allowed values are default, decrement_ignoring_policy, decrementobeying_policy. | |
| Operation | String | False |
An operation to apply to the Order. Valid values for order: Close, Open, or Cancel. The allowed values are Close, Open, Cancel. | |
| TotalShippingPriceSetShopMoneyAmount | Double | True |
The amount of the shop money in the total shipping price set. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
The currency code of the shop money in the total shipping price set. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total shipping price set. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total price set. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total price set. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total tax set. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total tax set. | |
| CheckoutId | Long | True |
The checkout id. | |
| CheckoutToken | String | True |
A unique value when referencing the checkout that's associated with the order. | |
| EstimatedTaxes | Bool | True |
Estimated taxes of the order. | |
| Test | Bool | True |
Test boolean for the order. | |
| TotalOutstanding | Decimal | True |
The outstanding sum of all the items in the order. | |
| TotalTipReceived | Decimal | True |
The total tip for the order. | |
| PresentmentCurrency | String | True |
The currency code of the presentment money. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total line items price set. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total line items price set. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the discounts set. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the discounts set. | |
| TotalSubtotalSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the subtotal. | |
| TotalSubtotalSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the subtotal. | |
| OrigTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the original total additional fees set. | |
| OrigTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the original total additional fees set. | |
| CurTotalDiscountsSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total discounts set. | |
| CurTotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total discounts set. | |
| CurSubtotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current subtotal price set. | |
| CurSubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current subtotal price set. | |
| CurrentTotalTaxSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total tax set. | |
| CurrentTotalTaxSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total tax set. | |
| CurTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total additional fees set. | |
| CurTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total additional fees set. | |
| CurrentTotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total price set. | |
| CurrentTotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total price set. | |
| OriginalTotalDutiesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the original total duties set. | |
| OriginalTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the original total duties set. | |
| CurrentTotalDutiesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total duties set. | |
| CurrentTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total duties set. | |
| PaymentGatewayNames | String | True |
The list of payment gateway names | |
| FulfillmentAggregate | String | True |
A JSON aggregate of fulfillments associated with the order. Note, these fulfillments are applied on the order, not on individual items. | |
| RefundAggregate | String | True |
A JSON aggregate of refunds associated with the order. Note, these refunds are applied on the order, not on individual items. | |
| ConfirmationNumber | String | True |
A randomly generated alpha-numeric identifier for the order that may be shown to the customer instead of the sequential order name. This value isn't guaranteed to be unique. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Status | String |
Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Create and query transactions.
The Shopify APIs requires the search criteria to contain OrderId. For example, the following query is processed server-side.
SELECT * FROM OrderTransactions WHERE OrderId = '123'
When performing a query without a filter or a filter other then the OrderId column, the Cloud will retrieve the entire list of transactions and perform the filters client-side.
The Shopify API requires that an OrderId be specified when retrieving transactions. Therefore to retrieve all the transactions, the Cloud will first retrieve all the OrderIds
from the Orders table (essentially performing the query: SELECT Id FROM Orders). Once the OrderId values have been retrieved, the Cloud will issue individual requests to the
Shopify API to retrieve all the transactions for each OrderId to build the result set.
SELECT * FROM OrderTransactions WHERE Kind = 'Capture'
You must specify the OrderId and Kind when inserting a transaction.
Capture a specified amount on a previously authorized order.
INSERT INTO OrderTransactions (OrderId, Amount, Kind) VALUES ('123', 10.25, 'Capture')
Capture a previously authorized order for the full amount.
INSERT INTO OrderTransactions (OrderId, Kind) VALUES ('123', 'Capture')
INSERT INTO OrderTransactions (OrderId, Kind, Authorization) VALUES ('123', 'authorization', '7')INSERT INTO OrderTransactions (OrderId, Kind) VALUES ('123', 'capture')INSERT INTO OrderTransactions (OrderId, Kind) VALUES ('123', 'sale')INSERT INTO OrderTransactions (OrderId, Kind, TransactionItemParentId, Currency, Amount) VALUES ('123', 'void', '456', 'USD', '0.1')INSERT INTO OrderTransactions (OrderId, Kind, TransactionItemParentId, Amount) VALUES ('123', 'refund', '456', '1440.00')
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the transaction. | |
| OrderId | Long | False |
Orders.Id |
A unique numeric identifier for the order. |
| UserId | Long | True |
The unique identifier for the user. | |
| LocationId | Long | True |
The ID of the physical location where the transaction was processed. | |
| Amount | Decimal | False |
The amount of money that the transaction was for. | |
| Authorization | String | False |
The authorization code associated with the transaction. | |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| DeviceId | String | True |
The unique identifier for the device. | |
| Gateway | String | False |
The name of the gateway the transaction was issued through. | |
| SourceName | String | True |
The origin of the transaction. | |
| Kind | String | False |
The kind of transaction. Can be any of the following: Authorization, Capture, Sale, Void, Refund. The allowed values are authorization, capture, sale, void, refund. | |
| Message | String | True |
The message associated with this transaction. | |
| ErrorCode | String | True |
A standardized error code, independent of the payment provider. | |
| Status | String | False |
The status of the transaction. | |
| Test | Bool | True |
The option to use the transaction for testing purposes. | |
| AVSResultCode | String | True |
The Response code from the address verification system. | |
| CreditCardBin | String | True |
The issuer identification number (IIN). | |
| CVVResultCode | String | True |
The Response code from the credit card company. | |
| CreditCardNumber | String | True |
The customer's credit card number, with most of the leading digits redacted with Xs. | |
| CreditCardCompany | String | True |
The name of the company who issued the customer's credit card. | |
| CreatedAt | Datetime | True |
The date and time when the customer was created. | |
| PaymentsRefundsAttributesStatus | String | True |
The current status of the refund The allowed values are pending, failure, success, error. | |
| PaymentsRefundsAttributesAcquirerReferenceNumber | String | True |
A unique number associated with the transaction that can be used to track the refund. | |
| PaymentId | String | True |
The unique identifier for the payment. | |
| ProcessedAt | Datetime | True |
The date and time when the transaction was processed. | |
| CreditCardName | String | True |
The name on the customer's credit card. | |
| CreditCardWallet | String | True |
The wallet of the customer's credit card. | |
| CreditCardExpMonth | Long | True |
The expiration month of the customer's credit card. | |
| CreditCardExpYear | Long | True |
The expiration year of the customer's credit card. | |
| Receipt | String | True |
A JSON aggregate of the order receipt. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total unsettled set. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total unsettled set. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| TransactionItemAmount | Decimal |
The amount of money that the transaction was for. Use this when inserting transactions into an order or refund. |
| TransactionItemGateway | String |
The name of the gateway the transaction was issued through. Use this when inserting transactions into an order or refund. |
| TransActionItemKind | String |
The kind of transaction. Can be any of the following: Authorization, Capture, Sale, Void, Refund. Use this when inserting transactions into an order or refund. The allowed values are authorization, capture, sale, void, refund. |
| TransactionItemStatus | String |
The status of the transaction. Use this when inserting transactions into an order or refund. |
| TransactionItemParentId | String |
The parent id of the transaction. Use this when inserting transactions into a refund. |
| TransactionItemSource | String |
The status of the transaction. |
| UpdatedAt | Datetime |
The last time the order is updated. |
Create, read, update or delete pages
SELECT * FROM Pages
SELECT * FROM Pages WHERE Id = '123'
SELECT * FROM Pages WHERE CreatedAt > '2018-05-02'
SELECT * FROM Pages WHERE Handle = 'test'
SELECT * FROM Pages WHERE PublishedAt <= '2018-05-02'
SELECT * FROM Pages WHERE Title = 'new title'
SELECT * FROM Pages WHERE UpdatedAt >= '2018-05-02'
SELECT * FROM Pages WHERE PublishedStatus >= 'published'
You must specify the Title to create a Page.
INSERT INTO Pages (title) VALUES ('new Page')
You must specify the id to update a Page. For example:
UPDATE Pages SET author = 'Harry' WHERE Id = '77171130'
You must specify the Id of the Page to delete it.
DELETE FROM Pages WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique numeric identifier for the page. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Author | String | False |
The name of the person who created the page. | |
| BodyHtml | String | False |
The text content of the page, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the page was created. | |
| Handle | String | False |
A unique, human-friendly string for the page, generated automatically from its title. In online store themes, the Liquid templating language refers to a page by its handle. | |
| Metafields | String | False |
Additional information attached to the Page object. | |
| PublishedAt | Datetime | False |
The date and time (ISO 8601 format) when the page was published. Returns null when the page is hidden. | |
| ShopId | Long | True |
The ID of the shop to which the page belongs. | |
| TemplateSuffix | String | False |
The suffix of the Liquid template being used. | |
| Title | String | False |
The page's title. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the page was last updated. | |
| PublishedStatus | String | False |
Filter comments by their publish status. Valid values are: published, unpublished and any ; default: any. The allowed values are published, unpublished, any. |
Create, update, delete, and query price rules.
SELECT * FROM PriceRules WHERE Id = '123'
You must specify the Title, TargetType, TargetSelection, ValueType, Value, CustomerSelection, StartsAt, and AllocationMethod columns to create a price rule. For example:
INSERT INTO PriceRules (Title, TargetType, TargetSelection, ValueType, Value, CustomerSelection, StartsAt, AllocationMethod) VALUES ('SUMMERSALE10OFF', 'line_item', 'all', 'fixed_amount', '-10.0', 'all', '2017-01-19T17:59:10Z', 'across')
You must specify the Id to update a price rule. For example:
UPDATE PriceRules SET Title = 'SUMMERSALE10OFF' WHERE Id = '123'
You must specify the Id of the price rule to delete it.
DELETE FROM PriceRules WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the price rule. | |
| AllocationMethod | String | False |
The allocation method of the price rule. Valid values: each: The discount is applied to each of the entitled items. across: The calculated discount amount will be applied across the entitled items. The allowed values are each, across. | |
| CustomerSelection | String | False |
The customer selection for the price rule. Valid values: all: The price rule is valid for all customers. prerequisite: The customer must either belong to one of the customer saved searches specified by PrerequisiteSavedSearchIds. The allowed values are all, prerequisite. | |
| EntitledCollectionIds | String | False |
A list of Ids of collections whose products will be eligible to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. It can't be used in combination with EntitledProductIds or EntitledVariantIds. | |
| EntitledCountryIds | String | False |
A list of Ids of shipping countries that will be entitled to the discount. It can be used only with TargetType set to shipping_line and TargetSelection set to entitled. | |
| EntitledProductIds | String | False |
A list of Ids of products that will be entitled to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. | |
| EntitledVariantIds | String | False |
A list of Ids of product variants that will be entitled to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. | |
| OncePerCustomer | Bool | False |
Whether the generated discount code will be valid only for a single use per customer. This is tracked using customer Id. | |
| PrerequisiteCustomerIds | String | False |
A list of customer Ids which for the price rule to be applicable, the customer must match one of the specified customers. If PrerequisiteCustomerIds is populated, then PrerequisiteSavedSearchIds must be empty. | |
| PrerequisiteQuantityRange | String | False |
The minimum number of items for the price rule to be applicable. It has the following property: greater_than_or_equal_to: The quantity of an entitled cart item must be greater than or equal to this value. | |
| PrerequisiteSavedSearchIds | String | False |
A list of customer saved search Ids. For the price rule to be applicable, the customer must be in the group of customers matching a customer saved search. If PrerequisiteSavedSearchIds is populated, then PrerequisiteCustomerIds must be empty. | |
| PrerequisiteShippingPriceRange | String | False |
The maximum shipping price for the price rule to be applicable. It has the following property: less_than_or_equal_to: The shipping price must be less than or equal to this value. | |
| PrerequisiteSubtotalRange | String | False |
The minimum subtotal for the price rule to be applicable. It has the following property: greater_than_or_equal_to: The subtotal of the entitled cart items must be greater than or equal to this value for the discount to apply. | |
| TargetSelection | String | False |
The target selection method of the price rule. Valid values: all: The price rule applies the discount to all line items in the checkout, entitled: The price rule applies the discount to selected entitlements only. | |
| TargetType | String | False |
The target type that the price rule applies to. Valid values: line_item: The price rule applies to the cart's line items, shipping_line: The price rule applies to the cart's shipping lines. | |
| UsageLimit | Int | False |
The maximum number of times the price rule can be used, per discount code. | |
| PrerequisiteProductIds | String | False |
List of product ids that will be a prerequisites for a Buy X Get Y type discount. The PrerequisiteProductIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Caution: If a product variant is included in PrerequisiteVariantIds, then PrerequisiteProductIds can't include the ID of the product associated with that variant. | |
| PrerequisiteVariantIds | String | False |
List of variant ids that will be a prerequisites for a Buy X Get Y type discount. The EntitledVariantIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Caution: If a product is included in PrerequisiteProductIds, then PrerequisiteVariantIds can't include the ID of any variants associated with that product. | |
| PrerequisiteCollectionIds | String | False |
List of collection ids that will be a prerequisites for a Buy X Get Y discount. The EntitledCollectionIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Cannot be used in combination with PrerequisiteProductIds or PrerequisiteVariantIds. | |
| Value | Decimal | False |
The value of the price rule. If if the value of target_type is shipping_line, then only -100 is accepted. The value must be negative. | |
| ValueType | String | False |
The value type of the price rule. Valid values: fixed_amount: Applies a discount of value as a unit of the store's currency. For example, if value is -30 and the store's currency is USD, then $30 USD is deducted when the discount is applied, percentage: Applies a percentage discount of value. For example, if value is -30, then 30% will be deducted when the discount is applied. If TargetType is shipping_line, then only percentage is accepted. | |
| PrerequisiteToEntitlementQuantityRatio | String | False |
Buy/Get ratio for a Buy X Get Y discount. prerequisite_quantity defines the necessary 'buy' quantity and entitled_quantity the offered 'get' quantity. The PrerequisiteToEntitlementQuantityRatio can be used only with: ValueType set to percentage, TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each, PrerequisiteProductIds or PrerequisiteVariantIds or PrerequisiteCollectionIds defined and EntitledProductIds or EntitledVariantIds or EntitledCollectionIds defined. | |
| Images | String | False |
A list of image objects. | |
| ProductType | String | False |
A categorization that a product can be tagged with, commonly used for filtering and searching. | |
| Options | String | True |
Custom product property names. | |
| PublishedScope | String | False |
Indicates whether the product is published to the Point of Sale channel. | |
| Tags | String | False |
A categorization that a product can be tagged with. Use commas to separate categories. | |
| TemplateSuffix | String | True |
The suffix of the liquid template being used. | |
| Title | String | False |
The name of the product. | |
| Vendor | String | False |
The name of the vendor of the product. | |
| StartsAt | Datetime | False |
The date and time when the price rule starts. | |
| EndsAt | Datetime | False |
The date and time when the price rule ends. Must be after StartsAt. | |
| PublishedAt | Datetime | True |
The date and time when the product was published to the Online Store channel. | |
| CreatedAt | Datetime | True |
The date and time when the price rule was created. | |
| UpdatedAt | Datetime | True |
The date and time when the price rule was last modified. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Published | Bool |
Set to true to publish the product or to false to not publish it |
| MetafieldsGlobalTitleTag | String |
The name of the product, to be used for SEO purposes. |
| MetafieldsGlobalDescriptionTag | String |
The description of the product, to be used for SEO purposes. |
Create, update, delete, and query Recurring Application Charges.
SELECT * FROM RecurringApplicationCharges
SELECT * FROM RecurringApplicationCharges WHERE Id = '123'
UPDATE RecurringApplicationCharges SET Test = 'true', Name = 'cd' WHERE Id = '2'
You must specify the Id of the recurring application charge to delete it.
DELETE FROM RecurringApplicationCharges WHERE Id = '2'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the recurring application charge. | |
| Name | String | False |
The name of the recurring application charge. | |
| ApiClientId | String | False |
The API Client Id | |
| Price | Decimal | False |
The price of the recurring application charge. The maximum price is 10,000. | |
| Status | String | False |
The status of the recurring charge | |
| ReturnUrl | String | False |
The URL where the merchant is redirected after accepting the charge. | |
| BillingOn | Date | False |
The date and time (ISO 8601 format) when the customer was billed. | |
| Test | String | False |
Whether the application charge is a test transaction. | |
| CreatedAt | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was created. | |
| UpdatedAt | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was last updated. | |
| ActivatedOn | Datetime | False |
The date and time (ISO 8601 format) when the customer activated the recurring application charge. | |
| CancelledOn | Datetime | False |
The date and time (ISO 8601 format) when the merchant canceled their recurring application charge. | |
| TrialDays | Int | False |
The number of days that the customer is eligible for a free trial. | |
| TrialEndsOn | Datetime | False |
The date and time (ISO 8601 format) when the free trial ends. | |
| DecoratedReturnUrl | String | False |
The decorated return url. | |
| CappedAmount | String | False |
The limit a customer can be charged for usage based billing. If this property is provided, then you must also provide the terms property. | |
| ConfirmationUrl | String | False |
The URL where the merchant accepts or declines the recurring application charge. | |
| Terms | String | False |
The terms and conditions of usage based billing charges. Must be present in order to create usage charges, |
Create, read, update or delete redirects.
SELECT * FROM Redirects
SELECT * FROM Redirects WHERE Id = '123'
SELECT * FROM Redirects WHERE Target = '/pqr.jsp'
SELECT * FROM Redirects WHERE Path = '/abc.php'
You must specify path and target to create a Redirect.
INSERT INTO Redirects (path, target) VALUES ('/abc.php', '/pqr.jsp')
You must specify the id to update a Redirect. For example:
UPDATE Redirects SET Path = '/abc.php' WHERE Id = '77171130'
You must specify the Id of the Redirect to delete it.
DELETE FROM Redirects WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID for the redirect. | |
| Path | String | False |
The old path to be redirected. | |
| Target | String | False |
The target location where the user will be redirected. |
Create and query refunds.
For example, the following queries are processed server-side.
If you specify the unique identifier of the Order, then this view will only list refund information concerning that order.
SELECT * FROM Refunds WHERE OrderId = '179098550295'
SELECT * FROM Refunds WHERE OrderId = '179098550295' AND Id = '7382073367'
You must specify the OrderId when inserting a refund.
Create a new refund for an order using aggregates.
INSERT INTO Refunds (OrderId, Restock, Notify, Note, ShippingFullRefund, LineAggregate) VALUES ('123', true, true, 'Wrong size', true, '[{\"id\":\"123\",\"quantity\":3,\"restock_type\": \"return\"}]')
Create a new refund for an order using temporary table.
INSERT INTO OrdersItems#TEMP (ItemId, ItemQuantity) VALUES ('123', 3)
INSERT INTO Refunds (OrderId, Restock, Notify, Note, ShippingFullRefund, LineAggregate) VALUES ('123', true, true, 'Wrong size', true, 'OrdersItems#TEMP')
Create a new refund for an order and attach a transaction to the refund as well using aggregates.
INSERT INTO Refunds (OrderId, LineAggregate, OrderTransactionAggregate) VALUES ('123', '[{\"id\":\"123\",\"quantity\":3,\"restock_type\": \"return\"}]', '[{\"kind\":\"refund\",\"amount\":5.5,\"gateway\":\"gw\",\"parent_id\":\"789\"}]')
Create a new refund for an order and attach a transaction to the refund as well using temporary table.
INSERT INTO OrdersItems#TEMP (ItemId, ItemQuantity) VALUES ('123', 3)
INSERT INTO Transactions#TEMP (TransactionItemParentId, TransactionItemAmount, TransactionItemKind, TransactionItemGateway) VALUES ('789', 5.5, 'refund', 'gw')
INSERT INTO Refunds (OrderId, LineAggregate, OrderTransactionAggregate) VALUES ('123', 'OrdersItems#TEMP', 'Transactions#TEMP')
Refund a specific amount of shipping using aggregates.
INSERT INTO Refunds (OrderId, ShippingAmount, OrderTransactionAggregate) VALUES ('123', 5.3, '[{\"parent_id\":\"456\"}]')
Refund a specific amount of shipping using temporary table.
INSERT INTO Transactions#TEMP (TransactionItemParentId) VALUES ('456')
INSERT INTO Refunds (OrderId, ShippingAmount, OrderTransactionAggregate) VALUES ('123', 5.3, 'Transactions#TEMP')
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique identifier for the refund. | |
| OrderId | Long | False |
Orders.Id |
The id of the order. |
| OrderUpdatedAt | Datetime | True |
Orders.UpdatedAt |
The date and time when the order was last modified. |
| Note | String | False |
The optional note attached to a refund. | |
| Restock | Bool | True |
Whether or not the line items were added back to the store inventory. | |
| UserId | Long | True |
The unique identifier of the user who performed the refund. | |
| CreatedAt | Datetime | True |
The date and time when the refund was created. | |
| ProcessedAt | Datetime | True |
The date and time when the refund was imported. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the refund. | |
| OrderTransactionAggregate | String | False |
A JSON aggregate of transactions associated with the refund. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Notify | Bool |
Whether or not to send a refund notification to the customer. |
| DiscrepancyReason | String |
An optional comment, used if there is a discrepancy between calculated and actual refund amounts (one of: restock, damage, customer, other) |
| ShippingAmount | Decimal |
Set specific amount of shipping to refund. Takes precedence over FullRefund. |
| ShippingFullRefund | Bool |
Whether or not to to refund all remaining shipping. |
Returns a list of resource feedback objects..
SELECT * FROM ResourceFeedbacks
You must specify path and target to create a Redirect.
INSERT INTO [ResourceFeedbacks] ([State], [Messages], [FeedbackGeneratedAt]) VALUES ('requires_action', 'Wow wow.', '2023-09-13 09:00:00');
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
Unique id of the resource. | |
| Type | String | False |
TType of resource for which feedback is returned. eg. Shop, Product. | |
| State | String | False |
Indicates the state that the Shop or resource is in, from the perspective of your app. Valid values are requires_action, or success. The allowed values are requires_action, success. | |
| Messages | String | False |
The name of the report. | |
| CreatedAt | Datetime | False |
DateTime when the resource feedback record was stored by Shopify. Type: ISO 8601 UTC DateTime as string with year, month (or week), day, hour, minute, second, time zone. | |
| UpdatedAt | Datetime | False |
DateTime when the resource feedback record was last updated by Shopify. Type: ISO 8601 UTC DateTime as string with year, month (or week), day, hour, minute, second, time zone. | |
| ResourceUpdatedAt | Datetime | False |
The date and time (ISO 8601) when the report was last modified. | |
| FeedbackGeneratedAt | Datetime | False |
The time at which the payload is constructed. Used to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival. Type: ISO 8601 UTC datetime as string with year, month [or week], day, hour, minute, second, millisecond, and time zone. |
Create, read, update or delete script tags.
SELECT * FROM ScriptTags
SELECT * FROM ScriptTags WHERE Id = '123'
SELECT * FROM ScriptTags WHERE CreatedAt > '2018-05-02'
SELECT * FROM ScriptTags WHERE UpdatedAt < '2017-08-15'
SELECT * FROM ScriptTags WHERE Src = 'https://example.com/my_script.js'
You must specify event and src to create a ScriptTag.
INSERT INTO Scripttags (event, src) VALUES ('onload', 'https://js-aplenty.com/abc.js')
You must specify the id to update a ScriptTag. For example:
UPDATE ScriptTags SET src = 'https://js-aplenty.com/abc.js' WHERE Id = '77171130'
You must specify the Id of the ScriptTag to delete it.
DELETE FROM ScriptTags WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID for the script tag. | |
| Cache | Bool | False |
Whether the Shopify CDN can cache and serve the script tag. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601) when the script tag was created. | |
| DisplayScope | String | False |
The page or pages on the online store where the script should be included. The allowed values are online_store, order_status, all. | |
| Event | String | False |
The DOM event that triggers the loading of the script. Valid values: onload. | |
| Src | String | False |
The URL of the remote script. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601) when the script tag was last updated. |
Query, insert, update, or delete information regarding different smart collections.
For example, the following queries are processed server-side.
SELECT * FROM SmartCollections WHERE Id = '123'
SELECT * FROM SmartCollections WHERE Id IN ('123', '456')
SELECT * FROM SmartCollections WHERE ProductId = '123'
SELECT * FROM SmartCollections WHERE Title = 'Ducks'
SELECT * FROM SmartCollections WHERE Handle = 'frontpage'
SELECT * FROM SmartCollections WHERE PublishedStatus = 'published'
SELECT * FROM SmartCollections WHERE UpdatedAt > '2018-05-02'
SELECT * FROM SmartCollections WHERE PublishedAt < '2017-08-15'
You must specify the Title and Rules to create a smart collection. For example:
INSERT INTO SmartCollections (Title, Rules) VALUES ('IPods', '[{"column": "vendor","relation": "equals","condition": "Apple"}]')
You must specify the smart collection Id to update a smart collection. For example:
UPDATE SmartCollections SET BodyHtml = '5000 songs in your pocket' WHERE Id = '123'
You must specify the Id of the smart collection to delete it.
DELETE FROM SmartCollections WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the smart collection. | |
| Title | String | False |
The name of the smart collection. Maximum length: 255 characters. | |
| BodyHtml | String | False |
The description of the smart collection. Includes HTML markup. Many shop themes display this on the smart collection page. | |
| Image | String | False |
A JSON aggregate with information regarding the image of smart collection. | |
| Rules | String | False |
A JSON aggregate with the list of rules that define what products go into the smart collection. Valid values for each rule field: column: tag, title, type, vendor, variant_price, variant_compare_at_price, variant_weight, variant_inventory, variant_title; relation: equals, greater_than, less_than, starts_with, ends_with, contains; condition: any string | |
| Handle | String | False |
A human-friendly unique string for the smart collection. Automatically generated from the title. Used in shop themes by the Liquid templating language to refer to the smart collection. (maximum: 255 characters) | |
| Disjunctive | Bool | False |
Whether the product must match all the rules to be included in the smart collection. Valid values: true: products only need to match one or more of the rules to be included in the smart collection, false: products must match all of the rules to be included in the smart collection. | |
| SortOrder | String | False |
The order in which products in the smart collection appear. | |
| TemplateSuffix | String | False |
The suffix of the Liquid template that the shop uses. By default, the original template is called product.liquid, and additional templates are called product.suffix.liquid. | |
| PublishedScope | String | False |
Whether the smart collection is published to Point of Sale. Valid values: web: The smart collection is published to the shop's online channels and not published to the Point of Sale channel, global: The smart collection is published to both the online channels and the Point of Sale channel. | |
| UpdatedAt | Datetime | True |
The date and time when the smart collection was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the smart collection was published. Returns null when the collection is hidden. | |
| ProductId | String | True |
Show smart collections that include a given product. | |
| PublishedStatus | String | True |
Show smart collection with a given published status: published: show only published smart collections, unpublished: show only unpublished smart collections, any: show all smart collections. (default: any). The allowed values are published, unpublished, any. |
Create, read, update or delete themes
SELECT * FROM Theme
SELECT * FROM Themes WHERE Id = '123'
You must specify name to create a Theme.
INSERT INTO Themes (name) VALUES ('NewTheme')
You must specify the id to update a Theme. For example:
UPDATE Themes SET name = 'NewTheme' WHERE Id = '77171130'
You must specify the Id of the Theme to delete it.
DELETE FROM Themes WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the theme. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the theme was created. | |
| Name | String | False |
The name of the theme. | |
| Previewable | Bool | True |
Whether the theme can currently be previewed. | |
| Processing | Bool | True |
Whether files are still being copied into place for this theme. | |
| Role | String | False |
Specifies how the theme is being used within the shop. The allowed values are main, published, demo. | |
| ThemeStoreId | Long | True |
A unique identifier applied to Shopify-made themes that are installed from the Shopify Theme Store Theme Store. | |
| UpdatedAt | Datetime | True |
The date and time ( ISO 8601 format) when the theme was last updated. |
Create or view Usage Charges for Recurring Application Charges.
SELECT * FROM UsageCharges WHERE Id = 123
SELECT * FROM UsageCharges WHERE RecurringApplicationId = 5569619
SELECT * FROM UsageCharges WHERE RecurringApplicationId = 5569619 AND Id = 123
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the usage charge. | |
| Description | String | False |
The name of the usage charge. | |
| Price | Decimal | False |
The price of the usage charge. | |
| CreatedAt | Datetime | False |
The date and time (ISO 8601 format) when the usage charge was created. | |
| BalanceUsed | Decimal | False |
The used balance | |
| BalanceRemaining | Decimal | False |
The remaining balance | |
| RiskLevel | Int | False |
The risk Level | |
| RecurringApplicationId | Long | False |
The Id of the RecurringApplication Charge |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| AbandonedCheckouts | Query abandoned checkouts. |
| AbandonedCheckoutsItems | Query abandoned checkouts items. |
| AssignedFulfillmentOrders | The AssignedFulfillmentOrder resource allows you to retrieve all the fulfillment orders that are assigned to an app at the shop level. |
| DiscountApplications | Query note attributes belonging to an order or draft order. |
| DraftOrderItemProperties | Query order item properties. |
| DraftOrderItems | Query draft order items. |
| DraftOrderItemTaxLines | Query draft order items tax lines. |
| Events | Retrieve events which have happened in your shop. |
| FulfillmentOrderLineItems | Query fulfillment order line items. |
| FulfillmentOrders | Query fulfillment orders. |
| Locations | Retrieve information regarding store locations. |
| NoteAttributes | Query note attributes belonging to an order or draft order. |
| OrderDiscountCodes | Query note attributes belonging to an order or draft order. |
| OrderItemDiscountAllocations | Query order item discount allocations. |
| OrderItemProperties | Query order item properties. |
| OrdersItems | Query order items. |
| Payouts | Retrieves a list of all payouts ordered by payout date, with the most recent being first. |
| PayoutTransactions | Retrieves a list of all balance transactions ordered by processing time, with the most recent being first. |
| PayoutTransactionsAdjustmentOrderTransactions | Retrieves associated order transactions that resulted in a balance transaction. |
| RefundAdjustments | Create and query transactions. |
| RefundsItems | Get data on OrdersItems that have been refunded. |
| RefundTransactions | Query transactions for Refund Object. |
| ShippingItemDiscountAllocations | Query Shipping item discount allocations. |
| ShippingItems | Query order shipping. |
| ShippingZones | Retrieve information regarding shipping zones. |
| Shop | Contains general settings and information about the shop. |
| TaxItems | Query order taxes. |
| Users | Query Users. |
Query abandoned checkouts.
SELECT * FROM AbandonedCheckouts WHERE CreatedAt > '2017-10-25'
| Name | Type | References | Description |
| Id [KEY] | Long | The unique numeric identifier for the order. | |
| AbandonedCheckoutUrl | String | The full recovery URL to be sent to a customer to recover their abandoned checkout. | |
| BuyerAcceptsMarketing | Bool | Indicates whether or not the person who placed the order would like to receive email updates from the shop. | |
| CancelReason | String | The reason why the order was cancelled. | |
| CartToken | String | Unique identifier for a particular cart that is attached to a particular order. | |
| Currency | String | The three letter code (ISO 4217) for the currency used for the payment. | |
| CustomerId | Long |
Customers.Id | A unique numeric identifier for the customer. |
| DiscountCodes | String | Applicable discount codes that can be applied to the order. | |
| String | The customer's email address. | ||
| Note | String | The text of an optional note that a shop owner can attach to the order. | |
| LandingSite | String | The URL for the page where the buyer landed when entering the shop. | |
| ReferringSite | String | The website that the customer clicked on to come to the shop. | |
| SourceName | String | Where the order originated. | |
| SubtotalPrice | Decimal | Price of the order before shipping and taxes. | |
| TotalDiscounts | Decimal | The total amount of the discounts to be applied to the price of the order. | |
| TotalLineItemsPrice | Decimal | The sum of all the prices of all the items in the order. | |
| TotalPrice | Decimal | The sum of all the prices of all the items in the order, taxes and discounts included. | |
| TotalTax | Decimal | The sum of all the taxes applied to the order. | |
| TotalWeight | Double | The sum of all the weights of the line items in the order, in grams. | |
| TaxesIncluded | Bool | States whether or not taxes are included in the order subtotal. | |
| Token | String | Unique identifier for a particular order. | |
| BillingAddressFirstName | String | The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | The last name of the person associated with the payment method. | |
| BillingAddressAdress1 | String | The street address of the billing address. | |
| BillingAddressAdress2 | String | An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | The phone number at the billing address. | |
| BillingAddressCity | String | The city of the billing address. | |
| BillingAddressCompany | String | The company of the person associated with the billing address. | |
| BillingAddressZip | String | The zip or postal code of the billing address. | |
| BillingAddressProvince | String | The name of the state or province of the billing address. | |
| BillingAddressCountry | String | The name of the country of the billing address. | |
| BillingAddressLatitude | Double | The latitude of the billing address. | |
| BillingAddressLongitude | Double | The longitude of the billing address. | |
| BillingAddressName | String | The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | The first name of the person associated with the shipping address. | |
| ShippingAddressLastName | String | The last name of the person associated with the shipping address. | |
| ShippingAddressAdress1 | String | The street address of the shipping address. | |
| ShippingAddressAdress2 | String | An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | The phone number at the shipping address. | |
| ShippingAddressCity | String | The city of the shipping address. | |
| ShippingAddressCompany | String | The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | The longitude of the shipping address. | |
| ShippingAddressName | String | The full name of the person associated with the shipping address. | |
| ShippingAddressCountryCode | String | The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | Whether this address is the default one or not. | |
| ClosedAt | Datetime | The date and time when the order was closed. | |
| CompletedAt | Datetime | The date and time when the order was completed. | |
| CreatedAt | Datetime | The date and time when the order was created. | |
| UpdatedAt | Datetime | The date and time when the order was last modified. |
Query abandoned checkouts items.
SELECT * FROM AbandonedCheckoutsItems WHERE CreatedAt > '2017-10-25'
| Name | Type | References | Description |
| AbandonedCheckoutId [KEY] | Long | The unique numeric identifier for the order. | |
| ProductId [KEY] | Long | The product ID od the item. | |
| ItemVariantId [KEY] | Long | The product variant ID of item. | |
| ItemTitle | String | The title of the product. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item in presentment currency. | |
| ItemGrams | Int | The weight of the item in grams. | |
| SKU | String | A unique identifier for the item in the shop. | |
| VariantTitle | String | The title of the product variant. | |
| Vendor | String | The name of the item's supplier. | |
| FulFillmentsService | String | The fulfillment service provider for the item. | |
| CreatedAt | Datetime | The date and time when the order was created. | |
| UpdatedAt | Datetime | The date and time when the order was last modified. |
The AssignedFulfillmentOrder resource allows you to retrieve all the fulfillment orders that are assigned to an app at the shop level.
SELECT * FROM AssignedFulfillmentOrders WHERE AssignedLocationId IN (1, 2)
SELECT * FROM AssignedFulfillmentOrders WHERE RequestStatus = 'cancellation_requested'
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the fulfillment order. | |
| ShopId | Long |
Shop.Id | The ID of the shop that's associated with the fulfillment order. |
| OrderId | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| AssignedLocationId | Long | The ID of the location that has been assigned to do the work. | |
| FulfillmentServiceHandle | String | A unique numeric identifier for the order. | |
| RequestStatus | String | The status of the fulfillment. | |
| DestinationId | String | The ID of the fulfillment order destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| LineItems | String | Represents line items belonging to a fulfillment order. | |
| Status | String | The status of the fulfillment order. | |
| Operation | String | An operation to apply to the fulfillment.
The allowed values are Complete, Open, Cancel. |
Query note attributes belonging to an order or draft order.
SELECT * FROM DiscountApplications WHERE OrderId = '1'
SELECT * FROM DiscountApplications WHERE OrderId IN ('1', '2')
SELECT * FROM DiscountApplications WHERE OrderUpdatedAt <= '2020-07-20 08:28:03.0'
SELECT * FROM DiscountApplications WHERE OrderUpdatedAt > '2020-07-20 08:28:03.0'
| Name | Type | References | Description |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Type | String | The name of the note attribute. | |
| Title | String | The value of the note attribute. | |
| Description | String | The value of the note attribute. | |
| Value | String | The value of the note attribute. | |
| ValueType | String | The value of the note attribute. | |
| AllocationMethod | String | The value of the note attribute. | |
| TargetSelection | String | The value of the note attribute. | |
| TargetType | String | The value of the note attribute. |
Query order item properties.
For example, the following queries are processed server-side.
SELECT * FROM DraftOrderItemProperties WHERE DraftOrderId = '123'
| Name | Type | References | Description |
| ItemId | Long |
DraftOrderItems.ItemId | The id of the order item. |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| Name | String | The name of the item property. | |
| Value | String | The value of the item property. |
Query draft order items.
For example, the following queries are processed server-side.
SELECT * FROM DraftOrderItems WHERE DraftOrderId = '123'
| Name | Type | References | Description |
| ItemId [KEY] | Long | The id of the line item. | |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| ProductId | Long | The ID of the product corresponding to the line item product variant. | |
| Custom | Bool | States whether this is a custom line item or a product variant line item | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| FulFillmentsService | String | Service provider responsible for fulfillment. | |
| ItemGrams | Int | The weight of the item in grams. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| ItemTitle | String | The title of the product or variant. | |
| ItemVariantId | Long | The id of the product variant. | |
| VariantTitle | String | The title of the product variant. | |
| Vendor | String | The name of the supplier of the item. | |
| Name | String | The name of the product variant. | |
| GiftCard | Bool | States whether or not the product is a gift card. | |
| Properties | String | Shows custom properties for this order item. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| TaxLines | String | Shows tax lines for this order item. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Query draft order items tax lines.
SELECT * FROM DraftOrderTaxItems WHERE DraftOrderId = '123'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
DraftOrderItems.ItemId | The id of the draft line item. |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| TaxTitle | String | The name of the tax. | |
| TaxRate | Decimal | The rate of tax to be applied. | |
| TaxPrice | Decimal | The amount of tax to be charged. |
Retrieve events which have happened in your shop.
For example, the following queries are processed server-side:
SELECT * FROM Events WHERE Id = '123'
SELECT * FROM Events WHERE ProductId = '123'
SELECT * FROM Events WHERE OrderId = '123'
SELECT * FROM Events WHERE Verb = 'Confirmed'
SELECT * FROM Events WHERE CreatedAt > '2018-05-02'
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the event. | |
| Description | String | A human readable description of the event. | |
| Message | String | A human readable description of the event. Can contain some HTML formatting. | |
| Body | String | A text field containing information about the event. | |
| Path | String | A relative URL to the resource the event is for, if applicable. | |
| SubjectId | Long | The ID of the resource that generated the event. | |
| SubjectType | String | he type of the resource that generated the event. Valid values: Article, Blog, Collection, Comment, Order, Page, Product, ApiPermission. | |
| Verb | String | The type of event that occurred. Different resources generate different types of event. | |
| Author | String | The author of the event. | |
| Arguments | String | Refers to a certain event and its resources. | |
| CreatedAt | Datetime | The date and time when the event was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| OrderId | Long | The ID of the Order to retrieve events from. |
Query fulfillment order line items.
For example, the following queries are processed server-side.
SELECT * FROM FulfillmentOrderLineItems WHERE OrderId = '123'
SELECT * FROM FulfillmentOrderLineItems WHERE FulfillmentOrderId='6817622622467'
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the fulfillment order line item. | |
| ShopId | Long |
Shop.Id | The ID of the shop associated with the fulfillment order line item. |
| FulfillmentOrderId | Long | The ID of the fulfillment order associated with this line item. | |
| OrderId | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| LineItemId | Long |
OrdersItems.ItemId | The ID of the line item associated with this fulfillment order line item. |
| InventoryItemId | Long | The ID of the inventory item associated with this fulfillment order line item. | |
| Quantity | Int | The total number of units to be fulfilled. | |
| FulfillableQuantity | Int | The number of units remaining to be fulfilled. | |
| VariantId | Long | The ID of the variant associated with this fulfillment order line item. | |
| FinancialSummaries | String | The financial summary data for the line item. |
Query fulfillment orders.
SELECT * FROM FulfillmentOrders WHERE OrderId = '1'
SELECT * FROM FulfillmentOrders WHERE Id = '1'
| Name | Type | References | Description |
| Id [KEY] | Long | An ID for the fulfillment order. | |
| ShopId | Long |
Shop.Id | The ID of the shop that's associated with the fulfillment order. |
| OrderId [KEY] | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| AssignedLocationId | Long | The ID of the location that has been assigned to do the work. | |
| DestinationId | String | The ID of the fulfillment order destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| FullfillAt | Datetime | The datetime (in UTC) when the fulfillment order is ready for fulfillment. | |
| LineItems | String | Represents line items belonging to a fulfillment order. | |
| RequestStatus | String | The status of the fulfillment. | |
| Status | String | The status of the fulfillment order. | |
| SupportedActions | String | The actions that can be performed on this fulfillment order. | |
| MerchantRequests | String | A list of requests sent by the merchant to the fulfillment service for this fulfillment order.. | |
| FulfillmentHolds | String | Represents the fulfillment holds applied on the fulfillment order. | |
| InternationalDuties | String | The international duties relevant to the fulfillment order. | |
| AssignedLocationAddress1 | String | The street address of the assigned location | |
| AssignedLocationAddress2 | String | An optional additional field for the street address of the assigned location. | |
| AssignedLocationCity | String | The city of the assigned location. | |
| AssignedLocationCountryCode | String | The two-letter code for the country of the assigned location | |
| AssignedLocationName | String | The name of the assigned location. | |
| AssignedLocationPhone | String | The phone number of the assigned location. |
Retrieve information regarding store locations.
For example, the following queries are processed server-side:
SELECT * FROM Locations WHERE Id = '123'
| Name | Type | References | Description |
| Id [KEY] | Long | The ID for the location. | |
| Name | String | The name of the location. | |
| Legacy | Bool | Whether this is a fulfillment service location. If true, then the location is a fulfillment service location. If false, then the location was created by the merchant and isn't tied to a fulfillment service. | |
| Address1 | String | The first line of the address. | |
| Address2 | String | The second line of the address. | |
| City | String | The city the location is in. | |
| Zip | String | The zip or postal code. | |
| Province | String | The province the location is in. | |
| Country | String | The country the location is in. | |
| Phone | String | The phone number of the location. This value can contain special characters like - and +. | |
| CountryCode | String | The two-letter code (ISO 3166-1 alpha-2 format) corresponding to country the location is in. | |
| CountryName | String | The name of the country the location is in. | |
| CreatedAt | Datetime | The date and time when the location was created. | |
| UpdatedAt | Datetime | The date and time when the location was last updated. | |
| DeletedAt | Datetime | The date and time when the location was deleted. |
Query note attributes belonging to an order or draft order.
SELECT * FROM NoteAttributes WHERE OrderId = '123'
SELECT * FROM NoteAttributes WHERE OrderUpdatedAt > '2018-05-05'
| Name | Type | References | Description |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Name | String | The name of the note attribute. | |
| Value | String | The value of the note attribute. |
Query note attributes belonging to an order or draft order.
SELECT * FROM OrderDiscountCodes WHERE OrderId = '1'
SELECT * FROM OrderDiscountCodes WHERE OrderId IN ('1', '2')
SELECT * FROM OrderDiscountCodes WHERE OrderUpdatedAt <= '2019-05-13 09:23:06.0'
SELECT * FROM OrderDiscountCodes WHERE OrderUpdatedAt >= '2019-05-13 09:23:06.0'
| Name | Type | References | Description |
| OrderId [KEY] | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Code [KEY] | String | The name of the note attribute. | |
| Amount | String | The value of the note attribute. | |
| Type | String | The value of the note attribute. |
Query order item discount allocations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM OrderItemDiscountAllocations
SELECT * FROM OrderItemDiscountAllocations WHERE OrderId IN (123, 456)
SELECT * FROM OrderItemDiscountAllocations WHERE OrderUpdatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| amount | String | The Amount of the item discount allocations. | |
| ApplicationIndex | Int | The ApplicationIndex of the item discount allocations. | |
| ShopMoneyAmount | Decimal | The ShopMoneyAmount of the item discount allocations. | |
| ShopMoneyCurrencyCode | String | The ShopMoneyCurrencyCode of the item discount allocations. | |
| PresentmentMoneyAmount | Decimal | The PresentmentMoneyAmount of the item discount allocations. | |
| PresentmentMoneyCurrencyCode | String | The PresentmentMoneyCurrencyCode of the item discount allocations. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order item properties.
For example, the following queries are processed server-side. You can set the Type pseudo column to "DraftOrder" to list order items belonging to draft orders instead of orders, or you can set Type to "AbandonedCheckout" to list order items belonging to abandoned checkouts.
SELECT * FROM OrderItemProperties WHERE OrderId = '123'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| Name | String | The name of the item property. | |
| Value | String | The value of the item property. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order items.
For example, the following queries are processed server-side. You can set the Type pseudo column to "DraftOrder" to list order items belonging to draft orders instead of orders, or you can set Type to "AbandonedCheckout" to list order items belonging to abandoned checkouts.
SELECT * FROM OrderItems WHERE OrderId = '123'
SELECT * FROM OrderItems WHERE OrderUpdatedAt > '2018-05-10'
SELECT * FROM OrderItems WHERE Type = 'DraftOrder'
SELECT * FROM OrderItems WHERE Type = 'AbandonedCheckout'
| Name | Type | References | Description |
| ItemId [KEY] | Long | The id of the order item. Only available for orders. | |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| ProductId | Long | The id of the of the product beloning to the order item. | |
| ItemVariantId | Long | The id of the product variant. | |
| ItemTitle | String | The title of the product. | |
| Name | String | The name of the product variant. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemGrams | Int | The weight of the item in grams. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| VariantTitle | String | The title of the product variant. | |
| Properties | String | Shows custom properties for this order item. | |
| Vendor | String | The name of the supplier of the item. | |
| FulFillmentsService | String | Service provider who is doing the fulfillment. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| GiftCard | Bool | States whether or not the order item is a gift card. | |
| CurrentQuantity | Int | The line item's current quantity after removals. | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| TotalDiscount | Decimal | The total discount amount applied to this order item. | |
| FulfillmentStatus | String | How far along an order is in terms order items fulfilled. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Type | String | The type of order item, can be one of the following(Order, DraftOrder, AbandonedCheckout).
The allowed values are Order, DraftOrder, AbandonedCheckout. | |
| Status | String | Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Retrieves a list of all payouts ordered by payout date, with the most recent being first.
For example, the following queries are processed server-side:
SELECT * FROM Payouts WHERE Id = '123'
SELECT * FROM Payouts WHERE Status = 'pending'
SELECT * FROM Payouts WHERE Date = '2018-10-30'
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the payout. | |
| Status | String | The transfer status of the payout. | |
| Currency | String | The ISO 4217 currency code of the payout. | |
| Amount | Decimal | The total amount of the payout, in a decimal formatted string. | |
| Date | Datetime | The date the payout was issued. |
Retrieves a list of all balance transactions ordered by processing time, with the most recent being first.
The Shopify APIs requires the search criteria to contain PayoutId. For example, the following query is processed server-side.
SELECT * FROM PayoutTransactions WHERE PayoutId = '123'
When performing a query without a filter or a filter other then the PayoutId column, the Cloud will retrieve the entire list of transactions and perform the filters client-side.
The Shopify API requires that an PayoutId be specified when retrieving transactions. Therefore to retrieve all the transactions, the Cloud will first retrieve all the PayoutIds
from the Payouts table (essentially performing the query: SELECT Id FROM Payouts). Once the PayoutId values have been retrieved, the Cloud will issue individual requests to the
Shopify API to retrieve all the transactions for each PayoutId to build the result set.
SELECT * FROM PayoutTransactions
SELECT * FROM PayoutTransactions WHERE Test='true'
SELECT * FROM PayoutTransactions WHERE PayoutStatus='pending'
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the transaction. | |
| Type | String | The type of the balance transaction. | |
| Test | Bool | If the transaction was created for a test mode Order or payment. | |
| PayoutId | Long |
Payouts.Id | The id of the payout the transaction was paid out in. |
| PayoutStatus | String | The status of the payout the transaction was paid out in, or pending if the transaction has not yet been included in a payout. | |
| Currency | String | The ISO 4217 currency code of the transaction. | |
| Amount | Decimal | The gross amount of the transaction, in a decimal formatted string. | |
| Fee | Decimal | The total amount of fees deducted from the transaction amount. | |
| Net | Decimal | The net amount of the transaction. | |
| SourceId | Long | The id of the resource leading to the transaction. | |
| SourceType | String | The type of the resource leading to the transaction. | |
| SourceOrderTransactionId | String | The id of the Order Transaction that resulted in this balance transaction. | |
| SourceOrderId | String | The id of the Order that this transaction ultimately originated from. | |
| ProcessedAt | Datetime | The time the transaction was processed. | |
| AdjustmentReason | String | The reason why an adjustment was made. |
Retrieves associated order transactions that resulted in a balance transaction.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server side:
SELECT * FROM PayoutTransactionsAdjustmentOrderTransactions
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the order transaction. | |
| PayoutTransactionId | Long | The unique identifier of the transaction. | |
| Amount | Decimal | Amount that is adjusted in this order transaction. | |
| OrderId | Long | The order details for the order transaction. Order id. | |
| OrderName | String | The order details for the order transaction. Order name. |
Create and query transactions.
The Shopify APIs requires the search criteria to contain OrderId. For example, the following query is processed server-side.
SELECT * FROM RefundAdjustments WHERE OrderId = '123'
When performing a query without a filter or a filter other then the OrderId column, the Cloud will retrieve the entire list of refunds and perform the filters client-side.
The Shopify API requires that an OrderId be specified when retrieving refunds. Therefore to retrieve all the refunds, the Cloud will first retrieve all the OrderIds
from the Orders table (essentially performing the query: SELECT Id FROM Orders). Once the OrderId values have been retrieved, the Cloud will issue individual requests to the
Shopify API to retrieve all the refunds for each OrderId to build the result set.
SELECT * FROM RefundAdjustments WHERE OrderId = '123' AND RefundId = '123'
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the refund adjustment. | |
| OrderId | Long |
Orders.Id | The unique identifier for the order that the order adjustment is associated with. |
| RefundId | Long |
Refunds.Id | The unique identifier for the refund that the order adjustment is associated with. |
| Amount | Decimal | The value of the discrepancy between the calculated refund and the actual refund. | |
| TaxAmount | Decimal | The taxes that are added to amount, such as applicable shipping taxes added to a shipping refund. | |
| Kind | String | The order adjustment type. | |
| Reason | String | The reason for the order adjustment. | |
| AmountShopMoney | Decimal | The amount of the order adjustment in shop. | |
| AmountShopCurrency | String | The currency of the order adjustment in shop. | |
| AmountPresentmentMoney | Decimal | The amount of the order adjustment in presentment. | |
| AmountPresentmentCurrency | String | The currency of the order adjustment in presentment. | |
| TaxAmountShopMoney | Decimal | The tax amount of the order adjustment in shop. | |
| TaxAmountShopCurrency | String | The tax currency of the order adjustment in shop. | |
| TaxAmountPresentmentMoney | Decimal | The tax amount of the order adjustment in presentment. | |
| TaxAmountPresentmentCurrency | String | The tax currency of the order adjustment in presentment. |
Get data on OrdersItems that have been refunded.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM RefundsItems
SELECT * FROM RefundsItems WHERE OrderID = 123
SELECT * FROM RefundsItems WHERE RefundId = 123
SELECT * FROM RefundsItems WHERE Status = 'Val1'
| Name | Type | References | Description |
| ItemId [KEY] | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderID [KEY] | Long |
Orders.Id | The id of the refund this refunded item belongs to. |
| RefundId [KEY] | Long |
Refunds.Id | The id of the refund this refunded item belongs to. |
| LocationId | Long | The unique identifier of the location tied to the refund item | |
| ProductId | Long | The id of the of the product beloning to the order item. | |
| ItemVariantId | Long | The id of the product variant. | |
| ItemTitle | String | The title of the product. | |
| Name | String | The name of the product variant. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemGrams | Int | The weight of the item in grams. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| VariantTitle | String | The title of the product variant. | |
| Properties | String | Shows custom properties for this order item. | |
| Vendor | String | The name of the supplier of the item. | |
| FulFillmentsService | String | Service provider who is doing the fulfillment. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| GiftCard | Bool | States whether or not the order item is a gift card. | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| TotalDiscount | Decimal | The total discount amount applied to this order item. | |
| FulfillmentStatus | String | How far along an order is in terms order items fulfilled. | |
| RefundSubtotal | Decimal | The refunded amount for this item. This is calculated by multiplying ItemPrice with RefundQuantity. | |
| RefundQuantity | Int | The quantity of the item refunded. | |
| RefundRestockType | String | The type of the restock action. | |
| RefundSubtotalPresentmentAmount | Decimal | The total amount of the presentment money. | |
| RefundSubtotalPresentmentCurrencyCode | String | The currency code of the presentment money. | |
| RefundSubtotalShopAmount | Decimal | The total amount of the shop money. | |
| RefundSubtotalShopCurrencyCode | String | The currency code of the shop money. | |
| RefundTotalTax | Decimal | Total tax for the refunded item. | |
| RefundTotalTaxPresentmentAmount | Decimal | Total tax amount for the presentment money. | |
| RefundTotalTaxPresentmentCurrencyCode | String | Currency code for the tax on presentment money. | |
| RefundTotalTaxShopAmount | Decimal | Total tax amount for the shop money. | |
| RefundTotalTaxShopCurrencyCode | String | Currency code for the tax on shop money. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Status | String | Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Query transactions for Refund Object.
The Shopify APIs requires the search criteria to contain OrderId. For example, the following query is processed server-side.
SELECT * FROM RefundTransactions WHERE OrderId = '123'
When performing a query without a filter or a filter other then the OrderId column, the Cloud will retrieve the entire list of refunds and perform the filters client-side.
The Shopify API requires that an OrderId be specified when retrieving refunds. Therefore to retrieve all the refunds, the Cloud will first retrieve all the OrderIds
from the Orders table (essentially performing the query: SELECT Id FROM Orders). Once the OrderId values have been retrieved, the Cloud will issue individual requests to the
Shopify API to retrieve all the refunds for each OrderId to build the result set.
SELECT * FROM RefundTransactions WHERE OrderId = '123' AND RefundId = '123'
| Name | Type | References | Description |
| TransactionsId [KEY] | Long | The ID for the refund transaction. | |
| OrderId | Long |
Orders.Id | The ID for the order that the transaction is associated with. |
| RefundId | Long |
Refunds.Id | The unique identifier for the refund associated with. |
| Amount | Decimal | The amount of money included in the transaction. | |
| Authorization | String | The authorization code associated with the transaction.. | |
| CreatedAt | Datetime | The date and time (ISO 8601 format) when the transaction was created. | |
| Currency | String | The three-letter code (ISO 4217 format) for the currency used for the payment. | |
| DeviceId | String | The ID for the device. | |
| ErrorCode | String | A standardized error code, independent of the payment provider. | |
| GraphqlAPIId | String | The order adjustment type. | |
| Gateway | String | The name of the gateway the transaction was issued through. | |
| Kind | String | The transaction's type. | |
| LocationId | String | The ID of the physical location where the transaction was processed. | |
| Message | String | A string generated by the payment provider with additional information about why the transaction succeeded or failed. | |
| ParentId | Long | The ID of an associated transaction.. | |
| ProcessedAt | Datetime | The date and time (ISO 8601 format) when a transaction was processed. | |
| Status | String | The status of the transaction. | |
| SourceName | String | The origin of the transaction. | |
| Test | Bool | Whether the transaction is a test transaction. | |
| UserId | String | The ID for the user who was logged into the Shopify POS device when the order was processed, if applicable. |
Query Shipping item discount allocations.
SELECT * from ShippingItemDiscountAllocations
SELECT * from ShippingItemDiscountAllocations where OrderId='1'
SELECT * from ShippingItemDiscountAllocations where OrderId IN ('1', '2')
SELECT * from ShippingItemDiscountAllocations where OrderUpdatedAt <= '2020-07-20 08:28:03.0'
SELECT * from ShippingItemDiscountAllocations where OrderUpdatedAt > '2020-07-20 08:28:03.0'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
ShippingItems.ItemId | The id of the shipping item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| Amount | String | The Amount of the item discount allocations. | |
| ShopMoneyAmount | Decimal | The ShopMoneyAmount of the item discount allocations. | |
| ShopMoneyCurrencyCode | String | The ShopMoneyCurrencyCode of the item discount allocations. | |
| PresentmentMoneyAmount | Decimal | The PresentmentMoneyAmount of the item discount allocations. | |
| PresentmentMoneyCurrencyCode | String | The PresentmentMoneyCurrencyCode of the item discount allocations. | |
| DiscountApplicationIndex | Int | The Discount application index for an order. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order shipping.
SELECT * FROM ShippingItems WHERE OrderId = '123'
SELECT * FROM ShippingItems WHERE OrderUpdatedAt > '2018-05-05'
| Name | Type | References | Description |
| Id [KEY] | Long | The id of the shipping item. | |
| OrderId [KEY] | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Price | Decimal | The price of this shipping method. | |
| Code | String | A reference to the shipping method. | |
| Title | String | The title of the shipping method. | |
| Source | String | The source of the shipping method. | |
| CarrierIdentifier | String | A reference to the carrier service that provided the rate. | |
| RequestedFulfillmentServiceId | String | A reference to the fulfillment service that is being requested for the shipping method. |
Retrieve information regarding shipping zones.
The following query is the only one processed server-side:
SELECT * FROM ShippingZones
| Name | Type | References | Description |
| Id [KEY] | Long | The unique numeric identifier for the shipping zone. | |
| Name | String | The name of the shipping zone, specified by the user. | |
| ProfileId | String | The ID of the shipping zone's delivery profile. Shipping profiles allow merchants to create product-based or location-based shipping rates. | |
| LocationGroupId | String | The ID of the shipping zone's location group. Location groups allow merchants to create shipping rates that apply only to the specific locations in the group. | |
| Countries | String | A list of countries that belong to the shipping zone. | |
| CarrierShippingRateProviders | String | Information about carrier shipping providers and the rates used. | |
| PriceBasedShippingRates | String | Information about price based shipping rates used. | |
| WeightBasedShippingRates | String | Information about weight based shipping rates used. |
Contains general settings and information about the shop.
SELECT * FROM Shop
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the shop. | |
| Name | String | The name of the shop. | |
| String | The contact email address for the shop. | ||
| Address1 | String | The shop's street address. | |
| Address2 | String | The shop's additional street address (apt, suite, etc.). | |
| City | String | The city in which the shop is located. | |
| Country | String | The shop's country (by default equal to the two-letter country code). | |
| CountryCode | String | The two-letter country code corresponding to the shop's country. | |
| CountryName | String | The shop's normalized country name. | |
| CustomerEmail | String | The customer's email. | |
| Currency | String | The three-letter code for the currency that the shop accepts. | |
| Domain | String | The shop's domain. | |
| GoogleAppsDomain | String | The URL of the domain if the shop has a google apps domain. | |
| GoogleAppsLoginEnabled | String | Indicated whether the shop has google apps login enabled. | |
| Latitude | Double | Geographic coordinate specifying the north/south location of a shop. | |
| Longitude | Double | Geographic coordinate specifying the east/west location of a shop. | |
| MoneyFormat | String | A string representing the way currency is formatted when the currency isn't specified. | |
| MoneyWithCurrencyFormat | String | A string representing the way currency is formatted when the currency is specified. | |
| WeightUnit | String | A string representing the default unit of weight measurement for the shop. | |
| MyshopifyDomain | String | The shop's 'myshopify.com' domain. | |
| PlanName | String | The name of the Shopify plan the shop is on. | |
| HasDiscounts | Bool | Indicates if any active discounts exist for the shop. | |
| HasGiftCards | Bool | Indicates if any active gift cards exist for the shop. | |
| PlanDisplayName | String | The display name of the Shopify plan the shop is on. | |
| PasswordEnabled | Bool | Indicates whether the Storefront password protection is enabled. | |
| Phone | String | The contact phone number for the shop. | |
| PrimaryLocale | String | The shop's primary locale. | |
| Province | String | The shop's normalized province or state name. | |
| ProvinceCode | String | The two-letter code for the shop's province or state. | |
| ShopOwner | String | The username of the shop owner. | |
| Source | String | The handle of the partner account that referred the merchant to Shopify, if applicable. | |
| TaxShipping | Bool | Specifies whether or not taxes were charged for shipping. | |
| TaxesIncluding | Bool | The setting for whether applicable taxes are included in product prices. | |
| CountryTaxes | Bool | The setting for whether the shop is applying taxes on a per-county basis or not (US-only). | |
| Timezone | String | The name of the timezone the shop is in. | |
| IANATimezone | String | The named timezone assigned by the IANA. | |
| Zip | String | The zip or postal code of the shop's address. | |
| HasStorefront | Bool | Indicates whether the shop has web-based storefront or not. | |
| CreatedAt | Datetime | The date and time when the shop was created. | |
| UpdatedAt | Datetime | The date and time when the shop was last updated. | |
| SetupRequired | Bool | Indicates whether the shop has any outstanding setup steps or not. |
Query order taxes.
SELECT * FROM TaxItems WHERE OrderId = '123'
SELECT * FROM TaxItems WHERE OrderUpdatedAt > '2018-05-21'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. | |
| TaxItemPrice | Decimal | The amount of tax to be charged. | |
| TaxItemRate | Decimal | The rate of tax to be applied. | |
| TaxItemTitle | String | The name of the tax. |
Query Users.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM Users
SELECT * FROM Users WHERE Id = 123
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the user. | |
| FirstName | String | The first name of the user. | |
| String | The email of the user. | ||
| Url | String | The url of the user. | |
| IM | String | The IM of the user. | |
| ScreenName | String | The screen name of the user. | |
| Phone | String | The phone number of the of the user. | |
| LastName | String | The last name of the user. | |
| AccountOwner | Bool | If the user is the account owner. | |
| ReceiveAnnouncements | Bool | If the user receives announcements. | |
| Bio | String | The bio of the user. | |
| Permissions | String | The list of permissions of the user. | |
| Locale | String | The Locale of the user. | |
| UserType | String | The type of the user. | |
| AdminGraphQLAPIId | String | The Admin GraphQL API Id of the user. | |
| TFAEnabled | Bool | If TFA is enabled. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| AcceptCancellationRequest | Accepts a cancellation request sent to a fulfillment service for a fulfillment order. |
| AcceptFulfillmentRequest | Accepts a fulfillment request sent to a fulfillment service for a fulfillment order. |
| ApproveComment | Approves a comment |
| AssignDefaultAddress | Assign a default address to a customer. |
| CalculateRefund | Calculates refund transactions based on line items and shipping. |
| ChangeSpamStatus | Changes spam status of a comment |
| CompleteDraftOrder | Complete a draft order. |
| CreateAccountActivationUrl | Creates an account activation URL for the specified customer. |
| RejectCancellationRequest | Rejects a cancellation request sent to a fulfillment service for a fulfillment order. |
| RejectFulfillmentRequest | Rejects a fulfillment request sent to a fulfillment service for a fulfillment order. |
| RestoreComment | Restores a previously removed comment |
| SendCancellationRequest | Sends a cancellation request to the fulfillment service of a fulfillment order. |
| SendFulfillmentRequest | Sends a fulfillment request to the fulfillment service of a fulfillment order. |
| SendInvite | Send a default or customized invite to a customer. |
| SendInvoice | Send a default or customized invoice to a customer. |
| UpdateQuantity | Update the available quantity of inventory items for a product variant in a specific location. |
Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for accepting the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for accepting the fulfillment request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Approves a comment
| Name | Type | Description |
| Id | String | The id of the comment that needs to be approved. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Assign a default address to a customer.
| Name | Type | Description |
| CustomerId | String | The id of the customer. |
| CustomerAddressId | String | The id of the address you are setting as default. This address must belong to the customer specified in CustomerId. You cannot use the address of a different customer. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Calculates refund transactions based on line items and shipping.
| Name | Type | Description |
| OrderId | String | The id of the order. |
| Currency | String | The ISO format for the currency used to refund. Required when the ShippingAmount is provided. |
| RefundLineItems | String | A list of line item IDs, quantities to refund, and restock instructions. |
| ShippingFullRefund | String | Specify whether to refund all remaining shipping. |
| ShippingAmount | Double | Specify a specific amount to refund for shipping. Takes precedence over ShippingFullRefund. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| AdditionalFees | String | A JSON aggregate for additional fees. |
| Currency | String | The ISO format for the currency used to refund. |
| Duties | String | A JSON aggregate of the refunded duties as part of this refund. |
| RefundLineItems | String | A JSON aggregate of line item IDs, quantities to refund, and restock instructions. |
| Return | String | The items that will be returned to the merchant. |
| ShippingAmount | Decimal | The decimal amount for shipping. |
| ShippingMaximumRefundable | Decimal | The maximum amount that can be refunded for shipping. |
| ShippingTax | Decimal | The tax amount for the shipping. |
| TotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | The decimal amount for additional fees presentment money. |
| TotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | The currency for additional fees presentment money. |
| TotalAdditionalFeesSetShopMoneyAmount | Decimal | The decimal amount for additional fees shop money. |
| TotalAdditionalFeesSetShopMoneyCurrencyCode | String | The currency for additional fees shop money. |
| TotalDutiesSetPresentmentMoneyAmount | Decimal | The decimal amount for duties presentment money. |
| TotalDutiesSetPresentmentMoneyCurrencyCode | String | The currency for for duties presentment money. |
| TotalDutiesSetShopMoneyAmount | Decimal | The decimal amount for duties shop money. |
| TotalDutiesSetShopMoneyCurrencyCode | String | The currency for duties shop money. |
| TransactionsOrderId | Long | The id of the transaction order. |
| TransactionsKind | String | The kind of transaction. Indicates whether the refund will be accepted. |
| TransactionsGateway | String | The gateway of the transaction. |
| TransactionsParentId | Long | The parent ID for the transaction. |
| TransactionsAmount | Decimal | The decimal amount for the transaction. |
| TransactionsCurrencyCode | String | The currency for the transaction. |
| TransactionsMaximumRefundable | Decimal | The maximum amount that can be refunded for transaction. |
Changes spam status of a comment
| Name | Type | Description |
| Id | String | The id of the comment whose status needs to be changed |
| Spam | String | Value of spam status
The allowed values are yes, no. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Complete a draft order.
| Name | Type | Description |
| Id | String | The id of the draft order. |
| PaymentPending | String | Sets payment pending to true.
The default value is false. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Creates an account activation URL for the specified customer.
| Name | Type | Description |
| CustomerId | String | The id of the customer. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| AccountActivationUrl | String | The URL the customer needs to access to activate his account. |
Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for rejecting the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| LineItems | String | An optional array of line item rejection details. If none are provided, all line items will be assumed to be unfulfillable. |
| Message | String | An optional message for rejecting the fulfillment request. |
| Reason | String | An optional reason for the fulfillment request rejection.
The allowed values are incorrect_address, inventory_out_of_stock, ineligible_product, undeliverable_destination, other. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Restores a previously removed comment
| Name | Type | Description |
| Id | String | The id of the comment that needs to be restored. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Sends a cancellation request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Sends a fulfillment request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| FulfillmentOrderLineItems | String | The fulfillment order line items to be requested for fulfillment. If left blank, all line items of the fulfillment order are requested for fulfillment. |
| Message | String | An optional message for the fulfillment request. |
| NotifyCustomer | Boolean | Whether to notify the customer about the fulfillment request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Send a default or customized invite to a customer.
| Name | Type | Description |
| Id | String | The customer id to whom the invite will be sent. |
| To | String | The email address of whom to send the invite. |
| From | String | The email address of the person who sent the invite. |
| BCC | String | A comma separated list of email addresses to whom a blind carbon copy of the email will be sent. |
| Subject | String | The subject of the email. |
| CustomMessage | String | A custom message to be sent. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Send a default or customized invoice to a customer.
| Name | Type | Description |
| Id | String | The id of the draft order invoice which will be sent. |
| To | String | The email address of whom to send the invoice. |
| From | String | The email address of the person who sent the invoice. |
| BCC | String | A comma separated list of email addresses to whom a blind carbon copy of the email will be sent. |
| Subject | String | The subject of the email. |
| CustomMessage | String | A custom message to be sent. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Update the available quantity of inventory items for a product variant in a specific location.
| Name | Type | Description |
| Id | String | A unique numeric identifier for the product variant. |
| InventoryQuantity | String | The quantity of inventory items available for sale to set. |
| LocationId | String | The ID of the location where the available quantity of items for sale is to be set. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
The CData Cloud models the Shopify API as relational tables, views, and stored procedures.
To use the GraphQL Data Model, simply set Schema to GraphQL.
The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.
Common tables include:
| Table | Description |
| Shop | Contains general settings and information about the shop. |
| Customers | Lists customers with core profile data, marketing preferences, and tags. |
| Catalogs | Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use. |
| Orders | Lists orders with customer, payment, fulfillment, duty, and tax details. |
| DeliveryProfiles | Lists saved delivery profiles that define shipping logic by product and location. |
| OrderTransactions | Lists payment transactions associated with orders (authorization, capture, refund). |
| Refunds | Represents refunds of items or transactions on an order, with amounts and reasons. |
| RefundLineItems | Lists refund line item records that specify quantities and amounts refunded. |
| Products | Lists products with titles, status, variants, media, and publishing details. |
| ProductVariants | Lists product variants with pricing, inventory tracking, and option values. |
| Collections | Returns manual and automated collections with titles, rules, and publication state. |
| CollectionProducts | Lists products contained within a specified collection. |
| DraftOrders | Lists saved draft orders for manual checkout or invoicing workflows. |
| DraftOrderLineItems | Lists the line items included in a draft order with quantities and prices. |
| Fulfillments | Represents shipments created for orders, including tracking and delivery status. |
| FulfillmentOrders | Lists merchant-managed and third-party fulfillment orders with statuses and assignments. |
| FulfillmentEvents | Lists status events (in transit, delivered) associated with fulfillments. |
| Locations | Lists active inventory locations used for stock, fulfillment, and pickup. |
| InventoryItems | Lists inventory items (SKU-level records) with tracking and cost data. |
| Metafields | Lists metafields attached to one or more resource Ids. |
Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing fulfillment orders, adjusting inventory across locations, and administering store configuration and content.
See UseBulkAPI for a more in-depth look at how the driver performs Shopify Bulk Operations.
The Cloud models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.
| Name | Description |
| AppFeedbacks | Reports the status of shops and their resources and displays this information within Shopify admin. AppFeedback is used to notify merchants about steps they need to take to set up an application on their store. |
| AppSubscriptionLineItems | Returns the plans attached to the app subscription. |
| AppSubscriptions | Lists all subscriptions created for a shop on the installed application. |
| Catalogs | The catalogs belonging to the shop. |
| Collections | Returns a list of collections. |
| Companies | Returns the list of companies in the shop. |
| CompanyContactRoleAssignments | Returns role assignments. |
| CompanyContacts | Returns contacts for companies. |
| CompanyLocations | Returns a list of locations in the company. |
| Customers | Retrieves a list of customers. |
| DeliveryProfiles | Returns a list of saved delivery profiles. |
| DiscountsAutomaticApp | Returns a list of discounts. |
| DiscountsAutomaticBasic | Returns a list of discounts. |
| DiscountsAutomaticBxgy | Returns a list of discounts. |
| DiscountsCodeApp | Returns a list of discounts. |
| DiscountsCodeBasic | Returns a list of discounts. |
| DiscountsCodeBxgy | Returns a list of discounts. |
| DraftOrders | Returns a list of saved draft orders. |
| Files | Returns the list of files that have been uploaded to Shopify. |
| FulfillmentEvents | Retrieves the history of events associated with one or many fulfillments. |
| FulfillmentOrders | Retrieves a paginated list of merchant-managed and third-party fulfillment orders. |
| Fulfillments | Fulfillment represents a shipment of one or more items in an order. |
| FulfillmentServices | Lists fulfillmentServices which Represents service that prepares and ships orders on behalf of the store owner. |
| FulfillmentTrackingInfo | Lists tracking information associated with the fulfillment, such as the tracking company, tracking number, and tracking URL. |
| GiftCards | Returns a list of gift cards. Requires read_gift_cards access scope. Also, note that the API client must be a private or custom application installed on a Shopify Plus or Shopify Plus Partner Sandbox store. (This table is available only with a ShopifyPlus subscription) |
| InventoryItemInventoryLevels | Returns overview information of the inventory item for each location that the inventory item can be stocked at. |
| InventoryItems | Returns a list of inventory items. |
| Locations | Returns a list of active inventory locations. |
| Menus | List menus for display on the storefront. |
| Metafields | Retrieves a list of metafields that belong to one or many resource IDs. |
| OrderRiskAssessments | Retrieves a list of risk assessments for orders. |
| Orders | Retrieves a list of orders. |
| OrderTransactions | Retrieves the transactions associated with the resource. |
| PriceLists | All price lists for a shop. |
| ProductMediaImages | Returns the media images associated with the product. |
| ProductOptions | Returns a list of product options. The limit is specified by Shop.resourceLimits.maxProductOptions. |
| ProductOptionValues | List all the corresponding option value objects to the product option, including values not assigned to any variants. |
| ProductResourceFeedbacks | Returns the product resource feedback for the currently authenticated app. |
| Products | Returns a list of products. |
| ProductVariants | Returns a list of the product variants. |
| Publications | Returns the list of publications. |
| Refunds | Represents a refund of items or transactions in an order. |
| Returns | Retrieves a list of returns for the order. |
| ScriptTags | Returns a list of script tags. |
| Segments | A list of a shop's segments. |
| SellingPlanGroups | Returns a list Selling Plan Groups. |
| StoreCreditAccountCreditTransactions | Credit transactions which increase the store credit account balance. |
| StoreCreditAccountDebitTransactions | Debit transactions which decrease the store credit account balance. |
| StorefrontAccessTokens | Retrieves the storefront access token of a private application. These are scoped per-application. |
| UrlRedirects | Returns a list of redirects for a shop. |
Reports the status of shops and their resources and displays this information within Shopify admin. AppFeedback is used to notify merchants about steps they need to take to set up an application on their store.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM AppFeedbacks
The following column can be used to create a new record:
Message
The following pseudo-columns can be used to create a new record:
State, FeedbackGeneratedAt
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | True |
Name of the app. | |
| Message | String | True |
The feedback message presented to the merchant. | |
| Url | String | True |
The URL that the link visits. | |
| Label | String | True |
A context-sensitive label for the link. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| State | String |
The state of the feedback and whether it requires merchant action. The allowed values are ACCEPTED, REQUIRES_ACTION. |
| FeedbackGeneratedAt | Datetime |
The date and time when the feedback was generated. Used to help determine whether incoming feedback is outdated compared to existing feedback. |
Returns the plans attached to the app subscription.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppSubscriptionLineItems WHERE AppInstallationId = 'Val1'
The following columns can be updated:
UsagePricingPlanCappedAmount, UsagePricingPlanCappedAmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AppSubscriptionId | String | True |
A globally-unique ID. | |
| AppInstallationId | String | True |
A globally-unique ID. | |
| RecurringPricingPlanDiscountDurationLimitInIntervals | Int | True |
The total number of billing intervals to which the discount will be applied. The discount will be applied to an indefinite number of billing intervals if this value is blank. | |
| RecurringPricingPlanDiscountPriceAfterDiscountAmount | Decimal | True |
The price of the subscription after the discount is applied. Decimal money amount. | |
| RecurringPricingPlanDiscountPriceAfterDiscountCurrencyCode | String | True |
The price of the subscription after the discount is applied. Currency of the money. | |
| RecurringPricingPlanDiscountRemainingDurationInIntervals | Int | True |
The remaining number of billing intervals to which the discount will be applied. | |
| RecurringPricingPlanValueAmount | Decimal | True |
The value of the discount applied every billing interval. Decimal money amount. | |
| RecurringPricingPlanValueAmountCurrencyCode | String | True |
The value of the discount applied every billing interval. Currency of the money. | |
| RecurringPricingPlanValuePercentage | Double | True |
The value of the discount applied every billing interval. The percentage value of a discount. | |
| RecurringPricingPlanInterval | String | True |
The frequency at which the subscribing shop is billed for an app subscription. | |
| RecurringPricingPlanPriceAmount | Decimal | True |
The amount to be charged to the subscribing shop every billing interval. Decimal money amount. | |
| RecurringPricingPlanPriceCurrencyCode | String | True |
The currency to be charged to the subscribing shop every billing interval. Currency of the money. | |
| UsagePricingPlanBalanceUsedAmount | Decimal | True |
The total usage records for interval. Decimal money amount. | |
| UsagePricingPlanBalanceUsedCurrencyCode | String | True |
The total usage records for interval. Currency of the money. | |
| UsagePricingPlanCappedAmount | Decimal | False |
The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount. | |
| UsagePricingPlanCappedAmountCurrencyCode | String | False |
The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money. | |
| UsagePricingPlanInterval | String | True |
The frequency with which the app usage records are billed. | |
| UsagePricingPlanTerms | String | True |
The terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges. |
Lists all subscriptions created for a shop on the installed application.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppSubscriptions WHERE AppInstallationId = 'Val1'
The following columns can be used to create a new record:
Name, Test, ReturnUrl, TrialDays, LineItem (references AppSubscriptionLineItems)
| Column Name | Type | Description |
| RecurringPricingPlanDiscountPriceAfterDiscountAmount | Decimal | The price of the subscription after the discount is applied. Decimal money amount. |
| RecurringPricingPlanDiscountRemainingDurationInIntervals | Int | The remaining number of billing intervals to which the discount will be applied. |
| RecurringPricingPlanValuePercentage | Double | The value of the discount applied every billing interval. The percentage value of a discount. |
| RecurringPricingPlanInterval | String | The frequency at which the subscribing shop is billed for an app subscription. |
| RecurringPricingPlanPriceAmount | Decimal | The amount to be charged to the subscribing shop every billing interval. Decimal money amount. |
| RecurringPricingPlanPriceCurrencyCode | String | The currency to be charged to the subscribing shop every billing interval. Currency of the money. |
| UsagePricingPlanCappedAmount | Decimal | The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount. |
| UsagePricingPlanCappedAmountCurrencyCode | String | The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money. |
| UsagePricingPlanTerms | String | The terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AppInstallationId | String | True |
A globally-unique ID. | |
| Name | String | True |
The name of the app subscription. | |
| Status | String | True |
The status of the app subscription. | |
| Test | Bool | True |
Specifies whether the app subscription is a test transaction. | |
| ReturnUrl | String | True |
The URL that the merchant is redirected to after approving the app subscription. | |
| TrialDays | Int | True |
The number of free trial days, starting at the subscription's creation date, by which billing is delayed. | |
| CurrentPeriodEnd | Datetime | True |
The date and time when the current app subscription period ends. Returns 'null' if the subscription isn't active. | |
| CreatedAt | Datetime | True |
The date and time when the app subscription was created. | |
| LineItemIds | String | True |
The IDs of the plans attached to the app subscription. | |
| LineItem | String | True |
The plans attached to the app subscription. |
The catalogs belonging to the shop.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Catalogs
The following columns can be used to create a new record:
Status, Title, PriceListId, PublicationId
The following pseudo-column can be used to create a new record:
CompanyLocationIds
The following columns can be updated:
Status, Title, PriceListId, PublicationId
The following pseudo-column can be used to update a record:
CompanyLocationIds
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Status | String | False |
The status of the catalog. | |
| Title | String | False |
The name of the catalog. | |
| PriceListId | String | False |
A globally-unique ID. | |
| PublicationId | String | False |
A globally-unique ID. | |
| OperationId | String | True |
A globally-unique ID. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| CompanyLocationIds | String |
The IDs of the company locations to associate to the catalog. |
Returns a list of collections.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Collections WHERE Id = 'Val1'
SELECT * FROM Collections WHERE Title = 'Val1'
SELECT * FROM Collections WHERE UpdatedAt = '2023-01-01 11:10:00'
The following column can be updated:
SortOrder
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Title | String | True |
The name of the collection. It's displayed in the Shopify admin and is typically displayed in sales channels, such as an online store. | |
| Handle | String | True |
A unique string that identifies the collection. If a handle isn't specified when a collection is created, it's automatically generated from the collection's original title, and typically includes words from the title separated by hyphens. For example, a collection that was created with the title 'Summer Catalog 2022' might have the handle 'summer-catalog-2022'. If the title is changed, the handle doesn't automatically change. The handle can be used in themes by the Liquid templating language to refer to the collection, but using the ID is preferred because it never changes. | |
| DescriptionHtml | String | True |
The description of the collection, including any HTML tags and formatting. This content is typically displayed to customers, such as on an online store, depending on the theme. | |
| ProductsCount | Int | True |
The number of products in the collection. | |
| ProductsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| SortOrder | String | False |
The order in which the products in the collection are displayed by default in the Shopify admin and in sales channels, such as an online store. | |
| TemplateSuffix | String | True |
The suffix of the Liquid template being used to show the collection in an online store. For example, if the value is 'custom', then the collection is using the 'collection. custom. liquid' template. If the value is 'null', then the collection is using the default 'collection. liquid' template. | |
| AvailablePublicationsCount | Int | True |
The number of publications a resource is published to without feedback errors. | |
| AvailablePublicationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| PublishedOnCurrentPublication | Bool | True |
Check to see whether the resource is published to the calling app's publication. | |
| UpdatedAt | Datetime | True |
The date and time when the collection was last modified. | |
| FeedbackSummary | String | True |
Summary of resource feedback pertaining to the resource. | |
| ImageId | String | True |
A unique ID for the image. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The location of the image as a URL. | |
| RuleSetAppliedDisjunctively | Bool | True |
Whether products must match any or all of the rules to be included in the collection. If true, then products must match at least one of the rules to be included in the collection. If false, then products must match all of the rules to be included in the collection. | |
| SeoTitle | String | True |
SEO Title. | |
| SeoDescription | String | True |
SEO Description. |
Returns the list of companies in the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Companies WHERE Id = 'Val1'
SELECT * FROM Companies WHERE ExternalId = 'Val1'
SELECT * FROM Companies WHERE Name = 'Val1'
SELECT * FROM Companies WHERE CustomerSince = '2023-01-01 11:10:00'
SELECT * FROM Companies WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Companies WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
ExternalId, Name, Note, CustomerSince
The following columns can be updated:
ExternalId, Name, Note, MainContactId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ExternalId | String | False |
A unique externally-supplied ID for the company. | |
| Name | String | False |
The name of the company. | |
| Note | String | False |
A note about the company. | |
| ContactsCount | Int | True |
The number of contacts that belong to the company. | |
| ContactsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CustomerSince | Datetime | True |
The date and time at which the company became the customer. | |
| DefaultCursor | String | True |
A default cursor that returns the single next record, sorted ascending by ID. | |
| LifetimeDuration | String | True |
The lifetime duration of the company, since it became a customer of the shop. Examples: '2 days', '3 months', '1 year'. | |
| LocationsCount | Int | True |
The number of locations that belong to the company. | |
| LocationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| OrdersCount | Int | True |
The total number of orders placed for this company, across all its locations. | |
| OrdersCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| HasTimelineComment | Bool | True |
Whether the merchant added a timeline comment to the company. | |
| CreatedAt | Datetime | True |
The date and time at which the company was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the company was last modified. | |
| DefaultRoleId | String | True |
A globally-unique ID. | |
| DefaultRoleName | String | True |
The name of a role. For example, 'admin' or 'buyer'. | |
| DefaultRoleNote | String | True |
A note for the role. | |
| MainContactId | String | True |
A globally-unique ID. | |
| TotalSpentAmount | Decimal | True |
Decimal money amount. | |
| TotalSpentCurrencyCode | String | True |
Currency of the money. |
Returns role assignments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyContactRoleAssignments WHERE CompanyContactId = 'Val1'
The following columns can be used to create a new record:
CompanyLocationId, CompanyContactId, RoleId
You can delete entries by specifying the following columns:
Id, CompanyContactId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| CompanyId | String | True |
The company this role assignment belongs to. | |
| CompanyLocationId | String | True |
The company location to which the role is assigned. | |
| CompanyContactId | String | True |
The company contact for whom this role is assigned. | |
| CreatedAt | Datetime | True |
The date and time when the assignment record was created. | |
| UpdatedAt | Datetime | True |
The date and time when the assignment record was last updated. | |
| RoleId | String | True |
A globally-unique ID. | |
| RoleName | String | True |
The name of a role. For example, 'admin' or 'buyer'. | |
| RoleNote | String | True |
A note for the role. |
Returns contacts for companies.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CompanyContacts WHERE CompanyId = 'Val1'
SELECT * FROM CompanyContacts WHERE Id = 'Val1'
The following columns can be used to create a new record:
CompanyId, Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone, CustomerId
The following columns can be updated:
Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| CompanyId | String | True |
The company to which the contact belongs. | |
| Id [KEY] | String | True |
A globally-unique ID. | |
| IsMainContact | Bool | True |
Whether the contact is the main contact of the company. | |
| Title | String | False |
The company contact's job title. | |
| Locale | String | False |
The company contact's locale (language). | |
| LifetimeDuration | String | True |
The lifetime duration of the company contact, since its creation date on Shopify. Examples: '1 year', '2 months', '3 days'. | |
| CreatedAt | Datetime | True |
The date and time at which the company contact was created at Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the company contact was last updated. | |
| CustomerId | String | True |
The customer associated to this contact. | |
| CustomerFirstName | String | False |
The customer's first name. | |
| CustomerLastName | String | False |
The customer's last name. | |
| CustomerEmail | String | False |
The customer's email address. | |
| CustomerPhone | String | False |
The customer's phone number. |
Returns a list of locations in the company.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyLocations WHERE CompanyId = 'Val1'
The following columns can be used to create a new record:
CompanyId, ExternalId, TaxRegistrationId, Name, Locale, Note, Phone, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressPhone, BillingAddressRecipient, BillingAddressZip, BillingAddressCountryCode, BillingAddressZoneCode, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressPhone, ShippingAddressRecipient, ShippingAddressZip, ShippingAddressCountryCode, ShippingAddressZoneCode
The following columns can be updated:
ExternalId, Name, Locale, Note, Phone
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| CompanyId | String | True |
Companies.Id |
A globally-unique ID. |
| ExternalId | String | False |
A unique externally-supplied ID for the company location. | |
| TaxRegistrationId | String | True |
The tax registration ID for the company location. | |
| Name | String | False |
The name of the company location. | |
| Currency | String | True |
The location's currency based on the shipping address. If the shipping address is empty, then the value is the shop's primary market. | |
| Locale | String | False |
The preferred locale of the company location. | |
| Note | String | False |
A note about the company location. | |
| Phone | String | False |
The phone number of the company location. | |
| DefaultCursor | String | True |
A default cursor that returns the single next record, sorted ascending by ID. | |
| OrdersCount | Int | True |
The total number of orders placed for the location. | |
| OrdersCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| TaxExemptions | String | True |
The list of tax exemptions applied to the location. | |
| HasTimelineComment | Bool | True |
Whether the merchant added a timeline comment to the company location. | |
| CreatedAt | Datetime | True |
The date and time at which the company location was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the company location was last modified. | |
| BillingAddressId | String | True |
A globally-unique ID. | |
| BillingAddressCompanyName | String | True |
The name of the company. | |
| BillingAddressFirstName | String | True |
The first name of the recipient. | |
| BillingAddressLastName | String | True |
The last name of the recipient. | |
| BillingAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | True |
The name of the city, district, village, or town. | |
| BillingAddressCountry | String | True |
The name of the country. | |
| BillingAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| BillingAddressRecipient | String | True |
The identity of the recipient e. g. 'Receiving Department'. | |
| BillingAddressZip | String | True |
The zip or postal code of the address. | |
| BillingAddressCountryCode | String | True |
The two-letter code for the country of the address. For example, US. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| BillingAddressZoneCode | String | True |
The two-letter code for the region. For example, ON. | |
| BillingAddressCreatedAt | Datetime | True |
The date and time at which the company address was created. | |
| BillingAddressUpdatedAt | Datetime | True |
The date and time at which the company address was last updated. | |
| BuyerExperienceConfigurationCheckoutToDraft | Bool | True |
Whether to checkout to draft order for merchant review. | |
| BuyerExperienceConfigurationPayNowOnly | Bool | True |
Whether a buyer must pay at checkout or they can also choose to pay later using net terms. | |
| BuyerExperienceConfigurationPaymentTermsTemplateId | String | True |
A globally-unique ID. | |
| BuyerExperienceConfigurationPaymentTermsTemplateName | String | True |
The name of the payment terms template. | |
| BuyerExperienceConfigurationPaymentTermsTemplateTranslatedName | String | True |
The translated payment terms template name. | |
| BuyerExperienceConfigurationPaymentTermsTemplateDescription | String | True |
The description of the payment terms template. | |
| BuyerExperienceConfigurationPaymentTermsTemplateDueInDays | Int | True |
The number of days between the issued date and due date if this is the net type of payment terms. | |
| BuyerExperienceConfigurationPaymentTermsTemplatePaymentTermsType | String | True |
The type of the payment terms template. | |
| MarketId | String | True |
A globally-unique ID. | |
| ShippingAddressId | String | True |
A globally-unique ID. | |
| ShippingAddressCompanyName | String | True |
The name of the company. | |
| ShippingAddressFirstName | String | True |
The first name of the recipient. | |
| ShippingAddressLastName | String | True |
The last name of the recipient. | |
| ShippingAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | True |
The name of the city, district, village, or town. | |
| ShippingAddressCountry | String | True |
The name of the country. | |
| ShippingAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| ShippingAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| ShippingAddressRecipient | String | True |
The identity of the recipient e. g. 'Receiving Department'. | |
| ShippingAddressZip | String | True |
The zip or postal code of the address. | |
| ShippingAddressCountryCode | String | True |
The two-letter code for the country of the address. For example, US. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| ShippingAddressZoneCode | String | True |
The two-letter code for the region. For example, ON. | |
| ShippingAddressCreatedAt | Datetime | True |
The date and time at which the company address was created. | |
| ShippingAddressUpdatedAt | Datetime | True |
The date and time at which the company address was last updated. | |
| TotalSpentAmount | Decimal | True |
Decimal money amount. | |
| TotalSpentCurrencyCode | String | True |
Currency of the money. |
Retrieves a list of customers.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Customers WHERE Id = 'Val1'
SELECT * FROM Customers WHERE Email = 'Val1'
SELECT * FROM Customers WHERE Phone = 'Val1'
SELECT * FROM Customers WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Customers WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt
The following columns can be updated:
FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| MultipassIdentifier | String | True |
A unique identifier for the customer that's used with Multipass login. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| ValidEmailAddress | Bool | True |
Whether the email address is formatted correctly. Returns 'true' when the email is formatted correctly and belongs to an existing domain. This doesn't guarantee that the email address actually exists. | |
| DisplayName | String | True |
The full name of the customer, based on the values for first_name and last_name. If the first_name and last_name are not available, then this falls back to the customer's email address, and if that is not available, the customer's phone number. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| String | False |
The customer's email address. | ||
| Locale | String | False |
The customer's locale. | |
| Note | String | False |
A note about the customer. | |
| Phone | String | False |
The customer's phone number. | |
| State | String | True |
The state of the customer's account with the shop. | |
| Tags | String | False |
A comma separated list of tags that have been added to the customer. | |
| CanDelete | Bool | True |
Whether the merchant can delete the customer from their store. A customer can be deleted from a store only if they have not yet made an order. After a customer makes an order, they can't be deleted from a store. | |
| LifetimeDuration | String | True |
The amount of time since the customer was first added to the store. Example: 'about 12 years'. | |
| TaxExempt | Bool | False |
Whether the customer is exempt from being charged taxes on their orders. | |
| TaxExemptions | String | False |
The list of tax exemptions applied to the customer. | |
| UnsubscribeUrl | String | True |
The URL to unsubscribe the customer from the mailing list. | |
| VerifiedEmail | Bool | True |
Whether the customer has verified their email address. Defaults to 'true' if the customer is created through the Shopify admin or API. | |
| NumberOfOrders | String | True |
The number of orders that the customer has made at the store in their lifetime. | |
| ProductSubscriberStatus | String | True |
Possible subscriber states of a customer defined by their subscription contracts. | |
| CreatedAt | Datetime | True |
The date and time when the customer was added to the store. | |
| UpdatedAt | Datetime | True |
The date and time when the customer was last updated. | |
| AmountSpentAmount | Decimal | True |
Decimal money amount. | |
| AmountSpentCurrencyCode | String | True |
Currency of the money. | |
| DefaultAddressId | String | True |
A globally-unique ID. | |
| DefaultAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| DefaultAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| DefaultAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| DefaultAddressFirstName | String | False |
The first name of the customer. | |
| DefaultAddressLastName | String | False |
The last name of the customer. | |
| DefaultAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| DefaultAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| DefaultAddressCity | String | False |
The name of the city, district, village, or town. | |
| DefaultAddressCompany | String | False |
The name of the customer's company or organization. | |
| DefaultAddressCountry | String | False |
The name of the country. | |
| DefaultAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| DefaultAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| DefaultAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| DefaultAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| DefaultAddressZip | String | False |
The zip or postal code of the address. | |
| DefaultAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| DefaultAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| DefaultAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| EmailMarketingConsentMarketingState | String | True |
The current email marketing state for the customer. | |
| EmailMarketingConsentMarketingOptInLevel | String | True |
The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines, that the customer gave when they consented to receive marketing material by email. | |
| EmailMarketingConsentConsentUpdatedAt | Datetime | True |
The date and time at which the customer consented to receive marketing material by email. The customer's consent state reflects the consent record with the most recent 'consent_updated_at' date. If no date is provided, then the date and time at which the consent information was sent is used. | |
| ImageId | String | True |
A unique ID for the image. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The location of the image as a URL. | |
| LastOrderId | String | True |
A globally-unique ID. | |
| MarketId | String | True |
A globally-unique ID. | |
| MergeableReason | String | True |
The reason why the customer can't be merged with another customer. | |
| MergeableErrorFields | String | True |
The list of fields preventing the customer from being merged. | |
| MergeableIsMergeable | Bool | True |
Whether the customer can be merged with another customer. | |
| MergeableMergeInProgressJobId | String | True |
The UUID of the merge job. | |
| MergeableMergeInProgressResultingCustomerId | String | True |
The ID of the customer resulting from the merge. | |
| MergeableMergeInProgressStatus | String | True |
The status of the customer merge request. | |
| SmsMarketingConsentMarketingState | String | False |
The current SMS marketing state for the customer. | |
| SmsMarketingConsentConsentCollectedFrom | String | True |
The source from which the SMS marketing information for the customer was collected. | |
| SmsMarketingConsentMarketingOptInLevel | String | False |
The marketing subscription opt-in level that was set when the customer consented to receive marketing information. | |
| SmsMarketingConsentConsentUpdatedAt | Datetime | False |
The date and time when the customer consented to receive marketing material by SMS. If no date is provided, then the date and time when the consent information was sent is used. | |
| StatisticsPredictedSpendTier | String | True |
The predicted spend tier of a customer with a shop. |
Returns a list of saved delivery profiles.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DeliveryProfiles WHERE Id = 'Val1'
SELECT * FROM DeliveryProfiles WHERE MerchantOwnedOnly = true
The following column can be used to create a new record:
Name
The following column can be updated:
Name
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
The name of the delivery profile. | |
| Default | Bool | True |
Whether this is the default profile. | |
| LegacyMode | Bool | True |
Whether this shop has enabled legacy compatibility mode for delivery profiles. | |
| OriginLocationCount | Int | True |
The number of active origin locations for the profile. | |
| ZoneCountryCount | Int | True |
The number of countries with active rates to deliver to. | |
| ActiveMethodDefinitionsCount | Int | True |
The number of active shipping rates for the profile. | |
| LocationsWithoutRatesCount | Int | True |
The number of locations without rates defined. | |
| ProductVariantsCount | Int | True |
The product variant count. | |
| ProductVariantsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| MerchantOwnedOnly | Bool | True |
If 'true', returns only delivery profiles that were created by the merchant. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticApp WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE Status = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeTitle = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeDiscountClass = 'Val1'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following columns can be updated:
Title, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| DiscountId | String | True |
The ID for the discount. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was updated. | |
| AppDiscountTypeFunctionId | String | False |
The ID of the function providing the app discount type. | |
| AppDiscountTypeTitle | String | True |
The title of the app discount type. | |
| AppDiscountTypeDescription | String | True |
A description of the app discount type. | |
| AppDiscountTypeAppKey | String | True |
The client ID of the app providing the app discount type. | |
| AppDiscountTypeDiscountClass | String | True |
The class of the app discount type. | |
| AppDiscountTypeTargetType | String | True |
The target type of the app discount type. Possible values: 'SHIPPING_LINE' and 'LINE_ITEM'. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| ErrorHistoryFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryErrorsFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryHasSharedRecentErrors | Bool | True |
Whether the merchant has shared all the recent errors with the developer. | |
| ErrorHistoryHasBeenSharedSinceLastError | Bool | True |
Whether the merchant has shared all the recent errors with the developer. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticBasic WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticBasic WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticBasic WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, MinimumQuantity, MinimumSubtotal
The following columns can be updated:
Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| ShortSummary | String | True |
A short summary of the discount. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | True |
The minimum quantity of items that's required for the discount to be applied. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| AppliesOnEachItem | Bool |
If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items. |
| DiscountAmount | Decimal |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| MinimumQuantity | String |
The minimum quantity of items that's required for the discount to be applied. |
| MinimumSubtotal | String |
The minimum subtotal that's required for the discount to be applied. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticBxgy WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE Status = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count. | |
| UsesPerOrderLimit | Int | False |
The maximum number of times that the discount can be applied to an order. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| DiscountOnQuantity | String |
The value of the discount. |
| DiscountPercentage | Double |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| DiscountQuantityToBuy | String |
The quantity of prerequisite items. |
| DiscountAmountToBuy | String |
The value of the discount. |
| ProductsBuysToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsBuysToRemove | String |
A simple, comma-separated list of products IDs to remove. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeApp WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeTitle = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeDiscountClass = 'Val1'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers
The following pseudo-columns can be used to create a new record:
Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers
The following pseudo-columns can be used to update a record:
Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| DiscountId | String | True |
The ID for the discount. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| CodesCount | Int | True |
The number of redeem codes for the discount. | |
| CodesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| UsageLimit | Int | False |
The maximum number of times that the discount can be used. | |
| AsyncUsageCount | Int | True |
The number of times that the discount has been used. | |
| HasTimelineComment | Bool | True |
Indicates whether there are any timeline comments on the discount. | |
| RecurringCycleLimit | Int | True |
The number of times a discount applies on recurring purchases (subscriptions). | |
| AppliesOncePerCustomer | Bool | False |
Whether the discount can be applied only once per customer. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| AppDiscountTypeFunctionId | String | False |
The ID of the function providing the app discount type. | |
| AppDiscountTypeTitle | String | True |
The title of the app discount type. | |
| AppDiscountTypeDescription | String | True |
A description of the app discount type. | |
| AppDiscountTypeAppKey | String | True |
The client ID of the app providing the app discount type. | |
| AppDiscountTypeDiscountClass | String | True |
The class of the app discount type. | |
| AppDiscountTypeTargetType | String | True |
The target type of the app discount type. Possible values: 'SHIPPING_LINE' and 'LINE_ITEM'. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| DiscountCustomerAllAllCustomers | Bool | False |
Whether the discount can be applied by all customers. This value is always 'true'. | |
| ErrorHistoryFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryErrorsFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryHasSharedRecentErrors | Bool | True |
Whether the merchant has shared all the recent errors with the developer. | |
| ErrorHistoryHasBeenSharedSinceLastError | Bool | True |
Whether the merchant has shared all the recent errors with the developer. | |
| TotalSalesAmount | Decimal | True |
Decimal money amount. | |
| TotalSalesCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code to use the discount. |
| AddAllCustomers | Bool |
Whether all customers can use this discount. |
| CustomersToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomersToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
| CustomerSegmentsToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomerSegmentsToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeBasic WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeBasic WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeBasic WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity
The following pseudo-columns can be used to create a new record:
Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity
The following pseudo-columns can be used to update a record:
Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| CodesCount | Int | True |
The number of redeem codes for the discount. | |
| CodesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| ShortSummary | String | True |
A short summary of the discount. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| UsageLimit | Int | False |
The maximum number of times that the discount can be used. | |
| AsyncUsageCount | Int | True |
The number of times that the discount has been used. | |
| HasTimelineComment | Bool | True |
Indicates whether there are any timeline comments on the discount. | |
| RecurringCycleLimit | Int | False |
The number of times a discount applies on recurring purchases (subscriptions). | |
| AppliesOncePerCustomer | Bool | False |
Whether the discount can be applied only once per customer. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| CustomerGetsAppliesOnSubscription | Bool | False |
Whether the discount applies on subscription items. | |
| CustomerGetsAppliesOnOneTimePurchase | Bool | False |
Whether the discount applies on regular one-time-purchase items. | |
| DiscountCustomerAllAllCustomers | Bool | False |
Whether the discount can be applied by all customers. This value is always 'true'. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | False |
The minimum quantity of items that's required for the discount to be applied. | |
| TotalSalesAmount | Decimal | True |
Decimal money amount. | |
| TotalSalesCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code to use the discount. |
| AppliesOnEachItem | Bool |
If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items. |
| DiscountAmount | Decimal |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| AddAllCustomers | Bool |
Whether all customers can use this discount. |
| CustomersToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomersToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
| CustomerSegmentsToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomerSegmentsToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeBxgy WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeBxgy WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeBxgy WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| CodesCount | Int | True |
The number of redeem codes for the discount. | |
| CodesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| UsageLimit | Int | False |
The maximum number of times that the discount can be used. | |
| AsyncUsageCount | Int | True |
The number of times that the discount has been used. | |
| HasTimelineComment | Bool | True |
Indicates whether there are any timeline comments on the discount. | |
| AppliesOncePerCustomer | Bool | False |
Whether the discount can be applied only once per customer. | |
| UsesPerOrderLimit | Int | False |
The maximum number of times that the discount can be applied to an order. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| CustomerGetsAppliesOnSubscription | Bool | True |
Whether the discount applies on subscription items. | |
| CustomerGetsAppliesOnOneTimePurchase | Bool | True |
Whether the discount applies on regular one-time-purchase items. | |
| DiscountCustomerAllAllCustomers | Bool | True |
Whether the discount can be applied by all customers. This value is always 'true'. | |
| TotalSalesAmount | Decimal | True |
Decimal money amount. | |
| TotalSalesCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code to use the discount. |
| DiscountOnQuantity | String |
The value of the discount. |
| DiscountPercentage | Double |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| DiscountAmountToBuy | String |
The value of the discount. |
| DiscountQuantityToBuy | Double |
The quantity of prerequisite items. |
| ProductsBuysToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsBuysToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| AddAllCustomers | Bool |
Whether all customers can use this discount. |
| CustomersToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomersToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
| CustomerSegmentsToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomerSegmentsToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
Returns a list of saved draft orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DraftOrders WHERE Id = 'Val1'
SELECT * FROM DraftOrders WHERE Status = 'Val1'
SELECT * FROM DraftOrders WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DraftOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM DraftOrders WHERE CustomerId = 'Val1'
The following columns can be used to create a new record:
Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout
| Column Name | Type | Description |
| Title | String | The title of the product or variant. This field only applies to custom line items. |
| Quantity | Int | The number of product variants that are requested in the draft order. |
| Sku | String | The SKU number of the product variant. |
| Taxable | Bool | Whether the variant is taxable. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| AppliedDiscountTitle | String | Name of the order-level discount. |
| AppliedDiscountDescription | String | Description of the order-level discount. |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. |
| AppliedDiscountValueType | String | Type of the order-level discount. |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. |
| VariantId | String | A globally-unique ID. |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. |
| WeightUnit | String | The unit of measurement for 'value'. |
The following columns can be updated:
Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout
| Column Name | Type | Description |
| Title | String | The title of the product or variant. This field only applies to custom line items. |
| Quantity | Int | The number of product variants that are requested in the draft order. |
| Sku | String | The SKU number of the product variant. |
| Taxable | Bool | Whether the variant is taxable. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| AppliedDiscountTitle | String | Name of the order-level discount. |
| AppliedDiscountDescription | String | Description of the order-level discount. |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. |
| AppliedDiscountValueType | String | Type of the order-level discount. |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. |
| VariantId | String | A globally-unique ID. |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. |
| WeightUnit | String | The unit of measurement for 'value'. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Name | String | True |
The identifier for the draft order, which is unique within the store. For example, _#D1223_. | |
| MarketName | String | True |
The name of the selected market. | |
| String | False |
Email address of the customer, which is used to send notifications to. | ||
| Note2 | String | True |
The text from an optional note attached to the draft order. | |
| Phone | String | True |
The phone number assigned to the draft order. | |
| Ready | Bool | True |
Whether the Draft Order is ready and can be completed. Draft Orders might have asynchronous operations that can take time to finish. | |
| Status | String | True |
Status of the draft order. | |
| Tags | String | True |
A comma separated list of tags associated with the draft order. Updating 'tags' overwrites any existing tags that were previously added to the draft order. To add new tags without overwriting existing tags, use the mutation. | |
| CompletedAt | Datetime | True |
The date and time when the draft order converted to a new order, and the draft order's status changed to **Completed**. | |
| CurrencyCode | String | True |
The three letter code for the currency of the store at the time of the most recent update to the draft order. | |
| DefaultCursor | String | True |
A default cursor that returns the single next record, sorted ascending by ID. | |
| InvoiceUrl | String | True |
The link to the checkout, which is sent to the customer in the invoice email. | |
| TaxExempt | Bool | True |
Whether the draft order is tax exempt. | |
| TaxesIncluded | Bool | True |
Whether the line item prices include taxes. | |
| TotalWeight | String | True |
The total weight in grams of the draft order. | |
| HasTimelineComment | Bool | True |
Whether the merchant has added timeline comments to the draft order. | |
| InvoiceSentAt | Datetime | True |
The date and time when the invoice was last emailed to the customer. | |
| PresentmentCurrencyCode | String | True |
The payment currency of the customer for this draft order. | |
| ReserveInventoryUntil | Datetime | True |
The time after which inventory will automatically be restocked. | |
| VisibleToCustomer | Bool | True |
Whether the draft order will be visible to the customer on the self-serve portal. | |
| InvoiceEmailTemplateSubject | String | True |
The subject defined for the draft invoice email template. | |
| MarketRegionCountryCode | String | True |
The selected market region country code for the draft order. | |
| BillingAddressMatchesShippingAddress | Bool | True |
Whether the billing address matches the shipping address. | |
| CreatedAt | Datetime | True |
The date and time when the draft order was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the draft order was last changed. The format is YYYY-MM-DD HH: mm: ss. For example, 2016-02-05 17: 04: 01. | |
| OrderId | String | True |
A globally-unique ID. | |
| PurchasingEntityCustomerId | String | True |
A globally-unique ID. | |
| PurchasingEntityCompanyCompanyId | String | True |
A globally-unique ID. | |
| CustomerId | String | False |
Customers.Id |
Customer who will be sent an invoice for the draft order, if there is one. |
| BillingAddressId | String | False |
A globally-unique ID. | |
| BillingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| BillingAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| BillingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| BillingAddressFirstName | String | False |
The first name of the customer. | |
| BillingAddressLastName | String | False |
The last name of the customer. | |
| BillingAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | False |
The name of the city, district, village, or town. | |
| BillingAddressCompany | String | False |
The name of the customer's company or organization. | |
| BillingAddressCountry | String | False |
The name of the country. | |
| BillingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| BillingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| BillingAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| BillingAddressZip | String | False |
The zip or postal code of the address. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| BillingAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| BillingAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| ShippingAddressId | String | False |
A globally-unique ID. | |
| ShippingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| ShippingAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| ShippingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| ShippingAddressFirstName | String | False |
The first name of the customer. | |
| ShippingAddressLastName | String | False |
The last name of the customer. | |
| ShippingAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | False |
The name of the city, district, village, or town. | |
| ShippingAddressCompany | String | False |
The name of the customer's company or organization. | |
| ShippingAddressCountry | String | False |
The name of the country. | |
| ShippingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| ShippingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| ShippingAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| ShippingAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| ShippingAddressZip | String | False |
The zip or postal code of the address. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| ShippingAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| ShippingAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| ShippingLineId | String | True |
A globally-unique ID. | |
| ShippingLineCarrierIdentifier | String | True |
A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| ShippingLineTitle | String | True |
Returns the title of the shipping line. | |
| ShippingLineCode | String | True |
A reference to the shipping method. | |
| ShippingLineCustom | Bool | True |
Whether the shipping line is custom or not. | |
| ShippingLinePhone | String | True |
The phone number at the shipping address. | |
| ShippingLineSource | String | True |
Returns the rate source for the shipping line. | |
| ShippingLineDeliveryCategory | String | True |
The general classification of the delivery method. | |
| ShippingLineShippingRateHandle | String | True |
A unique identifier for the shipping rate. The format can change without notice and is not meant to be shown to users. | |
| ShippingLineRequestedFulfillmentServiceId | String | True |
The ID of the fulfillment service. | |
| AppliedDiscountTitle | String | False |
Name of the order-level discount. | |
| AppliedDiscountDescription | String | False |
Description of the order-level discount. | |
| AppliedDiscountValue | Double | False |
Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount). | |
| AppliedDiscountValueType | String | False |
Type of the order-level discount. | |
| PaymentTermsId | String | True |
A globally-unique ID. | |
| PaymentTermsTranslatedName | String | True |
The payment terms name, translated into the shop admin's preferred language. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the payment terms template used to create the payment terms. | |
| PaymentTermsOverdue | Bool | True |
Whether the payment terms have overdue payment schedules. | |
| PaymentTermsDueInDays | Int | True |
Duration of payment terms in days based on the payment terms template used to create the payment terms. | |
| PaymentTermsPaymentTermsType | String | True |
The payment terms template type used to create the payment terms. | |
| PaymentTermsOrderId | String | True |
A globally-unique ID. | |
| AppliedDiscountAmountV2Amount | Decimal | False |
Decimal money amount. | |
| AppliedDiscountAmountV2CurrencyCode | String | True |
Currency of the money. | |
| LineItemsSubtotalPricePresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| LineItemsSubtotalPricePresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| LineItemsSubtotalPriceShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| LineItemsSubtotalPriceShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalLineItemsPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalLineItemsPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| DraftOrderLineItems | String | False |
The list of the line items in the draft order. | |
| DiscountCodes | String | False |
The discount codes used for the draft order. | |
| AcceptAutomaticDiscounts | Bool | False |
Whether or not to accept automatic discounts on the draft order during calculation. | |
| AllowDiscountCodesInCheckout | Bool | False |
Whether discount codes are allowed during checkout of this draft order. | |
| Warnings | String | True |
The list of warnings raised while calculating. | |
| PlatformDiscountIds | String | True |
The list of platform discounts applied. |
Returns the list of files that have been uploaded to Shopify.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Files WHERE Id = 'Val1'
SELECT * FROM Files WHERE Status = 'Val1'
SELECT * FROM Files WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Files WHERE UpdatedAt = '2023-01-01 11:10:00'
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Description | String | True |
The description of the file. | |
| Status | String | True |
The status of the file. | |
| FileErrors | String | True |
Any errors that have occurred on the file. | |
| CreatedAt | Datetime | True |
The date and time at which the file was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the file was last modified. |
Retrieves the history of events associated with one or many fulfillments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentEvents WHERE FulfillmentId = 'Val1'
The following columns can be used to create a new record:
FulfillmentId, Status, Address1, City, Country, Latitude, Longitude, Message, Province, Zip, EstimatedDeliveryAt
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| FulfillmentId | String | True |
Fulfillments.Id |
A globally-unique ID. |
| OrderId | String | True |
Orders.Id |
A globally-unique identifier. |
| Status | String | True |
The status of this fulfillment event. | |
| HappenedAt | Datetime | True |
The time at which this fulfillment event happened. | |
| Address1 | String | True |
The street address where this fulfillment event occurred. | |
| City | String | True |
The city where this fulfillment event occurred. | |
| Country | String | True |
The country where this fulfillment event occurred. | |
| Latitude | Double | True |
The latitude where this fulfillment event occurred. | |
| Longitude | Double | True |
The longitude where this fulfillment event occurred. | |
| Message | String | True |
A message associated with this fulfillment event. | |
| Province | String | True |
The province where this fulfillment event occurred. | |
| Zip | String | True |
The zip code of the location where this fulfillment event occurred. | |
| EstimatedDeliveryAt | Datetime | True |
The estimated delivery date and time of the fulfillment. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment event was created. |
Retrieves a paginated list of merchant-managed and third-party fulfillment orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrders WHERE Id = 'Val1'
SELECT * FROM FulfillmentOrders WHERE Status = 'open'
SELECT * FROM FulfillmentOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM FulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
SELECT * FROM FulfillmentOrders WHERE OrderId = 'Val1'
The following column can be updated:
Status
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Status | String | False |
The status of the fulfillment order. The allowed values are open, closed, cancelled, in_progress, incomplete, on_hold, scheduled. | |
| FulfillAt | Datetime | True |
The date and time at which the fulfillment order will be fulfillable. When this date and time is reached, the scheduled fulfillment order is automatically transitioned to open. For example, the 'fulfill_at' date for a subscription order might be the 1st of each month, a pre-order 'fulfill_at' date would be 'nil', and a standard order 'fulfill_at' date would be the order creation date. | |
| FulfillBy | Datetime | True |
The latest date and time by which all items in the fulfillment order need to be fulfilled. | |
| OrderName | String | True |
The unique identifier for the order that appears on the order page. | |
| RequestStatus | String | True |
The request status of the fulfillment order. | |
| CreatedAt | Datetime | True |
Date and time when the fulfillment order was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment order was last updated. | |
| OrderProcessedAt | Datetime | True |
The date and time when the fulfillment order was processed at. | |
| AssignedLocationName | String | True |
The name of the location. | |
| AssignedLocationAddress1 | String | True |
The first line of the address for the location. | |
| AssignedLocationAddress2 | String | True |
The second line of the address for the location. | |
| AssignedLocationCity | String | True |
The city of the location. | |
| AssignedLocationPhone | String | True |
The phone number of the location. | |
| AssignedLocationProvince | String | True |
The province of the location. | |
| AssignedLocationZip | String | True |
The ZIP code of the location. | |
| AssignedLocationCountryCode | String | True |
The two-letter country code of the location. | |
| AssignedLocationLocationId | String | True |
A globally-unique ID. | |
| AssignedLocationLocationLegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| AssignedLocationLocationName | String | True |
The name of the location. | |
| AssignedLocationLocationActivatable | Bool | True |
Whether this location can be reactivated. | |
| AssignedLocationLocationDeactivatable | Bool | True |
Whether this location can be deactivated. | |
| AssignedLocationLocationDeletable | Bool | True |
Whether this location can be deleted. | |
| AssignedLocationLocationAddressVerified | Bool | True |
Whether the location address has been verified. | |
| AssignedLocationLocationDeactivatedAt | String | True |
The date and time that the location was deactivated at. For example, 3: 30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as '2019-09-07T15: 50: 00Z'. | |
| AssignedLocationLocationIsActive | Bool | True |
Whether the location is active. | |
| AssignedLocationLocationShipsInventory | Bool | True |
Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| AssignedLocationLocationFulfillsOnlineOrders | Bool | True |
Whether this location can fulfill online orders. | |
| AssignedLocationLocationHasActiveInventory | Bool | True |
Whether this location has active inventory. | |
| AssignedLocationLocationHasUnfulfilledOrders | Bool | True |
Whether this location has orders that need to be fulfilled. | |
| DeliveryMethodId | String | True |
A globally-unique ID. | |
| DeliveryMethodMethodType | String | True |
The type of the delivery method. | |
| DeliveryMethodMaxDeliveryDateTime | Datetime | True |
The latest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodMinDeliveryDateTime | Datetime | True |
The earliest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodServiceCode | String | True |
A reference to the shipping method. | |
| DeliveryMethodSourceReference | String | True |
Promise provider specific data associated with delivery promise. | |
| DeliveryMethodBrandedPromiseName | String | True |
The name of the branded promise. For example: 'Shop Promise'. | |
| DeliveryMethodBrandedPromiseHandle | String | True |
The handle of the branded promise. For example: 'shop_promise'. | |
| DeliveryMethodAdditionalInformationPhone | String | True |
The phone number to contact when performing the delivery. | |
| DeliveryMethodAdditionalInformationInstructions | String | True |
The delivery instructions to follow when performing the delivery. | |
| DestinationId | String | True |
A globally-unique ID. | |
| DestinationFirstName | String | True |
The first name of the customer at the destination. | |
| DestinationLastName | String | True |
The last name of the customer at the destination. | |
| DestinationAddress1 | String | True |
The first line of the address of the destination. | |
| DestinationAddress2 | String | True |
The second line of the address of the destination. | |
| DestinationCity | String | True |
The city of the destination. | |
| DestinationCompany | String | True |
The company of the destination. | |
| DestinationEmail | String | True |
The email of the customer at the destination. | |
| DestinationPhone | String | True |
The phone number of the customer at the destination. | |
| DestinationProvince | String | True |
The province of the destination. | |
| DestinationZip | String | True |
The ZIP code of the destination. | |
| DestinationCountryCode | String | True |
The two-letter country code of the destination. | |
| InternationalDutiesIncoterm | String | True |
The method of duties payment. Example values: 'DDP', 'DAP'. | |
| OrderId | String | True |
A globally-unique ID. |
Fulfillment represents a shipment of one or more items in an order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Fulfillments WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
Id, OriginAddressAddress1, OriginAddressAddress2, OriginAddressCity, OriginAddressCountryCode, OriginAddressProvinceCode, OriginAddressZip, TrackingInfoNumber, TrackingInfoUrl
The following pseudo-column can be used to create a new record:
FulfillmentOrderIds
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| OrderId | String | True |
Globally unique identifier. | |
| Name | String | True |
Human readable reference identifier for this fulfillment. | |
| Status | String | True |
The status of the fulfillment. | |
| DeliveredAt | Datetime | True |
The date that this fulfillment was delivered. | |
| DisplayStatus | String | True |
Human readable display status for this fulfillment. | |
| RequiresShipping | Bool | True |
Whether any of the line items in the fulfillment require shipping. | |
| TotalQuantity | Int | True |
Sum of all line item quantities for the fulfillment. | |
| EstimatedDeliveryAt | Datetime | True |
The estimated date that this fulfillment will arrive. | |
| InTransitAt | Datetime | True |
The date and time when the fulfillment went into transit. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment was last modified. | |
| LocationId | String | True |
A globally-unique ID. | |
| ServiceId | String | True |
The ID of the fulfillment service. | |
| OriginAddressAddress1 | String | True |
The street address of the fulfillment location. | |
| OriginAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| OriginAddressCity | String | True |
The city in which the fulfillment location is located. | |
| OriginAddressCountryCode | String | True |
The country code of the fulfillment location. | |
| OriginAddressProvinceCode | String | True |
The province code of the fulfillment location. | |
| OriginAddressZip | String | True |
The zip code of the fulfillment location. | |
| TrackingInfoNumber | String | True |
The tracking number of the fulfillment. | |
| TrackingInfoUrl | String | True |
The URL to track the fulfillment. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| FulfillmentOrderIds | String |
An aggregated object containing the FulfillmentOrder ids. Ex: [{'fulfillmentOrderId': 'gid://shopify/FulfillmentOrder/xxx'}] |
Lists fulfillmentServices which Represents service that prepares and ships orders on behalf of the store owner.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM FulfillmentServices
The following columns can be used to create a new record:
ServiceName, CallbackUrl, InventoryManagement
The following columns can be updated:
ServiceName, CallbackUrl, InventoryManagement
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The ID of the fulfillment service. | |
| ServiceName | String | False |
The name of the fulfillment service as seen by merchants. | |
| Handle | String | True |
Human-readable unique identifier for this fulfillment service. | |
| Type | String | True |
Type associated with the fulfillment service. | |
| CallbackUrl | String | False |
The callback URL the fulfillment service has registered for requests. | |
| InventoryManagement | Bool | False |
Whether the fulfillment service tracks product inventory and provides updates to Shopify. | |
| PermitsSkuSharing | Bool | True |
Whether the fulfillment service can stock inventory alongside other locations. | |
| TrackingSupport | Bool | True |
Whether the fulfillment service implemented the /fetch_tracking_numbers endpoint. | |
| LocationId | String | True |
Globally unique identifier. |
Lists tracking information associated with the fulfillment, such as the tracking company, tracking number, and tracking URL.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentTrackingInfo WHERE FulfillmentId = 'Val1'
The following columns can be updated:
Company, Number, Url
| Name | Type | ReadOnly | References | Description |
| FulfillmentId | String | False |
Fulfillments.Id |
The ID of the Fulfillment to return. |
| Company | String | False |
The name of the tracking company. | |
| Number | String | False |
The tracking number of the fulfillment. | |
| Url | String | False |
The URLs to track the fulfillment. |
Returns a list of gift cards. Requires read_gift_cards access scope. Also, note that the API client must be a private or custom application installed on a Shopify Plus or Shopify Plus Partner Sandbox store. (This table is available only with a ShopifyPlus subscription)
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCards WHERE Id = 'Val1'
SELECT * FROM GiftCards WHERE ExpiresOn = '2023-01-01'
SELECT * FROM GiftCards WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM GiftCards WHERE InitialValueAmount = '100.00'
The following columns can be used to create a new record:
Note, ExpiresOn, InitialValueAmount, CustomerId
The following columns can be updated:
Note, ExpiresOn, CustomerId, Enabled
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Enabled | Bool | True |
Whether the gift card is enabled. | |
| Note | String | False |
The note associated with the gift card, which is not visible to the customer. | |
| DisabledAt | Datetime | True |
The date and time at which the gift card was disabled. | |
| ExpiresOn | Date | False |
The date at which the gift card will expire. | |
| LastCharacters | String | True |
The final four characters of the gift card code. | |
| MaskedCode | String | True |
The gift card code. Everything but the final four characters is masked. | |
| CreatedAt | Datetime | True |
The date and time at which the gift card was created. | |
| BalanceAmount | Decimal | True |
Decimal money amount. | |
| BalanceCurrencyCode | String | True |
Currency of the money. | |
| InitialValueAmount | Decimal | True |
Decimal money amount. | |
| InitialValueCurrencyCode | String | True |
Currency of the money. | |
| CustomerId | String | False |
A globally-unique ID. | |
| OrderId | String | True |
A globally-unique ID. |
Returns overview information of the inventory item for each location that the inventory item can be stocked at.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemInventoryLevels WHERE InventoryItemId = 'Val1'
The following columns can be used to create a new record:
InventoryItemId, LocationId
The following pseudo-columns can be used to create a new record:
Available, OnHand
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| InventoryItemId | String | True |
A globally-unique ID. | |
| LocationId | String | True |
A globally-unique ID. | |
| CanDeactivate | Bool | True |
Whether the inventory items associated with the inventory level can be deactivated. | |
| DeactivationAlert | String | True |
Describes either the impact of deactivating the inventory level, or why the inventory level can't be deactivated. | |
| CreatedAt | Datetime | True |
The date and time when the inventory level was created. | |
| UpdatedAt | Datetime | True |
The date and time when the inventory level was updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Available | Int |
The initial available quantity of the inventory item being activated at the location. |
| OnHand | Int |
The initial on_hand quantity of the inventory item being activated at the location. |
Returns a list of inventory items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryItems WHERE Id = 'Val1'
SELECT * FROM InventoryItems WHERE Sku = 'Val1'
SELECT * FROM InventoryItems WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM InventoryItems WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be updated:
Sku, Tracked, RequiresShipping, HarmonizedSystemCode, CountryCodeOfOrigin, ProvinceCodeOfOrigin, MeasurementWeightValue, MeasurementWeightUnit, UnitCostAmount, InventoryItemCountryHarmonizedSystemCodes (references InventoryItemCountryHarmonizedSystemCodes)
| Column Name | Type | Description |
| CountryCode | String | The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. |
| HarmonizedSystemCode | String | The country-specific harmonized system code. These are usually longer than 6 digits. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| VariantId | String | True |
A globally-unique ID. | |
| Sku | String | False |
Inventory item SKU. | |
| Tracked | Bool | False |
Whether inventory levels are tracked for the item. | |
| LocationsCount | Int | True |
The number of locations where this inventory item is stocked. | |
| LocationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| RequiresShipping | Bool | False |
Whether the inventory item requires shipping. | |
| DuplicateSkuCount | Int | True |
The number of inventory items that share the same SKU with this item. | |
| HarmonizedSystemCode | String | False |
The harmonized system code of the item. | |
| InventoryHistoryUrl | String | True |
The URL that points to the inventory history for the item. | |
| CountryCodeOfOrigin | String | False |
The ISO 3166-1 alpha-2 country code of where the item originated from. | |
| ProvinceCodeOfOrigin | String | False |
The ISO 3166-2 alpha-2 province code of where the item originated from. | |
| CreatedAt | Datetime | True |
The date and time when the inventory item was created. | |
| UpdatedAt | Datetime | True |
The date and time when the inventory item was updated. | |
| TrackedEditableLocked | Bool | True |
Whether the attribute is locked for editing. | |
| TrackedEditableReason | String | True |
The reason the attribute is locked for editing. | |
| MeasurementId | String | True |
A globally-unique ID. | |
| MeasurementWeightValue | Double | False |
The weight value using the unit system specified with 'unit'. | |
| MeasurementWeightUnit | String | False |
The unit of measurement for 'value'. | |
| UnitCostAmount | Decimal | False |
Decimal money amount. | |
| UnitCostCurrencyCode | String | True |
Currency of the money. | |
| InventoryItemCountryHarmonizedSystemCodes | String | False |
List of country-specific harmonized system codes. |
Returns a list of active inventory locations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Locations WHERE Id = 'Val1'
SELECT * FROM Locations WHERE Name = 'Val1'
SELECT * FROM Locations WHERE IsActive = true
SELECT * FROM Locations WHERE AddressAddress1 = 'Val1'
SELECT * FROM Locations WHERE AddressAddress2 = 'Val1'
SELECT * FROM Locations WHERE AddressCity = 'Val1'
SELECT * FROM Locations WHERE AddressCountry != 'Val1'
SELECT * FROM Locations WHERE AddressProvince = 'Val1'
SELECT * FROM Locations WHERE AddressZip = 'Val1'
SELECT * FROM Locations WHERE IncludeInactive = true
SELECT * FROM Locations WHERE IncludeLegacy = true
The following columns can be used to create a new record:
Name, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode
The following columns can be updated:
Name, IsActive, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Name | String | False |
The name of the location. | |
| Activatable | Bool | True |
Whether this location can be reactivated. | |
| Deactivatable | Bool | True |
Whether this location can be deactivated. | |
| Deletable | Bool | True |
Whether this location can be deleted. | |
| AddressVerified | Bool | True |
Whether the location address has been verified. | |
| DeactivatedAt | String | True |
The date and time that the location was deactivated at. For example, 3: 30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as '2019-09-07T15: 50: 00Z'. | |
| IsActive | Bool | False |
Whether the location is active. | |
| ShipsInventory | Bool | True |
Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| IsFulfillmentService | Bool | True |
Whether this location is a fulfillment service. | |
| FulfillsOnlineOrders | Bool | False |
Whether this location can fulfill online orders. | |
| HasActiveInventory | Bool | True |
Whether this location has active inventory. | |
| HasUnfulfilledOrders | Bool | True |
Whether this location has orders that need to be fulfilled. | |
| CreatedAt | Datetime | True |
The date and time that the location was added to a shop. | |
| UpdatedAt | Datetime | True |
The date and time when the location was last updated. | |
| AddressAddress1 | String | False |
The first line of the address for the location. | |
| AddressAddress2 | String | False |
The second line of the address for the location. | |
| AddressCity | String | False |
The city of the location. | |
| AddressCountry | String | True |
The country of the location. | |
| AddressFormatted | String | True |
A formatted version of the address for the location. | |
| AddressLatitude | Double | True |
The latitude coordinates of the location. | |
| AddressLongitude | Double | True |
The longitude coordinates of the location. | |
| AddressPhone | String | False |
The phone number of the location. | |
| AddressProvince | String | True |
The province of the location. | |
| AddressZip | String | False |
The ZIP code of the location. | |
| AddressCountryCode | String | False |
The country code of the location. The allowed values are AC, AD, AE, AF, AG, AI, AL, AM, AN, AO, AR, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MK, ML, MM, MN, MO, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PS, PT, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TA, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW, ZZ. | |
| AddressProvinceCode | String | False |
The code for the province, state, or district of the address of the location. | |
| FulfillmentServiceId | String | True |
The ID of the fulfillment service. | |
| LocalPickupSettingsV2Instructions | String | True |
Additional instructions or information related to the local pickup. | |
| LocalPickupSettingsV2PickupTime | String | True |
The estimated pickup time to show customers at checkout. | |
| IncludeInactive | Bool | True |
If true, also include the locations that are deactivated. | |
| IncludeLegacy | Bool | True |
If true, also include the legacy locations of fulfillment services. |
Retrieves a list of metafields that belong to one or many resource IDs.
OwnerResource or the metafield Id (when executing non-bulk operations) is required for any query against Metafields.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Metafields WHERE Id = 'gid://shopify/Metafield/19334473318423'
SELECT * FROM Metafields WHERE Id IN ('gid://shopify/Metafield/19334473318423', 'gid://shopify/Metafield/19334473318424')
SELECT * FROM Metafields WHERE OwnerResource = 'product'
SELECT * FROM Metafields WHERE OwnerResource = 'variant' AND OwnerId = 'gid://shopify/ProductVariant/39378393497623'
SELECT * FROM Metafields WHERE OwnerResource = 'variant' AND OwnerId IN ('gid://shopify/ProductVariant/39378393497623', 'gid://shopify/Product/1418248224791')
The following columns can be used to create a new record:
Namespace, Key, Value, Type, OwnerId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The unique ID of the metafield. | |
| LegacyResourceId | Long | True |
The ID of the corresponding resource in the REST Admin API. | |
| Namespace | String | True |
A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. | |
| Key | String | True |
The name of the metafield. | |
| Value | String | True |
The information to be stored as metadata. | |
| Type | String | True |
The metafield's information type. | |
| Description | String | True |
A description of the information that the metafield contains. | |
| OwnerId | String | True |
The ID of the resource that the metafield is attached to. | |
| OwnerResource | String | True |
The type of resource that the metafield is attached to. The allowed values are product, variant, shop, draft_order, order, customer, collection, media_image, selling_plan. | |
| CreatedAt | Datetime | True |
The date and time when the metafield was created. | |
| UpdatedAt | Datetime | True |
The date and time when the metafield was last updated. |
Retrieves a list of risk assessments for orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRiskAssessments WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OrderId, RiskLevel, Facts (references OrderRiskAssessmentFacts)
| Column Name | Type | Description |
| Description | String | A description of the fact. |
| Sentiment | String | Indicates whether the fact is a negative, neutral or positive contributor with regards to risk. |
| Name | Type | ReadOnly | References | Description |
| OrderId | String | True |
A globally-unique ID. | |
| RiskLevel | String | True |
The likelihood that the order is fraudulent, based on this risk assessment. The allowed values are HIGH, LOW, MEDIUM, NONE, PENDING. | |
| Facts | String | True |
Optional facts used to describe the risk assessment. The values in here are specific to the provider. | |
| ProviderId | String | True |
A globally-unique ID. | |
| ProviderTitle | String | True |
Name of the app. |
Retrieves a list of orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Orders WHERE Id = 'Val1'
SELECT * FROM Orders WHERE Name = 'Val1'
SELECT * FROM Orders WHERE Email = 'Val1'
SELECT * FROM Orders WHERE Test = true
SELECT * FROM Orders WHERE ConfirmationNumber = 'Val1'
SELECT * FROM Orders WHERE DiscountCode = 'Val1'
SELECT * FROM Orders WHERE ProcessedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE CustomerId = 'Val1'
The following columns can be updated:
Email, Note, Tags, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Unpaid | Bool | True |
Whether no payments have been made for the order. | |
| FullyPaid | Bool | True |
Whether the order has been paid in full. | |
| SourceIdentifier | String | True |
A unique POS or third party order identifier. For example, '1234-12-1000' or '111-98567-54'. The 'receipt_number' field is derived from this value for POS orders. | |
| SourceName | String | True |
The name of the source associated with the order. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| CanMarkAsPaid | Bool | True |
Whether the order can be manually marked as paid. | |
| Name | String | True |
The unique identifier for the order that appears on the order page in the Shopify admin and the order status page. For example, '#1001', 'EN1001', or '1001-A'. This value isn't unique across multiple stores. | |
| PaymentGatewayNames | String | True |
A list of the names of all payment gateways used for the order. For example, 'Shopify Payments' and 'Cash on Delivery (COD)'. | |
| Capturable | Bool | True |
Whether payment for the order can be captured. | |
| Closed | Bool | True |
Whether the order is closed. | |
| Confirmed | Bool | True |
Whether inventory has been reserved for the order. | |
| Edited | Bool | True |
Whether the order has had any edits applied. | |
| String | False |
The email address associated with the customer. | ||
| Fulfillable | Bool | True |
Whether there are line items that can be fulfilled. This field returns 'false' when the order has no fulfillable line items. For a more granular view of the fulfillment status, refer to the object. | |
| Note | String | False |
The contents of the note associated with the order. | |
| Phone | String | True |
The phone number associated with the customer. | |
| Refundable | Bool | True |
Whether the order can be refunded. | |
| Restockable | Bool | True |
Whether any line item on the order can be restocked. | |
| Tags | String | True |
A comma separated list of tags associated with the order. Updating 'tags' overwrites any existing tags that were previously added to the order. To add new tags without overwriting existing tags, use the mutation. | |
| Test | Bool | True |
Whether the order is a test. Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled. A test order cannot be converted into a real order and vice versa. | |
| CancelReason | String | True |
The reason provided when the order was canceled. Returns 'null' if the order wasn't canceled. | |
| CancelledAt | Datetime | True |
The date and time when the order was canceled. Returns 'null' if the order wasn't canceled. | |
| ClientIp | String | True |
The IP address of the API client that created the order. | |
| ClosedAt | Datetime | True |
The date and time when the order was closed. Returns 'null' if the order is not closed. | |
| ConfirmationNumber | String | True |
A randomly generated alpha-numeric identifier for the order that may be shown to the customer instead of the sequential order name. For example, XPAV284CT, R50KELTJP or 35PKUN0UJ. This value isn't guaranteed to be unique. | |
| CurrencyCode | String | True |
The shop currency when the order was placed. | |
| CustomerLocale | String | True |
A two-letter or three-letter language code, optionally followed by a region modifier. | |
| DiscountCode | String | True |
The discount code used for the order. | |
| DiscountCodes | String | True |
The discount codes used for the order. | |
| EstimatedTaxes | Bool | True |
Whether taxes on the order are estimated. This field returns 'false' when taxes on the order are finalized and aren't subject to any changes. | |
| MerchantEditable | Bool | True |
Whether the order can be edited by the merchant. For example, canceled orders can't be edited. | |
| ProcessedAt | Datetime | True |
The date and time when the order was processed. This date and time might not match the date and time when the order was created. | |
| RequiresShipping | Bool | True |
Whether the order has shipping lines or at least one line item on the order that requires shipping. | |
| RiskRecommendation | String | True |
The recommendation for the order based on the results of the risk assessments. This suggests the action the merchant should take with regards to its risk of fraud. | |
| ReturnStatus | String | True |
The order's aggregated return status for display purposes. | |
| TaxesIncluded | Bool | True |
Whether taxes are included in the subtotal price of the order. | |
| TotalWeight | String | True |
The total weight of the order before returns, in grams. | |
| CanNotifyCustomer | Bool | True |
Whether a customer email exists for the order. | |
| CurrentTotalWeight | String | True |
The total weight of the order after returns, in grams. | |
| CustomerAcceptsMarketing | Bool | True |
Whether the customer agreed to receive marketing materials. | |
| DisplayFinancialStatus | String | True |
The financial status of the order that can be shown to the merchant. This field does not capture all the details of an order's financial state. It should only be used for display summary purposes. | |
| DisplayFulfillmentStatus | String | True |
The fulfillment status for the order that can be shown to the merchant. This field does not capture all the details of an order's fulfillment state. It should only be used for display summary purposes. For a more granular view of the fulfillment status, refer to the object. | |
| FulfillmentsCount | Int | True |
The count of fulfillments including the cancelled fulfillments. | |
| FulfillmentsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| HasTimelineComment | Bool | True |
Whether the merchant added a timeline comment to the order. | |
| MerchantEditableErrors | String | True |
A list of reasons why the order can't be edited. For example, 'Canceled orders can't be edited'. | |
| PresentmentCurrencyCode | String | True |
The payment 'CurrencyCode' of the customer for the order. | |
| RegisteredSourceUrl | String | True |
The URL of the source that the order originated from, if found in the domain registry. | |
| SubtotalLineItemsQuantity | Int | True |
The sum of the quantities for all line items that contribute to the order's subtotal price. | |
| BillingAddressMatchesShippingAddress | Bool | True |
Whether the billing address matches the shipping address. | |
| CurrentSubtotalLineItemsQuantity | Int | True |
The sum of the quantities for all line items that contribute to the order's current subtotal price. | |
| CreatedAt | Datetime | True |
Date and time when the order was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the order was modified last. | |
| StaffMemberId | String | True |
The staff member associated with the order. (This column is available only with a ShopifyPlus subscription) | |
| AppId | String | True |
The application ID. | |
| MerchantOfRecordAppId | String | True |
The application ID. | |
| PhysicalLocationId | String | True |
A globally-unique ID. | |
| ChannelInformationId | String | True |
A globally-unique ID. | |
| ChannelInformationChannelId | String | True |
The unique ID for the channel. | |
| ChannelInformationAppId | String | True |
A globally-unique ID. | |
| PublicationId | String | True |
A globally-unique ID. | |
| PurchasingEntityCustomerId | String | True |
A globally-unique ID. | |
| PurchasingEntityCompanyId | String | True |
A globally-unique ID. | |
| CustomerId | String | True |
A globally-unique ID. | |
| CustomerFirstName | String | True |
The customer's first name. | |
| CustomerLastName | String | True |
The customer's last name. | |
| CustomerJourneySummaryReady | Bool | True |
Whether the attributed sessions for the order have been created yet. | |
| CustomerJourneySummaryMomentsCount | Int | True |
The total number of customer moments associated with this order. Returns null if the order is still in the process of being attributed. | |
| CustomerJourneySummaryMomentsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CustomerJourneySummaryCustomerOrderIndex | Int | True |
The position of the current order within the customer's order history. Test orders aren't included. | |
| CustomerJourneySummaryDaysToConversion | Int | True |
The number of days between the first session and the order creation date. The first session represents the first session since the last order, or the first session within the 30 day attribution window, if more than 30 days have passed since the last order. | |
| CustomerJourneySummaryFirstVisitId | String | True |
A globally-unique ID. | |
| CustomerJourneySummaryFirstVisitSource | String | True |
Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct, a website domain, QR code, or unknown. | |
| CustomerJourneySummaryFirstVisitLandingPage | String | True |
URL of the first page the customer landed on for the session. | |
| CustomerJourneySummaryFirstVisitOccurredAt | Datetime | True |
The date and time when the customer's session occurred. | |
| CustomerJourneySummaryFirstVisitReferralCode | String | True |
Marketing referral code from the link that the customer clicked to visit the store. Supports the following URL attributes: _ref_, _source_, or _r_. For example, if the URL is myshopifystore. com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2. | |
| CustomerJourneySummaryFirstVisitReferrerUrl | String | True |
Webpage where the customer clicked a link that sent them to the online store. For example, _https: //randomblog. com/page1_ or _android-app: //com. google. android. gm_. | |
| CustomerJourneySummaryFirstVisitSourceDescription | String | True |
Describes the source explicitly for first or last session. | |
| CustomerJourneySummaryFirstVisitSourceType | String | True |
Type of marketing tactic. | |
| CustomerJourneySummaryFirstVisitLandingPageHtml | String | True |
Landing page information with URL linked in HTML. For example, the first page the customer visited was store. myshopify. com/products/1. | |
| CustomerJourneySummaryFirstVisitReferralInfoHtml | String | True |
Referral information with URLs linked in HTML. | |
| CustomerJourneySummaryLastVisitId | String | True |
A globally-unique ID. | |
| CustomerJourneySummaryLastVisitSource | String | True |
Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct, a website domain, QR code, or unknown. | |
| CustomerJourneySummaryLastVisitLandingPage | String | True |
URL of the first page the customer landed on for the session. | |
| CustomerJourneySummaryLastVisitOccurredAt | Datetime | True |
The date and time when the customer's session occurred. | |
| CustomerJourneySummaryLastVisitReferralCode | String | True |
Marketing referral code from the link that the customer clicked to visit the store. Supports the following URL attributes: _ref_, _source_, or _r_. For example, if the URL is myshopifystore. com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2. | |
| CustomerJourneySummaryLastVisitReferrerUrl | String | True |
Webpage where the customer clicked a link that sent them to the online store. For example, _https: //randomblog. com/page1_ or _android-app: //com. google. android. gm_. | |
| CustomerJourneySummaryLastVisitSourceDescription | String | True |
Describes the source explicitly for first or last session. | |
| CustomerJourneySummaryLastVisitSourceType | String | True |
Type of marketing tactic. | |
| CustomerJourneySummaryLastVisitLandingPageHtml | String | True |
Landing page information with URL linked in HTML. For example, the first page the customer visited was store. myshopify. com/products/1. | |
| CustomerJourneySummaryLastVisitReferralInfoHtml | String | True |
Referral information with URLs linked in HTML. | |
| DisplayAddressId | String | True |
A globally-unique ID. | |
| DisplayAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| DisplayAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| DisplayAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| DisplayAddressFirstName | String | True |
The first name of the customer. | |
| DisplayAddressLastName | String | True |
The last name of the customer. | |
| DisplayAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| DisplayAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| DisplayAddressCity | String | True |
The name of the city, district, village, or town. | |
| DisplayAddressCompany | String | True |
The name of the customer's company or organization. | |
| DisplayAddressCountry | String | True |
The name of the country. | |
| DisplayAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| DisplayAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| DisplayAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| DisplayAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| DisplayAddressZip | String | True |
The zip or postal code of the address. | |
| DisplayAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| DisplayAddressProvinceCode | String | True |
The two-letter code for the region. For example, ON. | |
| DisplayAddressCountryCodeV2 | String | True |
The two-letter code for the country of the address. For example, US. | |
| BillingAddressId | String | True |
A globally-unique ID. | |
| BillingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| BillingAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| BillingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| BillingAddressFirstName | String | True |
The first name of the customer. | |
| BillingAddressLastName | String | True |
The last name of the customer. | |
| BillingAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | True |
The name of the city, district, village, or town. | |
| BillingAddressCompany | String | True |
The name of the customer's company or organization. | |
| BillingAddressCountry | String | True |
The name of the country. | |
| BillingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| BillingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| BillingAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| BillingAddressZip | String | True |
The zip or postal code of the address. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| BillingAddressProvinceCode | String | True |
The two-letter code for the region. For example, ON. | |
| BillingAddressCountryCodeV2 | String | True |
The two-letter code for the country of the address. For example, US. | |
| ShippingAddressId | String | False |
A globally-unique ID. | |
| ShippingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| ShippingAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| ShippingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| ShippingAddressFirstName | String | False |
The first name of the customer. | |
| ShippingAddressLastName | String | False |
The last name of the customer. | |
| ShippingAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | False |
The name of the city, district, village, or town. | |
| ShippingAddressCompany | String | False |
The name of the customer's company or organization. | |
| ShippingAddressCountry | String | False |
The name of the country. | |
| ShippingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| ShippingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| ShippingAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| ShippingAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| ShippingAddressZip | String | False |
The zip or postal code of the address. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| ShippingAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| ShippingAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| ShippingLineId | String | True |
A globally-unique ID. | |
| ShippingLineCarrierIdentifier | String | True |
A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| ShippingLineTitle | String | True |
Returns the title of the shipping line. | |
| ShippingLineCode | String | True |
A reference to the shipping method. | |
| ShippingLineCustom | Bool | True |
Whether the shipping line is custom or not. | |
| ShippingLinePhone | String | True |
The phone number at the shipping address. | |
| ShippingLineSource | String | True |
Returns the rate source for the shipping line. | |
| ShippingLineDeliveryCategory | String | True |
The general classification of the delivery method. | |
| ShippingLineShippingRateHandle | String | True |
A unique identifier for the shipping rate. The format can change without notice and is not meant to be shown to users. | |
| ShippingLineRequestedFulfillmentServiceId | String | True |
The ID of the fulfillment service. | |
| PaymentTermsId | String | True |
A globally-unique ID. | |
| PaymentTermsTranslatedName | String | True |
The payment terms name, translated into the shop admin's preferred language. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the payment terms template used to create the payment terms. | |
| PaymentTermsOverdue | Bool | True |
Whether the payment terms have overdue payment schedules. | |
| PaymentTermsDueInDays | Int | True |
Duration of payment terms in days based on the payment terms template used to create the payment terms. | |
| PaymentTermsPaymentTermsType | String | True |
The payment terms template type used to create the payment terms. | |
| PaymentTermsDraftOrderId | String | True |
A globally-unique ID. | |
| CartDiscountAmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CartDiscountAmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CartDiscountAmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CartDiscountAmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| ChannelInformationChannelDefinitionId | String | True |
The unique ID for the channel definition. | |
| CurrentCartDiscountAmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentCartDiscountAmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentCartDiscountAmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentCartDiscountAmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentSubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentSubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentSubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentSubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalAdditionalFeesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDutiesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDutiesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDutiesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| NetPaymentSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| NetPaymentSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| NetPaymentSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| NetPaymentSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalAdditionalFeesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalDutiesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalDutiesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalDutiesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| PaymentCollectionDetailsAdditionalPaymentCollectionUrl | String | True |
The URL to use for collecting an additional payment on the order. | |
| RefundDiscrepancySetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| RefundDiscrepancySetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| RefundDiscrepancySetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| RefundDiscrepancySetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalCapturableSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalCapturableSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalCapturableSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalCapturableSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalOutstandingSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalOutstandingSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalOutstandingSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalOutstandingSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalReceivedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalReceivedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalReceivedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalReceivedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedShippingSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedShippingSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedShippingSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedShippingSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTipReceivedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTipReceivedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTipReceivedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTipReceivedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| RetailLocationId | String | True |
A globally-unique ID. |
Retrieves the transactions associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderTransactions WHERE ResourceId = 'Val1'
The following columns can be used to create a new record:
ResourceId, ParentTransactionId
The following pseudo-columns can be used to create a new record:
Amount, Currency, FinalCapture
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ResourceId [KEY] | String | True |
Orders.Id |
A globally-unique ID. |
| PaymentId | String | True |
The payment ID associated with the transaction. | |
| ParentTransactionId | String | True |
The associated parent transaction, for example the authorization of a capture. | |
| AccountNumber | String | True |
The masked account number associated with the payment method. | |
| Gateway | String | True |
The payment gateway used to process the transaction. | |
| Kind | String | True |
The kind of transaction. | |
| Status | String | True |
The status of this transaction. | |
| Test | Bool | True |
Whether the transaction is a test transaction. | |
| AuthorizationCode | String | True |
Authorization code associated with the transaction. | |
| ErrorCode | String | True |
A standardized error code, independent of the payment provider. | |
| FormattedGateway | String | True |
The human-readable payment gateway name used to process the transaction. | |
| ManuallyCapturable | Bool | True |
Whether the transaction can be manually captured. | |
| MultiCapturable | Bool | True |
Whether the transaction can be captured multiple times. | |
| ProcessedAt | Datetime | True |
Date and time when the transaction was processed. | |
| ReceiptJson | String | True |
The transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction. | |
| SettlementCurrency | String | True |
The settlement currency. | |
| AuthorizationExpiresAt | Datetime | True |
The time when the authorization expires. This field is available only to stores on a Shopify Plus plan and is populated only for Shopify Payments authorizations. | |
| SettlementCurrencyRate | Decimal | True |
The rate used when converting the transaction amount to settlement currency. | |
| CreatedAt | Datetime | True |
Date and time when the transaction was created. | |
| CardPaymentDetailsName | String | True |
The holder of the credit card. | |
| CardPaymentDetailsBin | String | True |
The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number. | |
| CardPaymentDetailsCompany | String | True |
The name of the company that issued the customer's credit card. | |
| CardPaymentDetailsNumber | String | True |
The customer's credit card number, with most of the leading digits redacted. | |
| CardPaymentDetailsWallet | String | True |
Digital wallet used for the payment. | |
| CardPaymentDetailsExpirationMonth | Int | True |
The month in which the used credit card expires. | |
| CardPaymentDetailsExpirationYear | Int | True |
The year in which the used credit card expires. | |
| CardPaymentDetailsAvsResultCode | String | True |
The response code from the address verification system (AVS). The code is always a single letter. | |
| CardPaymentDetailsCvvResultCode | String | True |
The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string. | |
| PaymentIconId | String | True |
A unique ID for the image. | |
| PaymentIconWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| PaymentIconAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| PaymentIconHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| AmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| MaximumRefundableV2Amount | Decimal | True |
Decimal money amount. | |
| MaximumRefundableV2CurrencyCode | String | True |
Currency of the money. | |
| ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt | Datetime | True |
The time after which the extended authorization expires. After the expiry, the merchant is unable to capture the payment. | |
| ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt | Datetime | True |
The time after which capture will incur an additional fee. | |
| ShopifyPaymentsSetRefundSetAcquirerReferenceNumber | String | True |
The acquirer reference number (ARN) code generated for Visa/Mastercard transactions. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalUnsettledSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalUnsettledSetShopMoneyCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Amount | Decimal |
The amount to capture. The capture amount can't be greater than the amount of the authorized transaction. |
| Currency | String |
The amount to capture. The capture amount can't be greater than the amount of the authorized transaction. |
| FinalCapture | Bool |
Indicates whether this is to be the final capture for the order transaction. Only applies to Shopify Payments authorizations which are multi-capturable. If true, any uncaptured amount from the authorization will be voided after the capture is completed. If false, the authorization will remain open for future captures. |
All price lists for a shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PriceLists WHERE Id = 'Val1'
The following columns can be used to create a new record:
Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode
The following columns can be updated:
Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Currency | String | False |
The currency for fixed prices associated with this price list. | |
| FixedPricesCount | Int | True |
The number of fixed prices on the price list. | |
| Name | String | False |
The unique name of the price list, used as a human-readable identifier. | |
| ParentAdjustmentType | String | False |
The type of price adjustment, such as percentage increase or decrease. | |
| ParentAdjustmentValue | Double | False |
The value of price adjustment, where positive numbers reduce the prices and negative numbers increase them. | |
| ParentSettingsCompareAtMode | String | False |
The type of price list adjustment setting for compare at price. |
Returns the media images associated with the product.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductMediaImages WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, AltText, MediaContentType, Url
The following columns can be updated:
AltText, Url
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the media image. | |
| ProductId [KEY] | String | True |
Products.Id |
A globally-unique identifier for the product. |
| AltText | String | False |
A word or phrase to share the nature or contents of a media image. | |
| MediaContentType | String | True |
The media content type. | |
| Height | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| Width | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| Url | String | False |
The location of the image as a URL. |
Returns a list of product options. The limit is specified by Shop.resourceLimits.maxProductOptions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOptions WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, Name, Position, OptionValues (references ProductOptionValues)
The following pseudo-columns can be used to create a new record:
LinkedMetafieldKey, LinkedMetafieldNamespace, LinkedMetafieldValues
| Column Name | Type | Description |
| ProductId | String | A globally-unique ID. |
| ProductOptionId | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| VariantStrategy | String | The strategy defines which behavior is observed regarding variants. The strategy 'LEAVE_AS_IS' is used by default - variants are not created nor deleted. If set to 'MANAGE', variants are created and deleted according to the option values to add and to delete. |
The following columns can be updated:
ProductId, Name, Position
The following pseudo-columns can be used to update a record:
LinkedMetafieldKey, LinkedMetafieldNamespace
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique identifier. | |
| ProductId | String | False |
Products.Id |
A globally-unique identifier. |
| Name | String | False |
The product option's name. | |
| Position | Int | False |
The product option's position. | |
| Values | String | True |
The corresponding value to the product option name. | |
| OptionValues | String | True |
Similar to values, option_values returns all the corresponding option value objects to the product option, including values not assigned to any variants. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| LinkedMetafieldKey | String |
The key of the metafield this option is linked to. |
| LinkedMetafieldNamespace | String |
The namespace of the metafield this option is linked to. |
| LinkedMetafieldValues | String |
Comma-separated list of values associated with the option. |
| DeleteVariantStrategy | String |
The strategy defines which behavior is observed, such as how to handle a situation where deleting an option would result in duplicate variants. If set to 'DEFAULT', the specified Option may only have one corresponding value. If set to 'NON_DESTRUCTIVE', an Option with multiple values can be deleted, but the operation only succeeds if no product variants get deleted. If set to 'POSITION', an Option with multiple values can be deleted. Remaining variants will be deleted, highest position first, in the event of duplicates being detected. The allowed values are DEFAULT, NON_DESTRUCTIVE, POSITION. |
List all the corresponding option value objects to the product option, including values not assigned to any variants.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOptionValues WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, ProductOptionId, Name, LinkedMetafieldValue
The following pseudo-column can be used to create a new record:
VariantStrategy
The following columns can be updated:
ProductId, ProductOptionId, Name, LinkedMetafieldValue
You can delete entries by specifying the following columns:
ProductId, ProductOptionId, Id
| Name | Type | ReadOnly | References | Description |
| ProductId | String | False |
A globally-unique ID. | |
| ProductOptionId | String | False |
A globally-unique ID. | |
| ProductOptionName | String | True |
The product option's name. | |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
Value associated with an option. | |
| LinkedMetafieldValue | String | False |
Metafield value associated with an option. | |
| HasVariants | Bool | True |
Whether the product option value has any linked variants. | |
| SwatchColor | String | True |
The swatch associated with the product option value. The color representation of the swatch. | |
| SwatchImageId | String | True |
The swatch associated with the product option value. An image representation of the swatch. A globally-unique ID. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| VariantStrategy | String |
The strategy defines which behavior is observed regarding variants. The strategy 'LEAVE_AS_IS' is used by default - variants are not created nor deleted. If set to 'MANAGE', variants are created and deleted according to the option values to add and to delete. The allowed values are LEAVE_AS_IS, MANAGE. |
Returns the product resource feedback for the currently authenticated app.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductResourceFeedbacks WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, FeedbackGeneratedAt, Messages, ProductUpdatedAt, State
| Name | Type | ReadOnly | References | Description |
| ProductId [KEY] | String | True |
Products.Id |
The product associated with the resource feedback. |
| FeedbackGeneratedAt | Datetime | True |
The time when the feedback was generated. Used to help determine whether incoming feedback is outdated compared to existing feedback. | |
| Messages | String | True |
The feedback messages presented to the merchant. | |
| ProductUpdatedAt | Datetime | True |
The timestamp of the product associated with the feedback. | |
| State | String | True |
Conveys the state of the feedback and whether it requires merchant action or not. The allowed values are ACCEPTED, REQUIRES_ACTION. |
Returns a list of products.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Products WHERE Id = 'Val1'
SELECT * FROM Products WHERE Title = 'Val1'
SELECT * FROM Products WHERE Status = 'Val1'
SELECT * FROM Products WHERE Vendor = 'Val1'
SELECT * FROM Products WHERE TotalInventory = 123
SELECT * FROM Products WHERE HasOnlyDefaultVariant = true
SELECT * FROM Products WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Products WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Products WHERE ProductType = 'Val1'
The following columns can be used to create a new record:
DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, IsGiftCard, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan
The following pseudo-columns can be used to create a new record:
Metafields (references Metafields), BundleComponents (references ProductBundleComponents)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| ComponentProductId | String | A globally-unique ID. |
| OptionSelections (references ProductBundleComponentOptionSelections) | String | The options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle. |
| Quantity | Int | The quantity of the component product set for this bundle line. It will be null if there's a quantityOption present. |
| QuantityOptionName | String | The name of the option value. |
| QuantityOptionValues | String | The quantity values of the option. |
| Column Name | Type | Description |
| ParentOptionName | String | The product option’s name. |
| ComponentOptionId | String | A globally-unique ID. |
| Values | String | The component option values that are actively selected for this relationship. |
The following columns can be updated:
DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, IsGiftCard, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan
The following pseudo-columns can be used to update a record:
Metafields (references Metafields), BundleComponents (references ProductBundleComponents)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| ComponentProductId | String | A globally-unique ID. |
| OptionSelections (references ProductBundleComponentOptionSelections) | String | The options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle. |
| Quantity | Int | The quantity of the component product set for this bundle line. It will be null if there's a quantityOption present. |
| QuantityOptionName | String | The name of the option value. |
| QuantityOptionValues | String | The quantity values of the option. |
| Column Name | Type | Description |
| ParentOptionName | String | The product option’s name. |
| ComponentOptionId | String | A globally-unique ID. |
| Values | String | The component option values that are actively selected for this relationship. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique identifier. | |
| LegacyResourceId | Long | True |
The ID of the corresponding resource in the REST Admin API. | |
| Description | String | True |
The description of the product, complete with HTML formatting. | |
| DescriptionHtml | String | False |
The description of the product, complete with HTML formatting. | |
| Title | String | False |
The title of the product. | |
| Handle | String | False |
A unique human-friendly string of the product's title. | |
| Tags | String | False |
A comma separated list of tags associated with the product. Updating 'tags' overwrites any existing tags that were previously added to the product. | |
| Status | String | False |
The product status. This controls visibility across all channels. | |
| Vendor | String | False |
The name of the product's vendor. | |
| OnlineStorePreviewUrl | String | True |
The online store preview URL. | |
| OnlineStoreUrl | String | True |
The online store URL for the product.A value of 'null' indicates that the product is not published to the Online Store sales channel. | |
| TracksInventory | Bool | True |
Whether inventory tracking has been enabled for the product. | |
| TotalInventory | Int | True |
The quantity of inventory in stock. | |
| HasOnlyDefaultVariant | Bool | True |
Whether the product has only a single variant with the default option and value. | |
| HasOutOfStockVariants | Bool | True |
Whether the product has out of stock variants. | |
| HasVariantsThatRequiresComponents | Bool | True |
Whether at least one of the product variants requires bundle components. | |
| VariantsCount | Int | True |
The number of variants that are associated with the product. | |
| VariantsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| TemplateSuffix | String | False |
The theme template used when viewing the product in a store. | |
| GiftCardTemplateSuffix | String | False |
The theme template used when viewing the gift card in a store. | |
| IsGiftCard | Bool | False |
Whether the product is a gift card. | |
| PublishedAt | Datetime | True |
The date and time when the product was published to the Online Store. | |
| UpdatedAt | Datetime | True |
The date and time when the product was last modified.A product's 'updatedAt' value can change for different reasons. For example, if an order is placed for a product that has inventory tracking set up, then the inventory adjustment is counted as an update. | |
| CreatedAt | Datetime | True |
The date and time when the product was created. | |
| ProductType | String | False |
The product type specified by the merchant. | |
| CategoryId | String | True |
The globally-unique ID of the TaxonomyCategory. | |
| CategoryName | String | True |
The name of the taxonomy category. For example, Dog Beds. | |
| CategoryFullName | String | True |
The full name of the taxonomy category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds. | |
| SeoTitle | String | False |
SEO Title. | |
| SeoDescription | String | False |
SEO Description. | |
| RequiresSellingPlan | Bool | False |
Whether the product can only be purchased with a selling plan (subscription). Products that are sold on subscription ('requiresSellingPlan: true') can be updated only for online stores. If you update a product to be subscription only, then the product is unpublished from all channels except the online store. | |
| SellingPlanGroupsCount | Int | True |
Count of selling plan groups associated with the product. | |
| SellingPlanGroupsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| PriceRangeMaxVariantPriceAmount | Decimal | True |
Decimal money amount. | |
| PriceRangeMaxVariantPriceCurrencyCode | String | True |
Currency of the money. | |
| PriceRangeMinVariantPriceAmount | Decimal | True |
Decimal money amount. | |
| PriceRangeMinVariantPriceCurrencyCode | String | True |
Currency of the money. | |
| CompareAtPriceRangeMaxVariantCompareAtPriceAmount | Decimal | True |
Decimal money amount. | |
| CompareAtPriceRangeMaxVariantCompareAtPriceCurrencyCode | String | True |
Currency of the money. | |
| CompareAtPriceRangeMinVariantCompareAtPriceAmount | Decimal | True |
Decimal money amount. | |
| CompareAtPriceRangeMinVariantCompareAtPriceCurrencyCode | String | True |
Currency of the money. | |
| MediaCount | Int | True |
Total count of media belonging to a product. | |
| MediaCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| FeaturedMediaId | String | True |
A globally-unique ID. | |
| FeaturedMediaAlt | String | True |
A word or phrase to share the nature or contents of a media. | |
| FeaturedMediaContentType | String | True |
The media content type. | |
| FeaturedMediaStatus | String | True |
Current status of the media. | |
| FeaturedMediaPreviewStatus | String | True |
Current status of the preview image. | |
| FeaturedMediaPreviewImageId | String | True |
The preview image for the media. Returns null until status is READY. | |
| FeaturedMediaPreviewImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| FeaturedMediaPreviewImageUrl | String | True |
The location of the image as a URL. | |
| FeaturedMediaPreviewImageWidth | Int | True |
The original width of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| FeaturedMediaPreviewImageHeight | Int | True |
The original height of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| AvailablePublicationsCount | Int | True |
The number of publications a resource is published to without feedback errors. | |
| AvailablePublicationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| PublishedOnCurrentPublication | Bool | True |
Whether the resource is published to the app's publication. For example, the resource might be published to the app's online store channel. | |
| ResourcePublicationOnCurrentPublicationAutoPublish | Bool | True |
Whether new products are automatically published to this publication. | |
| ResourcePublicationOnCurrentPublicationIsPublished | Bool | True |
Whether the resource publication is published. If true, then the resource publication is published to the publication. If false, then the resource publication is staged to be published to the publication. | |
| ResourcePublicationOnCurrentPublicationPublishDate | Datetime | True |
The date that the resource publication was or is going to be published to the publication. | |
| ResourcePublicationOnCurrentPublicationPublicationId | String | True |
A globally-unique identifier. | |
| ResourcePublicationOnCurrentPublicationPublicationName | String | True |
Name of the publication. | |
| ResourcePublicationOnCurrentPublicationPublicationSupportsFuturePublishing | Bool | True |
Whether the publication supports future publishing. | |
| ResourcePublicationsCount | Int | True |
The number of publications that a resource is published to, without feedback errors. | |
| ResourcePublicationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| FeedbackSummary | String | True |
Summary of resource feedback pertaining to the resource. | |
| FeedbackDetails | String | True |
List of AppFeedback detailing issues regarding a resource. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Metafields | String |
The additional customizable information about the product variant. |
| BundleComponents | String |
The components that are associated with a product in a bundle. |
Returns a list of the product variants.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ProductVariants WHERE Id = 'Val1'
SELECT * FROM ProductVariants WHERE ProductId = 'Val1'
SELECT * FROM ProductVariants WHERE Barcode = 'Val1'
SELECT * FROM ProductVariants WHERE Sku = 'Val1'
SELECT * FROM ProductVariants WHERE Title = 'Val1'
SELECT * FROM ProductVariants WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM ProductVariants WHERE Taxable = true
SELECT * FROM ProductVariants WHERE DeliveryProfileId = 'Val1'
SELECT * FROM ProductVariants WHERE LocationInventoryQuantity = 123
The following columns can be used to create a new record:
ProductId, Barcode, Sku, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin
The following pseudo-columns can be used to create a new record:
MediaId, MediaSrc, InventoryQuantities (references InventoryItemInventoryLevelQuantities), OptionValues (references ProductOptionValues), Metafields (references Metafields), Strategy
| Column Name | Type | Description |
| InventoryLevelLocationId | String | A globally-unique ID. |
| Quantity | Int | The quantity for the quantity name. |
| Column Name | Type | Description |
| ProductOptionId | String | A globally-unique ID. |
| ProductOptionName | String | The product option's name. |
| Id | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
ProductId, Barcode, Sku, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin
The following pseudo-columns can be used to update a record:
MediaId, MediaSrc, OptionValues (references ProductOptionValues), Metafields (references Metafields), AllowPartialUpdates
| Column Name | Type | Description |
| ProductOptionId | String | A globally-unique ID. |
| ProductOptionName | String | The product option's name. |
| Id | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique identifier. | |
| LegacyResourceId | Long | True |
The ID of the corresponding resource in the REST Admin API. | |
| ProductId | String | False |
Products.Id |
A globally-unique identifier. |
| Position | Int | True |
The order of the product variant in the list of product variants. The first position in the list is 1. | |
| DisplayName | String | True |
Display name of the variant, based on product's title + variant's title. | |
| Barcode | String | False |
The value of the barcode associated with the product. | |
| Sku | String | False |
An identifier for the product variant in the shop. Required in order to connect to a fulfillment service. | |
| Title | String | True |
The title of the product variant. | |
| RequiresComponents | Bool | True |
Whether a product variant requires components. The default value is 'false'. If 'true', then the product variant can only be purchased as a parent bundle with components and it will be omitted from channels that don't support bundles. | |
| UpdatedAt | Datetime | True |
The date and time when the product variant was last modified. | |
| CreatedAt | Datetime | True |
The date and time when the variant was created. | |
| SelectedOptions | String | True |
List of product options applied to the variant. | |
| AvailableForSale | Bool | True |
Whether the product variant is available for sale. | |
| Price | Decimal | False |
The price of the product variant in the default shop currency. | |
| CompareAtPrice | Decimal | False |
The compare-at price of the variant in the default shop currency. | |
| TaxCode | String | False |
The tax code for the product variant. | |
| Taxable | Bool | False |
Whether a tax is charged when the product variant is sold. | |
| SellableOnlineQuantity | Int | True |
The total sellable quantity of the variant for online channels. This doesn't represent the total available inventory or capture (limitations based on customer location). | |
| SellingPlanGroupsCount | Int | True |
Count of selling plan groups associated with the product variant. | |
| SellingPlanGroupsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DeliveryProfileId | String | True |
A globally-unique identifier. | |
| InventoryPolicy | String | False |
Whether customers are allowed to place an order for the product variant when it's out of stock. | |
| InventoryQuantity | Int | True |
The total sellable quantity of the variant. | |
| InventoryItemId | String | True |
A globally-unique identifier. | |
| InventoryItemUnitCostAmount | Decimal | False |
Unit cost associated with the inventory item. | |
| InventoryItemUnitCostCurrencyCode | String | True |
Currency code of the unit cost associated with the inventory item. | |
| InventoryItemHarmonizedSystemCode | String | False |
The harmonized system code of the inventory item. | |
| InventoryItemMeasurementWeightValue | Double | False |
The weight value using the unit system specified with 'unit'. | |
| InventoryItemMeasurementWeightUnit | String | False |
The unit of measurement for 'value'. | |
| InventoryItemRequiresShipping | Bool | False |
Whether the inventory item requires shipping. | |
| InventoryItemTracked | Bool | False |
Whether inventory levels are tracked for the item. | |
| InventoryItemCountryCodeOfOrigin | String | False |
The ISO 3166-1 alpha-2 country code of where the item originated from. | |
| InventoryItemProvinceCodeOfOrigin | String | False |
The ISO 3166-2 alpha-2 province code of where the item originated from. | |
| ImageId | String | True |
A unique identifier for the image. | |
| ImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The location of the image as a URL. | |
| LocationInventoryQuantity | Int | True |
Filters by the available inventory quantity of any variant at individual locations. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| MediaId | String |
The ID of the media to associate with the variant. |
| MediaSrc | String |
The URL of the media to associate with the variant. |
| InventoryQuantities | String |
The inventory quantities at each location where the variant is stocked. The number of elements in the array of inventory quantities can't exceed the amount specified for the plan. |
| OptionValues | String |
The custom properties that a shop owner uses to define product variants. |
| Metafields | String |
The additional customizable information about the product variant. |
| Strategy | String |
The strategy defines which behavior is observed, such as whether to keep or delete the standalone variant (when product has only a single or default variant) when creating new variants. If set to 'DEFAULT', keep the standalone variant (when product has only a single or default variant) when creating variants. If set to 'REMOVE_STANDALONE_VARIANT', delete the standalone variant (when product has only a single or default variant) when creating new variants. The allowed values are DEFAULT, REMOVE_STANDALONE_VARIANT. |
| AllowPartialUpdates | Bool |
When partial updates are allowed, valid variant changes may be persisted even if some of the variants updated have invalid data and cannot be persisted. When partial updates are not allowed, any error will prevent all variants from updating. |
Returns the list of publications.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Publications WHERE Id = 'Val1'
SELECT * FROM Publications WHERE CatalogType = 'Val1'
The following columns can be used to create a new record:
AutoPublish, CatalogId
The following pseudo-column can be used to create a new record:
DefaultState
The following column can be updated:
AutoPublish
The following pseudo-columns can be used to update a record:
PublishablesToAdd, PublishablesToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AutoPublish | Bool | False |
Whether new products are automatically published to this publication. | |
| SupportsFuturePublishing | Bool | True |
Whether the publication supports future publishing. | |
| CatalogId | String | True |
A globally-unique ID. | |
| AddAllProductsOperationId | String | True |
A globally-unique ID. | |
| AddAllProductsOperationStatus | String | True |
The status of this operation. | |
| AddAllProductsOperationProcessedRowCount | Int | True |
The count of processed rows, summing imported, failed, and skipped rows. | |
| AddAllProductsOperationRowCountCount | Int | True |
Estimated number of rows contained within this background operation. | |
| AddAllProductsOperationRowCountExceedsMax | Bool | True |
Whether the operation exceeds max number of reportable rows. | |
| CatalogCsvOperationId | String | True |
A globally-unique ID. | |
| CatalogCsvOperationStatus | String | True |
The status of this operation. | |
| CatalogCsvOperationProcessedRowCount | Int | True |
The count of processed rows, summing imported, failed, and skipped rows. | |
| CatalogCsvOperationRowCountCount | Int | True |
Estimated number of rows contained within this background operation. | |
| CatalogCsvOperationRowCountExceedsMax | Bool | True |
Whether the operation exceeds max number of reportable rows. | |
| PublicationResourceOperationId | String | True |
A globally-unique ID. | |
| PublicationResourceOperationStatus | String | True |
The status of this operation. | |
| PublicationResourceOperationProcessedRowCount | Int | True |
The count of processed rows, summing imported, failed, and skipped rows. | |
| PublicationResourceOperationRowCountCount | Int | True |
Estimated number of rows contained within this background operation. | |
| PublicationResourceOperationRowCountExceedsMax | Bool | True |
Whether the operation exceeds max number of reportable rows. | |
| CatalogType | String | True |
Filter publications by catalog type. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| DefaultState | String |
Whether to create an empty publication or prepopulate it with all products. The allowed values are ALL_PRODUCTS, EMPTY. |
| PublishablesToAdd | String |
A simple, comma-separated list of publishable IDs to add. The maximum number of publishables to update simultaneously is 50. |
| PublishablesToRemove | String |
A simple, comma-separated list of publishable IDs to remove. The maximum number of publishables to update simultaneously is 50. |
Represents a refund of items or transactions in an order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Refunds WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OrderId, Note, RefundLineItems (references RefundLineItems)
| Column Name | Type | Description |
| LineItemId | String | A globally-unique ID. |
| LineItemQuantity | Int | The number of variant units ordered. |
| RestockType | String | The type of restock for the refunded line item. |
| LocationId | String | A globally-unique ID. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Globally unique identifier. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| OrderId | String | True |
Orders.Id |
A globally-unique ID. |
| Note | String | True |
The optional note associated with the refund. | |
| CreatedAt | Datetime | True |
The date and time when the refund was created. | |
| UpdatedAt | Datetime | True |
The date and time when the refund was updated. | |
| ReturnId | String | True |
A globally-unique ID. | |
| StaffMemberId | String | True |
A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| TotalRefundedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| RefundLineItems | String | True |
The list of the line items in the draft order. |
Retrieves a list of returns for the order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Returns WHERE OrdersId = 'Val1'
The following columns can be used to create a new record:
OrdersId, ReturnLineItems (references ReturnLineItems), ReturnExchangeLineItems (references ReturnExchangeLineItems)
| Column Name | Type | Description |
| Quantity | Int | The quantity being returned. |
| ReturnReason | String | The reason for returning the item. |
| ReturnReasonNote | String | Additional information about the reason for the return. Maximum length: 255 characters. |
| FulfillmentLineItemId | String | A globally-unique ID. |
| Column Name | Type | Description |
| VariantId | String | A globally-unique ID. |
| Quantity | Int | The number of variant units ordered. |
| AppliedDiscountValueAmount | Decimal | The discount to be applied to the exchange line item. The value of the discount as a fixed amount. |
| AppliedDiscountValueAmountCurrencyCode | String | The discount to be applied to the exchange line item. Currency of the money. |
| AppliedDiscountValuePercentage | Double | The discount to be applied to the exchange line item. The value of the discount as a percentage. |
| AppliedDiscountDescription | String | The discount to be applied to the exchange line item. The description of the discount. |
| GiftCardCodes | String | The gift card codes associated with the physical gift cards. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| OrdersId | String | True |
Orders.Id |
A globally-unique ID. |
| Name | String | True |
The name of the return. | |
| Status | String | True |
The status of the return. | |
| TotalQuantity | Int | True |
The sum of all line item quantities for the return. | |
| DeclineReason | String | True |
The reason the customer's return request was declined. | |
| DeclineNote | String | True |
The notification message sent to the customer about their declined return request. Maximum length: 500 characters. | |
| ReturnLineItems | String | True |
The list of the line items in the return. | |
| ReturnExchangeLineItems | String | True |
The new line items to be added to the order. |
Returns a list of script tags.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ScriptTags WHERE Id = 'Val1'
SELECT * FROM ScriptTags WHERE Src = 'Val1'
The following columns can be used to create a new record:
Cache, Src, DisplayScope
The following columns can be updated:
Cache, Src, DisplayScope
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Cache | Bool | False |
Whether the Shopify CDN can cache and serve the script tag. If 'true', then the script will be cached and served by the CDN. The cache expires 15 minutes after the script tag is successfully returned. If 'false', then the script will be served as is. | |
| Src | String | False |
The URL to the remote script. | |
| DisplayScope | String | False |
The page or pages on the online store that the script should be included. The allowed values are ALL, ONLINE_STORE, ORDER_STATUS. | |
| CreatedAt | Datetime | True |
The date and time when the script tag was created. | |
| UpdatedAt | Datetime | True |
The date and time when the script tag was last updated. |
A list of a shop's segments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Segments WHERE Id = 'Val1'
The following columns can be used to create a new record:
Name, Query
The following columns can be updated:
Name, Query
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
The name of the segment. | |
| Query | String | False |
A precise definition of the segment. The definition is composed of a combination of conditions on facts about customers. | |
| CreationDate | Datetime | True |
The date and time when the segment was added to the store. | |
| LastEditDate | Datetime | True |
The date and time when the segment was last updated. |
Returns a list Selling Plan Groups.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM SellingPlanGroups WHERE Id = 'Val1'
SELECT * FROM SellingPlanGroups WHERE Name = 'Val1'
SELECT * FROM SellingPlanGroups WHERE CreatedAt < '2023-01-01 11:10:00'
The following columns can be used to create a new record:
AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans)
The following pseudo-columns can be used to create a new record:
ProductIds, ProductVariantIds
| Column Name | Type | Description |
| Id | String | A globally-unique ID. |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. |
| Category | String | The category used to classify the selling plan for reporting purposes. |
| Description | String | Buyer facing string which describes the selling plan commitment. |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. |
| InventoryPolicyReserve | String | When to reserve inventory for the order. |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge. |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due. |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year. |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN. |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
| Metafields (references Metafields) | String | Attaches additional metadata to a store's resources. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans), SellingPlansToUpdate (references SellingPlanGroupSellingPlans)
The following pseudo-column can be used to update a record:
SellingPlansToDelete
| Column Name | Type | Description |
| Id | String | A globally-unique ID. |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. |
| Category | String | The category used to classify the selling plan for reporting purposes. |
| Description | String | Buyer facing string which describes the selling plan commitment. |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. |
| InventoryPolicyReserve | String | When to reserve inventory for the order. |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge. |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due. |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year. |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN. |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
| Metafields (references Metafields) | String | Attaches additional metadata to a store's resources. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AppId | String | False |
The ID for app, exposed in Liquid and product JSON. | |
| Name | String | False |
The buyer-facing label of the selling plan group. | |
| Description | String | False |
The merchant-facing description of the selling plan group. | |
| Options | String | False |
The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. | |
| Position | Int | False |
The relative position of the selling plan group for display. | |
| Summary | String | True |
A summary of the policies associated to the selling plan group. | |
| MerchantCode | String | False |
The merchant-facing label of the selling plan group. | |
| ProductsCount | Int | True |
A count of products associated to the selling plan group. | |
| ProductsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CreatedAt | Datetime | True |
The date and time when the selling plan group was created. | |
| SellingPlansToCreate | String | False |
List of selling plans to create. | |
| SellingPlansToUpdate | String | False |
List of selling plans to update. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| SellingPlansToDelete | String |
List of selling plans to delete as a simple, comma-separated list. |
| ProductIds | String |
The IDs of the Products to add to the Selling Plan Group as a simple, comma-separated list. |
| ProductVariantIds | String |
The IDs of the Variants to add to the Selling Plan Group as a simple, comma-separated list. |
Credit transactions which increase the store credit account balance.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountCreditTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountCreditTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
The following columns can be used to create a new record:
Amount, AmountCurrencyCode, ExpiresAt, CustomerStoreCreditAccountId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Amount | Decimal | True |
Decimal money amount. | |
| AmountCurrencyCode | String | True |
Currency of the money. | |
| RemainingAmount | Decimal | True |
Decimal money amount. | |
| RemainingAmountCurrencyCode | String | True |
Currency of the money. | |
| ExpiresAt | Datetime | True |
The time at which the transaction expires. Debit transactions will always spend the soonest expiring credit first. | |
| BalanceAfterTransactionAmount | Decimal | True |
Decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | True |
Currency of the money. | |
| CreatedAt | Datetime | True |
The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | True |
A globally-unique ID. |
Debit transactions which decrease the store credit account balance.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountDebitTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountDebitTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
The following columns can be used to create a new record:
Amount, AmountCurrencyCode, CustomerStoreCreditAccountId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Amount | Decimal | True |
Decimal money amount. | |
| AmountCurrencyCode | String | True |
Currency of the money. | |
| BalanceAfterTransactionAmount | Decimal | True |
Decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | True |
Currency of the money. | |
| CreatedAt | Datetime | True |
The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | True |
A globally-unique ID. |
Retrieves the storefront access token of a private application. These are scoped per-application.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM StorefrontAccessTokens
The following column can be used to create a new record:
Title
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ShopId | String | True |
Shop.Id |
A globally-unique ID. |
| Title | String | True |
An arbitrary title for each token determined by the developer, used for reference purposes. | |
| AccessToken | String | True |
The issued public access token. | |
| CreatedAt | Datetime | True |
The date and time when the public access token was created. | |
| UpdatedAt | Datetime | True |
The date and time when the storefront access token was updated. |
Returns a list of redirects for a shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM UrlRedirects WHERE Id = 'Val1'
SELECT * FROM UrlRedirects WHERE Path = 'Val1'
SELECT * FROM UrlRedirects WHERE Target = 'Val1'
The following columns can be used to create a new record:
Path, Target
The following columns can be updated:
Path, Target
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The ID of the URL redirect. | |
| Path | String | False |
The old path to be redirected from. When the user visits this path, they will be redirected to the target location. | |
| Target | String | False |
The target location where the user will be redirected to. |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| AbandonedCheckoutLineItems | Retrieves a list of line items in the associated resource. |
| Abandonment | Returns abandonment. |
| AbandonmentProductsAddedToCart | Returns the products added to the cart during the customer abandoned visit. |
| AbandonmentProductsViewed | Returns the products viewed during the customer abandoned visit. |
| AppCredits | Lists credits that can be used towards future app purchases. |
| ArticleComments | Returns a list of comments posted on an article. |
| Articles | Returns a list of the shop's visible articles. |
| AssignedFulfillmentOrders | Retrieves a paginated list of fulfillment orders assigned to the shop locations owned by the app. Assigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations managed by fulfillment services that are registered by the app. One app (api_client) can host multiple fulfillment services on a shop. Each fulfillment service manages a dedicated location on a shop. Assigned fulfillment orders can have associated, or might currently not be requested to be fulfilled. The app must have 'read_assigned_fulfillment_orders' to be able to retrieve fulfillment orders assigned to its locations. All assigned fulfillment orders (except those with the 'CLOSED' status) will be returned by default. |
| Blogs | Retrieves a list of the shop's blogs. |
| CarrierServices | Returns a list of activated carrier services and associated shop locations that support them. |
| CollectionProducts | Retrieves a list of the products inside of a collection. |
| CompanyContactRoles | Returns available roles for company contacts. |
| CompanyEvents | Retrieves a paginated list of events associated with the host subject. |
| CustomerEvents | Retrieves a paginated list of events associated with the host subject. |
| CustomerSegmentMembers | The list of members, such as customers, that's associated with individual segments. |
| CustomerStoreCreditAccounts | Retrieve customers' store credit accounts. |
| DeliveryProfileLocationGroupCountries | Lists countries already selected in any zone for the specified location group. |
| DeliveryProfileLocationGroupCountryProvinces | Returns the list of regions associated with this country. |
| DeliveryProfileLocationGroups | Lists the location groups using this profile. |
| DeliveryProfileLocationGroupZones | Lists the applicable zones associated to the specified location group. |
| DeliveryProfileUnassignedLocations | Lists the locations that have not been assigned to a location group for this profile. |
| DiscountEvents | Retrieves a paginated list of events associated with the host subject. |
| DiscountsCodeFreeShipping | Returns a list of discounts. |
| DraftOrderCustomAttributes | Retrieves custom attributes associated with the resource. |
| DraftOrderEvents | Retrieves a paginated list of events associated with the host subject. |
| DraftOrderLineItemCustomAttributes | Retrieves custom attributes associated with the resource. |
| DraftOrderLineItems | Returns a list of the line items in the draft order. |
| DraftOrderLineItemTaxLines | Represents a single tax applied to the associated resource. |
| DraftOrderTaxLines | Represents a single tax applied to the associated resource. |
| FulfillmentLineItems | Line items from orders that are included in fulfillments. |
| FulfillmentLineItemTaxLines | Represents a single tax applied to the associated resource. |
| FulfillmentOrderLineItems | A list of the fulfillment order's line items. |
| FulfillmentOrderLocationForMoveAvailableLineItems | A list of the fulfillment order's line items. |
| FulfillmentOrderLocationForMoveUnavailableLineItems | A list of the fulfillment order's line items. |
| FulfillmentOrderLocationsForMove | A list of locations that the fulfillment order can potentially move to. |
| InventoryAdjustmentGroupChanges | Sets of inventory quantity changes that occurred in inventory events. |
| InventoryAdjustmentGroups | Groups of adjustments made as part of inventory operations. |
| InventoryItemCountryHarmonizedSystemCodes | Returns a list of country specific harmonized system codes. |
| InventoryItemInventoryLevelQuantities | List quantities for inventory items at specific locations. |
| InventoryItemInventoryLevelScheduledChanges | Scheduled changes for inventory levels. |
| Jobs | Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes. |
| LocalizationCountries | Returns the list of countries with enabled localized experiences. |
| MarketingEvents | Returns a list of marketing events associated with the marketing app. |
| MetaobjectDefinitions | Provides the definition of a generic object structure composed of metafields. |
| MetaObjects | All metaobjects for the shop. |
| OrderAdditionalFees | A list of additional fees applied to the order. |
| OrderAgreementAdditionalFeeSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementAdjustmentSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementDutySales | Retrieves a list of sales associated with agreements. |
| OrderAgreementGiftCardSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementProductSales | Retrieves a list of sales associated with agreements. |
| OrderAgreements | Retrieves a list of sales agreements associated with orders. |
| OrderAgreementShippingLineSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementTipSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementUnknownSales | Retrieves a list of sales associated with agreements. |
| OrderCustomAttributes | Retrieves custom attributes associated with the resource. |
| OrderDiscountApplications | Returns a list of discounts that are applied to the order, not including order edits and refunds. |
| OrderEditAgreementAdditionalFeeSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementAdjustmentSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementDutySales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementGiftCardSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementProductSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreements | Retrieves a list of sales agreements associated with orders. |
| OrderEditAgreementShippingLineSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementTipSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementUnknownSales | Retrieves a list of sales associated with agreements. |
| OrderEvents | Retrieves a paginated list of events associated with the host subject. |
| OrderLineItemCustomAttributes | Retrieves custom attributes associated with the resource. |
| OrderLineItemDiscountAllocations | Retrieves the discounts that have been allocated onto the line item by discount applications, not including order edits and refunds. |
| OrderLineItemDuties | Lists the duties associated with the line items. |
| OrderLineItems | Retrieves line items associated with orders. |
| OrderLineItemTaxLines | Represents a single tax applied to the associated resource. |
| OrderNonFulfillableLineItemDuties | Lists the duties associated with the line items. |
| OrderNonFulfillableLineItems | Retrieves a list of line items in the associated resource. |
| OrderRefundAgreementAdditionalFeeSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementAdjustmentSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementDutySales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementGiftCardSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementProductSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreements | Retrieves a list of sales agreements associated with orders. |
| OrderRefundAgreementShippingLineSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementTipSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementUnknownSales | Retrieves a list of sales associated with agreements. |
| OrderTaxLines | Represents a single tax applied to the associated resource. |
| Pages | Returns a list of the shop's pages. |
| PriceListPrices | A list of prices associated with a price list. |
| ProductBundleComponentOptionSelections | Get relationships between component options and parent options. |
| ProductBundleComponents | List products' component information. |
| ProductOperations | An entity that represents details of an asynchronous operation on a product. |
| PublicationCollections | Returns a list of collections published to the publication. |
| PublicationProducts | Returns the list of publication for products. |
| RefundDuties | Lists the refunded duties as part of this refund. |
| RefundLineItemDuties | Lists the duties associated with the line items. |
| RefundLineItems | Retrieves the 'RefundLineItem' resources attached to the refund. |
| RefundTransactionFees | Returns the transaction fees charged on the order transaction. Only present for Shopify Payments transactions. |
| RefundTransactions | Retrieves the transactions associated with the resource. |
| ReturnExchangeLineItems | Retrieves a list of line items in the associated resource. |
| ReturnLineItems | Retrieves the return line items attached to the return. |
| ReturnLineItemsUnverified | Retrieves the unverified return line items attached to the return. |
| SegmentFilterParameters | The parameters for event segment filters. |
| SegmentFilters | A list of filters. |
| SellingPlanGroupSellingPlans | Retrieves selling plans associated to the selling plan group. |
| Shop | Returns the Shop resource corresponding to the access token used in the request. The Shop resource contains business and store management settings for the shop. |
| ShopifyPaymentsAccount | Returns Shopify Payments account information, including balances and payouts. |
| ShopifyPaymentsAccountBalance | Returns current balances in all currencies for the account. |
| ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders | The adjustment orders associated to the transaction. |
| ShopifyPaymentsAccountBalanceTransactions | A list of balance transactions associated with a Shopify Payments account balance. |
| ShopifyPaymentsAccountBankAccounts | Lists all bank accounts configured for the Shopify Payments account. |
| ShopifyPaymentsAccountDisputes | Lists all disputes related to the Shopify Payments account. |
| ShopifyPaymentsAccountPayouts | Returns all current and previous payouts made between the account and the bank account. Its avaible only in a few certain countries. |
| ShopifyPaymentsAccountPermittedVerificationDocuments | Retrieves the permitted documents for identity verification. |
| ShopifyPaymentsAccountVerifications | Returns the verifications necessary for this account. |
| StaffMembers | Retrieves a paginated list of the shop's staff members. (This table is available only with a ShopifyPlus subscription) |
| StoreCreditAccountDebitRevertTransactions | Debit revert transactions created when a store credit account debit transaction is reverted. |
| StoreCreditAccountExpirationTransactions | Expiration transactions created when a store credit account credit transaction expires. |
| TenderTransactions | Returns a list of TenderTransactions associated with the shop. |
Retrieves a list of line items in the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Abandonment.AbandonedCheckoutPayloadId | A globally-unique ID. |
| Title | String | Title of the line item. Defaults to the product's title. | |
| ProductId | String | A globally-unique ID. | |
| VariantId | String | A globally-unique ID. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| Quantity | Int | The number of variant units ordered. | |
| Sku | String | The variant SKU number. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| DiscountedTotalPriceSetPresentmentMoneyAmount | Decimal | Final total price for the entire quantity of this line item, including discounts. Decimal money amount. | |
| DiscountedTotalPriceSetPresentmentMoneyCurrencyCode | String | Final total price for the entire quantity of this line item, including discounts. Currency of the money. | |
| DiscountedTotalPriceSetShopMoneyAmount | Decimal | Final total price for the entire quantity of this line item, including discounts. Decimal money amount. | |
| DiscountedTotalPriceSetShopMoneyCurrencyCode | String | Final total price for the entire quantity of this line item, including discounts. Currency of the money. | |
| DiscountedTotalPriceWithCodeDiscountPresentmentMoneyAmount | Decimal | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedTotalPriceWithCodeDiscountPresentmentMoneyCurrencyCode | String | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| DiscountedTotalPriceWithCodeDiscountShopMoneyAmount | Decimal | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedTotalPriceWithCodeDiscountShopMoneyCurrencyCode | String | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Currency of the money. | |
| DiscountedUnitPriceWithCodeDiscountPresentmentMoneyAmount | Decimal | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedUnitPriceWithCodeDiscountPresentmentMoneyCurrencyCode | String | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| DiscountedUnitPriceWithCodeDiscountShopMoneyAmount | Decimal | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedUnitPriceWithCodeDiscountShopMoneyCurrencyCode | String | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| OriginalTotalPriceSetPresentmentMoneyAmount | Decimal | Original total price for the entire quantity of this line item, before discounts. Decimal money amount. | |
| OriginalTotalPriceSetPresentmentMoneyCurrencyCode | String | Original total price for the entire quantity of this line item, before discounts. Currency of the money. | |
| OriginalTotalPriceSetShopMoneyAmount | Decimal | Original total price for the entire quantity of this line item, before discounts. Decimal money amount. | |
| OriginalTotalPriceSetShopMoneyCurrencyCode | String | Original total price for the entire quantity of this line item, before discounts. Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Original price for a single unit of this line item, before discounts. Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Original price for a single unit of this line item, before discounts. Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Original price for a single unit of this line item, before discounts. Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Original price for a single unit of this line item, before discounts. Currency of the money. |
Returns abandonment.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Abandonment WHERE Id = 'Val1'
SELECT * FROM Abandonment WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| AppId | String | A globally-unique ID. | |
| CustomerId | String | A globally-unique ID. | |
| AbandonmentType | String | The abandonment type. | |
| EmailState | String | The email state (e.g., sent or not sent). | |
| InventoryAvailable | Bool | Whether the products in abandonment are available. | |
| EmailSentAt | Datetime | When the email was sent, if that is the case. | |
| MostRecentStep | String | The most recent step type. | |
| VisitStartedAt | Datetime | The date and time when the visit started. | |
| IsFromOnlineStore | Bool | Whether the abandonment event comes from the Online Store sales channel. | |
| IsFromShopApp | Bool | Whether the abandonment event comes from the Shop app sales channel. | |
| IsFromShopPay | Bool | Whether the abandonment event comes from Shop Pay. | |
| IsMostSignificantAbandonment | Bool | Whether the customer did not complete another most significant step since this abandonment. | |
| LastBrowseAbandonmentDate | Datetime | The date for the latest browse abandonment. | |
| LastCartAbandonmentDate | Datetime | The date for the latest cart abandonment. | |
| LastCheckoutAbandonmentDate | Datetime | The date for the latest checkout abandonment. | |
| DaysSinceLastAbandonmentEmail | Int | The number of days since the last abandonment email was sent to the customer. | |
| HoursSinceLastAbandonedCheckout | Double | The number of hours since the customer has last abandoned a checkout. | |
| CustomerHasNoOrderSinceAbandonment | Bool | Whether the customer has completed an order since this checkout has been abandoned. | |
| CreatedAt | Datetime | The date and time when the abandonment was created. | |
| IsFromCustomStorefront | Bool | Whether the abandonment event comes from a custom storefront channel. | |
| AbandonedCheckoutPayloadId | String | A globally-unique ID. | |
| AbandonedCheckoutPayloadDefaultCursor | String | A default cursor that returns the single next record, sorted ascending by ID. | |
| AbandonedCheckoutPayloadAbandonedCheckoutUrl | String | The URL for the buyer to recover their checkout. |
Returns the products added to the cart during the customer abandoned visit.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonmentId = 'Val1'
SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| AbandonmentId | String | A globally-unique ID. | |
| AbandonedCheckoutPayloadId [KEY] | String | A globally-unique ID. | |
| ProductId [KEY] | String | A globally-unique ID. | |
| VariantId [KEY] | String | A globally-unique ID. | |
| Quantity | Int | The quantity of the product that the customer requested. |
Returns the products viewed during the customer abandoned visit.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonmentProductsViewed WHERE AbandonmentId = 'Val1'
SELECT * FROM AbandonmentProductsViewed WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| AbandonmentId | String |
Abandonment.Id | A globally-unique ID. |
| AbandonedCheckoutPayloadId [KEY] | String | A globally-unique ID. | |
| ProductId [KEY] | String | A globally-unique ID. | |
| VariantId [KEY] | String | A globally-unique ID. | |
| Quantity | Int | The quantity of the product that the customer requested. |
Lists credits that can be used towards future app purchases.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppCredits WHERE AppInstallationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| AppInstallationId | String | A globally-unique ID. | |
| Description | String | The description of the app credit. | |
| Test | Bool | Whether the app credit is a test transaction. | |
| CreatedAt | Datetime | The date and time when the app credit was created. | |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. |
Returns a list of comments posted on an article.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ArticleComments WHERE ArticleId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ArticleId | String |
Articles.Id | A globally-unique ID. |
| ContentHtml | String | The content of the comment, complete with HTML formatting. | |
| AuthorName | String | The author's name. | |
| AuthorEmail | String | The author's email. |
Returns a list of the shop's visible articles.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Articles WHERE Id = 'Val1'
SELECT * FROM Articles WHERE AuthorV2Name = 'Val1'
SELECT * FROM Articles WHERE AuthorV2FirstName = 'Val1'
SELECT * FROM Articles WHERE AuthorV2LastName = 'Val1'
SELECT * FROM Articles WHERE BlogTitle = 'Val1'
SELECT * FROM Articles WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Articles WHERE UpdatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Title | String | The article's name. | |
| Handle | String | A human-friendly unique string for the Article automatically generated from its title. | |
| Tags | String | A categorization that a article can be tagged with. | |
| ContentHtml | String | The content of the article, complete with HTML formatting. | |
| ExcerptHtml | String | The excerpt of the article, complete with HTML formatting. | |
| OnlineStoreUrl | String | The URL used for viewing the resource on the shop's Online Store. Returns 'null' if the resource is currently not published to the Online Store sales channel. | |
| PublishedAt | Datetime | The date and time when the article was published. | |
| AuthorV2Name | String | The author's full name. | |
| AuthorV2FirstName | String | The author's first name. | |
| AuthorV2LastName | String | The author's last name. | |
| AuthorV2Bio | String | The author's bio. | |
| AuthorV2Email | String | The author's email. | |
| BlogId | String | A globally-unique ID. | |
| BlogTitle | String | The blogs's title. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| SeoTitle | String | The SEO title. | |
| SeoDescription | String | The meta description. | |
| CreatedAt | Datetime | The date and time when the article was created. This column can only be used as an input for filtering. | |
| UpdatedAt | Datetime | The date and time when the article was last updated. This column can only be used as an input for filtering. |
Retrieves a paginated list of fulfillment orders assigned to the shop locations owned by the app. Assigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations managed by fulfillment services that are registered by the app. One app (api_client) can host multiple fulfillment services on a shop. Each fulfillment service manages a dedicated location on a shop. Assigned fulfillment orders can have associated, or might currently not be requested to be fulfilled. The app must have 'read_assigned_fulfillment_orders' to be able to retrieve fulfillment orders assigned to its locations. All assigned fulfillment orders (except those with the 'CLOSED' status) will be returned by default.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AssignedFulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
SELECT * FROM AssignedFulfillmentOrders WHERE AssignmentStatus = 'CANCELLATION_REQUESTED'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopId | String |
Shop.Id | A globally-unique ID. |
| OrderId | String | A globally-unique ID. | |
| Status | String | The status of the fulfillment order. | |
| FulfillAt | Datetime | The date and time at which the fulfillment order will be fulfillable. When this date and time is reached, the scheduled fulfillment order is automatically transitioned to open. For example, the 'fulfill_at' date for a subscription order might be the 1st of each month, a pre-order 'fulfill_at' date would be 'nil', and a standard order 'fulfill_at' date would be the order creation date. | |
| FulfillBy | Datetime | The latest date and time by which all items in the fulfillment order need to be fulfilled. | |
| RequestStatus | String | The request status of the fulfillment order. | |
| CreatedAt | Datetime | Date and time when the fulfillment order was created. | |
| UpdatedAt | Datetime | The date and time when the fulfillment order was last updated. | |
| AssignedLocationName | String | The name of the location. | |
| AssignedLocationAddress1 | String | The first line of the address for the location. | |
| AssignedLocationAddress2 | String | The second line of the address for the location. | |
| AssignedLocationCity | String | The city of the location. | |
| AssignedLocationPhone | String | The phone number of the location. | |
| AssignedLocationProvince | String | The province of the location. | |
| AssignedLocationZip | String | The ZIP code of the location. | |
| AssignedLocationCountryCode | String | The two-letter country code of the location. | |
| AssignedLocationLocationId | String | A globally-unique ID. | |
| AssignedLocationLocationLegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| AssignedLocationLocationName | String | The name of the location. | |
| AssignedLocationLocationActivatable | Bool | Whether this location can be reactivated. | |
| AssignedLocationLocationDeactivatable | Bool | Whether this location can be deactivated. | |
| AssignedLocationLocationDeletable | Bool | Whether this location can be deleted. | |
| AssignedLocationLocationAddressVerified | Bool | Whether the location address has been verified. | |
| AssignedLocationLocationDeactivatedAt | String | The date and time that the location was deactivated at. For example, 3: 30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as '2019-09-07T15: 50: 00Z'. | |
| AssignedLocationLocationIsActive | Bool | Whether the location is active. | |
| AssignedLocationLocationShipsInventory | Bool | Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| AssignedLocationLocationFulfillsOnlineOrders | Bool | Whether this location can fulfill online orders. | |
| AssignedLocationLocationHasActiveInventory | Bool | Whether this location has active inventory. | |
| AssignedLocationLocationHasUnfulfilledOrders | Bool | Whether this location has orders that need to be fulfilled. | |
| DeliveryMethodId | String | A globally-unique ID. | |
| DeliveryMethodMethodType | String | The type of the delivery method. | |
| DeliveryMethodMaxDeliveryDateTime | Datetime | The latest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodMinDeliveryDateTime | Datetime | The earliest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodServiceCode | String | A reference to the shipping method. | |
| DeliveryMethodSourceReference | String | Promise provider specific data associated with delivery promise. | |
| DeliveryMethodBrandedPromiseName | String | The name of the branded promise. For example: 'Shop Promise'. | |
| DeliveryMethodBrandedPromiseHandle | String | The handle of the branded promise. For example: 'shop_promise'. | |
| DeliveryMethodAdditionalInformationPhone | String | The phone number to contact when performing the delivery. | |
| DeliveryMethodAdditionalInformationInstructions | String | The delivery instructions to follow when performing the delivery. | |
| DestinationId | String | A globally-unique ID. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationEmail | String | The email of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| DestinationProvince | String | The province of the destination. | |
| DestinationZip | String | The ZIP code of the destination. | |
| DestinationCountryCode | String | The two-letter country code of the destination. | |
| InternationalDutiesIncoterm | String | The method of duties payment. Example values: 'DDP', 'DAP'. | |
| AssignmentStatus | String | The assigment status of the fulfillment orders that should be returned. If assignmentStatus argument is not provided, then the query will return all assigned fulfillment orders, except those that have the CLOSED status.
The allowed values are CANCELLATION_REQUESTED, FULFILLMENT_ACCEPTED, FULFILLMENT_REQUESTED, FULFILLMENT_UNSUBMITTED. |
Retrieves a list of the shop's blogs.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Blogs WHERE Id = 'Val1'
SELECT * FROM Blogs WHERE Title = 'Val1'
SELECT * FROM Blogs WHERE Handle = 'Val1'
SELECT * FROM Blogs WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Blogs WHERE UpdatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Title | String | The blogs's title. | |
| Handle | String | A human-friendly unique string for the Blog automatically generated from its title. | |
| OnlineStoreUrl | String | The URL used for viewing the resource on the shop's Online Store. Returns 'null' if the resource is currently not published to the Online Store sales channel. | |
| SeoTitle | String | The SEO title. | |
| SeoDescription | String | The meta description. | |
| CreatedAt | Datetime | The date and time when the blog was created. This column can only be used as an input for filtering. | |
| UpdatedAt | Datetime | The date and time when the blog was last updated. This column can only be used as an input for filtering. |
Returns a list of activated carrier services and associated shop locations that support them.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM CarrierServices
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Name | String | The name of the shipping service provider. | |
| FormattedName | String | The properly formatted name of the shipping service provider, ready to display. | |
| IconAltText | String | A word or phrase to share the nature or contents of an image. | |
| IconHeight | Int | The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify. | |
| IconId | String | A unique ID for the image. | |
| IconWidth | Int | The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify. | |
| Active | Bool | Whether the carrier service is active. | |
| SupportsServiceDiscovery | Bool | Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples. | |
| CallbackUrl | String | The URL endpoint that Shopify needs to retrieve shipping rates. |
Retrieves a list of the products inside of a collection.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CollectionProducts WHERE CollectionId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | Globally unique identifier. | |
| CollectionId [KEY] | String |
Collections.Id | A globally-unique identifier for the collection. |
| Title | String | The title of the product. | |
| Position | Int | The position in which the products are sorted. |
Returns available roles for company contacts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyContactRoles WHERE CompanyId = 'Val1'
| Name | Type | References | Description |
| CompanyId | String | The company to which the role belongs. | |
| Id [KEY] | String | A globally-unique ID. | |
| Name | String | The name of a role. For example, 'admin' or 'buyer'. | |
| Note | String | A note for the role. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Companies.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Message | String | Human readable text that describes the event. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Customers.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Message | String | Human readable text that describes the event. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
The list of members, such as customers, that's associated with individual segments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerSegmentMembers WHERE SegmentId = 'Val1'
| Name | Type | References | Description |
| SegmentId [KEY] | String |
Segments.Id | The ID of the segment. |
| Id [KEY] | String | The member's ID. | |
| DisplayName | String | The full name of the member, which is based on the values of the 'first_name' and 'last_name' fields. If the member's first name and last name aren't available, then the customer's email address is used. If the customer's email address isn't available, then the customer's phone number is used. | |
| FirstName | String | The member's first name. | |
| LastName | String | The member's last name. | |
| Note | String | A note about the member. | |
| LastOrderId | String | The ID of the member's most recent order. | |
| NumberOfOrders | String | The total number of orders that the member has made. | |
| AmountSpentAmount | Decimal | Decimal money amount. | |
| AmountSpentCurrencyCode | String | Currency of the money. | |
| DefaultAddressId | String | A globally-unique ID. | |
| DefaultAddressCountry | String | The name of the country. | |
| DefaultAddressProvince | String | The region of the address, such as the province, state, or district. | |
| DefaultAddressCity | String | The name of the city, district, village, or town. | |
| DefaultAddressFormattedArea | String | A comma-separated list of the values for city, province, and country. | |
| DefaultAddressCompany | String | The name of the customer's company or organization. | |
| DefaultAddressAddress1 | String | The first line of the address. Typically the street address or PO Box number. | |
| DefaultAddressAddress2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| DefaultAddressName | String | The full name of the customer, based on firstName and lastName. | |
| DefaultAddressFirstName | String | The first name of the customer. | |
| DefaultAddressLastName | String | The last name of the customer. | |
| DefaultAddressLatitude | Double | The latitude coordinate of the customer address. | |
| DefaultAddressLongitude | Double | The longitude coordinate of the customer address. | |
| DefaultAddressCoordinatesValidated | Bool | Whether the address coordinates are valid. | |
| DefaultAddressValidationResultSummary | String | The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| DefaultAddressPhone | String | A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| DefaultAddressZip | String | The zip or postal code of the address. | |
| DefaultAddressProvinceCode | String | The alphanumeric code for the region. For example, ON. | |
| DefaultAddressCountryCode | String | The two-letter code for the country of the address. For example, US. | |
| DefaultAddressTimeZone | String | The time zone of the address. | |
| DefaultEmailAddressEmailAddress | String | The customer's default email address. | |
| DefaultEmailAddressMarketingState | String | Whether the customer has subscribed to email marketing. | |
| DefaultEmailAddressMarketingUnsubscribeUrl | String | The URL to unsubscribe a member from all mailing lists. | |
| DefaultEmailAddressOpenTrackingLevel | String | Whether the customer has opted in to having their opened emails tracked. | |
| DefaultEmailAddressOpenTrackingUrl | String | The URL that can be used to opt a customer in or out of email open tracking. | |
| DefaultPhoneNumberMarketingState | String | Whether the customer has subscribed to SMS marketing material. | |
| DefaultPhoneNumberPhoneNumber | String | A customer's phone number. | |
| MergeableReason | String | The reason why the customer can't be merged with another customer. | |
| MergeableErrorFields | String | The list of fields preventing the customer from being merged. | |
| MergeableIsMergeable | Bool | Whether the customer can be merged with another customer. | |
| MergeableMergeInProgressJobId | String | The UUID of the merge job. | |
| MergeableMergeInProgressResultingCustomerId | String | The ID of the customer resulting from the merge. | |
| MergeableMergeInProgressStatus | String | The status of the customer merge request. |
Retrieve customers' store credit accounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CustomerStoreCreditAccounts WHERE Id = 'Val1'
SELECT * FROM CustomerStoreCreditAccounts WHERE CustomerId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| CustomerId | String | A globally unique-id. | |
| BalanceAmount | Decimal | Decimal money amount. | |
| BalanceCurrencyCode | String | Currency of the money. |
Lists countries already selected in any zone for the specified location group.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroupCountries
| Name | Type | References | Description |
| CountryId [KEY] | String | A globally-unique ID. | |
| LocationGroupId [KEY] | String | A globally-unique ID. | |
| DeliveryProfileId | String | The ID of the DeliveryProfile to return. | |
| Zone | String | The name of the shipping zone. | |
| CountryName | String | The full name of the country. | |
| CountryTranslatedName | String | The translated name of the country. The translation returned is based on the system's locale. | |
| CountryCodeCountryCode | String | The country code in the ISO 3166-1 alpha-2 format. | |
| CountryCodeRestOfWorld | Bool | Whether the country is a part of the 'Rest of World' shipping zone. |
Returns the list of regions associated with this country.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroupCountryProvinces
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| CountryId | String | A globally-unique ID. | |
| Code | String | The code of the region. | |
| Name | String | The full name of the region. | |
| TranslatedName | String | The translated name of the region. The translation returned is based on the system's locale. |
Lists the location groups using this profile.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroups
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| DeliveryProfileId | String | The ID of the DeliveryProfile to return. | |
| LocationsCount | Int | A count of all locations that are part of this location group. | |
| LocationsCountPrecision | String | The count's precision, or the exactness of the value. |
Lists the applicable zones associated to the specified location group.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DeliveryProfileLocationGroupZones WHERE DeliveryProfileId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LocationGroupId [KEY] | String | Filter the location groups of the profile by location group ID. | |
| DeliveryProfileId | String | The ID of the DeliveryProfile to return. | |
| Name | String | The name of the zone. | |
| MethodDefinitionCountsParticipantDefinitionsCount | Int | The number of participant method definitions for the specified zone. | |
| MethodDefinitionCountsRateDefinitionsCount | Int | The number of merchant-defined method definitions for the specified zone. |
Lists the locations that have not been assigned to a location group for this profile.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DeliveryProfileUnassignedLocations WHERE DeliveryProfileId = 'Val1'
| Name | Type | References | Description |
| DeliveryProfileId [KEY] | String | A globally-unique ID. | |
| LocationId [KEY] | String |
Locations.Id | A globally-unique ID. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DiscountEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String | A globally-unique ID. | |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Message | String | Human readable text that describes the event. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeFreeShipping WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeFreeShipping WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeFreeShipping WHERE StartsAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Title | String | The title of the discount. | |
| Status | String | The status of the discount. | |
| Summary | String | A detailed summary of the discount. | |
| CodesCount | Int | The number of redeem codes for the discount. | |
| CodesCountPrecision | String | The count's precision, or the exactness of the value. | |
| DiscountClass | String | The class of the discount for combining purposes. | |
| EndsAt | Datetime | The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| ShortSummary | String | A short summary of the discount. | |
| StartsAt | Datetime | The date and time when the discount starts. | |
| UsageLimit | Int | The maximum number of times that the discount can be used. | |
| AppliesOnSubscription | Bool | Whether the discount applies on subscription shipping lines. | |
| AsyncUsageCount | Int | The number of times that the discount has been used. | |
| HasTimelineComment | Bool | Indicates whether there are any timeline comments on the discount. | |
| RecurringCycleLimit | Int | The number of times a discount applies on recurring purchases (subscriptions). | |
| AppliesOncePerCustomer | Bool | Whether the discount can be applied only once per customer. | |
| AppliesOnOneTimePurchase | Bool | Whether the discount applies on regular one-time-purchase shipping lines. | |
| CreatedAt | Datetime | The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | Combines with shipping discounts. | |
| DiscountCustomerAllAllCustomers | Bool | Whether the discount can be applied by all customers. This value is always 'true'. | |
| DiscountCountriesCountries | String | The codes for the countries where the discount can be applied. | |
| DiscountCountriesIncludeRestOfWorld | Bool | Whether the discount is applicable to countries that have not been defined in the shop's shipping zones. | |
| DiscountCountryAllAllCountries | Bool | Whether the discount can be applied to all countries as shipping destination. This value is always 'true'. | |
| MaximumShippingPriceAmount | Decimal | Decimal money amount. | |
| MaximumShippingPriceCurrencyCode | String | Currency of the money. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | The minimum quantity of items that's required for the discount to be applied. | |
| TotalSalesAmount | Decimal | Decimal money amount. | |
| TotalSalesCurrencyCode | String | Currency of the money. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String |
DraftOrders.Id | A globally-unique ID. |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
DraftOrders.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Message | String | Human readable text that describes the event. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItemCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Returns a list of the line items in the draft order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItems WHERE DraftOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| DraftOrderId | String |
DraftOrders.Id | A globally-unique ID. |
| Name | String | The name of the product. | |
| Title | String | The title of the product or variant. This field only applies to custom line items. | |
| VariantTitle | String | The name of the variant. | |
| Custom | Bool | Whether the line item is a custom line item ('true') or a product variant line item ('false'). | |
| Quantity | Int | The number of product variants that are requested in the draft order. | |
| Sku | String | The SKU number of the product variant. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who created the product variant. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| IsGiftCard | Bool | Whether the line item is a gift card. | |
| AppliedDiscountTitle | String | Name of the order-level discount. | |
| AppliedDiscountDescription | String | Description of the order-level discount. | |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. | |
| AppliedDiscountValueType | String | Type of the order-level discount. | |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. | |
| AppliedDiscountAmountV2CurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| FulfillmentServiceId | String | The ID of the fulfillment service. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ProductId | String | A globally-unique ID. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| VariantId | String | A globally-unique ID. | |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. | |
| WeightUnit | String | The unit of measurement for 'value'. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String |
DraftOrders.Id | A globally-unique ID. |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Line items from orders that are included in fulfillments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentLineItems WHERE FulfillmentId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| FulfillmentId | String |
Fulfillments.Id | A globally-unique ID. |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| Quantity | Int | Number of line items in the fulfillment. | |
| LineItemId | String | A globally-unique ID. | |
| LineItemName | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| LineItemTitle | String | The title of the product at time of order creation. | |
| LineItemVariantTitle | String | The title of the variant at time of order creation. | |
| LineItemVariantId | String | A globally-unique ID. | |
| LineItemProductId | String | A globally-unique ID. | |
| LineItemSellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| LineItemQuantity | Int | The number of variant units ordered. | |
| LineItemRestockable | Bool | Whether the line item can be restocked. | |
| LineItemSku | String | The variant SKU number. | |
| LineItemTaxable | Bool | Whether the variant is taxable. | |
| LineItemVendor | String | The name of the vendor who made the variant. | |
| LineItemCurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemMerchantEditable | Bool | Whether the line item can be edited or not. | |
| LineItemRefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemRequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| LineItemUnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| LineItemNonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| LineItemIsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| LineItemDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemDiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemDiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemImageId | String | A unique ID for the image. | |
| LineItemImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| LineItemImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageUrl | String | The location of the image as a URL. | |
| LineItemOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemOriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemOriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemTotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemTotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemTotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemTotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
A list of the fulfillment order's line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentOrderLineItems WHERE FulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The unique identifier of the line item. | |
| FulfillmentOrderId | String | The unique identifier of the fulfillment order. | |
| FulfillmentOrderUpdatedAt | Datetime | The date and time when the fulfillment order was last updated. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| InventoryItemId | String | The ID of the inventory item. | |
| Sku | String | The variant SKU number. | |
| ProductTitle | String | The title of the product. | |
| VariantId | String | The product variant associated to the fulfillment order line item. | |
| VariantTitle | String | The name of the variant. | |
| Vendor | String | The name of the vendor who made the variant. | |
| RemainingQuantity | Int | The number of units remaining to be fulfilled. | |
| TotalQuantity | Int | The total number of units to be fulfilled. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| WeightUnit | String | The weight of a line item unit. The unit of measurement for value. | |
| WeightValue | Double | The weight value using the unit system specified with unit. | |
| Warnings | String | Warning messages for a fulfillment order line item. | |
| FinancialSummaries | String | The financial summary for the Fulfillment Order's Line Items. |
A list of the fulfillment order's line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE FulfillmentOrderId = 'Val1'
SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE LocationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The unique identifier of the line item. | |
| FulfillmentOrderId | String | The unique identifier of the fulfillment order. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| InventoryItemId | String | The ID of the inventory item. | |
| Sku | String | The variant SKU number. | |
| ProductTitle | String | The title of the product. | |
| VariantId | String | The product variant associated to the fulfillment order line item. | |
| VariantTitle | String | The name of the variant. | |
| Vendor | String | The name of the vendor who made the variant. | |
| RemainingQuantity | Int | The number of units remaining to be fulfilled. | |
| TotalQuantity | Int | The total number of units to be fulfilled. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| WeightUnit | String | The weight of a line item unit. The unit of measurement for value. | |
| WeightValue | Double | The weight value using the unit system specified with unit. | |
| Warnings | String | Warning messages for a fulfillment order line item. | |
| FinancialSummaries | String | The financial summary for the Fulfillment Order's Line Items. | |
| LocationId [KEY] | String | The unique identifier of the location. |
A list of locations that the fulfillment order can potentially move to.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrderLocationsForMove WHERE FulfillmentOrderId = 'Val1'
SELECT * FROM FulfillmentOrderLocationsForMove WHERE LocationId = 'Val1'
| Name | Type | References | Description |
| FulfillmentOrderId [KEY] | String | The unique identifier of the fulfillment order. | |
| LocationId [KEY] | String | The unique identifier of the location. | |
| AvailableLineItemsCount | Int | Total number of fulfillment order line items that can be moved from their current assigned location to the given location. | |
| AvailableLineItemsCountPrecision | String | The count's precision, or the exactness of the value. | |
| UnavailableLineItemsCount | Int | Total number of fulfillment order line items that can't be moved from their current assigned location to the given location. | |
| UnavailableLineItemsCountPrecision | String | The count's precision, or the exactness of the value. | |
| Movable | Bool | Whether the fulfillment order can be moved to the location. | |
| Message | String | A human-readable string with the reason why the fulfillment order, or some of its line items, can't be moved to the location. |
Sets of inventory quantity changes that occurred in inventory events.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND InventoryItemId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND LocationId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND Name = 'Val1'
| Name | Type | References | Description |
| InventoryAdjustmentGroupId [KEY] | String | A globally-unique ID. | |
| InventoryItemId [KEY] | String | A globally-unique ID. | |
| LocationId [KEY] | String | A globally-unique ID. | |
| Name [KEY] | String | The name of the inventory quantity that was changed. | |
| Delta | Int | The amount by which the inventory quantity was changed. | |
| QuantityAfterChange | Int | The quantity of named inventory after the change. | |
| LedgerDocumentUri | String | A URI that represents what the inventory quantity change was applied to. |
Groups of adjustments made as part of inventory operations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryAdjustmentGroups WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Reason | String | The reason for the group of adjustments. | |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. This can be the entity adjusting inventory quantities or the Shopify resource that's associated with the inventory adjustment. For example, a unit in a draft order might have been previously reserved, and a merchant later creates an order from the draft order. In this case, the 'referenceDocumentUri' for the inventory adjustment is a URI referencing the order ID. | |
| CreatedAt | Datetime | The date and time the inventory adjustment group was created. | |
| AppId | String | A globally-unique ID. | |
| StaffMemberId | String | A globally-unique ID. (This column is available only with a ShopifyPlus subscription) |
Returns a list of country specific harmonized system codes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemCountryHarmonizedSystemCodes WHERE InventoryItemId = 'Val1'
| Name | Type | References | Description |
| InventoryItemId | String | A globally-unique ID. | |
| CountryCode | String | The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. | |
| HarmonizedSystemCode [KEY] | String | The country-specific harmonized system code. These are usually longer than 6 digits. |
List quantities for inventory items at specific locations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryItemInventoryLevelQuantities WHERE InventoryLevelId = 'Val1'
SELECT * FROM InventoryItemInventoryLevelQuantities WHERE Name = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| InventoryItemId | String | A globally-unique ID. | |
| InventoryLevelId | String | A globally-unique ID. | |
| InventoryLevelLocationId | String | A globally-unique ID. | |
| Name | String | The name that identifies the inventory quantity. | |
| Quantity | Int | The quantity for the quantity name. | |
| UpdatedAt | Datetime | When the quantity was last updated. |
Scheduled changes for inventory levels.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemInventoryLevelScheduledChanges WHERE InventoryLevelId = 'Val1'
| Name | Type | References | Description |
| InventoryItemId | String | A globally-unique ID. | |
| InventoryLevelId | String | A globally-unique ID. | |
| ExpectedAt | Datetime | The date and time that the scheduled change is expected to happen. | |
| FromName | String | The quantity name to transition from. | |
| ToName | String | The quantity name to transition to. | |
| Quantity | Int | The quantity of the scheduled change associated with the ledger document in the 'fromName' state. | |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Jobs WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID that's returned when running an asynchronous mutation. | |
| Done | Bool | This indicates if the job is still queued or has been run. |
Returns the list of countries with enabled localized experiences.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM LocalizationCountries
| Name | Type | References | Description |
| IsoCode [KEY] | String | The ISO code of the country. | |
| Name | String | The name of the country. | |
| UnitSystem | String | The unit system used in the country. | |
| CurrencyIsoCode | String | The ISO code of the currency. | |
| CurrencyName | String | The name of the currency. | |
| CurrencySymbol | String | The symbol of the currency. | |
| MarketId | String | A globally-unique ID. | |
| MarketHandle | String | A human-readable unique string for the market automatically generated from its title. | |
| AvailableLanguages | String | The languages available for the country. |
Returns a list of marketing events associated with the marketing app.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM MarketingEvents WHERE Id = 'Val1'
SELECT * FROM MarketingEvents WHERE AppId = 'Val1'
SELECT * FROM MarketingEvents WHERE Type = 'Val1'
SELECT * FROM MarketingEvents WHERE StartedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| RemoteId | String | An optional ID that helps Shopify validate engagement data. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| AppId | String | A globally-unique ID. | |
| MarketingChannelType | String | The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. | |
| Description | String | A human-readable description of the marketing event. | |
| Type | String | The marketing event type. | |
| EndedAt | Datetime | The date and time when the marketing event ended. | |
| ManageUrl | String | The URL where the marketing event can be managed. | |
| PreviewUrl | String | The URL where the marketing event can be previewed. | |
| StartedAt | Datetime | The date and time when the marketing event started. | |
| UtmCampaign | String | The name of the marketing campaign. | |
| UtmMedium | String | The medium that the marketing campaign is using. Example values: 'cpc', 'banner'. | |
| UtmSource | String | The referrer of the marketing event. Example values: 'google', 'newsletter'. | |
| SourceAndMedium | String | Where the 'MarketingEvent' occurred and what kind of content was used. Because 'utmSource' and 'utmMedium' are often used interchangeably, this is based on a combination of 'marketingChannel', 'referringDomain', and 'type' to provide a consistent representation for any given piece of marketing regardless of the app that created it. | |
| ScheduledToEndAt | Datetime | The date and time when the marketing event is scheduled to end. |
Provides the definition of a generic object structure composed of metafields.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetaobjectDefinitions
| Name | Type | References | Description |
| ID [KEY] | String | A globally-unique ID. | |
| Name | String | The human-readable name. | |
| MetaobjectsCount | Int | The count of metaobjects created for the definition. | |
| Type | String | The type of the object definition. Defines the namespace of associated metafields. | |
| Description | String | The administrative description. | |
| DisplayNameKey | String | The key of a field to reference as the display name for each object. | |
| AccessAdmin | String | Access configuration for the metaobject definition. Access configuration for Admin API surface areas, including the GraphQL Admin API. | |
| AccessStorefront | String | Access configuration for the metaobject definition. Access configuration for Storefront surface areas, including the GraphQL Storefront API and Liquid. | |
| CapabilitiesPublishableEnabled | Bool | The capabilities of the metaobject definition. Indicate whether a metaobject definition is publishable. Indicates if the capability is enabled. | |
| CapabilitiesTranslatableEnabled | Bool | The capabilities of the metaobject definition. Indicate whether a metaobject definition is translatable. Indicates if the capability is enabled. | |
| CapabilitiesOnlineStoreEnabled | Bool | The capabilities of the metaobject definition. Indicates whether a metaobject definition can be displayed as a page on the Online Store. Indicates if the capability is enabled. | |
| CapabilitiesOnlineStoreDataCanCreateRedirects | Bool | The capabilities of the metaobject definition. Indicates whether a metaobject definition can be displayed as a page on the Online Store. The data associated with the Online Store capability. Flag indicating if a sufficient number of redirects are available to redirect all published entries. | |
| CapabilitiesOnlineStoreDataUrlHandle | String | The capabilities of the metaobject definition. Indicates whether a metaobject definition can be displayed as a page on the Online Store. The data associated with the Online Store capability. The URL handle for accessing pages of this metaobject type in the Online Store. | |
| CapabilitiesRenderableEnabled | Bool | The capabilities of the metaobject definition. Indicate whether a metaobject definition is renderable and exposes SEO data. Indicates if the capability is enabled. | |
| CapabilitiesRenderableDataMetaDescriptionKey | String | The capabilities of the metaobject definition. Indicate whether a metaobject definition is renderable and exposes SEO data. The data associated with the renderable capability. The metaobject field used as an alias for the SEO page description. | |
| CapabilitiesRenderableDataMetaTitleKey | String | The capabilities of the metaobject definition. Indicate whether a metaobject definition is renderable and exposes SEO data. The data associated with the renderable capability. The metaobject field used as an alias for the SEO page title. |
All metaobjects for the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM MetaObjects WHERE Type = 'Val1'
| Name | Type | References | Description |
| ID [KEY] | String | A globally-unique ID. | |
| Handle | String | The unique handle of the object, useful as a custom ID. | |
| DisplayName | String | The preferred display name field value of the metaobject. | |
| CreatedByDeveloperName | String | The name of the app developer. | |
| DefinitionId | String | The identifier of the MetaobjectDefinition that models this object type. | |
| Title | String | Name of the app. | |
| Type | String | The type of the metaobject. | |
| Key [KEY] | String | The object key of this field. | |
| Value | String | The assigned field value, always stored as a string regardless of the field type. | |
| TypeField | String | The type of the field. | |
| UpdatedAt | Datetime | When the object was last updated. | |
| CapabilitiesPublishableStatus | String | Metaobject capabilities for this Metaobject. The publishable capability for this metaobject. | |
| CapabilitiesOnlineStoreTemplateSuffix | String | Metaobject capabilities for this Metaobject. The Online Store capability for this metaobject. The theme template used when viewing the metaobject in a store. | |
| ThumbnailFieldKey | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The object key of this field. | |
| ThumbnailFieldThumbnailHex | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The hexadecimal color code to be used for respresenting this metaobject. | |
| ThumbnailFieldFileId | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. A globally-unique ID. | |
| ThumbnailFieldFileAlt | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. A word or phrase to describe the contents or the function of a file. | |
| ThumbnailFieldFileCreatedAt | Datetime | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The date and time when the file was created. | |
| ThumbnailFieldFileUpdatedAt | Datetime | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The date and time when the file was last updated. | |
| ThumbnailFieldFileFileStatus | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The status of the file. | |
| ThumbnailFieldFileFileErrors | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. Any errors that have occurred on the file. | |
| ThumbnailFieldFilePreviewStatus | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. Current status of the preview image. | |
| ThumbnailFieldFilePreviewImageId | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. A unique ID for the image. | |
| ThumbnailFieldFilePreviewImageAltText | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. A word or phrase to share the nature or contents of an image. | |
| ThumbnailFieldFilePreviewImageHeight | Int | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. The original height of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| ThumbnailFieldFilePreviewImageWidth | Int | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. The original width of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| ThumbnailFieldFilePreviewImageUrl | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. The location of the image as a URL. |
A list of additional fees applied to the order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAdditionalFees WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| OrderId | String |
Orders.Id | A globally-unique ID. |
| Name | String | The name of the additional fee. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | A sale associated with an additional fee charge. The additional fees for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | A sale associated with a duty charge. The duty for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | A sale associated with a gift card. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | A sale associated with a product. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales agreements associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| Id [KEY] | String | The unique ID for the agreement. | |
| HappenedAt | Datetime | The date and time at which the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The staff member associated with the agreement. A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| AppApiKey | String | The application that created the agreement. A unique application API identifier. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | A sale associated with a shipping charge. The shipping line item for the associated sale. shippingLine is not available if the SaleActionType is a return. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | A sale associated with a tip. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String |
Orders.Id | A globally-unique ID. |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Returns a list of discounts that are applied to the order, not including order edits and refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderDiscountApplications WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId [KEY] | String |
Orders.Id | A globally-unique ID. |
| AllocationMethod | String | The method by which the discount's value is applied to its entitled items. | |
| Index [KEY] | Int | An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations. | |
| TargetSelection | String | How the discount amount is distributed on the discounted lines. | |
| TargetType | String | Whether the discount is applied on line items or shipping lines. | |
| ValueAmount | Decimal | The value of the discount application. Decimal money amount. | |
| ValueCurrencyCode | String | The value of the discount application. Currency of the money. | |
| ValuePercentage | Double | The value of the discount application. The percentage value of the object. This is a number between -100 (free) and 0 (no discount). | |
| AutomaticDiscountApplicationTitle | String | The title of the discount application. | |
| DiscountCodeApplicationCode | String | The string identifying the discount code that was used at the time of application. | |
| ManualDiscountApplicationTitle | String | The title of the discount application. | |
| ManualDiscountApplicationDescription | String | The description of the discount application. | |
| ScriptDiscountApplicationTitle | String | The title of the discount application. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | A sale associated with an additional fee charge. The additional fees for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | A sale associated with a duty charge. The duty for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | A sale associated with a gift card. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | A sale associated with a product. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales agreements associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| Id [KEY] | String | The unique ID for the agreement. | |
| HappenedAt | Datetime | The date and time at which the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The staff member associated with the agreement. A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| AppApiKey | String | The application that created the agreement. A unique application API identifier. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | A sale associated with a shipping charge. The shipping line item for the associated sale. shippingLine is not available if the SaleActionType is a return. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | A sale associated with a tip. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Orders.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Message | String | Human readable text that describes the event. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Retrieves the discounts that have been allocated onto the line item by discount applications, not including order edits and refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemDiscountAllocations WHERE OrderLineItemId = 'Val1'
| Name | Type | References | Description |
| OrderLineItemId [KEY] | String | The ID of the Order to return. | |
| DiscountApplicationIndex [KEY] | Decimal | An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations. | |
| AllocatedAmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AllocatedAmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AllocatedAmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AllocatedAmountSetShopMoneyCurrencyCode | String | Currency of the money. |
Lists the duties associated with the line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemDuties WHERE LineItemId = 'Val1'
| Name | Type | References | Description |
| LineItemId | String | A globally-unique ID. | |
| Id [KEY] | String | A globally-unique ID. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves line items associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Orders.Id | A globally-unique ID. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at time of order creation. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| VariantId | String | A globally-unique ID. | |
| ProductId | String | A globally-unique ID. | |
| SellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| MerchantEditable | Bool | Whether the line item can be edited or not. | |
| RefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OrderUpdatedAt | Datetime | The date and time when the order was modified last. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Lists the duties associated with the line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderNonFulfillableLineItemDuties WHERE LineItemId = 'Val1'
| Name | Type | References | Description |
| LineItemId | String | A globally-unique ID. | |
| Id [KEY] | String | A globally-unique ID. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of line items in the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderNonFulfillableLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Orders.Id | A globally-unique ID. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at time of order creation. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| VariantId | String | A globally-unique ID. | |
| ProductId | String | A globally-unique ID. | |
| SellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| MerchantEditable | Bool | Whether the line item can be edited or not. | |
| RefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | A sale associated with an additional fee charge. The additional fees for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | A sale associated with a duty charge. The duty for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | A sale associated with a gift card. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | A sale associated with a product. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales agreements associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| Id [KEY] | String | The unique ID for the agreement. | |
| HappenedAt | Datetime | The date and time at which the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The staff member associated with the agreement. A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| AppApiKey | String | The application that created the agreement. A unique application API identifier. | |
| RefundId | String |
Refunds.Id | The refund associated with the agreement. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | A sale associated with a shipping charge. The shipping line item for the associated sale. shippingLine is not available if the SaleActionType is a return. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | A sale associated with a tip. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String |
Orders.Id | A globally-unique ID. |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Returns a list of the shop's pages.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Pages WHERE Title = 'Val1'
SELECT * FROM Pages WHERE Handle = 'Val1'
SELECT * FROM Pages WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Pages WHERE UpdatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Title | String | The title of the page. | |
| Body | String | The description of the page, complete with HTML formatting. | |
| Handle | String | A human-friendly unique string for the page automatically generated from its title. | |
| BodySummary | String | Summary of the page body. | |
| OnlineStoreUrl | String | The URL used for viewing the resource on the shop's Online Store. Returns 'null' if the resource is currently not published to the Online Store sales channel. | |
| CreatedAt | Datetime | The timestamp of the page creation. | |
| UpdatedAt | Datetime | The timestamp of the latest page update. | |
| SeoTitle | String | The SEO title. | |
| SeoDescription | String | The meta description. |
A list of prices associated with a price list.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PriceListPrices WHERE PriceListId = 'Val1'
| Name | Type | References | Description |
| PriceListId [KEY] | String |
PriceLists.Id | The unique identifier of the price list. |
| ProductVariantId [KEY] | String | The unique identifier of the product variant associated with this price. | |
| OriginType | String | The origin of a price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration). | |
| PriceAmount | Decimal | The price of the product variant on this price list. Decimal money amount. | |
| PriceCurrencyCode | String | The price of the product variant on this price list. Currency of the money. | |
| CompareAtPriceAmount | Decimal | The compare-at price of the product variant on this price list. Decimal money amount. | |
| CompareAtPriceCurrencyCode | String | The compare-at price of the product variant on this price list. Currency of the money. |
Get relationships between component options and parent options.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductBundleComponentOptionSelections WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String | A globally-unique ID. | |
| ComponentProductId [KEY] | String | A globally-unique ID. | |
| ParentOptionId | String | A globally-unique ID. | |
| ParentOptionName | String | The product option’s name. | |
| ComponentOptionId [KEY] | String | A globally-unique ID. | |
| ComponentOptionName | String | The product option’s name. | |
| Values | String | The component option values that are actively selected for this relationship. |
List products' component information.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductBundleComponents WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String | A globally-unique ID. | |
| ComponentProductId [KEY] | String | A globally-unique ID. | |
| ComponentVariantsCount | Int | The count of elements. | |
| ComponentVariantsCountPrecision | String | The count's precision, or the exactness of the value. | |
| OptionSelections | String | The options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle. | |
| Quantity | Int | The quantity of the component product set for this bundle line. It will be null if there's a quantityOption present. | |
| QuantityOptionName | String | The name of the option value. | |
| QuantityOptionValues | String | The quantity values of the option. | |
| QuantityOptionParentOptionId | String | A globally-unique ID. |
An entity that represents details of an asynchronous operation on a product.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOperations WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The ID of the ProductOperation to return. | |
| ProductId | String | A globally-unique ID. | |
| Status | String | The status of this operation. |
Returns a list of collections published to the publication.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PublicationCollections WHERE PublicationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| PublicationId [KEY] | String |
Publications.Id | A globally-unique ID. |
Returns the list of publication for products.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PublicationProducts WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String |
Products.Id | A globally-unique ID. |
| PublishDate | Datetime | The date that the resource publication was or is going to be published to the publication. | |
| IsPublished | Bool | Whether the resource publication is published. | |
| PublicationId [KEY] | String | A globally-unique ID. | |
| PublicationName | String | Name of the publication. |
Lists the refunded duties as part of this refund.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundDuties WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| OriginalDutyId [KEY] | String | A globally-unique ID. | |
| RefundId [KEY] | String |
Refunds.Id | A globally-unique ID. |
| OriginalDutyHarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| OriginalDutyCountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. |
Lists the duties associated with the line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundLineItemDuties WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| RefundId | String | A globally-unique ID. | |
| LineItemId | String | A globally-unique ID. | |
| Id [KEY] | String | A globally-unique ID. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves the 'RefundLineItem' resources attached to the refund.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundLineItems WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LineItemId | String | A globally-unique ID. | |
| RefundId | String |
Refunds.Id | A globally-unique ID. |
| LineItemName | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| LineItemTitle | String | The title of the product at time of order creation. | |
| LineItemVariantTitle | String | The title of the variant at time of order creation. | |
| LineItemQuantity | Int | The number of variant units ordered. | |
| LineItemRestockable | Bool | Whether the line item can be restocked. | |
| LineItemSku | String | The variant SKU number. | |
| LineItemTaxable | Bool | Whether the variant is taxable. | |
| LineItemVendor | String | The name of the vendor who made the variant. | |
| LineItemCurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemMerchantEditable | Bool | Whether the line item can be edited or not. | |
| LineItemRefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemNonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| LineItemRequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| LineItemUnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| LineItemImageId | String | A unique ID for the image. | |
| LineItemImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| LineItemImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageUrl | String | The location of the image as a URL. | |
| LineItemProductId | String | A globally-unique ID. | |
| LineItemVariantId | String | A globally-unique ID. | |
| LineItemSellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| LineItemStaffMemberId | String | A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| Quantity | Int | The quantity of a refunded line item. | |
| Restocked | Bool | Whether the refunded line item was restocked. Not applicable in the context of a SuggestedRefund. | |
| RestockType | String | The type of restock for the refunded line item. | |
| LocationId | String | A globally-unique ID. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| SubtotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| SubtotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemContractId | String | A globally-unique ID. |
Returns the transaction fees charged on the order transaction. Only present for Shopify Payments transactions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundTransactionFees WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| TransactionId | String | A globally-unique ID. | |
| RefundId | String |
Refunds.Id | A globally-unique ID. |
| RateName | String | Name of the credit card rate. | |
| FlatFeeName | String | Name of the credit card flat fee. | |
| Rate | Decimal | Percentage charge. | |
| Type | String | Name of the type of fee. | |
| AmountAmount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| FlatFeeAmount | Decimal | Decimal money amount. | |
| FlatFeeCurrencyCode | String | Currency of the money. | |
| TaxAmountAmount | Decimal | Decimal money amount. | |
| TaxAmountCurrencyCode | String | Currency of the money. |
Retrieves the transactions associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundTransactions WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId [KEY] | String |
Refunds.Id | A globally-unique ID. |
| PaymentId | String | The payment ID associated with the transaction. | |
| ParentTransactionId | String | The associated parent transaction, for example the authorization of a capture. | |
| AccountNumber | String | The masked account number associated with the payment method. | |
| Gateway | String | The payment gateway used to process the transaction. | |
| Kind | String | The kind of transaction. | |
| Status | String | The status of this transaction. | |
| Test | Bool | Whether the transaction is a test transaction. | |
| AuthorizationCode | String | Authorization code associated with the transaction. | |
| ErrorCode | String | A standardized error code, independent of the payment provider. | |
| FormattedGateway | String | The human-readable payment gateway name used to process the transaction. | |
| ManuallyCapturable | Bool | Whether the transaction can be manually captured. | |
| MultiCapturable | Bool | Whether the transaction can be captured multiple times. | |
| ProcessedAt | Datetime | Date and time when the transaction was processed. | |
| ReceiptJson | String | The transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction. | |
| SettlementCurrency | String | The settlement currency. | |
| AuthorizationExpiresAt | Datetime | The time when the authorization expires. This field is available only to stores on a Shopify Plus plan and is populated only for Shopify Payments authorizations. | |
| SettlementCurrencyRate | Decimal | The rate used when converting the transaction amount to settlement currency. | |
| CreatedAt | Datetime | Date and time when the transaction was created. | |
| CardPaymentDetailsName | String | The holder of the credit card. | |
| CardPaymentDetailsBin | String | The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number. | |
| CardPaymentDetailsCompany | String | The name of the company that issued the customer's credit card. | |
| CardPaymentDetailsNumber | String | The customer's credit card number, with most of the leading digits redacted. | |
| CardPaymentDetailsWallet | String | Digital wallet used for the payment. | |
| CardPaymentDetailsExpirationMonth | Int | The month in which the used credit card expires. | |
| CardPaymentDetailsExpirationYear | Int | The year in which the used credit card expires. | |
| CardPaymentDetailsAvsResultCode | String | The response code from the address verification system (AVS). The code is always a single letter. | |
| CardPaymentDetailsCvvResultCode | String | The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string. | |
| PaymentIconId | String | A unique ID for the image. | |
| PaymentIconWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| PaymentIconAltText | String | A word or phrase to share the nature or contents of an image. | |
| PaymentIconHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| MaximumRefundableV2Amount | Decimal | Decimal money amount. | |
| MaximumRefundableV2CurrencyCode | String | Currency of the money. | |
| ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt | Datetime | The time after which the extended authorization expires. After the expiry, the merchant is unable to capture the payment. | |
| ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt | Datetime | The time after which capture will incur an additional fee. | |
| ShopifyPaymentsSetRefundSetAcquirerReferenceNumber | String | The acquirer reference number (ARN) code generated for Visa/Mastercard transactions. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalUnsettledSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalUnsettledSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of line items in the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnExchangeLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Returns.Id | A globally-unique ID. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at time of order creation. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| VariantId | String | A globally-unique ID. | |
| ProductId | String | A globally-unique ID. | |
| SellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| MerchantEditable | Bool | Whether the line item can be edited or not. | |
| RefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| AppliedDiscountValueAmount | Decimal | The discount to be applied to the exchange line item. The value of the discount as a fixed amount. | |
| AppliedDiscountValueAmountCurrencyCode | String | The discount to be applied to the exchange line item. Currency of the money. | |
| AppliedDiscountValuePercentage | Double | The discount to be applied to the exchange line item. The value of the discount as a percentage. | |
| AppliedDiscountDescription | String | The discount to be applied to the exchange line item. The description of the discount. | |
| GiftCardCodes | String | The gift card codes associated with the physical gift cards. |
Retrieves the return line items attached to the return.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnLineItems WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ReturnId [KEY] | String |
Returns.Id | A globally-unique ID. |
| Quantity | Int | The quantity being returned. | |
| CustomerNote | String | A note from the customer that describes the item to be returned. Maximum length: 300 characters. | |
| RefundableQuantity | Int | The quantity that can be refunded. | |
| RefundedQuantity | Int | The quantity that was refunded. | |
| ReturnReason | String | The reason for returning the item. | |
| ReturnReasonNote | String | Additional information about the reason for the return. Maximum length: 255 characters. | |
| TotalWeightUnit | String | The unit of measurement for `value`. | |
| TotalWeightValue | Double | The weight value using the unit system specified with `unit`. | |
| WithCodeDiscountedTotalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| WithCodeDiscountedTotalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| WithCodeDiscountedTotalPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| WithCodeDiscountedTotalPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| FulfillmentLineItemId | String | A globally-unique ID. |
Retrieves the unverified return line items attached to the return.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnLineItemsUnverified WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ReturnId [KEY] | String |
Returns.Id | A globally-unique ID. |
| CustomerNote | String | A note from the customer that describes the item to be returned. Maximum length: 300 characters. | |
| Quantity | Int | The quantity being returned. | |
| RefundableQuantity | Int | The quantity that can be refunded. | |
| RefundedQuantity | Int | The quantity that was refunded. | |
| ReturnReason | String | The reason for returning the item. | |
| ReturnReasonNote | String | Additional information about the reason for the return. Maximum length: 255 characters. | |
| UnitPriceAmount | Decimal | Decimal money amount. | |
| UnitPriceCurrencyCode | String | Currency of the money. |
The parameters for event segment filters.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM SegmentFilterParameters
| Name | Type | References | Description |
| SegmentFilterQueryName [KEY] | String | The query name of the filter. | |
| QueryName [KEY] | String | The query name of the parameter. | |
| ParameterType | String | The type of the parameter. | |
| Optional | Bool | Whether the parameter is optional. | |
| AcceptsMultipleValues | Bool | Whether the parameter accepts a list of values. | |
| LocalizedName | String | The localized name of the parameter. | |
| LocalizedDescription | String | The localized description of the parameter. |
A list of filters.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM SegmentFilters
| Name | Type | References | Description |
| QueryName [KEY] | String | The query name of the filter. | |
| MultiValue | Bool | Whether a file can have multiple values for a single customer. | |
| LocalizedName | String | The localized name of the filter. | |
| ReturnValueType | String | The return value type for an event segment filter. |
Retrieves selling plans associated to the selling plan group.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM SellingPlanGroupSellingPlans WHERE SellingPlanGroupId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| SellingPlanGroupId | String | A globally-unique ID. | |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. | |
| Category | String | The category used to classify the selling plan for reporting purposes.
The allowed values are OTHER, PRE_ORDER, SUBSCRIPTION, TRY_BEFORE_YOU_BUY. | |
| Description | String | Buyer facing string which describes the selling plan commitment. | |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. | |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. | |
| CreatedAt | Datetime | The date and time when the selling plan was created. | |
| InventoryPolicyReserve | String | When to reserve inventory for the order.
The allowed values are ON_FULFILLMENT, ON_SALE. | |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge.
The allowed values are PERCENTAGE, PRICE. | |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. | |
| FixedBillingPolicyCheckoutChargeValueCurrencyCode | String | The charge value for the checkout charge. Currency of the money. | |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. | |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. | |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. | |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due.
The allowed values are EXACT_TIME, NO_REMAINING_BALANCE, TIME_AFTER_CHECKOUT. | |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. | |
| RecurringBillingPolicyCreatedAt | Datetime | The date and time when the selling plan billing policy was created. | |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year.
The allowed values are DAY, MONTH, WEEK, YEAR. | |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. | |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. | |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. | |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. | |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. | |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. | |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.
The allowed values are ANCHOR, ASAP, EXACT_TIME, UNKNOWN. | |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. | |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
The allowed values are ASAP, NEXT. | |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. | |
| RecurringDeliveryPolicyCreatedAt | Datetime | The date and time when the selling plan delivery policy was created. | |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. | |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
The allowed values are FULFILLMENT_BEGIN. | |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. | |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. | |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
The allowed values are ASAP, NEXT. | |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. | |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Metafields | String | Attaches additional metadata to a store's resources. |
Returns the Shop resource corresponding to the access token used in the request. The Shop resource contains business and store management settings for the shop.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Shop
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Name | String | The shop's name. | |
| RichTextEditorUrl | String | The URL of the rich text editor that can be used for mobile devices. | |
| Description | String | The shop's meta description used in search engine results. | |
| String | The shop owner's email address. Shopify will use this email address to communicate with the shop owner. | ||
| Url | String | The URL of the shop's online store. | |
| ContactEmail | String | The public-facing contact email address for the shop. Customers will use this email to communicate with the shop owner. | |
| CurrencyCode | String | The three letter code for the currency that the shop sells in. | |
| CustomerAccounts | String | Whether customer accounts are required, optional, or disabled for the shop. | |
| IanaTimezone | String | The shop's time zone as defined by the IANA. | |
| MyshopifyDomain | String | The shop's . myshopify. com domain name. | |
| PublicationsCount | Int | The number of publications for the shop. | |
| PublicationsCountPrecision | String | The count's precision, or the exactness of the value. | |
| SetupRequired | Bool | Whether the shop has outstanding setup steps. | |
| TaxShipping | Bool | Whether the shop charges taxes for shipping. | |
| TaxesIncluded | Bool | Whether applicable taxes are included in the shop's product prices. | |
| TimezoneAbbreviation | String | The shop's time zone abbreviation. | |
| TimezoneOffset | String | The shop's time zone offset. | |
| UnitSystem | String | The shop's unit system for weights and measures. | |
| WeightUnit | String | The shop's primary unit of weight for products and shipping. | |
| CheckoutApiSupported | Bool | Specifies whether the shop supports checkouts via Checkout API. | |
| EnabledPresentmentCurrencies | String | The presentment currencies enabled for the shop. | |
| ShipsToCountries | String | The list of countries that the shop ships to. | |
| TimezoneOffsetMinutes | Int | The shop's time zone offset expressed as a number of minutes. | |
| TransactionalSmsDisabled | Bool | Whether transactional SMS sent by Shopify have been disabled for a shop. | |
| OrderNumberFormatPrefix | String | The prefix that appears before order numbers. | |
| OrderNumberFormatSuffix | String | The suffix that appears after order numbers. | |
| BillingAddressId | String | A globally-unique ID. | |
| BillingAddressCoordinatesValidated | Bool | Whether the address coordinates are valid. | |
| BillingAddressAddress1 | String | The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | The name of the city, district, village, or town. | |
| BillingAddressCompany | String | The name of the company or organization. | |
| BillingAddressCountry | String | The name of the country. | |
| BillingAddressLatitude | Double | The latitude coordinate of the address. | |
| BillingAddressLongitude | Double | The longitude coordinate of the address. | |
| BillingAddressPhone | String | A phone number associated with the address. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | The region of the address, such as the province, state, or district. | |
| BillingAddressZip | String | The zip or postal code of the address. | |
| BillingAddressFormattedArea | String | A comma-separated list of the values for city, province, and country. | |
| BillingAddressProvinceCode | String | The two-letter code for the region. For example, ON. | |
| BillingAddressCountryCodeV2 | String | The two-letter code for the country of the address. For example, US. | |
| CountriesInShippingZonesCountryCodes | String | The list of all the countries from all the combined shipping zones. | |
| CountriesInShippingZonesIncludeRestOfWorld | Bool | Whether 'Rest of World' has been defined in any of the shipping zones. | |
| CurrencyFormatsMoneyFormat | String | Money without currency in HTML. | |
| CurrencyFormatsMoneyInEmailsFormat | String | Money without currency in emails. | |
| CurrencyFormatsMoneyWithCurrencyFormat | String | Money with currency in HTML. | |
| CurrencyFormatsMoneyWithCurrencyInEmailsFormat | String | Money with currency in emails. | |
| FeaturesInternationalPriceOverrides | Bool | Whether a shop can enable international price overrides. | |
| FeaturesBranding | String | The branding of the shop, which influences its look and feel in the Shopify admin. | |
| FeaturesCaptcha | Bool | Whether a shop's online store can have CAPTCHA protection. | |
| FeaturesReports | Bool | Whether a shop has access to all reporting features. | |
| FeaturesStorefront | Bool | Whether a shop has an online store. | |
| FeaturesAvalaraAvatax | Bool | Whether a shop has access to Avalara AvaTax. | |
| FeaturesDynamicRemarketing | Bool | Whether a shop has access to the Google Analytics dynamic remarketing feature. | |
| FeaturesGiftCards | Bool | Whether a shop can create gift cards. | |
| FeaturesLiveView | Bool | Whether to show the Live View metrics in the Shopify admin. Live view is hidden from merchants that are on a trial or don't have a storefront. | |
| FeaturesSellsSubscriptions | Bool | Whether a shop has ever had subscription products. | |
| FeaturesShowMetrics | Bool | Whether to show metrics in the Shopify admin. Metrics are hidden for new merchants until they become meaningful. | |
| FeaturesEligibleForSubscriptions | Bool | Whether a shop is configured properly to sell subscriptions. | |
| FeaturesHarmonizedSystemCode | Bool | Whether a shop displays Harmonized System codes on products. This is used for customs when shipping internationally. | |
| FeaturesInternationalPriceRules | Bool | Whether a shop can enable international price rules. | |
| FeaturesEligibleForSubscriptionMigration | Bool | Whether a shop can be migrated to use Shopify subscriptions. | |
| FeaturesLegacySubscriptionGatewayEnabled | Bool | Whether a shop has enabled a legacy subscription gateway to handle older subscriptions. | |
| FeaturesPaypalExpressSubscriptionGatewayStatus | String | Whether a shop is configured to sell subscriptions with PayPal Express. | |
| PendingOrdersCount | Int | The count of elements. | |
| PendingOrdersPrecision | String | The count's precision, or the exactness of the value. | |
| PaymentSettingsSupportedDigitalWallets | String | List of the digital wallets which the shop supports. | |
| PlanDisplayName | String | The name of the shop's billing plan. | |
| PlanPartnerDevelopment | Bool | Whether the shop is a partner development shop for testing purposes. | |
| PlanShopifyPlus | Bool | Whether the shop has a Shopify Plus subscription. | |
| PrimaryDomainId | String | A globally-unique ID. | |
| PrimaryDomainHost | String | The host name of the domain. For example, 'example. com'. | |
| PrimaryDomainUrl | String | The URL of the domain (for example, 'https: //example. com'). | |
| PrimaryDomainSslEnabled | Bool | Whether SSL is enabled. | |
| PrimaryDomainLocalizationCountry | String | The ISO code for the country assigned to the domain. For example, 'CA' or '*' for a domain set to 'Rest of world'. | |
| PrimaryDomainLocalizationAlternateLocales | String | The ISO codes for the domain's alternate locales. For example, '['en']'. | |
| PrimaryDomainLocalizationDefaultLocale | String | The ISO code for the domain's default locale. For example, 'en'. | |
| PrimaryDomainMarketWebPresenceId | String | A globally-unique ID. | |
| PrimaryDomainMarketWebPresenceAlternateLocales | String | The ISO codes for the alternate locales. When a domain is used, these locales will be available as language-specific subfolders. For example, if English is an alternate locale, and 'example. ca' is the market's domain, then 'example. ca/en' will load in English. | |
| PrimaryDomainMarketWebPresenceDefaultLocale | String | The ShopLocale object for the default locale. The locale ISO code. | |
| PrimaryDomainMarketWebPresenceDefaultLocaleMarketWebPresencesId | String | The ShopLocale object for the default locale. The market web presences that use the locale. | |
| PrimaryDomainMarketWebPresenceDefaultLocaleName | String | The ShopLocale object for the default locale. The human-readable locale name. | |
| PrimaryDomainMarketWebPresenceDefaultLocalePrimary | Bool | The ShopLocale object for the default locale. Whether the locale is the default locale for the shop. | |
| PrimaryDomainMarketWebPresenceDefaultLocalePublished | Bool | The ShopLocale object for the default locale. Whether the locale is visible to buyers. | |
| PrimaryDomainMarketWebPresenceSubfolderSuffix | String | The market-specific suffix of the subfolders defined by the web presence. Example: in '/en-us' the subfolder suffix is 'us'. This field will be null if 'domain' isn't null. | |
| ResourceLimitsLocationLimit | Int | Maximum number of locations allowed. | |
| ResourceLimitsMaxProductOptions | Int | Maximum number of product options allowed. | |
| ResourceLimitsMaxProductVariants | Int | The maximum number of variants allowed per product. | |
| ResourceLimitsRedirectLimitReached | Bool | Whether the shop has reached the limit of the number of URL redirects it can make for resources. |
Returns Shopify Payments account information, including balances and payouts.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccount
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Activated | Bool | Whether the Shopify Payments setup is completed. | |
| Country | String | The Shopify Payments account country. | |
| Onboardable | Bool | Whether the Shopify Payments account can be onboarded. | |
| DefaultCurrency | String | The default payout currency for the Shopify Payments account. | |
| PayoutStatementDescriptor | String | The descriptor used for payouts. The descriptor appears on a merchant's bank statement when they receive a payout. | |
| FraudSettingsDeclineChargeOnAvsFailure | Bool | Decline a charge if there is an AVS failure. | |
| FraudSettingsDeclineChargeOnCvcFailure | Bool | Decline a charge if there is an CVC failure. | |
| NotificationSettingsPayouts | Bool | Receive email notifications when new payouts are sent or payouts fail. | |
| PayoutScheduleInterval | String | The interval at which payouts are sent to the connected bank account. | |
| PayoutScheduleMonthlyAnchor | Int | The day of the month funds will be paid out. The value can be any day of the month from the 1st to the 31st. If the payment interval is set to monthly, this value will be used. Payouts scheduled between 29-31st of the month are sent on the last day of shorter months. | |
| PayoutScheduleWeeklyAnchor | String | The day of the week funds will be paid out. The value can be any weekday from Monday to Friday. If the payment interval is set to weekly, this value will be used. |
Returns current balances in all currencies for the account.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalance
| Name | Type | References | Description |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| Amount | Decimal | Decimal money amount. | |
| CurrencyCode [KEY] | String | Currency of the money. |
The adjustment orders associated to the transaction.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders WHERE ShopifyPaymentsAccountBalanceTransactionId = 'Val1'
| Name | Type | References | Description |
| Link [KEY] | String | The link to the adjustment order. | |
| Name | String | The name of the adjustment order. | |
| Amount | Decimal | The amount of the adjustment order. Decimal money amount. | |
| AmountCurrencyCode | String | The amount of the adjustment order. Currency of the money. | |
| ShopifyPaymentsAccountBalanceTransactionId [KEY] | String | A globally-unique ID. |
A list of balance transactions associated with a Shopify Payments account balance.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalanceTransactions
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| NetAmount | Decimal | The net amount contributing to the merchant's balance. Decimal money amount. | |
| NetCurrencyCode | String | The net amount contributing to the merchant's balance. Currency of the money. | |
| TransactionDate | Datetime | The date and time when the balance transaction was processed. | |
| SourceId | String | The ID of the resource leading to the transaction. | |
| SourceType | String | The source type of the balance transaction. | |
| SourceOrderTransactionId | String | The id of the Order Transaction that resulted in this balance transaction. | |
| AdjustmentReason | String | The reason for the adjustment that's associated with the transaction. If the source_type isn't an adjustment, the value will be null. | |
| Type | String | The type of the transaction. | |
| Test | Bool | Whether the transaction was created in test mode. | |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| FeeAmount | Decimal | Decimal money amount. | |
| FeeCurrencyCode | String | Currency of the money. | |
| AssociatedOrderId | String | The ID of the associated order. | |
| AssociatedOrderName | String | The name of the associated order. | |
| AssociatedPayoutId | String | The ID of the payout associated with the balance transaction. | |
| AssociatedPayoutStatus | String | The status of the payout associated with the balance transaction. |
Lists all bank accounts configured for the Shopify Payments account.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBankAccounts
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| BankName | String | The name of the bank. | |
| Country | String | The country of the bank. | |
| Currency | String | The currency of the bank account. | |
| Status | String | The status of the bank account. | |
| AccountNumber | String | The account number of the bank account. | |
| RoutingNumber | String | The routing number of the bank account. | |
| AccountNumberLastDigits | String | The last digits of the account number (the rest is redacted). | |
| CreatedAt | Datetime | The date that the bank account was created. |
Lists all disputes related to the Shopify Payments account.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Id = 'Val1'
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Status = 'Val1'
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE InitiatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| EvidenceDueBy | Date | The deadline for evidence submission. | |
| EvidenceSentOn | Date | The date when evidence was sent. Returns null if evidence has not yet been sent. | |
| Status | String | The current state of the dispute. | |
| Type | String | Indicates if this dispute is still in the inquiry phase or has turned into a chargeback. | |
| FinalizedOn | Date | The date when this dispute was resolved. Returns null if the dispute is not yet resolved. | |
| InitiatedAt | Datetime | The date when this dispute was initiated. | |
| AmountAmount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| OrderId | String | A globally-unique ID. | |
| ReasonDetailsReason | String | The reason for the dispute provided by the cardholder's banks. | |
| ReasonDetailsNetworkReasonCode | String | The raw code provided by the payment network. |
Returns all current and previous payouts made between the account and the bank account. Its avaible only in a few certain countries.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ShopifyPaymentsAccountPayouts WHERE TransactionType = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| Status | String | The transfer status of the payout. | |
| IssuedAt | Datetime | The exact time when the payout was issued. The payout only contains balance transactions that were available at this time. | |
| TransactionType | String | The direction of the payout. | |
| BankAccountId | String | A globally-unique ID. | |
| NetAmount | Decimal | Decimal money amount. | |
| NetCurrencyCode | String | Currency of the money. | |
| SummaryAdjustmentsFeeAmount | Decimal | Decimal money amount. | |
| SummaryAdjustmentsFeeCurrencyCode | String | Currency of the money. | |
| SummaryAdjustmentsGrossAmount | Decimal | Decimal money amount. | |
| SummaryAdjustmentsGrossCurrencyCode | String | Currency of the money. | |
| SummaryChargesFeeAmount | Decimal | Decimal money amount. | |
| SummaryChargesFeeCurrencyCode | String | Currency of the money. | |
| SummaryChargesGrossAmount | Decimal | Decimal money amount. | |
| SummaryChargesGrossCurrencyCode | String | Currency of the money. | |
| SummaryRefundsFeeAmount | Decimal | Decimal money amount. | |
| SummaryRefundsFeeCurrencyCode | String | Currency of the money. | |
| SummaryRefundsFeeGrossAmount | Decimal | Decimal money amount. | |
| SummaryRefundsFeeGrossCurrencyCode | String | Currency of the money. | |
| SummaryReservedFundsFeeAmount | Decimal | Decimal money amount. | |
| SummaryReservedFundsFeeCurrencyCode | String | Currency of the money. | |
| SummaryReservedFundsGrossAmount | Decimal | Decimal money amount. | |
| SummaryReservedFundsGrossCurrencyCode | String | Currency of the money. | |
| SummaryRetriedPayoutsFeeAmount | Decimal | Decimal money amount. | |
| SummaryRetriedPayoutsFeeCurrencyCode | String | Currency of the money. | |
| SummaryRetriedPayoutsGrossAmount | Decimal | Decimal money amount. | |
| SummaryRetriedPayoutsGrossCurrencyCode | String | Currency of the money. |
Retrieves the permitted documents for identity verification.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountPermittedVerificationDocuments
| Name | Type | References | Description |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| Type [KEY] | String | The type of the document which can be used for verification. | |
| BackRequired | Bool | True if the back side of the document is required. | |
| FrontRequired | Bool | True if the front side of the document is required. |
Returns the verifications necessary for this account.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountVerifications
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| Status | String | The status of the verification. | |
| SubjectFamilyName | String | The family name of the individual to verify. | |
| SubjectGivenName | String | The given name of the individual to verify. |
Retrieves a paginated list of the shop's staff members. (This table is available only with a ShopifyPlus subscription)
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM StaffMembers
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopId | String |
Shop.Id | A globally-unique ID. |
| Name | String | The staff member's full name. | |
| FirstName | String | The staff member's first name. | |
| LastName | String | The staff member's last name. | |
| Active | Bool | Whether the staff member is active. | |
| String | The staff member's email address. | ||
| Exists | Bool | Whether the staff member's account exists. | |
| Initials | String | The staff member's initials, if available. | |
| Locale | String | The staff member's preferred locale. Locale values use the format 'language' or 'language-COUNTRY', where 'language' is a two-letter language code, and 'COUNTRY' is a two-letter country code. For example: 'en' or 'en-US' | |
| Phone | String | The staff member's phone number. | |
| IsShopOwner | Bool | Whether the staff member is the shop owner. | |
| PrivateDataAccountSettingsUrl | String | The URL to the staff member's account settings page. | |
| PrivateDataCreatedAt | Datetime | The date and time when the staff member was created. |
Debit revert transactions created when a store credit account debit transaction is reverted.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| DebitTransactionId | String | The reverted debit transaction. | |
| BalanceAfterTransactionAmount | Decimal | Decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | Currency of the money. | |
| CreatedAt | Datetime | The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | A globally-unique ID. |
Expiration transactions created when a store credit account credit transaction expires.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM StoreCreditAccountExpirationTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
| Name | Type | References | Description |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| CreditTransactionId | String | The credit transaction which expired. | |
| BalanceAfterTransactionAmount | Decimal | Decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | Currency of the money. | |
| CreatedAt | Datetime | The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | A globally-unique ID. |
Returns a list of TenderTransactions associated with the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM TenderTransactions WHERE Id = 'Val1'
SELECT * FROM TenderTransactions WHERE Test = true
SELECT * FROM TenderTransactions WHERE ProcessedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Test | Bool | Whether the transaction is a test transaction. | |
| PaymentMethod | String | Information about the payment method used for the transaction. | |
| ProcessedAt | Datetime | Date and time when the transaction was processed. | |
| RemoteReference | String | The remote gateway reference associated with the tender transaction. | |
| AmountAmount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| TenderTransactionCreditCardDetailsCreditCardCompany | String | The name of the company that issued the customer's credit card. Example: 'Visa'. | |
| TenderTransactionCreditCardDetailsCreditCardNumber | String | The customer's credit card number, with all digits except the last 4 redacted. Example: '???? ???? ???? 1234' | |
| UserId | String | A globally-unique ID. (This column is available only with a ShopifyPlus subscription) |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| AcceptCancellationRequest | Accepts a cancellation request sent to a fulfillment service for a fulfillment order. |
| AcceptFulfillmentRequest | Accepts a fulfillment request sent to a fulfillment service for a fulfillment order. |
| CollectionReorder | Reorders a set of products within a specified collection. |
| CompanyContactRemoveFromCompany | Removes a company contact from a Company. |
| CreateFile | Creates file assets using an external URL or for files that were previously uploaded using the stagedUploadsCreate mutation. |
| FulfillmentOrderMerge | Merges a set or multiple sets of fulfillment orders together into one based on line item inputs and quantities. |
| FulfillmentOrderSplit | Splits a fulfillment order or orders based on line item inputs and quantities. |
| InventoryAdjustQuantities | Apply changes to inventory quantities. |
| InventoryBulkToggleActivation | Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location. |
| InventoryMoveQuantities | Moves inventory between inventory quantity names at a single location. |
| InventorySetQuantities | Set quantities of specified name using absolute values. |
| InventorySetScheduledChanges | Set up scheduled changes of inventory items. |
| OrderCancel | Cancels an order. |
| RejectCancellationRequest | Rejects a cancellation request sent to a fulfillment service for a fulfillment order. |
| RejectFulfillmentRequest | Rejects a fulfillment request sent to a fulfillment service for a fulfillment order. |
| SendCancellationRequest | Sends a cancellation request to the fulfillment service of a fulfillment order. |
| SendFulfillmentRequest | Sends a fulfillment request to the fulfillment service of a fulfillment order. |
| TransactionVoid | Trigger the voiding of an uncaptured authorization transaction. |
| UpdateFile | Updates an existing file asset that was uploaded to Shopify. |
Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the cancellation request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Reorders a set of products within a specified collection.
| Name | Type | Description |
| CollectionID | String | The ID of the collection on which to reorder products. |
| ProductIDs | String | A comma separated list of product IDs to be reordered. |
| NewPositions | String | A comma separated list of the new positions for the products. |
| WaitJob | String | The Store Procedure will wait until the Job is done.
The default value is true. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| JobID | String | The Job Id. |
| Status | String | The status of the Job. |
Removes a company contact from a Company.
| Name | Type | Description |
| CompanyContactId | String | The ID of the company contact to remove from the Company. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| RemovedCompanyContactId | String | The ID of the removed company contact. |
Creates file assets using an external URL or for files that were previously uploaded using the stagedUploadsCreate mutation.
Note: requires write_files access scope, write_themes access scope or write_images access scope.
EXEC CreateFile OriginalSource='https://www.cdata.com/ui/img/og-img-cdata-logo.png'
EXEC CreateFile OriginalSource='https://www.cdata.com/ui/img/og-img-cdata-logo.png', FileName='cdata-logo.png', Description='cdata-logo-new', ContentType='IMAGE', DuplicateResolutionMode='REPLACE'
| Name | Type | Description |
| OriginalSource | String | An external URL (for images only) or a staged upload URL. |
| FileName | String | When provided, the file will be created with the given filename, otherwise the filename in the originalSource will be used. |
| Description | String | The alternative text description of the file. |
| ContentType | String | The file content type. If omitted, then Shopify will attempt to determine the content type during file processing. |
| DuplicateResolutionMode | String | How to handle if filename is already in use.
The allowed values are APPEND_UUID, RAISE_ERROR, REPLACE. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
| Status | String | The status of the file. |
Merges a set or multiple sets of fulfillment orders together into one based on line item inputs and quantities.
| Name | Type | Description |
| MergeIntents | String | Temp table or aggregate (json/xml) array of objects containing fulfillmentOrderId, fulfillmentOrderLineItemId and fulfillmentOrderLineItemQuantity. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderId | String | The id of the new fulfillment order as a result of the merge. |
Splits a fulfillment order or orders based on line item inputs and quantities.
| Name | Type | Description |
| FulfillmentOrderId | String | The ID of the fulfillment order to be split. |
| FulfillmentOrderLineItemIDs | String | A comma separated list of IDs corresponding to the FulfillmentOrderLineItems to be split out. |
| FulfillmentOrderLineItemQuantities | String | A comma separated list of quantities corresponding to each FulfillmentOrderLineItem to be split out. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderId | String | The id of the original fulfillment order as a result of the split. |
| RemainingFulfillmentOrderId | String | The id of the remaining fulfillment order as a result of the split. |
| ReplacementFulfillmentOrderId | String | The id of the replacement fulfillment order if the original fulfillment order wasn't in a state to be split. |
Apply changes to inventory quantities.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| InventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| Delta | Int | The amount by which the inventory quantity will be changed. |
| Name | Type | Description |
| Name | String | The quantity name to be adjusted.
The allowed values are available, damaged, quality_control, reserved, safety_stock. |
| Reason | String | The reason for the quantity changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| InventoryAdjustChanges | String | The quantity changes of items at locations to be made. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | The ID of the group of changes made by the operation. |
Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| Activate | Bool | Whether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location. |
| LocationId | String | The ID of the location to modify the inventory item's stocked status. |
| Name | Type | Description |
| InventoryItemId | String | The ID of the inventory item to modify the activation status locations for. |
| InventoryItemUpdates | String | A list of pairs of locations and activate status to update for the specified inventory item. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| InventoryItemId | String | The ID of the inventory item to modify the activation status locations for. |
| InventoryLevelIds | String | The activated inventory levels. |
Moves inventory between inventory quantity names at a single location.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| Quantity | Int | The amount by which the inventory quantity will be changed. |
| FromName | String | The quantity name to be moved. |
| FromInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| FromLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| ToName | String | The quantity name to be moved. |
| ToInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| ToLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| Name | Type | Description |
| Reason | String | The reason for the quantity changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| InventoryMoveChanges | String | The quantity changes of items at locations to be made. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | The ID of the group of changes made by the operation. |
Set quantities of specified name using absolute values.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the quantity will be set. |
| InventoryLevelLocationId | String | Specifies the location at which the quantity will be set. |
| CompareQuantity | Int | The current quantity to be compared against the persisted quantity. |
| Quantity | Int | The quantity to which the inventory quantity will be set. |
| Name | Type | Description |
| Name | String | The name of quantities to be changed.
The allowed values are available, on_hand. |
| Reason | String | The reason for the quantity changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| IgnoreCompareQuantity | Boolean | Skip the compare quantity check in the quantities field. |
| InventorySetChanges | String | The values to which each quantities will be set. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | The ID of the group of changes made by the operation. |
Set up scheduled changes of inventory items.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| InventoryLevelLocationId | String | The ID of the location. |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| InventorySetScheduledItemChanges (references InventorySetScheduledItemChanges) | String | An array of all the scheduled changes for the item. |
| Column Name | Type | Description |
| FromName | String | The quantity name to transition from. |
| ToName | String | The quantity name to transition to. |
| ExpectedAt | Datetime | The date and time that the scheduled change is expected to happen. |
| Name | Type | Description |
| Reason | String | The reason for setting up the scheduled changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| InventorySetScheduledItems | String | The list of all the items on which the scheduled changes need to be applied. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| ScheduledChanges | String | The scheduled changes that were created. |
Cancels an order.
| Name | Type | Description |
| NotifyCustomer | Bool | Whether to send a notification to the customer about the order cancellation. |
| OrderId | String | The ID of the order to be canceled. |
| Reason | String | The reason for canceling the order.
The allowed values are CUSTOMER, DECLINED, FRAUD, INVENTORY, OTHER, STAFF. |
| Refund | Bool | Whether to refund the amount paid by the customer. |
| Restock | Bool | Whether to restock the inventory committed to the order. |
| StaffNote | String | A staff-facing note about the order cancellation. This is not visible to the customer. |
| WaitJob | Bool | The Store Procedure will wait until the Job is done.
The default value is true. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| JobID | String | The Job Id. |
| Status | String | The status of the Job. |
Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the cancellation request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| Reason | String | Whether the customer should be notified when fulfillments are created for this fulfillment order.
The allowed values are INCORRECT_ADDRESS, INELIGIBLE_PRODUCT, INVENTORY_OUT_OF_STOCK, OTHER, UNDELIVERABLE_DESTINATION. |
| LineItems | String | An optional array of line item rejection details. If none are provided, all line items will be assumed to be unfulfillable.. Ex: [{fulfillmentOrderLineItemId: 'xxx', message: 'xx'}] |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Sends a cancellation request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Sends a fulfillment request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with a fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| NotifyCustomer | String | Whether the customer should be notified when fulfillments are created for this fulfillment order. |
| ShippingMethod | String | A reference to the ShippingMethod code, such as FREE_SHIPPING. |
| FulfillmentOrderLineItems | String | The fulfillment order line items to be requested for fulfillment. If left blank, all line items of the fulfillment order are requested for fulfillment. Ex: [{id: 'xxx', quantity: 1}] |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Trigger the voiding of an uncaptured authorization transaction.
| Name | Type | Description |
| ParentTransactionId | String | An uncaptured authorization transaction. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| TransactionId | String | The created void transaction. |
Updates an existing file asset that was uploaded to Shopify.
Note: requires write_files access scope or write_themes access scope.
EXEC UpdateFile Id='gid://shopify/MediaImage/24974406549527', OriginalSource='https://files.cdata.com/media/media/4rwcdun5/generic-data-management.png', FileName='cdata-logo-new-0.png', Description='cdata-logo-new'
| Name | Type | Description |
| Id | String | The ID of the file to be updated. |
| FileName | String | The name of the file including its extension. |
| Description | String | The alternative text description of the file. |
| OriginalSource | String | The source from which to update a media image or generic file. An external URL (for images only) or a staged upload URL. |
| PreviewImageSource | String | The source from which to update the media preview image. May be an external URL or a staged upload URL. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
| Status | String | The status of the file. |
The CData Cloud models entities in the Shopify API as an easy-to-use SQL database, using tables, views, and stored procedures. These are defined in schema files, which are simple, easy-to-read text files that define the structure and organization of data.
Note: Shopify typically releases new API versions quarterly. If a stable API version is no longer supported, Shopify automatically defaults to the oldest supported stable version to respond to your API request. For more information on Shopify's API versioning, click this link.
See REST Data Model for the available entities in the REST API.
See GRAPHQL Data Model for the available entities in the GraphQL API.
The CData Cloud models the Shopify API as relational tables, views, and stored procedures.
To use the REST Data Model, simply set Schema to REST.
Note: As of October 1, 2024, Shopify has designated the REST API as legacy.
The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.
Common tables include:
| Table | Description |
| Shop | Contains general settings and information about the shop. |
| Customers | Create, update, delete, and query customers. |
| CustomerAddresses | Create, update, delete, and query customer addresses. |
| Orders | Create, update, delete, and query orders. |
| OrdersItems | Query order items. |
| OrderTransactions | Create, update, delete, and query transactions. |
| Refunds | Create, update, delete, and query refunds. |
| RefundsItems | Get data on OrdersItems that have been refunded. |
| Redirects | Create, update, delete, and query redirects. |
| Collects | Query, insert, or delete information regarding different collects. |
| DiscountCodes | Create, select, update, and delete information regarding discount codes. |
| PriceRules | Create, update, delete, and query price rules. |
| DraftOrders | Create, update, delete, and query draft orders. |
| DraftOrderItems | Query draft order items. |
| Fulfillments | Create, update, and query fulfillments. |
| FulfillmentOrders | Query fulfillment orders. |
| FulfillmentEvents | Create, delete, and query information regarding fulfillment events. |
| Locations | Retrieve information regarding store locations. |
| TaxItems | Query order taxes. |
| Users | Query Users. |
Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing order cancellations and fulfillments, sending invoices, and handling authentication flows.
The Cloud models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.
| Name | Description |
| ApplicationCharges | Create or view Application Charges for Billing. |
| ApplicationCredit | Create or view Application Credit for Billing. |
| Articles | Create, read, update or delete articles |
| Assets | Create, read, update or delete assets. CUD support is no longer accessible for public apps. |
| Blogs | Create, read, update or delete blogs |
| CarrierServices | Returns a list of resource feedback objects.. |
| CollectionListings | Query and delete information regarding different collects. |
| Collects | Query, insert, or delete information regarding different collects. |
| Comments | Create, read, update and delete the comments. |
| CustomCollections | Query, insert, update, or delete information regarding different custom collections. |
| CustomerAddresses | Create, update, delete, and query customer addresses. |
| Customers | Create, update, delete, and query customers. |
| DiscountCodes | Create, select, update, and delete information regarding discount codes. |
| DraftOrders | Create, update, delete, and query draft orders. |
| FulfillmentEvents | Create, delete, and query information regarding fulfillment events. |
| Fulfillments | Create, update, and query fulfillments. |
| FulfillmentServices | Query, create, update, and delete information regarding different fulfillment services. |
| GiftCards | Create, update, delete, and query gift cards. |
| MarketingEvents | Create, update, delete, and query marketing events. |
| Metafields | Retrieves a list of metafields that belong to a resource. |
| Orders | Create, update, delete, and query orders. |
| OrderTransactions | Create and query transactions. |
| Pages | Create, read, update or delete pages |
| PriceRules | Create, update, delete, and query price rules. |
| RecurringApplicationCharges | Create, update, delete, and query Recurring Application Charges. |
| Redirects | Create, read, update or delete redirects. |
| Refunds | Create and query refunds. |
| ResourceFeedbacks | Returns a list of resource feedback objects.. |
| ScriptTags | Create, read, update or delete script tags. |
| SmartCollections | Query, insert, update, or delete information regarding different smart collections. |
| Themes | Create, read, update or delete themes |
| UsageCharges | Create or view Usage Charges for Recurring Application Charges. |
Create or view Application Charges for Billing.
SELECT * FROM ApplicationCharges WHERE Id = '123'
INSERT INTO ApplicationCharges ( Test ) VALUES ( 'true' )
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The Unique Identifier of the Application Charge | |
| Name | String | False |
The Order Number | |
| ApiClientId | Long | True |
The API Client ID | |
| Price | Decimal | False |
The price of the application charge | |
| Status | String | True |
The status of the application charge. Valid Values are: pending, active, declined, expired | |
| ReturnUrl | String | False |
The URL where the merchant is redirected after accepting a charge. | |
| Test | String | False |
Whether the application charge is a test transaction. Valid values:true,null | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the application charge was created. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the application charge was last updated. | |
| ChargeType | String | True |
The type of the application charge | |
| DecoratedReturnUrl | String | True |
The decorated return url |
Create or view Application Credit for Billing.
SELECT * FROM ApplicationCredit WHERE Id = '123'
INSERT INTO ApplicationCredit (Amount, Description, Test) VALUES ('100', 'success or failure', 'true')
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the application credit. | |
| Amount | Decimal | False |
The amount refunded by the application credit. | |
| Description | String | False |
The description of the application credit. | |
| Test | String | False |
Whether the application credit is a test transaction. Valid values: true,null |
Create, read, update or delete articles
SELECT * FROM Articles
SELECT * FROM Articles WHERE Id = '123'
You must specify the Title to create an Article.
INSERT INTO Articles (BlogId, Author, Title) VALUES ('599421749', 'Adam', 'New Article')
You must specify the blog id and id to update an article. For example:
UPDATE Articles SET Author = 'Harry' WHERE BlogId = '599421749' AND Id = '5557081211'
You must specify the Id and the Blog Id of the article to delete it.
DELETE FROM Articles WHERE BlogId = '599421749' AND Id = '5556952105'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the article. | |
| BlogId [KEY] | Long | False |
Blogs.Id |
The ID of the blog containing the article. |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Author | String | False |
The name of the author of the article. | |
| BodyHtml | String | False |
The text of the body of the article, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the article was created. | |
| Handle | String | False |
A human-friendly unique string for the article that's automatically generated from the article's title. The handle is used in the article's URL. | |
| ImageAlt | String | False |
Alternative text that describes the image. | |
| ImageCreatedAt | Datetime | True |
The date and time when image is created. | |
| ImageHeight | Int | False |
Height of the image. | |
| ImageSrc | String | False |
A source URL that specifies the location of the image. | |
| ImageWidth | Int | False |
Width of the image. | |
| ImageAttachment | String | False |
An image attached to article returned as Base64-encoded binary data. | |
| PublishedAt | Datetime | False |
The date and time (ISO 8601 format) when the article was published. | |
| SummaryHtml | String | False |
A summary of the article, complete with HTML markup. | |
| Tags | String | False |
Tags are additional short descriptors formatted as a string of comma-separated values. | |
| TemplateSuffix | String | False |
The name of the template an article is using if it's using an alternate template. If an article is using the default article.liquid template, then the value returned is null. | |
| Title | String | False |
The title of the article. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the article was last updated. | |
| UserId | Long | True |
A unique numeric identifier for the author of the article. | |
| PublishedStatus | String | False |
Filter articles by their publish status. The allowed values are published, unpublished, any. |
Create, read, update or delete assets. CUD support is no longer accessible for public apps.
SELECT * FROM Assets WHERE Key = 'assets/abc.gif'
You must specify the Theme Id and Key to insert an Asset. For example:
INSERT INTO Assets(Key, Value, ThemeId) VALUES('assets/abc.gif', '', '282977')
You must specify the Theme Id and Key to update an Asset. For example:
UPDATE Assets SET value = 'pqrs' WHERE Key = 'assets/abc.gif' AND ThemeId = '282977'
You must specify the Id and the Theme Id of the Asset to delete it.
DELETE FROM Assets WHERE Key = 'assets/abc.gif' AND ThemeId = '282977'
| Name | Type | ReadOnly | References | Description |
| Key [KEY] | String | False |
The path to the asset within a theme. | |
| ThemeId [KEY] | Long | True |
Themes.Id |
The ID for the theme that an asset belongs to. |
| Attachment | String | False |
A base64-encoded image. | |
| Checksum | String | True |
The MD5 representation of the content, consisting of a string of 32 hexadecimal digits. May be null if an asset has not been updated recently. | |
| ContentType | String | True |
The MIME representation of the content, consisting of the type and subtype of the asset. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the asset was created. | |
| PublicUrl | String | True |
The public-facing URL of the asset. | |
| Size | Int | True |
The asset size in bytes. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when an asset was last updated. | |
| Value | String | False |
The text content of the asset, such as the HTML and Liquid markup of a template file. |
Create, read, update or delete blogs
SELECT * FROM Blogs WHERE Id = '123'
SELECT * FROM Blogs WHERE Id IN ('123', '345')
SELECT * FROM Blogs WHERE Handle = 'new-blog-5927';
SELECT * FROM Blogs WHERE Handle IN ('new-blog-5927', 'new-blog-5926');
You must specify the Title to create a Blog.
INSERT INTO Blogs (title) VALUES ('new blog')
INSERT INTO Blogs (Title, Metafields) VALUES ('new blog','[{"key":"sponsor","value":"shopify","type":"single_line_text_field","namespace":"global"}]')
You must specify the id to update a Blog. For example:
UPDATE Blogs SET title = 'new blog' WHERE Id = '77171130'
UPDATE Blogs SET Metafields='[{"key":"sponsor","value":"shopify","type":"single_line_text_field","namespace":"global"}]' WHERE Id='77171130'
You must specify the Id of the Blog to delete it.
DELETE FROM Blogs WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the blog. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Commentable | String | False |
Indicates whether readers can post comments to the blog and if comments are moderated or not. The allowed values are no, yes, moderate. | |
| CreatedAt | Datetime | True |
The date and time when the blog was created. | |
| Feedburner | String | False |
Feedburner is a web feed management provider and can be enabled to provide custom RSS feeds for Shopify bloggers. This property will default to blank or null unless feedburner is enabled through the shop admin. | |
| FeedburnerLocation | String | False |
URL to the feedburner location for blogs that have enabled feedburner through their store admin. This property will default to blank or null unless feedburner is enabled through the shop admin. | |
| Handle | String | False |
A human-friendly unique string for a blog automatically generated from its title. | |
| Metafields | String | False |
Attaches additional metadata to a store's resources. | |
| Tags | String | False |
Tags are additional short descriptors formatted as a string of comma-separated values. | |
| TemplateSuffix | String | False |
States the name of the template a blog is using if it is using an alternate template. If a blog is using the default blog.liquid template, the value returned is null. | |
| Title | String | False |
The title of the blog. | |
| UpdatedAt | Datetime | True |
The date and time when changes were last made to the blog's properties. |
Returns a list of resource feedback objects..
SELECT * FROM CarrierServices
SELECT * FROM CarrierServices WHERE Id = '123'
SELECT * FROM CarrierServices WHERE Id IN ('123', '235');
You must specify path and target to create a Redirect.
INSERT INTO [CarrierServices] (Name, Type, CallbackUrl) VALUES ('ApiServiceType', 'api', 'https://test.com');
You must specify the id to update a Redirect. For example:
UPDATE [CarrierServices] SET [Active] = 'false' WHERE [Id] = 59103608855;
You must specify the Id of the Redirect to delete it.
DELETE FROM [CarrierServices] WHERE [Id] = 59103608855;
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the carrier service. | |
| Active | Bool | False |
Whether this carrier service is active. If true, then the service will be available to serve rates in checkout. | |
| Name | String | False |
The name of the shipping service as seen by merchants and their customers. | |
| CallbackUrl | String | False |
The URL endpoint that Shopify needs to retrieve shipping rates. This must be a public URL. | |
| Type | String | False |
Distinguishes between API or legacy carrier services. | |
| Format | String | False |
The format of the data returned by the URL endpoint. json is the only valid value. | |
| ServiceDiscovery | String | False |
Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples. | |
| AdminGraphqlApiId | String | False |
The GraphQL GID for this carrier service. |
Query and delete information regarding different collects.
SELECT * FROM CollectionListings WHERE Id = '123'
You must specify the Id of the collection listing to delete it.
DELETE FROM CollectionListings WHERE id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The Id of the collection this listing belongs to. | |
| Title | String | True |
The titke of the collection listing. | |
| BodyHtml | String | True |
The HTML body/description for this listing. | |
| DefaultProductImage | String | True |
The default product image in this listing. | |
| ImageCreatedAt | String | True |
The date and time the image for this listing was created at. | |
| ImageSource | String | True |
The source/link of the image for this listing. | |
| Handle | String | True |
The handle of this listing. | |
| UpdatedAt | Datetime | True |
The date and time when the collection listing was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the collection listing was created. |
Query, insert, or delete information regarding different collects.
SELECT * FROM Collects WHERE Id = '123'
You must specify the ProductId and CollectionId to create a collect.
INSERT INTO Collects (ProductId, CollectionId) VALUES ('512433520663', '22892937239')
You must specify the Id of the collect to delete it.
DELETE FROM Collects WHERE id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the collect. | |
| CollectionId | Long | False |
The Id of the collection this collection is linked with. | |
| ProductId | Long | False |
The Id of the product this collection is linked with. | |
| Position | Int | True |
The position of this product in a manually sorted custom collection. The first position is 1. This value is applied only when the custom collection is sorted manually. | |
| SortValue | String | True |
This is the same value as position but padded with leading zeroes to make it alphanumeric-sortable. | |
| CreatedAt | Datetime | True |
The date and time when the collect was created. | |
| UpdatedAt | Datetime | True |
The date and time when the collect was last modified. |
Create, read, update and delete the comments.
SELECT * FROM Comments WHERE Id = '123'
You must specify Article Id, Author, Body, Email to create a Comment.
INSERT INTO Comments (articleid, author, body, email) VALUES ('5557001', 'Harry', 'test', '[email protected]')
You must specify the Id to update a Comment. For example:
UPDATE Comments SET Author = 'Adam' WHERE Id = '77171130'
You must specify the Id of the Comments to delete it.
DELETE FROM Comments WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the comment. | |
| BlogId | Long | False |
Blogs.Id |
A unique numeric identifier for the blog containing the article that the comment belongs to. |
| ArticleId | Long | False |
Articles.Id |
A unique numeric identifier for the article that the comment belongs to. |
| Author | String | False |
The name of the author of the comment. | |
| Body | String | False |
The basic Textile markup of a comment. | |
| BodyHtml | String | False |
The text of the comment, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the comment was created. | |
| String | False |
The email address of the author of the comment. | ||
| Ip | String | False |
The IP address from which the comment was posted. | |
| PublishedAt | String | False |
The date and time (ISO 8601 format) when the comment was published. | |
| Status | String | True |
The status of the comment. The allowed values are pending, approved, unapproved, spam, published, removed. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the comment was last modified. | |
| UserAgent | String | False |
The user agent string provided by the software used to create the comment. | |
| PublishedStatus | String | False |
Filter comments by their publish status. The allowed values are published, unpublished, any. |
Query, insert, update, or delete information regarding different custom collections.
For example, the following queries are processed server-side.
SELECT * FROM CustomCollections WHERE Id = '123'
SELECT * FROM CustomCollections WHERE Id IN ('123', '456')
SELECT * FROM CustomCollections WHERE ProductId = '123'
SELECT * FROM CustomCollections WHERE Title = 'Ducks'
SELECT * FROM CustomCollections WHERE Handle = 'frontpage'
SELECT * FROM CustomCollections WHERE Handle IN ('frontpage', 'lastpage')
SELECT * FROM CustomCollections WHERE PublishedStatus = 'published'
SELECT * FROM CustomCollections WHERE UpdatedAt > '2018-05-02'
SELECT * FROM CustomCollections WHERE PublishedAt < '2017-08-15'
You must specify the Title to create a custom collection.
INSERT INTO CustomCollections (Title) VALUES ('Macbooks')
INSERT INTO CustomCollections (Title, Published) VALUES ('Macbooks', false)
You must specify the custom collection Id to update a custom collection. For example:
UPDATE CustomCollections SET Title = 'Updated title' WHERE Id = '123'
You must specify the Id of the custom collection to delete it.
DELETE FROM CustomCollections WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the custom collection. | |
| Title | String | False |
The title of the custom collection. | |
| BodyHtml | String | False |
The body/description of the custom collection. | |
| Image | String | False |
A JSON aggregate with information regarding the image of custom collection. | |
| Metafields | String | False |
Attaches additional metadata to a shop's resources: key: An identifier for the metafield. (maximum: 30 characters), namespace: A container for a set of metadata. Namespaces help distinguish between metadata created by different apps. (maximum: 20 characters), value: Information to be stored as metadata, value_type: The information type being stored. Valid values: string or integer, description (optional): Additional information about the metafield . | |
| Handle | String | False |
A human-friendly unique string for the custom collection automatically generated from its title. | |
| SortOrder | String | False |
The order in which products in the custom collection appear. | |
| TemplateSuffix | String | False |
The suffix of the liquid template being used. | |
| PublishedScope | String | False |
The sales channels in which the custom collection is visible. | |
| UpdatedAt | Datetime | True |
The date and time when the custom collection was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the custom collection was published to the Online Store channel. | |
| ProductId | String | False |
Show custom collections that include a given product. | |
| PublishedStatus | String | False |
Show custom collection with a given published status: published: show only published custom collections, unpublished: show only unpublished custom collections, any: show custom collections of any published status. (default: any). The allowed values are published, unpublished, any. |
Create, update, delete, and query customer addresses.
For example, the following queries are processed server-side:
SELECT * FROM CustomerAddresses WHERE CustomerId = '123'
SELECT * FROM CustomerAddresses WHERE CustomerId IN ('123', '456')
SELECT * FROM CustomerAddresses WHERE CustomerUpdatedAt >= '2018-05-04'
You must specify the customer Id to create an address.
INSERT INTO CustomerAddresses (CustomerId, Address1, City, Company) VALUES ('123', '1 Rue des Carrieres', 'Suite 1234', 'Montreal')
You must specify the customer Id and the Id of the customer address to update an address.
UPDATE CustomerAddresses SET Zip = '90210' WHERE CustomerId = '123' AND Id = '456'
You must specify the customer Id and the Id of the customer address to delete an address. You cannot delete a customer's default address.
DELETE FROM CustomerAddresses WHERE CustomerId = '183467180055' AND Id = '292265787415'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the address. | |
| CustomerId [KEY] | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| CustomerUpdatedAt | Datetime | True |
The date and time when the customer information was last updated. | |
| Name | String | False |
The customer's name. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| Company | String | False |
The customer's company. | |
| Address1 | String | False |
The customer's mailing address. | |
| Address2 | String | False |
An additional field for the customer's mailing address. | |
| City | String | False |
The customer's city. | |
| Province | String | False |
The customer's province or state name. | |
| Country | String | False |
The customer's country. | |
| Zip | String | False |
The customer's zip or postal code. | |
| Phone | String | False |
The customer's phone number for this mailing address. | |
| ProvinceCode | String | False |
The two-letter pcode for the customer's province or state. | |
| CountryCode | String | False |
The two-letter country code corresponding to the customer's country. | |
| CountryName | String | False |
The customer's normalized country name. | |
| Default | Bool | True |
Indicates whether this address is the default address for the customer. |
Create, update, delete, and query customers.
SELECT * FROM Customers WHERE Id = '123'
SELECT * FROM Customers WHERE Id IN ('123', '456')
SELECT * FROM Customers WHERE CreatedAt >= '2017-10-25'
SELECT * FROM Customers WHERE CreatedAt <= '2017-10-25'
SELECT * FROM Customers WHERE UpdatedAt <= '2017-10-25'
SELECT * FROM Customers WHERE UpdatedAt >= '2017-10-25'
SELECT * FROM Customers WHERE FirstName = 'abc'
SELECT * FROM Customers WHERE LastName = 'xyz'
SELECT * FROM Customers WHERE Email = '[email protected]'
SELECT * FROM Customers WHERE OrdersCount = 5
SELECT * FROM Customers WHERE Phone = '999999999'
SELECT * FROM Customers WHERE VerifiedEmail = true
SELECT * FROM Customers WHERE UpdatedAt = '2017-10-25'
The Email field is required to insert.
INSERT INTO Customers (Email, Phone) VALUES ('[email protected]', '+15142546011')
INSERT INTO Customers (Email, Phone, SendEmailInvite) VALUES ('[email protected]', '+15142546011', true)
You must specify the Id of the customer to update a customer.
UPDATE Customers SET Note = 'Customer is a great guy' WHERE Id = '123'
UPDATE Customers SET Tags = 'New Customer, Repeat Customer' WHERE Id = '123'
You must specify the Id of the customer to delete a customer.
DELETE FROM Customers WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the customer. | |
| LastOrderId | Long | True |
Orders.Id |
The id of the customer's last order. |
| LastOrderName | String | True |
The name of the customer's last order. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| String | False |
The unique email address of the customer. | ||
| Phone | String | False |
The unique phone number for this customer. | |
| TaxExempt | Bool | False |
Indicates whether the customer should be charged taxes when placing orders. | |
| TotalSpent | Decimal | True |
The total amount of money that the customer has spent at the shop. | |
| OrdersCount | Int | True |
The number of orders associated with this customer. | |
| MultipassIdentifier | String | True |
The customer's identifier used with Multipass login. | |
| Note | String | False |
A note about the customer. | |
| EmailMarketingState | String | False |
The current email marketing state for the customer. | |
| EmailMarketingLevel | String | False |
The marketing subscription opt-in level. | |
| EmailMarketingUpdatedAt | Datetime | False |
The date and time when the customer consented to receive marketing material by email. | |
| State | String | True |
The state of the customer's account in a shop. | |
| Tags | String | False |
The tags for this customer. Separate with comma for multiple tags. | |
| VerifiedEmail | Bool | True |
States whether or not the email address has been verified. | |
| CreatedAt | Datetime | True |
The date and time when the customer was created. | |
| UpdatedAt | Datetime | True |
The date and time when the customer information was updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Password | String |
Password of the customer. |
| PasswordConfirmation | String |
Password confirmation of the customer. |
| SendEmailWelcome | Bool |
Whether to send a welcome email to the customer or not. |
| SendEmailInvite | Bool |
Whether to send an invite email to the customer or not. |
Create, select, update, and delete information regarding discount codes.
For example, the following queries are processed server-side:
SELECT * FROM DiscountCodes WHERE PriceRuleId = '123'
SELECT * FROM DiscountCodes WHERE PriceRuleId = '123' AND Id = '456'
You must specify the PriceRuleId and Code to create a discount code.
INSERT INTO DiscountCodes (PriceRuleId, Code) VALUES ('290807676951', 'SUMMERSALE100OFF')
You must specify the PriceRuleId and Id to update a discount code. For example:
UPDATE DiscountCodes SET Code = 'WINTERSALE500OFF' WHERE PriceRuleId = '123' AND Id = '456'
You must specify the Id of the custom collection to delete it.
DELETE FROM DiscountCodes WHERE PriceRuleId = '123' AND Id = '456'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the discount code. | |
| PriceRuleId [KEY] | Long | False |
PriceRules.Id |
The Id for the price rule that this discount code belongs to. |
| Code | String | False |
The case-insensitive discount code that customers use at checkout. | |
| UsageCount | Int | True |
The number of times that the discount code has been redeemed. | |
| CreatedAt | Datetime | True |
The date and time when the discount code was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount code was last modified. |
Create, update, delete, and query draft orders.
The Cloud uses the Shopify API to process search criteria that refer to the Id, Status, and UpdatedAt columns. The supported SQL operators are "=" and "IN" for Id, "=" for Status, and ">" and "<" for UpdatedAt. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DraftOrders WHERE Id = '123'
SELECT * FROM DraftOrders WHERE Id IN ('123', '456')
SELECT * FROM DraftOrders WHERE Status = 'completed'
SELECT * FROM DraftOrders WHERE UpdatedAt > '2018-02-05'
Create a simple draft order with only a product variant Id using aggregates.
INSERT INTO DraftOrders (LineAggregate) VALUES ('[{\"variant_id\":\"4236041945111\",\"quantity\":2},{\"variant_id\":\"4236069011479\",\"quantity\":3}]')
Create a simple draft order with only a product variant Id using temporary table.
The temporary table you are populating is dynamic and will be created at run time the first time you insert to it. Temporary tables are denoted by a # appearing in their name. When using a temporary table to insert, the temporary table must be named in the format [TableName]#TEMP, where TableName is the name of the table you will be inserting to. For instance:
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('123', 2)
Once your temporary table is populated, it is now time to insert to the actual table in Shopify. You can do this by performing an INSERT to the actual table and setting as a value for LinesAggregate the name of the temporary table. For instance:
INSERT INTO DraftOrders (LineAggregate) VALUES ('OrdersItems#TEMP')
Create a custom draft order using aggregates.
INSERT INTO DraftOrders (LineAggregate, CustomerId, UseCustomerDefaultAddress) VALUES ('[{\"title\":\"Custom Tee\",\"price\":20.15,\"quantity\":5}]', '709015339031', true)
Create a custom draft order using temporary table.
INSERT INTO OrdersItems#TEMP (ItemTitle, ItemPrice, ItemQuantity) VALUES ('Custom Tee', 20.15, 5)
INSERT INTO DraftOrders (LineAggregate, CustomerId, UseCustomerDefaultAddress) VALUES ('OrdersItems#TEMP', '709015339031', true)
Add a Note to a draft order:
UPDATE DraftOrders SET Note = 'Customer contacted us about a custom engraving on this iPod' WHERE Id = '123'
Set a discount on a draft order:
UPDATE DraftOrders SET AppliedDiscountDescription = 'Custom discount', AppliedDiscountValueType = 'percentage', AppliedDiscountValue = 10.0, AppliedDiscountAmount = 19.90, AppliedDiscountTitle = 'Custom' WHERE Id = '123'
You must specify the Id of the draft order to delete it.
DELETE FROM DraftOrders WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the order. | |
| CustomerId | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| String | False |
The customer's email address. | ||
| Name | String | True |
The customer's order name as represented by a number. | |
| TotalPrice | Decimal | True |
The sum of all the prices of all the items in the order, taxes and discounts included. | |
| SubtotalPrice | Decimal | True |
Price of the order before shipping and taxes. | |
| TotalTax | Decimal | False |
The sum of all the taxes applied to the order. | |
| TaxesIncluded | Bool | False |
States whether or not taxes are included in the order subtotal. | |
| InvoiceSentAt | Datetime | True |
This auto-generated property is the date and time when the invoice was emailed to the customer. Only available for draft orders. | |
| Note | String | False |
The text of an optional note that a shop owner can attach to the order. | |
| Tags | String | False |
Additional short descriptors. | |
| InvoiceUrl | String | True |
The URL for the invoice. Only available for draft orders. | |
| TaxExempt | Bool | True |
States whether or not taxes are exempt for this order. Only available for draft orders. | |
| Status | String | True |
The status of the order. Valid values are: open (all open orders), invoice_sent (only closed orders), and completed (cancelled orders). Defaults to 'open'. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the draft order. | |
| BillingAddressFirstName | String | False |
The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | False |
The last name of the person associated with the payment method. | |
| BillingAddressAddress1 | String | False |
The street address of the billing address. | |
| BillingAddressAddress2 | String | False |
An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | False |
The phone number at the billing address. | |
| BillingAddressCity | String | False |
The city of the billing address. | |
| BillingAddressCompany | String | False |
The company of the person associated with the billing address. | |
| BillingAddressZip | String | False |
The zip or postal code of the billing address. | |
| BillingAddressProvince | String | False |
The name of the state or province of the billing address. | |
| BillingAddressCountry | String | False |
The name of the country of the billing address. | |
| BillingAddressLatitude | Double | False |
The latitude of the billing address. | |
| BillingAddressLongitude | Double | False |
The longitude of the billing address. | |
| BillingAddressName | String | False |
The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | False |
The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | False |
The first name of the person associated with the shipping method. | |
| ShippingAddressLastName | String | False |
The last name of the person associated with the shipping method. | |
| ShippingAddressAddress1 | String | False |
The street address of the shipping address. | |
| ShippingAddressAddress2 | String | False |
An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | False |
The phone number at the shipping address. | |
| ShippingAddressCity | String | False |
The city of the shipping address. | |
| ShippingAddressCompany | String | False |
The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | False |
The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | False |
The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | False |
The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | False |
The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | False |
The longitude of the shipping address. | |
| ShippingAddressName | String | False |
The full name of the person associated with the shipping method. | |
| ShippingAddressCountryCode | String | False |
The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| AppliedDiscountTitle | String | False |
The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | False |
The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | False |
The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | False |
The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | False |
The amount of the applied discount for this order. Only available for draft orders. | |
| CreatedAt | Datetime | True |
The date and time when the order was created. | |
| UpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| CompletedAt | Datetime | True |
The date and time when the order was completed at. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| UseCustomerDefaultAddress | Bool |
Optional boolean that you can send as part of a draft order object to load customer shipping information. Valid values: true or false. |
Create, delete, and query information regarding fulfillment events.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentEvents WHERE OrderId = '123' AND FulfillmentId = '456'
SELECT * FROM FulfillmentEvents WHERE OrderId = '123' AND FulfillmentId = '456' AND Id = '789'
You must specify the OrderId, FulfillmentId, and Status to create a fulfillment event.
INSERT INTO FulfillmentEvents (Orderid, FulfillmentId, Status, Message, EstimatedDeliveryAt) VALUES ('202520330263', '206541914135', 'in_transit', 'test', '2018-08-02 10:15:25 PM')
You must specify the OrderId, FulfillmentId, and Id of the fulfillment event to delete it.
DELETE FROM FulfillmentEvents WHERE Orderid = '202520330263' AND FulfillmentId = '206541914135' AND Id = '2374424264727'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A numeric unique identifier for the fulfillment event. | |
| OrderId [KEY] | Long | False |
Orders.Id |
The id of the order the fulfillment event belongs to. |
| FulfillmentId [KEY] | Long | False |
Fulfillments.Id |
A numeric unique identifier for the fulfillment to which the fulfillment event belongs. |
| ShopId | Long | True |
Shop.Id |
A numeric unique identifier for the shop to which the fulfillment event belongs. |
| Status | String | False |
The status of the fulfillment event. Valid values are: confirmed, in_transit, out_for_delivery, delivered, failure. | |
| EstimatedDeliveryAt | Datetime | False |
The status of the fulfillment event. Valid values are: confirmed, in_transit, out_for_delivery, delivered, failure. | |
| Message | String | False |
An arbitrary message describing the status. Can be provided by a shipping carrier. | |
| City | String | False |
The city in which the fulfillment event occurred. | |
| Province | String | False |
The province in which the fulfillment event occurred. | |
| Zip | String | False |
The zip code in the location in which the fulfillment event occurred. | |
| Country | String | False |
The country in which the fulfillment event occurred. | |
| Address1 | String | False |
The fulfillment event's street address. | |
| Latitude | Double | False |
Geographic coordinate specifying the north/south location of a fulfillment event. | |
| Longitude | Double | False |
Geographic coordinate specifying the east/west location of a fulfillment event. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment event was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment event was updated. | |
| HappenedAt | Datetime | True |
The date and time when the fulfillment event occurred. |
Create, update, and query fulfillments.
For example, the following queries are processed server-side.
If you specify the unique identifier of the order, then this view will only list fulfillment information concerning that order. You can also retrieve a specific fulfillment by specifying OrderId and Id. To retrieve fulfillments associated with a fulfillment order you need to specify the FulfillmentOrderId.
SELECT * FROM Fulfillments WHERE OrderId = '5729988903171'
SELECT * FROM Fulfillments WHERE OrderId = '5729988903171' AND Id = '5165361791235'
SELECT * FROM Fulfillments WHERE FulfillmentOrderId = '6817622622467'
This view supports filtering by the CreatedAt and UpdatedAt columns on the server-side.
SELECT * FROM Fulfillments WHERE CreatedAt > '2017-10-25'
You must specify the FulfillmentOrderId column to insert a fulfillment.
Fulfill all line items.
INSERT INTO Fulfillments (FulfillmentOrderId) VALUES ('6817622622467')
Fulfill one line item using aggregates.
You must specify the fulfillment order line item id and the quantity to be fulfilled in the aggregate.
Note: To obtain the fulfillment order line item id, you can query the Id column in the FulfillmentOrderLineItems table.
INSERT INTO Fulfillments (FulfillmentOrderId, LineAggregate) VALUES ('6817622622467','[{\"id\":14179445244163,\"quantity\":5}]')
Fulfill one line item using temporary table.
The temporary table you are populating is dynamic and will be created at run time the first time you insert to it. Temporary tables are denoted by a # appearing in their name. When using a temporary table to insert, the temporary table must be named in the format [TableName]#TEMP, where TableName is the name of the table you will be inserting to. For instance:
INSERT INTO OrdersItems#Temp (ItemId, ItemQuantity) Values ('14179445244163', '5')
Once your temporary table is populated, it is now time to insert to the actual table in Shopify. You can do this by performing an INSERT to the actual table and setting as a value for LineAggregate the name of the temporary table. For instance:
Insert INTO Fulfillments (FulfillmentOrderId, LineAggregate) VALUES ('6817622622467', 'OrdersItems#TEMP')
In cases that two ore more shop locations are specified in your Shopify account the LocationId needs to be added. For instance:
Insert INTO Fulfillments (FulfillmentOrderId, LocationId, LineAggregate) VALUES ('6817622622467', '1448280087', 'OrdersItems#TEMP')
Fulfill many line items using aggregates.
INSERT INTO Fulfillments (FulfillmentOrderId, LineAggregate) VALUES ('6817622622467', '[{\"id\":14179445244163,\"quantity\":5},{\"id\":14179445276931,\"quantity\":2}]')
Fulfill many line items using temporary table.
INSERT INTO OrdersItems#Temp (ItemId, ItemQuantity) Values ('14179445244163', '5')
INSERT INTO OrdersItems#Temp (ItemId, ItemQuantity) Values ('14179445276931', '2')
INSERT INTO Fulfillments (FulfillmentOrderId, LineAggregate) VALUES ('6817622622467', 'OrdersItems#TEMP')
Fulfill all line items, notify the customer, and set a tracking number.
INSERT INTO Fulfillments (FulfillmentOrderId, TrackingNumbers, NotifyCustomer) VALUES ('6817622622467', 'FEDEX1', true)
Complete a fulfillment (you must specify the Id of the fulfillment as well).
INSERT INTO Fulfillments (FulfillmentOrderId, Id, Status) VALUES ('6817622622467', '5165361791235', 'Complete')
Transition a fulfillment from pending to open (you must specify the Id of the fulfillment as well).
INSERT INTO Fulfillments (FulfillmentOrderId, Id, Status) VALUES ('6817622622467', '5165361791235', 'Open')
Cancel a fulfillment (you must specify Id of the fulfillment as well).
INSERT INTO Fulfillments (FulfillmentOrderId, Id, Status) VALUES ('6817622622467', '5165361791235', 'Cancel')
You must specify the OrderId and Id of the fulfillment to fulfill an order.
UPDATE Fulfillments SET TrackingNumbers = 'FedEx123,UPS123' WHERE OrderId = '5729988903171' AND Id = '5165361791235'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the fulfillment. | |
| OrderId | Long | False |
Orders.Id |
A unique numeric identifier for the order. |
| LocationId [KEY] | Long | False |
A unique numeric identifier for the Location. | |
| NotifyCustomer | Bool | False |
A flag indicating whether the customer should be notified | |
| Status | String | False |
The status of the fulfillment. | |
| Receipt | String | True |
Provides information about the receipt of this fulfillment. | |
| TrackingCompany | String | False |
The name of the tracking company. | |
| TrackingNumbers | String | False |
A list of comma-separated tracking numbers, provided by the shipping company. | |
| TrackingUrls | String | False |
The sum of all the prices of all the items in the fulfillment. | |
| VariantInventoryManagement | String | True |
States the name of the inventory management service. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment was last modified. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the fulfillment. | |
| OrderUpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| OrderCreatedAt | Datetime | True |
The date and time when the order was last created. | |
| FulfillmentOrderId | Long | False |
The ID of the fulfillment order that is associated with the fulfillments. |
Query, create, update, and delete information regarding different fulfillment services.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentServices WHERE Id = '123'
You must specify the Name, CallbackUrl, and Format to create a fulfillment service.
INSERT INTO FulfillmentServices (Name, CallbackUrl, Format) VALUES ('testing fulfillment services', 'http://google.com', 'json')
You must specify the Id to update a fulfillment service. For example:
UPDATE FulfillmentServices SET Name = 'test32', IncludePendingStock = true WHERE Id = '123'
You must specify the Id of the fulfillment service to delete it.
DELETE FROM FulfillmentServices WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the fulfillment service. | |
| LocationId | Long | True |
Locations.Id |
The unique identifier of the location tied to the fulfillment service. |
| ProviderId | String | True |
A unique identifier for the fulfillment service provider. | |
| Name | String | False |
The name of the fulfillment service as seen by merchants and their customers. | |
| Handle | String | True |
A human-friendly unique string for the fulfillment service generated from its title. | |
| ServiceName | String | True |
The name of the fulfillment service. | |
| String | False |
The email of the fulfillment service. | ||
| IncludePendingStock | Bool | False |
States if the fulfillment service includes a pending stock. | |
| RequiresShippingMethod | Bool | False |
States if the fulfillment service requires products to be physically shipped. Valid values are 'true' and 'false'. | |
| TrackingSupport | Bool | False |
States if the fulfillment service provides tracking numbers for packages. | |
| InventoryManagement | Bool | False |
States if the fulfillment service tracks product inventory and provides updates to Shopify. | |
| FulfillmentOrdersOptIn | Bool | False |
States if the fulfillment orders is opt in. | |
| CallbackUrl | String | False |
States the URL endpoint that Shopify needs to retrieve inventory and tracking updates. This field is necessary if either inventory_management or tracking_support is set to | |
| Format | String | False |
Specifies the format of the API output. Valid values are json and xml. |
Create, update, delete, and query gift cards.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM GiftCards
SELECT * FROM GiftCards WHERE Id = 123
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the gift card. | |
| APIClientId | Long | True |
The ID of the client that issued the gift card. | |
| Balance | Decimal | True |
The balance of the gift card. | |
| Code | String | False |
The gift card code, which is a string of alphanumeric characters. For security reasons, this is available only upon creation of the gift card. (minimum: 8 characters, maximum: 20 characters) | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was created. | |
| Currency | String | True |
The currency of the gift card. | |
| CustomerId | Long | True |
Customers.Id |
The ID of the customer associated with this gift card. |
| DisabledAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was disabled. | |
| ExpiresOn | Date | False |
The date (YYYY-MM-DD format) when the gift card expires. Returns null if the gift card doesn't have an expiration date. | |
| InitialValue | Decimal | False |
The initial value of the gift card when it was created. | |
| LastCharacters | String | True |
The last four characters of the gift card code. Because gift cards are alternative payment methods, the full code cannot be retrieved. | |
| LineItemId | Long | True |
OrdersItems.ItemId |
The ID of the line item that initiated the creation of this gift card, if it was created by an order. |
| Note | String | False |
An optional note that a merchant can attach to the gift card that isn't visible to customers. | |
| OrderId | Long | True |
Orders.Id |
The ID of the order that initiated the creation of this gift card, if it was created by an order. |
| TemplateSuffix | String | False |
The suffix of the Liquid template that's used to render the gift card online. For example, if the value is birthday, then the gift card is rendered using the template gift_card.birthday.liquid. When the value is null, the default gift_card.liquid template is used. | |
| UserId | Long | True |
Users.Id |
The ID of the user that issued the gift card, if it was issued by a user. |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was last modified. |
Create, update, delete, and query marketing events.
SELECT * FROM MarketingEvents
SELECT * FROM MarketingEvents WHERE Id = '123'
You must specify the MarketingChannel, EventType, Paid, ReferringDomain, and StartedAt columns to create a marketing event. For example:
INSERT INTO MarketingEvents (MarketingChannel, EventType, Paid, ReferringDomain, StartedAt) VALUES ('social', 'ad', true, 'facebook.com', '2018-12-15')
You must specify the Id to update a marketing event. You can modify only timestamps, RemoteId, and budget/currency. For example:
UPDATE MarketingEvents SET RemoteId = '1000:2000', StartedAt = '2018-02-02T00:00 +00:00', EndedAt = '2018-02-03T00:00 +00:00', ScheduledToEndAt = '2018-02-04T00:00 +00:00', Budget = 11.1, BudgetType = 'daily', Currency = 'USD' WHERE Id = '123'
You must specify the Id of the marketing event to delete it.
DELETE FROM MarketingEvents WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the marketing event. | |
| RemoteId | String | False |
An optional remote identifier for a marketing event. | |
| BreadcrumbId | String | True |
An optional identifier for the breadcrumb of a marketing event. | |
| UTMCampaign | String | True |
A unique name for the UTM campaign. | |
| UTMSource | String | True |
The source of the UTM campaign. | |
| UTMMedium | String | True |
The medium of the UTM campaign. | |
| UTMContent | String | True |
The content of the UTM campaign. | |
| UTMTerm | String | True |
The term of the UTM campaign. | |
| EventTarget | String | True |
The target of the event. | |
| Description | String | True |
A description for the marketing event. | |
| MarketingChannel | String | False |
A broader marketing event type that is focused only on the channel. Must be one of the allowed values (`search`, `display`, `social`, `email`, `referral`). | |
| EventType | String | False |
The specific type of marketing event. Must be one of the allowed values (`ad`, `post`, `message`, `retargeting`, `transactional`, `affiliate`, `loyalty`, `newsletter`, `abandoned_cart`, `receipt`). | |
| Budget | Decimal | False |
The budget of the ad campaign. | |
| Paid | Bool | False |
A boolean field to specify whether this event is paid or organic. | |
| BudgetType | String | False |
The type of the budget; must be either `daily` or `lifetime`. | |
| Currency | String | False |
The currency for the budget. | |
| ManageUrl | String | True |
A link to manage the marketing event, generally in the Shopify app's interface. | |
| PreviewUrl | String | True |
A link to view the live version of the post/ad, or to view a rendered preview of the post/ad/email in the Shopify app. | |
| ReferringDomain | String | False |
The destination domain of the marketing event. Required unless MarketingChannel is one of email/referral/display. | |
| MarketedResources | String | True |
A list of the items that were marketed in the marketing event. It's a list of dictionaries with type keys and id keys. Valid values for type are: (`product`, `collection`, `price_rule`, `page`, `article`, `homepage`). All types, other than homepage, also require an id. | |
| StartedAt | Datetime | False |
The timestamp when the marketing action was started, or when the email was sent, or when the Facebook post was made live, etc. | |
| EndedAt | Datetime | False |
For events with a duration, when the event actually ended. This may differ from ScheduledToEndAt, if the ad was stopped early, etc. | |
| ScheduledToEndAt | Datetime | False |
For events with a duration, when the event was supposed to end. |
Retrieves a list of metafields that belong to a resource.
OwnerResource or the metafield Id (when executing non-bulk operations) is required for any query against Metafields.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Metafields WHERE Id = 'gid://shopify/Metafield/19334473318423'
SELECT * FROM Metafields WHERE Id IN ('gid://shopify/Metafield/19334473318423', 'gid://shopify/Metafield/19334473318424')
SELECT * FROM Metafields WHERE OwnerResource = 'product'
SELECT * FROM Metafields WHERE OwnerResource = 'variant' AND OwnerId = 'gid://shopify/ProductVariant/39378393497623'
SELECT * FROM Metafields WHERE OwnerResource = 'variant' AND OwnerId IN ('gid://shopify/ProductVariant/39378393497623', 'gid://shopify/Product/1418248224791')
The following columns can be used to create a new record:
Namespace, Key, Value, Type, OwnerId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique ID of the metafield. | |
| Namespace | String | False |
A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. | |
| Key | String | False |
The name of the metafield. | |
| Value | String | False |
The information to be stored as metadata. | |
| Type | String | False |
The metafield's information type. | |
| Description | String | False |
A description of the information that the metafield contains. | |
| OwnerId | Long | False |
The unique ID of the resource that the metafield is attached to. | |
| OwnerResource | String | False |
The type of resource that the metafield is attached to. The allowed values are shop, draft_order, page, article, order, customer, collection, blog. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the metafield was created. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the metafield was last updated. | |
| AdminGraphqlApiId | String | True |
The admin graphql api id |
Create, update, delete, and query orders.
For example, the following queries are processed server-side:
SELECT * FROM Orders WHERE Id = '123'
SELECT * FROM Orders WHERE FinancialStatus = 'pending'
SELECT * FROM Orders WHERE CreatedAt > '2017-10-25'
Create a simple order with only a product variant Id using aggregates.
INSERT INTO Orders (LineAggregate) VALUES ('[{\"variant_id\":\"4236041945111\",\"quantity\":2}]')
Create a simple order with only a product variant Id using temporary table.
The temporary table you are populating is dynamic and will be created at run time the first time you insert to it. Temporary tables are denoted by a # appearing in their name. When using a temporary table to insert, the temporary table must be named in the format [TableName]#TEMP, where TableName is the name of the table you will be inserting to. For instance:
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('123', 2)
Once your temporary table is populated, it is now time to insert to the actual table in Shopify. You can do this by performing an INSERT to the actual table and setting as a value for LinesAggregate the name of the temporary table. For instance:
INSERT INTO Orders (LineAggregate) VALUES ('OrdersItems#TEMP')
Create a simple order, sending the order receipt and fulfillment receipt to the customer using aggregates.
INSERT INTO Orders (Email, FulfillmentStatus, SendReceipt, SendFulfillmentReceipt, LineAggregate) VALUES ('[email protected]', 'fulfilled', true, true, '[{\"variant_id\":\"4236041945111\",\"quantity\":2},{\"variant_id\":\"4236069011479\",\"quantity\":3}]')
Create a simple order, sending the order receipt and fulfillment receipt to the customer using temporary table.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236041945111', 2)
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236069011479', 3)
INSERT INTO Orders (Email, FulfillmentStatus, SendReceipt, SendFulfillmentReceipt, LineAggregate) VALUES ('[email protected]', 'fulfilled', true, true, 'OrdersItems#TEMP')
Create a simple order, with taxes using aggregates.
INSERT INTO Orders (LineAggregate, TaxAggregate) VALUES ('[{\"variant_id\":\"4236041945111\",\"quantity\":2},{\"variant_id\":\"4236069011479\",\"quantity\":3}]', '[{\"price\":10.2,\"rate\":0.06,\"title\":\"State Tax\"}]')
Create a simple order, with taxes using temporary table.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236041945111', 2)
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236069011479', 3)
INSERT INTO TaxItems#TEMP (TaxItemPrice, TaxItemRate, TaxItemTitle) VALUES (10.2, 0.06, 'State Tax')
INSERT INTO Orders (LineAggregate, TaxAggregate) VALUES ('OrdersItems#TEMP', 'TaxItems#TEMP')
Create a simple order, with multiple taxes using aggregates.
INSERT INTO Orders (LineAggregate, TaxAggregate) VALUES ('[{\"variant_id\":\"4236041945111\",\"quantity\":2},{\"variant_id\":\"4236069011479\",\"quantity\":3}]', '[{\"price\":10.2,\"rate\":0.06,\"title\":\"State Tax\"},{\"price\":4.25,\"rate\":0.025,\"title\":\"County Tax\"}]')
Create a simple order, with multiple taxes using temporary table.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236041945111', 2)
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('4236069011479', 3)
INSERT INTO TaxItems#TEMP (TaxItemPrice, TaxItemRate, TaxItemTitle) VALUES (10.2, 0.06, 'State Tax')
INSERT INTO TaxItems#TEMP (TaxItemPrice, TaxItemRate, TaxItemTitle) VALUES (4.25, 0.025, 'County Tax')
INSERT INTO Orders (LineAggregate, TaxAggregate) VALUES ('OrdersItems#TEMP', 'TaxItems#TEMP')
Create a more comprehensive order using aggregates.
INSERT INTO Orders (LineAggregate) VALUES ([{\"title\":\"Big Brown Bear Boots\",\"price\":74.99,\"grams\":1300,\"quantity\":3}])
Create a more comprehensive order using temporary table.
INSERT INTO OrdersItems#TEMP (ItemTitle, ItemPrice, ItemGrams, ItemQuantity) VALUES ('Big Brown Bear Boots', 74.99, 1300, 3)
INSERT INTO Orders (LineAggregate) VALUES ('OrdersItems#TEMP')
Create a pending order with an existing customer using aggregates.
INSERT INTO Orders (LineAggregate, CustomerId, FinancialStatus) VALUES ('[{\"variant_id\":\"123\",\"quantity\":3}]', '456', 'pending')
Create a pending order with an existing customer using temporary table.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('123', 3)
INSERT INTO Orders (LineAggregate, CustomerId, FinancialStatus) VALUES ('OrdersItems#TEMP', '456', 'pending')
Create a partially paid order with a new customer and addresses using aggregates.
INSERT INTO Orders (LineAggregate, CustomerFirstName, CustomerLastName, CustomerEmail, FinancialStatus) VALUES ('[{\"variant_id\":\"123\",\"quantity\":3}]', 'Paul', 'Norman', '[email protected]', 'partially_paid')
Create a partially paid order with a new customer and addresses using temporary.
INSERT INTO OrdersItems#TEMP (ItemVariantId, ItemQuantity) VALUES ('123', 3)
INSERT INTO Orders (LineAggregate, CustomerFirstName, CustomerLastName, CustomerEmail, FinancialStatus) VALUES ('OrdersItems#TEMP', 'Paul', 'Norman', '[email protected]', 'partially_paid')
Close an order (you must specify the Id of the order).
INSERT INTO Orders (Id, Operation) VALUES ('123', 'Close')
Reopen an order (you must specify the Id of the order).
INSERT INTO Orders (Id, Operation) VALUES ('123', 'Open')
Cancel an order (you must specify the Id of the order).
INSERT INTO Orders (Id, Operation) VALUES ('123', 'Cancel')
Only columns BuyerAcceptsMarketing, Email, Phone, Note, Tags, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressPhone, ShippingAddressCity, ShippingAddressCompany, ShippingAddressZip, ShippingAddressProvince, ShippingAddressCountry, ShippingAddressLatitude, ShippingAddressLongitude, ShippingAddressName, ShippingAddressCountryCode, ShippingAddressProvinceCode and ShippingAddressDefault can be updated.
Update the shipping address of an existing order.
UPDATE Orders SET ShippingAddressAddress1 = '123 Ship Street', ShippingAddressCity = 'Shipsville' WHERE Id = '123'
Update an order's tags.
UPDATE Orders SET Tags = 'External, Inbound, Outbound' WHERE Id = '123'
You must specify the Id of the order when deleting an item from this table.
DELETE FROM Orders WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the order. | |
| Number | Long | True |
A unique identifier for the order, used by the shop owner and customer. | |
| CustomerId | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| CustomerFirstName | String | False |
The first name of the customer. | |
| CustomerLastName | String | False |
The last name of the customer. | |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| String | False |
The customer's email address. | ||
| Name | String | True |
The customer's order name as represented by a number. | |
| TotalDiscounts | Decimal | True |
The total amount of the discounts to be applied to the price of the order. | |
| TotalOrderItemsPrice | Decimal | True |
The sum of all the prices of all the items in the order. | |
| TotalPrice | Decimal | True |
The sum of all the prices of all the items in the order, taxes and discounts included. | |
| SubtotalPrice | Decimal | True |
Price of the order before shipping and taxes. | |
| TotalTax | Decimal | False |
The sum of all the taxes applied to the order. | |
| TotalWeight | Int | True |
The sum of all the weights of the line items in the order, in grams. | |
| BrowserIp | String | True |
The IP address of the browser used by the customer when placing the order. | |
| MerchantBusinessEntityId | String | True |
The ID of the business entity associated with the order. | |
| BuyerAcceptsMarketing | Bool | False |
Indicates whether or not the person who placed the order would like to receive email updates from the shop. | |
| CancelReason | String | True |
The reason why the order was canceled. | |
| CartToken | String | True |
Unique identifier for a particular cart that is attached to a particular order. | |
| OrderStatusUrl | String | True |
The URL pointing to the order status web page. | |
| Token | String | True |
Unique identifier for a particular order. | |
| TaxesIncluded | Bool | False |
States whether or not taxes are included in the order subtotal. | |
| SourceName | String | True |
Where the order originated. | |
| ReferringSite | String | True |
The website that the customer clicked on to come to the shop. | |
| Phone | String | False |
The customer's phone number. | |
| Note | String | False |
The text of an optional note that a shop owner can attach to the order. | |
| LocationId | Long | True |
The unique numeric identifier for the physical location at which the order was processed. | |
| LandingSite | String | True |
The URL for the page where the buyer landed when entering the shop. | |
| Tags | String | False |
Additional short descriptors. | |
| FulfillmentStatus | String | False |
The fulfillment status of the order. Valid values during SELECT: shipped, partial, unshipped, any, unfulfilled. Valid values during INSERT: fulfilled, null, partial, restocked. The allowed values are shipped, partial, unshipped, any, unfulfilled, fulfilled, null, restocked. | |
| FinancialStatus | String | False |
The financial status of the order. Valid values during SELECT: authorized, pending, paid, partially_paid, refunded, voided, partially_refunded, any, unpaid. Valid values during INSERT: authorized, pending, paid, partially_paid, refunded, voided, partially_refunded. The allowed values are authorized, pending, paid, partially_paid, refunded, voided, partially_refunded, any, unpaid. | |
| CustomerLocale | String | True |
The customer locale of the order. | |
| InvoiceSentAt | Datetime | True |
This auto-generated property is the date and time when the invoice was emailed to the customer. Only available for draft orders. | |
| InvoiceUrl | String | True |
The URL for the invoice. Only available for draft orders. | |
| TaxExempt | Bool | True |
States whether or not taxes are exempt for this order. Only available for draft orders. | |
| DiscountCodes | String | True |
Applicable discount codes that can be applied to the order. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the order. | |
| TaxAggregate | String | False |
A JSON aggregate of tax line items associated with the order. Note, these taxes are applied on the order, not on individual items. If you want them to be applied on individual items, use them in LineAggregate. Tax lines must be associated with either order or line item but not both. | |
| ShippingAggregate | String | False |
A JSON aggregate of shipping line items associated with the order. | |
| NoteAttributesAggregate | String | False |
A JSON aggregate of note attributes associated with the order. | |
| DiscountApplicationsAggregate | String | True |
An ordered list of stacked discount applications. | |
| BillingAddressFirstName | String | False |
The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | False |
The last name of the person associated with the payment method. | |
| BillingAddressAddress1 | String | False |
The street address of the billing address. | |
| BillingAddressAddress2 | String | False |
An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | False |
The phone number at the billing address. | |
| BillingAddressCity | String | False |
The city of the billing address. | |
| BillingAddressCompany | String | False |
The company of the person associated with the billing address. | |
| BillingAddressZip | String | False |
The zip or postal code of the billing address. | |
| BillingAddressProvince | String | False |
The name of the state or province of the billing address. | |
| BillingAddressCountry | String | False |
The name of the country of the billing address. | |
| BillingAddressLatitude | Double | False |
The latitude of the billing address. | |
| BillingAddressLongitude | Double | False |
The longitude of the billing address. | |
| BillingAddressName | String | False |
The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | False |
The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | False |
The first name of the person associated with the shipping method. | |
| ShippingAddressLastName | String | False |
The last name of the person associated with the shipping method. | |
| ShippingAddressAddress1 | String | False |
The street address of the shipping address. | |
| ShippingAddressAddress2 | String | False |
An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | False |
The phone number at the shipping address. | |
| ShippingAddressCity | String | False |
The city of the shipping address. | |
| ShippingAddressCompany | String | False |
The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | False |
The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | False |
The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | False |
The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | False |
The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | False |
The longitude of the shipping address. | |
| ShippingAddressName | String | False |
The full name of the person associated with the shipping method. | |
| ShippingAddressCountryCode | String | False |
The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| AppliedDiscountTitle | String | False |
The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | False |
The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | False |
The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | False |
The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | False |
The amount of the applied discount for this order. Only available for draft orders. | |
| PaymentTermsAmount | Long | True |
The amount that is owed according to the payment terms. | |
| PaymentTermsCurrency | String | True |
The presentment currency for the payment. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the selected payment terms template for the order. | |
| PaymentTermsPaymentTermsType | String | True |
The type of selected payment terms template for the order. | |
| PaymentTermsDueInDays | Int | True |
The number of days between the invoice date and due date that is defined in the selected payment terms template. | |
| PaymentTermsPaymentSchedules | String | True |
An array of schedules associated to the payment terms. | |
| ProcessedAt | Datetime | True |
The date and time when the order was imported, in ISO 8601 format. | |
| CreatedAt | Datetime | True |
The date and time when the order was created. | |
| ClosedAt | Datetime | True |
The date and time when the order was closed. | |
| CancelledAt | Datetime | True |
The date and time when the order was canceled. | |
| UpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| SendReceipt | Bool | False |
Determines whether an order confirmation will be sent to the customer. | |
| SendFulfillmentReceipt | Bool | False |
Determines whether a fulfillment confirmation will be sent to the customer. | |
| InventoryBehaviour | String | False |
Determines which inventory updating behavior is used. The following values are available: default, decrement_ignoring_policy, decrementobeying_policy The allowed values are default, decrement_ignoring_policy, decrementobeying_policy. | |
| Operation | String | False |
An operation to apply to the Order. Valid values for order: Close, Open, or Cancel. The allowed values are Close, Open, Cancel. | |
| TotalShippingPriceSetShopMoneyAmount | Double | True |
The amount of the shop money in the total shipping price set. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
The currency code of the shop money in the total shipping price set. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total shipping price set. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total price set. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total price set. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total tax set. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total tax set. | |
| CheckoutId | Long | True |
The checkout id. | |
| CheckoutToken | String | True |
A unique value when referencing the checkout that's associated with the order. | |
| EstimatedTaxes | Bool | True |
Estimated taxes of the order. | |
| Test | Bool | True |
Test boolean for the order. | |
| TotalOutstanding | Decimal | True |
The outstanding sum of all the items in the order. | |
| TotalTipReceived | Decimal | True |
The total tip for the order. | |
| PresentmentCurrency | String | True |
The currency code of the presentment money. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total line items price set. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total line items price set. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the discounts set. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the discounts set. | |
| TotalSubtotalSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the subtotal. | |
| TotalSubtotalSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the subtotal. | |
| OrigTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the original total additional fees set. | |
| OrigTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the original total additional fees set. | |
| CurTotalDiscountsSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total discounts set. | |
| CurTotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total discounts set. | |
| CurSubtotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current subtotal price set. | |
| CurSubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current subtotal price set. | |
| CurrentTotalTaxSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total tax set. | |
| CurrentTotalTaxSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total tax set. | |
| CurTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total additional fees set. | |
| CurTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total additional fees set. | |
| CurrentTotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total price set. | |
| CurrentTotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total price set. | |
| OriginalTotalDutiesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the original total duties set. | |
| OriginalTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the original total duties set. | |
| CurrentTotalDutiesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total duties set. | |
| CurrentTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total duties set. | |
| PaymentGatewayNames | String | True |
The list of payment gateway names | |
| FulfillmentAggregate | String | True |
A JSON aggregate of fulfillments associated with the order. Note, these fulfillments are applied on the order, not on individual items. | |
| RefundAggregate | String | True |
A JSON aggregate of refunds associated with the order. Note, these refunds are applied on the order, not on individual items. | |
| ConfirmationNumber | String | True |
A randomly generated alpha-numeric identifier for the order that may be shown to the customer instead of the sequential order name. This value isn't guaranteed to be unique. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Status | String |
Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Create and query transactions.
The Shopify APIs requires the search criteria to contain OrderId. For example, the following query is processed server-side.
SELECT * FROM OrderTransactions WHERE OrderId = '123'
When performing a query without a filter or a filter other then the OrderId column, the Cloud will retrieve the entire list of transactions and perform the filters client-side.
The Shopify API requires that an OrderId be specified when retrieving transactions. Therefore to retrieve all the transactions, the Cloud will first retrieve all the OrderIds
from the Orders table (essentially performing the query: SELECT Id FROM Orders). Once the OrderId values have been retrieved, the Cloud will issue individual requests to the
Shopify API to retrieve all the transactions for each OrderId to build the result set.
SELECT * FROM OrderTransactions WHERE Kind = 'Capture'
You must specify the OrderId and Kind when inserting a transaction.
Capture a specified amount on a previously authorized order.
INSERT INTO OrderTransactions (OrderId, Amount, Kind) VALUES ('123', 10.25, 'Capture')
Capture a previously authorized order for the full amount.
INSERT INTO OrderTransactions (OrderId, Kind) VALUES ('123', 'Capture')
INSERT INTO OrderTransactions (OrderId, Kind, Authorization) VALUES ('123', 'authorization', '7')INSERT INTO OrderTransactions (OrderId, Kind) VALUES ('123', 'capture')INSERT INTO OrderTransactions (OrderId, Kind) VALUES ('123', 'sale')INSERT INTO OrderTransactions (OrderId, Kind, TransactionItemParentId, Currency, Amount) VALUES ('123', 'void', '456', 'USD', '0.1')INSERT INTO OrderTransactions (OrderId, Kind, TransactionItemParentId, Amount) VALUES ('123', 'refund', '456', '1440.00')
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the transaction. | |
| OrderId | Long | False |
Orders.Id |
A unique numeric identifier for the order. |
| UserId | Long | True |
The unique identifier for the user. | |
| LocationId | Long | True |
The ID of the physical location where the transaction was processed. | |
| Amount | Decimal | False |
The amount of money that the transaction was for. | |
| AmountRounding | Decimal | True |
The rounding adjustment for cash payments, to be applied on the amount to get a rounded amount. | |
| Authorization | String | False |
The authorization code associated with the transaction. | |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| DeviceId | String | True |
The unique identifier for the device. | |
| Gateway | String | False |
The name of the gateway the transaction was issued through. | |
| SourceName | String | True |
The origin of the transaction. | |
| Kind | String | False |
The kind of transaction. The allowed values are authorization, capture, sale, void, refund. | |
| Message | String | True |
The message associated with this transaction. | |
| ErrorCode | String | True |
A standardized error code, independent of the payment provider. | |
| Status | String | False |
The status of the transaction. | |
| Test | Bool | True |
The option to use the transaction for testing purposes. | |
| AVSResultCode | String | True |
The Response code from the address verification system. | |
| CreditCardBin | String | True |
The issuer identification number (IIN). | |
| CVVResultCode | String | True |
The Response code from the credit card company. | |
| CreditCardNumber | String | True |
The customer's credit card number, with most of the leading digits redacted with Xs. | |
| CreditCardCompany | String | True |
The name of the company who issued the customer's credit card. | |
| CreatedAt | Datetime | True |
The date and time when the customer was created. | |
| PaymentsRefundsAttributesStatus | String | True |
The current status of the refund The allowed values are pending, failure, success, error. | |
| PaymentsRefundsAttributesAcquirerReferenceNumber | String | True |
A unique number associated with the transaction that can be used to track the refund. | |
| PaymentId | String | True |
The unique identifier for the payment. | |
| ProcessedAt | Datetime | True |
The date and time when the transaction was processed. | |
| CreditCardName | String | True |
The name on the customer's credit card. | |
| CreditCardWallet | String | True |
The wallet of the customer's credit card. | |
| CreditCardExpMonth | Long | True |
The expiration month of the customer's credit card. | |
| CreditCardExpYear | Long | True |
The expiration year of the customer's credit card. | |
| Receipt | String | True |
A JSON aggregate of the order receipt. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total unsettled set. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total unsettled set. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| TransactionItemAmount | Decimal |
The amount of money that the transaction was for. Use this when inserting transactions into an order or refund. |
| TransactionItemGateway | String |
The name of the gateway the transaction was issued through. Use this when inserting transactions into an order or refund. |
| TransActionItemKind | String |
The kind of transaction. Can be any of the following: Authorization, Capture, Sale, Void, Refund. Use this when inserting transactions into an order or refund. The allowed values are authorization, capture, sale, void, refund. |
| TransactionItemStatus | String |
The status of the transaction. Use this when inserting transactions into an order or refund. |
| TransactionItemParentId | String |
The parent id of the transaction. Use this when inserting transactions into a refund. |
| TransactionItemSource | String |
The status of the transaction. |
| UpdatedAt | Datetime |
The last time the order is updated. |
Create, read, update or delete pages
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique numeric identifier for the page. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Author | String | False |
The name of the person who created the page. | |
| BodyHtml | String | False |
The text content of the page, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the page was created. | |
| Handle | String | False |
A unique, human-friendly string for the page, generated automatically from its title. In online store themes, the Liquid templating language refers to a page by its handle. | |
| Metafields | String | False |
Additional information attached to the Page object. | |
| PublishedAt | Datetime | False |
The date and time (ISO 8601 format) when the page was published. Returns null when the page is hidden. | |
| ShopId | Long | True |
The ID of the shop to which the page belongs. | |
| TemplateSuffix | String | False |
The suffix of the Liquid template being used. | |
| Title | String | False |
The page's title. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the page was last updated. | |
| PublishedStatus | String | False |
Filter comments by their publish status. The allowed values are published, unpublished, any. |
Create, update, delete, and query price rules.
SELECT * FROM PriceRules WHERE Id = '123'
You must specify the Title, TargetType, TargetSelection, ValueType, Value, CustomerSelection, StartsAt, and AllocationMethod columns to create a price rule. For example:
INSERT INTO PriceRules (Title, TargetType, TargetSelection, ValueType, Value, CustomerSelection, StartsAt, AllocationMethod) VALUES ('SUMMERSALE10OFF', 'line_item', 'all', 'fixed_amount', '-10.0', 'all', '2017-01-19T17:59:10Z', 'across')
You must specify the Id to update a price rule. For example:
UPDATE PriceRules SET Title = 'SUMMERSALE10OFF' WHERE Id = '123'
You must specify the Id of the price rule to delete it.
DELETE FROM PriceRules WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the price rule. | |
| AllocationMethod | String | False |
The allocation method of the price rule. Valid values: each: The discount is applied to each of the entitled items. across: The calculated discount amount will be applied across the entitled items. The allowed values are each, across. | |
| CustomerSelection | String | False |
The customer selection for the price rule. Valid values: all: The price rule is valid for all customers. prerequisite: The customer must either belong to one of the customer saved searches specified by PrerequisiteSavedSearchIds. The allowed values are all, prerequisite. | |
| EntitledCollectionIds | String | False |
A list of Ids of collections whose products will be eligible to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. It can't be used in combination with EntitledProductIds or EntitledVariantIds. | |
| EntitledCountryIds | String | False |
A list of Ids of shipping countries that will be entitled to the discount. It can be used only with TargetType set to shipping_line and TargetSelection set to entitled. | |
| EntitledProductIds | String | False |
A list of Ids of products that will be entitled to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. | |
| EntitledVariantIds | String | False |
A list of Ids of product variants that will be entitled to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. | |
| OncePerCustomer | Bool | False |
Whether the generated discount code will be valid only for a single use per customer. This is tracked using customer Id. | |
| PrerequisiteCustomerIds | String | False |
A list of customer Ids which for the price rule to be applicable, the customer must match one of the specified customers. If PrerequisiteCustomerIds is populated, then PrerequisiteSavedSearchIds must be empty. | |
| PrerequisiteQuantityRange | String | False |
The minimum number of items for the price rule to be applicable. It has the following property: greater_than_or_equal_to: The quantity of an entitled cart item must be greater than or equal to this value. | |
| PrerequisiteSavedSearchIds | String | False |
A list of customer saved search Ids. For the price rule to be applicable, the customer must be in the group of customers matching a customer saved search. If PrerequisiteSavedSearchIds is populated, then PrerequisiteCustomerIds must be empty. | |
| PrerequisiteShippingPriceRange | String | False |
The maximum shipping price for the price rule to be applicable. It has the following property: less_than_or_equal_to: The shipping price must be less than or equal to this value. | |
| PrerequisiteSubtotalRange | String | False |
The minimum subtotal for the price rule to be applicable. It has the following property: greater_than_or_equal_to: The subtotal of the entitled cart items must be greater than or equal to this value for the discount to apply. | |
| TargetSelection | String | False |
The target selection method of the price rule. Valid values: all: The price rule applies the discount to all line items in the checkout, entitled: The price rule applies the discount to selected entitlements only. | |
| TargetType | String | False |
The target type that the price rule applies to. Valid values: line_item: The price rule applies to the cart's line items, shipping_line: The price rule applies to the cart's shipping lines. | |
| UsageLimit | Int | False |
The maximum number of times the price rule can be used, per discount code. | |
| PrerequisiteProductIds | String | False |
List of product ids that will be a prerequisites for a Buy X Get Y type discount. The PrerequisiteProductIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Caution: If a product variant is included in PrerequisiteVariantIds, then PrerequisiteProductIds can't include the ID of the product associated with that variant. | |
| PrerequisiteVariantIds | String | False |
List of variant ids that will be a prerequisites for a Buy X Get Y type discount. The EntitledVariantIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Caution: If a product is included in PrerequisiteProductIds, then PrerequisiteVariantIds can't include the ID of any variants associated with that product. | |
| PrerequisiteCollectionIds | String | False |
List of collection ids that will be a prerequisites for a Buy X Get Y discount. The EntitledCollectionIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Cannot be used in combination with PrerequisiteProductIds or PrerequisiteVariantIds. | |
| Value | Decimal | False |
The value of the price rule. If if the value of target_type is shipping_line, then only -100 is accepted. The value must be negative. | |
| ValueType | String | False |
The value type of the price rule. Valid values: fixed_amount: Applies a discount of value as a unit of the store's currency. For example, if value is -30 and the store's currency is USD, then $30 USD is deducted when the discount is applied, percentage: Applies a percentage discount of value. For example, if value is -30, then 30% will be deducted when the discount is applied. If TargetType is shipping_line, then only percentage is accepted. | |
| PrerequisiteToEntitlementQuantityRatio | String | False |
Buy/Get ratio for a Buy X Get Y discount. prerequisite_quantity defines the necessary 'buy' quantity and entitled_quantity the offered 'get' quantity. The PrerequisiteToEntitlementQuantityRatio can be used only with: ValueType set to percentage, TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each, PrerequisiteProductIds or PrerequisiteVariantIds or PrerequisiteCollectionIds defined and EntitledProductIds or EntitledVariantIds or EntitledCollectionIds defined. | |
| Images | String | False |
A list of image objects. | |
| ProductType | String | False |
A categorization that a product can be tagged with, commonly used for filtering and searching. | |
| Options | String | True |
Custom product property names. | |
| PublishedScope | String | False |
Indicates whether the product is published to the Point of Sale channel. | |
| Tags | String | False |
A categorization that a product can be tagged with. Use commas to separate categories. | |
| TemplateSuffix | String | True |
The suffix of the liquid template being used. | |
| Title | String | False |
The name of the product. | |
| Vendor | String | False |
The name of the vendor of the product. | |
| StartsAt | Datetime | False |
The date and time when the price rule starts. | |
| EndsAt | Datetime | False |
The date and time when the price rule ends. Must be after StartsAt. | |
| PublishedAt | Datetime | True |
The date and time when the product was published to the Online Store channel. | |
| CreatedAt | Datetime | True |
The date and time when the price rule was created. | |
| UpdatedAt | Datetime | True |
The date and time when the price rule was last modified. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Published | Bool |
Set to true to publish the product or to false to not publish it |
| MetafieldsGlobalTitleTag | String |
The name of the product, to be used for SEO purposes. |
| MetafieldsGlobalDescriptionTag | String |
The description of the product, to be used for SEO purposes. |
Create, update, delete, and query Recurring Application Charges.
SELECT * FROM RecurringApplicationCharges
SELECT * FROM RecurringApplicationCharges WHERE Id = '123'
UPDATE RecurringApplicationCharges SET Test = 'true', Name = 'cd' WHERE Id = '2'
You must specify the Id of the recurring application charge to delete it.
DELETE FROM RecurringApplicationCharges WHERE Id = '2'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the recurring application charge. | |
| Name | String | False |
The name of the recurring application charge. | |
| ApiClientId | String | False |
The API Client Id | |
| Price | Decimal | False |
The price of the recurring application charge. The maximum price is 10,000. | |
| Status | String | False |
The status of the recurring charge | |
| ReturnUrl | String | False |
The URL where the merchant is redirected after accepting the charge. | |
| BillingOn | Date | False |
The date and time (ISO 8601 format) when the customer was billed. | |
| Test | String | False |
Whether the application charge is a test transaction. | |
| CreatedAt | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was created. | |
| UpdatedAt | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was last updated. | |
| ActivatedOn | Datetime | False |
The date and time (ISO 8601 format) when the customer activated the recurring application charge. | |
| CancelledOn | Datetime | False |
The date and time (ISO 8601 format) when the merchant canceled their recurring application charge. | |
| TrialDays | Int | False |
The number of days that the customer is eligible for a free trial. | |
| TrialEndsOn | Datetime | False |
The date and time (ISO 8601 format) when the free trial ends. | |
| DecoratedReturnUrl | String | False |
The decorated return url. | |
| CappedAmount | String | False |
The limit a customer can be charged for usage based billing. If this property is provided, then you must also provide the terms property. | |
| ConfirmationUrl | String | False |
The URL where the merchant accepts or declines the recurring application charge. | |
| Terms | String | False |
The terms and conditions of usage based billing charges. Must be present in order to create usage charges, |
Create, read, update or delete redirects.
SELECT * FROM Redirects
SELECT * FROM Redirects WHERE Id = '123'
SELECT * FROM Redirects WHERE Target = '/pqr.jsp'
SELECT * FROM Redirects WHERE Path = '/abc.php'
You must specify path and target to create a Redirect.
INSERT INTO Redirects (path, target) VALUES ('/abc.php', '/pqr.jsp')
You must specify the id to update a Redirect. For example:
UPDATE Redirects SET Path = '/abc.php' WHERE Id = '77171130'
You must specify the Id of the Redirect to delete it.
DELETE FROM Redirects WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID for the redirect. | |
| Path | String | False |
The old path to be redirected. | |
| Target | String | False |
The target location where the user will be redirected. |
Create and query refunds.
For example, the following queries are processed server-side.
If you specify the unique identifier of the Order, then this view will only list refund information concerning that order.
SELECT * FROM Refunds WHERE OrderId = '179098550295'
SELECT * FROM Refunds WHERE OrderId = '179098550295' AND Id = '7382073367'
You must specify the OrderId when inserting a refund.
Create a new refund for an order using aggregates.
INSERT INTO Refunds (OrderId, Restock, Notify, Note, ShippingFullRefund, LineAggregate) VALUES ('123', true, true, 'Wrong size', true, '[{\"id\":\"123\",\"quantity\":3,\"restock_type\": \"return\"}]')
Create a new refund for an order using temporary table.
INSERT INTO OrdersItems#TEMP (ItemId, ItemQuantity) VALUES ('123', 3)
INSERT INTO Refunds (OrderId, Restock, Notify, Note, ShippingFullRefund, LineAggregate) VALUES ('123', true, true, 'Wrong size', true, 'OrdersItems#TEMP')
Create a new refund for an order and attach a transaction to the refund as well using aggregates.
INSERT INTO Refunds (OrderId, LineAggregate, OrderTransactionAggregate) VALUES ('123', '[{\"id\":\"123\",\"quantity\":3,\"restock_type\": \"return\"}]', '[{\"kind\":\"refund\",\"amount\":5.5,\"gateway\":\"gw\",\"parent_id\":\"789\"}]')
Create a new refund for an order and attach a transaction to the refund as well using temporary table.
INSERT INTO OrdersItems#TEMP (ItemId, ItemQuantity) VALUES ('123', 3)
INSERT INTO Transactions#TEMP (TransactionItemParentId, TransactionItemAmount, TransactionItemKind, TransactionItemGateway) VALUES ('789', 5.5, 'refund', 'gw')
INSERT INTO Refunds (OrderId, LineAggregate, OrderTransactionAggregate) VALUES ('123', 'OrdersItems#TEMP', 'Transactions#TEMP')
Refund a specific amount of shipping using aggregates.
INSERT INTO Refunds (OrderId, ShippingAmount, OrderTransactionAggregate) VALUES ('123', 5.3, '[{\"parent_id\":\"456\"}]')
Refund a specific amount of shipping using temporary table.
INSERT INTO Transactions#TEMP (TransactionItemParentId) VALUES ('456')
INSERT INTO Refunds (OrderId, ShippingAmount, OrderTransactionAggregate) VALUES ('123', 5.3, 'Transactions#TEMP')
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique identifier for the refund. | |
| OrderId | Long | False |
Orders.Id |
The id of the order. |
| OrderUpdatedAt | Datetime | True |
Orders.UpdatedAt |
The date and time when the order was last modified. |
| Note | String | False |
The optional note attached to a refund. | |
| Restock | Bool | True |
Whether or not the line items were added back to the store inventory. | |
| UserId | Long | True |
The unique identifier of the user who performed the refund. | |
| CreatedAt | Datetime | True |
The date and time when the refund was created. | |
| ProcessedAt | Datetime | True |
The date and time when the refund was imported. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the refund. | |
| OrderTransactionAggregate | String | False |
A JSON aggregate of transactions associated with the refund. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Notify | Bool |
Whether or not to send a refund notification to the customer. |
| DiscrepancyReason | String |
An optional comment, used if there is a discrepancy between calculated and actual refund amounts (one of: restock, damage, customer, other) |
| ShippingAmount | Decimal |
Set specific amount of shipping to refund. Takes precedence over FullRefund. |
| ShippingFullRefund | Bool |
Whether or not to to refund all remaining shipping. |
Returns a list of resource feedback objects..
SELECT * FROM ResourceFeedbacks
You must specify path and target to create a Redirect.
INSERT INTO [ResourceFeedbacks] ([State], [Messages], [FeedbackGeneratedAt]) VALUES ('requires_action', 'Wow wow.', '2023-09-13 09:00:00');
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
Unique id of the resource. | |
| Type | String | False |
TType of resource for which feedback is returned. eg. Shop, Product. | |
| State | String | False |
Indicates the state that the Shop or resource is in, from the perspective of your app. Valid values are requires_action, or success. The allowed values are requires_action, success. | |
| Messages | String | False |
The name of the report. | |
| CreatedAt | Datetime | False |
DateTime when the resource feedback record was stored by Shopify. Type: ISO 8601 UTC DateTime as string with year, month (or week), day, hour, minute, second, time zone. | |
| UpdatedAt | Datetime | False |
DateTime when the resource feedback record was last updated by Shopify. Type: ISO 8601 UTC DateTime as string with year, month (or week), day, hour, minute, second, time zone. | |
| ResourceUpdatedAt | Datetime | False |
The date and time (ISO 8601) when the report was last modified. | |
| FeedbackGeneratedAt | Datetime | False |
The time at which the payload is constructed. Used to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival. Type: ISO 8601 UTC datetime as string with year, month [or week], day, hour, minute, second, millisecond, and time zone. |
Create, read, update or delete script tags.
SELECT * FROM ScriptTags
SELECT * FROM ScriptTags WHERE Id = '123'
SELECT * FROM ScriptTags WHERE CreatedAt > '2018-05-02'
SELECT * FROM ScriptTags WHERE UpdatedAt < '2017-08-15'
SELECT * FROM ScriptTags WHERE Src = 'https://example.com/my_script.js'
You must specify event and src to create a ScriptTag.
INSERT INTO Scripttags (event, src) VALUES ('onload', 'https://js-aplenty.com/abc.js')
You must specify the id to update a ScriptTag. For example:
UPDATE ScriptTags SET src = 'https://js-aplenty.com/abc.js' WHERE Id = '77171130'
You must specify the Id of the ScriptTag to delete it.
DELETE FROM ScriptTags WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID for the script tag. | |
| Cache | Bool | False |
Whether the Shopify CDN can cache and serve the script tag. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601) when the script tag was created. | |
| DisplayScope | String | False |
The page or pages on the online store where the script should be included. The allowed values are online_store, order_status, all. | |
| Event | String | False |
The DOM event that triggers the loading of the script. Valid values: onload. | |
| Src | String | False |
The URL of the remote script. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601) when the script tag was last updated. |
Query, insert, update, or delete information regarding different smart collections.
For example, the following queries are processed server-side.
SELECT * FROM SmartCollections WHERE Id = '123'
SELECT * FROM SmartCollections WHERE Id IN ('123', '456')
SELECT * FROM SmartCollections WHERE ProductId = '123'
SELECT * FROM SmartCollections WHERE Title = 'Ducks'
SELECT * FROM SmartCollections WHERE Handle = 'frontpage'
SELECT * FROM SmartCollections WHERE PublishedStatus = 'published'
SELECT * FROM SmartCollections WHERE UpdatedAt > '2018-05-02'
SELECT * FROM SmartCollections WHERE PublishedAt < '2017-08-15'
You must specify the Title and Rules to create a smart collection. For example:
INSERT INTO SmartCollections (Title, Rules) VALUES ('IPods', '[{"column": "vendor","relation": "equals","condition": "Apple"}]')
You must specify the smart collection Id to update a smart collection. For example:
UPDATE SmartCollections SET BodyHtml = '5000 songs in your pocket' WHERE Id = '123'
You must specify the Id of the smart collection to delete it.
DELETE FROM SmartCollections WHERE Id = '123'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the smart collection. | |
| Title | String | False |
The name of the smart collection. Maximum length: 255 characters. | |
| BodyHtml | String | False |
The description of the smart collection. Includes HTML markup. Many shop themes display this on the smart collection page. | |
| Image | String | False |
A JSON aggregate with information regarding the image of smart collection. | |
| Rules | String | False |
A JSON aggregate with the list of rules that define what products go into the smart collection. Valid values for each rule field: column: tag, title, type, vendor, variant_price, variant_compare_at_price, variant_weight, variant_inventory, variant_title; relation: equals, greater_than, less_than, starts_with, ends_with, contains; condition: any string | |
| Handle | String | False |
A human-friendly unique string for the smart collection. Automatically generated from the title. Used in shop themes by the Liquid templating language to refer to the smart collection. (maximum: 255 characters) | |
| Disjunctive | Bool | False |
Whether the product must match all the rules to be included in the smart collection. Valid values: true: products only need to match one or more of the rules to be included in the smart collection, false: products must match all of the rules to be included in the smart collection. | |
| SortOrder | String | False |
The order in which products in the smart collection appear. | |
| TemplateSuffix | String | False |
The suffix of the Liquid template that the shop uses. By default, the original template is called product.liquid, and additional templates are called product.suffix.liquid. | |
| PublishedScope | String | False |
Whether the smart collection is published to Point of Sale. Valid values: web: The smart collection is published to the shop's online channels and not published to the Point of Sale channel, global: The smart collection is published to both the online channels and the Point of Sale channel. | |
| UpdatedAt | Datetime | True |
The date and time when the smart collection was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the smart collection was published. Returns null when the collection is hidden. | |
| ProductId | String | True |
Show smart collections that include a given product. | |
| PublishedStatus | String | True |
Show smart collection with a given published status: published: show only published smart collections, unpublished: show only unpublished smart collections, any: show all smart collections. (default: any). The allowed values are published, unpublished, any. |
Create, read, update or delete themes
SELECT * FROM Theme
SELECT * FROM Themes WHERE Id = '123'
You must specify name to create a Theme.
INSERT INTO Themes (name) VALUES ('NewTheme')
You must specify the id to update a Theme. For example:
UPDATE Themes SET name = 'NewTheme' WHERE Id = '77171130'
You must specify the Id of the Theme to delete it.
DELETE FROM Themes WHERE Id = '555695'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the theme. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the theme was created. | |
| Name | String | False |
The name of the theme. | |
| Previewable | Bool | True |
Whether the theme can currently be previewed. | |
| Processing | Bool | True |
Whether files are still being copied into place for this theme. | |
| Role | String | False |
Specifies how the theme is being used within the shop. The allowed values are main, published, demo. | |
| ThemeStoreId | Long | True |
A unique identifier applied to Shopify-made themes that are installed from the Shopify Theme Store Theme Store. | |
| UpdatedAt | Datetime | True |
The date and time ( ISO 8601 format) when the theme was last updated. |
Create or view Usage Charges for Recurring Application Charges.
SELECT * FROM UsageCharges WHERE Id = 123
SELECT * FROM UsageCharges WHERE RecurringApplicationId = 5569619
SELECT * FROM UsageCharges WHERE RecurringApplicationId = 5569619 AND Id = 123
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the usage charge. | |
| Description | String | False |
The name of the usage charge. | |
| Price | Decimal | False |
The price of the usage charge. | |
| CreatedAt | Datetime | False |
The date and time (ISO 8601 format) when the usage charge was created. | |
| BalanceUsed | Decimal | False |
The used balance | |
| BalanceRemaining | Decimal | False |
The remaining balance | |
| RiskLevel | Int | False |
The risk Level | |
| RecurringApplicationId | Long | False |
The Id of the RecurringApplication Charge |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| AbandonedCheckouts | Query abandoned checkouts. |
| AbandonedCheckoutsItems | Query abandoned checkouts items. |
| AssignedFulfillmentOrders | The AssignedFulfillmentOrder resource allows you to retrieve all the fulfillment orders that are assigned to an app at the shop level. |
| DiscountApplications | Query note attributes belonging to an order or draft order. |
| DraftOrderItemProperties | Query order item properties. |
| DraftOrderItems | Query draft order items. |
| DraftOrderItemTaxLines | Query draft order items tax lines. |
| Events | Retrieve events which have happened in your shop. |
| FulfillmentOrderLineItems | Query fulfillment order line items. |
| FulfillmentOrders | Query fulfillment orders. |
| Locations | Retrieve information regarding store locations. |
| NoteAttributes | Query note attributes belonging to an order or draft order. |
| OrderDiscountCodes | Query note attributes belonging to an order or draft order. |
| OrderItemDiscountAllocations | Query order item discount allocations. |
| OrderItemProperties | Query order item properties. |
| OrdersItems | Query order items. |
| Payouts | Retrieves a list of all payouts ordered by payout date, with the most recent being first. |
| PayoutTransactions | Retrieves a list of all balance transactions ordered by processing time, with the most recent being first. |
| PayoutTransactionsAdjustmentOrderTransactions | Retrieves associated order transactions that resulted in a balance transaction. |
| RefundAdjustments | Create and query transactions. |
| RefundsItems | Get data on OrdersItems that have been refunded. |
| RefundTransactions | Query transactions for Refund Object. |
| ShippingItemDiscountAllocations | Query Shipping item discount allocations. |
| ShippingItems | Query order shipping. |
| ShippingZones | Retrieve information regarding shipping zones. |
| Shop | Contains general settings and information about the shop. |
| TaxItems | Query order taxes. |
| Users | Query Users. |
Query abandoned checkouts.
SELECT * FROM AbandonedCheckouts WHERE CreatedAt > '2017-10-25'
| Name | Type | References | Description |
| Id [KEY] | Long | The unique numeric identifier for the order. | |
| AbandonedCheckoutUrl | String | The full recovery URL to be sent to a customer to recover their abandoned checkout. | |
| BuyerAcceptsMarketing | Bool | Indicates whether or not the person who placed the order would like to receive email updates from the shop. | |
| CancelReason | String | The reason why the order was cancelled. | |
| CustomerId | Long |
Customers.Id | A unique numeric identifier for the customer. |
| DiscountCodes | String | Applicable discount codes that can be applied to the order. | |
| String | The customer's email address. | ||
| Note | String | The text of an optional note that a shop owner can attach to the order. | |
| SubtotalPrice | Decimal | Price of the order before shipping and taxes. | |
| TotalDiscounts | Decimal | The total amount of the discounts to be applied to the price of the order. | |
| TotalLineItemsPrice | Decimal | The sum of all the prices of all the items in the order. | |
| TotalPrice | Decimal | The sum of all the prices of all the items in the order, taxes and discounts included. | |
| TotalTax | Decimal | The sum of all the taxes applied to the order. | |
| TaxesIncluded | Bool | States whether or not taxes are included in the order subtotal. | |
| BillingAddressFirstName | String | The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | The last name of the person associated with the payment method. | |
| BillingAddressAdress1 | String | The street address of the billing address. | |
| BillingAddressAdress2 | String | An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | The phone number at the billing address. | |
| BillingAddressCity | String | The city of the billing address. | |
| BillingAddressCompany | String | The company of the person associated with the billing address. | |
| BillingAddressZip | String | The zip or postal code of the billing address. | |
| BillingAddressProvince | String | The name of the state or province of the billing address. | |
| BillingAddressCountry | String | The name of the country of the billing address. | |
| BillingAddressLatitude | Double | The latitude of the billing address. | |
| BillingAddressLongitude | Double | The longitude of the billing address. | |
| BillingAddressName | String | The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | The first name of the person associated with the shipping address. | |
| ShippingAddressLastName | String | The last name of the person associated with the shipping address. | |
| ShippingAddressAdress1 | String | The street address of the shipping address. | |
| ShippingAddressAdress2 | String | An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | The phone number at the shipping address. | |
| ShippingAddressCity | String | The city of the shipping address. | |
| ShippingAddressCompany | String | The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | The longitude of the shipping address. | |
| ShippingAddressName | String | The full name of the person associated with the shipping address. | |
| ShippingAddressCountryCode | String | The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | Whether this address is the default one or not. | |
| CompletedAt | Datetime | The date and time when the order was completed. | |
| CreatedAt | Datetime | The date and time when the order was created. | |
| UpdatedAt | Datetime | The date and time when the order was last modified. |
Query abandoned checkouts items.
SELECT * FROM AbandonedCheckoutsItems WHERE CreatedAt > '2017-10-25'
| Name | Type | References | Description |
| AbandonedCheckoutId [KEY] | Long | The unique numeric identifier for the order. | |
| ProductId [KEY] | Long | The product ID od the item. | |
| ItemVariantId [KEY] | Long | The product variant ID of item. | |
| ItemTitle | String | The title of the product. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item in presentment currency. | |
| SKU | String | A unique identifier for the item in the shop. | |
| VariantTitle | String | The title of the product variant. | |
| Vendor | String | The name of the item's supplier. | |
| CreatedAt | Datetime | The date and time when the order was created. | |
| UpdatedAt | Datetime | The date and time when the order was last modified. |
The AssignedFulfillmentOrder resource allows you to retrieve all the fulfillment orders that are assigned to an app at the shop level.
SELECT * FROM AssignedFulfillmentOrders WHERE AssignedLocationId IN (1, 2)
SELECT * FROM AssignedFulfillmentOrders WHERE RequestStatus = 'cancellation_requested'
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the fulfillment order. | |
| ShopId | Long |
Shop.Id | The ID of the shop that's associated with the fulfillment order. |
| OrderId | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| AssignedLocationId | Long | The ID of the location that has been assigned to do the work. | |
| FulfillmentServiceHandle | String | A unique numeric identifier for the order. | |
| RequestStatus | String | The status of the fulfillment. | |
| DestinationId | String | The ID of the fulfillment order destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| LineItems | String | Represents line items belonging to a fulfillment order. | |
| Status | String | The status of the fulfillment order. | |
| Operation | String | An operation to apply to the fulfillment.
The allowed values are Complete, Open, Cancel. | |
| DeliveryMethodId | Long | The ID of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodPresentedName | String | The name of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodType | String | The type of the delivery option that was presented to the buyer during checkout. |
Query note attributes belonging to an order or draft order.
SELECT * FROM DiscountApplications WHERE OrderId = '1'
SELECT * FROM DiscountApplications WHERE OrderId IN ('1', '2')
SELECT * FROM DiscountApplications WHERE OrderUpdatedAt <= '2020-07-20 08:28:03.0'
SELECT * FROM DiscountApplications WHERE OrderUpdatedAt > '2020-07-20 08:28:03.0'
| Name | Type | References | Description |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Type | String | The name of the note attribute. | |
| Title | String | The value of the note attribute. | |
| Description | String | The value of the note attribute. | |
| Value | String | The value of the note attribute. | |
| ValueType | String | The value of the note attribute. | |
| AllocationMethod | String | The value of the note attribute. | |
| TargetSelection | String | The value of the note attribute. | |
| TargetType | String | The value of the note attribute. |
Query order item properties.
For example, the following queries are processed server-side.
SELECT * FROM DraftOrderItemProperties WHERE DraftOrderId = '123'
| Name | Type | References | Description |
| ItemId | Long |
DraftOrderItems.ItemId | The id of the order item. |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| Name | String | The name of the item property. | |
| Value | String | The value of the item property. |
Query draft order items.
For example, the following queries are processed server-side.
SELECT * FROM DraftOrderItems WHERE DraftOrderId = '123'
| Name | Type | References | Description |
| ItemId [KEY] | Long | The id of the line item. | |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| ProductId | Long | The ID of the product corresponding to the line item product variant. | |
| Custom | Bool | States whether this is a custom line item or a product variant line item | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| FulFillmentsService | String | Service provider responsible for fulfillment. | |
| ItemGrams | Int | The weight of the item in grams. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| ItemTitle | String | The title of the product or variant. | |
| ItemVariantId | Long | The id of the product variant. | |
| VariantTitle | String | The title of the product variant. | |
| Vendor | String | The name of the supplier of the item. | |
| Name | String | The name of the product variant. | |
| GiftCard | Bool | States whether or not the product is a gift card. | |
| Properties | String | Shows custom properties for this order item. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| TaxLines | String | Shows tax lines for this order item. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Query draft order items tax lines.
SELECT * FROM DraftOrderTaxItems WHERE DraftOrderId = '123'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
DraftOrderItems.ItemId | The id of the draft line item. |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| TaxTitle | String | The name of the tax. | |
| TaxRate | Decimal | The rate of tax to be applied. | |
| TaxPrice | Decimal | The amount of tax to be charged. |
Retrieve events which have happened in your shop.
For example, the following queries are processed server-side:
SELECT * FROM Events WHERE Id = '123'
SELECT * FROM Events WHERE ProductId = '123'
SELECT * FROM Events WHERE OrderId = '123'
SELECT * FROM Events WHERE Verb = 'Confirmed'
SELECT * FROM Events WHERE CreatedAt > '2018-05-02'
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the event. | |
| Description | String | A human readable description of the event. | |
| Message | String | A human readable description of the event. Can contain some HTML formatting. | |
| Body | String | A text field containing information about the event. | |
| Path | String | A relative URL to the resource the event is for, if applicable. | |
| SubjectId | Long | The ID of the resource that generated the event. | |
| SubjectType | String | he type of the resource that generated the event. Valid values: Article, Blog, Collection, Comment, Order, Page, Product, ApiPermission. | |
| Verb | String | The type of event that occurred. Different resources generate different types of event. | |
| Author | String | The author of the event. | |
| Arguments | String | Refers to a certain event and its resources. | |
| CreatedAt | Datetime | The date and time when the event was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| OrderId | Long | The ID of the Order to retrieve events from. |
Query fulfillment order line items.
For example, the following queries are processed server-side.
SELECT * FROM FulfillmentOrderLineItems WHERE OrderId = '123'
SELECT * FROM FulfillmentOrderLineItems WHERE FulfillmentOrderId='6817622622467'
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the fulfillment order line item. | |
| ShopId | Long |
Shop.Id | The ID of the shop associated with the fulfillment order line item. |
| FulfillmentOrderId | Long | The ID of the fulfillment order associated with this line item. | |
| OrderId | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| LineItemId | Long |
OrdersItems.ItemId | The ID of the line item associated with this fulfillment order line item. |
| InventoryItemId | Long | The ID of the inventory item associated with this fulfillment order line item. | |
| Quantity | Int | The total number of units to be fulfilled. | |
| FulfillableQuantity | Int | The number of units remaining to be fulfilled. | |
| VariantId | Long | The ID of the variant associated with this fulfillment order line item. | |
| FinancialSummaries | String | The financial summary data for the line item. |
Query fulfillment orders.
SELECT * FROM FulfillmentOrders WHERE OrderId = '1'
SELECT * FROM FulfillmentOrders WHERE Id = '1'
| Name | Type | References | Description |
| Id [KEY] | Long | An ID for the fulfillment order. | |
| ShopId | Long |
Shop.Id | The ID of the shop that's associated with the fulfillment order. |
| OrderId [KEY] | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| AssignedLocationId | Long | The ID of the location that has been assigned to do the work. | |
| DestinationId | String | The ID of the fulfillment order destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| FullfillAt | Datetime | The datetime (in UTC) when the fulfillment order is ready for fulfillment. | |
| LineItems | String | Represents line items belonging to a fulfillment order. | |
| RequestStatus | String | The status of the fulfillment. | |
| Status | String | The status of the fulfillment order. | |
| SupportedActions | String | The actions that can be performed on this fulfillment order. | |
| MerchantRequests | String | A list of requests sent by the merchant to the fulfillment service for this fulfillment order.. | |
| FulfillmentHolds | String | Represents the fulfillment holds applied on the fulfillment order. | |
| InternationalDuties | String | The international duties relevant to the fulfillment order. | |
| AssignedLocationAddress1 | String | The street address of the assigned location | |
| AssignedLocationAddress2 | String | An optional additional field for the street address of the assigned location. | |
| AssignedLocationCity | String | The city of the assigned location. | |
| AssignedLocationCountryCode | String | The two-letter code for the country of the assigned location | |
| AssignedLocationName | String | The name of the assigned location. | |
| AssignedLocationPhone | String | The phone number of the assigned location. | |
| DeliveryMethodId | Long | The ID of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodPresentedName | String | The name of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodType | String | The type of the delivery option that was presented to the buyer during checkout. |
Retrieve information regarding store locations.
For example, the following queries are processed server-side:
SELECT * FROM Locations WHERE Id = '123'
| Name | Type | References | Description |
| Id [KEY] | Long | The ID for the location. | |
| Name | String | The name of the location. | |
| Legacy | Bool | Whether this is a fulfillment service location. If true, then the location is a fulfillment service location. If false, then the location was created by the merchant and isn't tied to a fulfillment service. | |
| Address1 | String | The first line of the address. | |
| Address2 | String | The second line of the address. | |
| City | String | The city the location is in. | |
| Zip | String | The zip or postal code. | |
| Province | String | The province the location is in. | |
| Country | String | The country the location is in. | |
| Phone | String | The phone number of the location. This value can contain special characters like - and +. | |
| CountryCode | String | The two-letter code (ISO 3166-1 alpha-2 format) corresponding to country the location is in. | |
| CountryName | String | The name of the country the location is in. | |
| CreatedAt | Datetime | The date and time when the location was created. | |
| UpdatedAt | Datetime | The date and time when the location was last updated. | |
| DeletedAt | Datetime | The date and time when the location was deleted. |
Query note attributes belonging to an order or draft order.
SELECT * FROM NoteAttributes WHERE OrderId = '123'
SELECT * FROM NoteAttributes WHERE OrderUpdatedAt > '2018-05-05'
| Name | Type | References | Description |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Name | String | The name of the note attribute. | |
| Value | String | The value of the note attribute. |
Query note attributes belonging to an order or draft order.
SELECT * FROM OrderDiscountCodes WHERE OrderId = '1'
SELECT * FROM OrderDiscountCodes WHERE OrderId IN ('1', '2')
SELECT * FROM OrderDiscountCodes WHERE OrderUpdatedAt <= '2019-05-13 09:23:06.0'
SELECT * FROM OrderDiscountCodes WHERE OrderUpdatedAt >= '2019-05-13 09:23:06.0'
| Name | Type | References | Description |
| OrderId [KEY] | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Code [KEY] | String | The name of the note attribute. | |
| Amount | String | The value of the note attribute. | |
| Type | String | The value of the note attribute. |
Query order item discount allocations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM OrderItemDiscountAllocations
SELECT * FROM OrderItemDiscountAllocations WHERE OrderId IN (123, 456)
SELECT * FROM OrderItemDiscountAllocations WHERE OrderUpdatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| amount | String | The Amount of the item discount allocations. | |
| ApplicationIndex | Int | The ApplicationIndex of the item discount allocations. | |
| ShopMoneyAmount | Decimal | The ShopMoneyAmount of the item discount allocations. | |
| ShopMoneyCurrencyCode | String | The ShopMoneyCurrencyCode of the item discount allocations. | |
| PresentmentMoneyAmount | Decimal | The PresentmentMoneyAmount of the item discount allocations. | |
| PresentmentMoneyCurrencyCode | String | The PresentmentMoneyCurrencyCode of the item discount allocations. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order item properties.
For example, the following queries are processed server-side. You can set the Type pseudo column to "DraftOrder" to list order items belonging to draft orders instead of orders, or you can set Type to "AbandonedCheckout" to list order items belonging to abandoned checkouts.
SELECT * FROM OrderItemProperties WHERE OrderId = '123'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| Name | String | The name of the item property. | |
| Value | String | The value of the item property. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order items.
For example, the following queries are processed server-side. You can set the Type pseudo column to "DraftOrder" to list order items belonging to draft orders instead of orders, or you can set Type to "AbandonedCheckout" to list order items belonging to abandoned checkouts.
SELECT * FROM OrderItems WHERE OrderId = '123'
SELECT * FROM OrderItems WHERE OrderUpdatedAt > '2018-05-10'
SELECT * FROM OrderItems WHERE Type = 'DraftOrder'
SELECT * FROM OrderItems WHERE Type = 'AbandonedCheckout'
| Name | Type | References | Description |
| ItemId [KEY] | Long | The id of the order item. Only available for orders. | |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| ProductId | Long | The id of the of the product beloning to the order item. | |
| ItemVariantId | Long | The id of the product variant. | |
| ItemTitle | String | The title of the product. | |
| Name | String | The name of the product variant. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemGrams | Int | The weight of the item in grams. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| VariantTitle | String | The title of the product variant. | |
| Properties | String | Shows custom properties for this order item. | |
| Vendor | String | The name of the supplier of the item. | |
| FulFillmentsService | String | Service provider who is doing the fulfillment. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| GiftCard | Bool | States whether or not the order item is a gift card. | |
| CurrentQuantity | Int | The line item's current quantity after removals. | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| TotalDiscount | Decimal | The total discount amount applied to this order item. | |
| FulfillmentStatus | String | How far along an order is in terms order items fulfilled. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Type | String | The type of order item, can be one of the following(Order, DraftOrder, AbandonedCheckout).
The allowed values are Order, DraftOrder, AbandonedCheckout. | |
| Status | String | Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Retrieves a list of all payouts ordered by payout date, with the most recent being first.
For example, the following queries are processed server-side:
SELECT * FROM Payouts WHERE Id = '123'
SELECT * FROM Payouts WHERE Status = 'pending'
SELECT * FROM Payouts WHERE Date = '2018-10-30'
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the payout. | |
| Status | String | The transfer status of the payout. | |
| Currency | String | The ISO 4217 currency code of the payout. | |
| Amount | Decimal | The total amount of the payout, in a decimal formatted string. | |
| Date | Datetime | The date the payout was issued. |
Retrieves a list of all balance transactions ordered by processing time, with the most recent being first.
The Shopify APIs requires the search criteria to contain PayoutId. For example, the following query is processed server-side.
SELECT * FROM PayoutTransactions WHERE PayoutId = '123'
When performing a query without a filter or a filter other then the PayoutId column, the Cloud will retrieve the entire list of transactions and perform the filters client-side.
The Shopify API requires that an PayoutId be specified when retrieving transactions. Therefore to retrieve all the transactions, the Cloud will first retrieve all the PayoutIds
from the Payouts table (essentially performing the query: SELECT Id FROM Payouts). Once the PayoutId values have been retrieved, the Cloud will issue individual requests to the
Shopify API to retrieve all the transactions for each PayoutId to build the result set.
SELECT * FROM PayoutTransactions
SELECT * FROM PayoutTransactions WHERE Test='true'
SELECT * FROM PayoutTransactions WHERE PayoutStatus='pending'
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the transaction. | |
| Type | String | The type of the balance transaction. | |
| Test | Bool | If the transaction was created for a test mode Order or payment. | |
| PayoutId | Long |
Payouts.Id | The id of the payout the transaction was paid out in. |
| PayoutStatus | String | The status of the payout the transaction was paid out in, or pending if the transaction has not yet been included in a payout. | |
| Currency | String | The ISO 4217 currency code of the transaction. | |
| Amount | Decimal | The gross amount of the transaction, in a decimal formatted string. | |
| Fee | Decimal | The total amount of fees deducted from the transaction amount. | |
| Net | Decimal | The net amount of the transaction. | |
| SourceId | Long | The id of the resource leading to the transaction. | |
| SourceType | String | The type of the resource leading to the transaction. | |
| SourceOrderTransactionId | String | The id of the Order Transaction that resulted in this balance transaction. | |
| SourceOrderId | String | The id of the Order that this transaction ultimately originated from. | |
| ProcessedAt | Datetime | The time the transaction was processed. | |
| AdjustmentReason | String | The reason why an adjustment was made. |
Retrieves associated order transactions that resulted in a balance transaction.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server side:
SELECT * FROM PayoutTransactionsAdjustmentOrderTransactions
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the order transaction. | |
| PayoutTransactionId | Long | The unique identifier of the transaction. | |
| Amount | Decimal | Amount that is adjusted in this order transaction. | |
| OrderId | Long | The order details for the order transaction. Order id. | |
| OrderName | String | The order details for the order transaction. Order name. |
Create and query transactions.
The Shopify APIs requires the search criteria to contain OrderId. For example, the following query is processed server-side.
SELECT * FROM RefundAdjustments WHERE OrderId = '123'
When performing a query without a filter or a filter other then the OrderId column, the Cloud will retrieve the entire list of refunds and perform the filters client-side.
The Shopify API requires that an OrderId be specified when retrieving refunds. Therefore to retrieve all the refunds, the Cloud will first retrieve all the OrderIds
from the Orders table (essentially performing the query: SELECT Id FROM Orders). Once the OrderId values have been retrieved, the Cloud will issue individual requests to the
Shopify API to retrieve all the refunds for each OrderId to build the result set.
SELECT * FROM RefundAdjustments WHERE OrderId = '123' AND RefundId = '123'
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the refund adjustment. | |
| OrderId | Long |
Orders.Id | The unique identifier for the order that the order adjustment is associated with. |
| RefundId | Long |
Refunds.Id | The unique identifier for the refund that the order adjustment is associated with. |
| Amount | Decimal | The value of the discrepancy between the calculated refund and the actual refund. | |
| TaxAmount | Decimal | The taxes that are added to amount, such as applicable shipping taxes added to a shipping refund. | |
| Kind | String | The order adjustment type. | |
| Reason | String | The reason for the order adjustment. | |
| AmountShopMoney | Decimal | The amount of the order adjustment in shop. | |
| AmountShopCurrency | String | The currency of the order adjustment in shop. | |
| AmountPresentmentMoney | Decimal | The amount of the order adjustment in presentment. | |
| AmountPresentmentCurrency | String | The currency of the order adjustment in presentment. | |
| TaxAmountShopMoney | Decimal | The tax amount of the order adjustment in shop. | |
| TaxAmountShopCurrency | String | The tax currency of the order adjustment in shop. | |
| TaxAmountPresentmentMoney | Decimal | The tax amount of the order adjustment in presentment. | |
| TaxAmountPresentmentCurrency | String | The tax currency of the order adjustment in presentment. |
Get data on OrdersItems that have been refunded.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM RefundsItems
SELECT * FROM RefundsItems WHERE OrderID = 123
SELECT * FROM RefundsItems WHERE RefundId = 123
SELECT * FROM RefundsItems WHERE Status = 'Val1'
| Name | Type | References | Description |
| ItemId [KEY] | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderID [KEY] | Long |
Orders.Id | The id of the refund this refunded item belongs to. |
| RefundId [KEY] | Long |
Refunds.Id | The id of the refund this refunded item belongs to. |
| LocationId | Long | The unique identifier of the location tied to the refund item | |
| ProductId | Long | The id of the of the product beloning to the order item. | |
| ItemVariantId | Long | The id of the product variant. | |
| ItemTitle | String | The title of the product. | |
| Name | String | The name of the product variant. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemGrams | Int | The weight of the item in grams. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| VariantTitle | String | The title of the product variant. | |
| Properties | String | Shows custom properties for this order item. | |
| Vendor | String | The name of the supplier of the item. | |
| FulFillmentsService | String | Service provider who is doing the fulfillment. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| GiftCard | Bool | States whether or not the order item is a gift card. | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| TotalDiscount | Decimal | The total discount amount applied to this order item. | |
| FulfillmentStatus | String | How far along an order is in terms order items fulfilled. | |
| RefundSubtotal | Decimal | The refunded amount for this item. This is calculated by multiplying ItemPrice with RefundQuantity. | |
| RefundQuantity | Int | The quantity of the item refunded. | |
| RefundRestockType | String | The type of the restock action. | |
| RefundSubtotalPresentmentAmount | Decimal | The total amount of the presentment money. | |
| RefundSubtotalPresentmentCurrencyCode | String | The currency code of the presentment money. | |
| RefundSubtotalShopAmount | Decimal | The total amount of the shop money. | |
| RefundSubtotalShopCurrencyCode | String | The currency code of the shop money. | |
| RefundTotalTax | Decimal | Total tax for the refunded item. | |
| RefundTotalTaxPresentmentAmount | Decimal | Total tax amount for the presentment money. | |
| RefundTotalTaxPresentmentCurrencyCode | String | Currency code for the tax on presentment money. | |
| RefundTotalTaxShopAmount | Decimal | Total tax amount for the shop money. | |
| RefundTotalTaxShopCurrencyCode | String | Currency code for the tax on shop money. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Status | String | Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Query transactions for Refund Object.
The Shopify APIs requires the search criteria to contain OrderId. For example, the following query is processed server-side.
SELECT * FROM RefundTransactions WHERE OrderId = '123'
When performing a query without a filter or a filter other then the OrderId column, the Cloud will retrieve the entire list of refunds and perform the filters client-side.
The Shopify API requires that an OrderId be specified when retrieving refunds. Therefore to retrieve all the refunds, the Cloud will first retrieve all the OrderIds
from the Orders table (essentially performing the query: SELECT Id FROM Orders). Once the OrderId values have been retrieved, the Cloud will issue individual requests to the
Shopify API to retrieve all the refunds for each OrderId to build the result set.
SELECT * FROM RefundTransactions WHERE OrderId = '123' AND RefundId = '123'
| Name | Type | References | Description |
| TransactionsId [KEY] | Long | The ID for the refund transaction. | |
| OrderId | Long |
Orders.Id | The ID for the order that the transaction is associated with. |
| RefundId | Long |
Refunds.Id | The unique identifier for the refund associated with. |
| Amount | Decimal | The amount of money included in the transaction. | |
| Authorization | String | The authorization code associated with the transaction.. | |
| CreatedAt | Datetime | The date and time (ISO 8601 format) when the transaction was created. | |
| Currency | String | The three-letter code (ISO 4217 format) for the currency used for the payment. | |
| DeviceId | String | The ID for the device. | |
| ErrorCode | String | A standardized error code, independent of the payment provider. | |
| GraphqlAPIId | String | The order adjustment type. | |
| Gateway | String | The name of the gateway the transaction was issued through. | |
| Kind | String | The transaction's type. | |
| LocationId | String | The ID of the physical location where the transaction was processed. | |
| Message | String | A string generated by the payment provider with additional information about why the transaction succeeded or failed. | |
| ParentId | Long | The ID of an associated transaction.. | |
| ProcessedAt | Datetime | The date and time (ISO 8601 format) when a transaction was processed. | |
| Status | String | The status of the transaction. | |
| SourceName | String | The origin of the transaction. | |
| Test | Bool | Whether the transaction is a test transaction. | |
| UserId | String | The ID for the user who was logged into the Shopify POS device when the order was processed, if applicable. |
Query Shipping item discount allocations.
SELECT * from ShippingItemDiscountAllocations
SELECT * from ShippingItemDiscountAllocations where OrderId='1'
SELECT * from ShippingItemDiscountAllocations where OrderId IN ('1', '2')
SELECT * from ShippingItemDiscountAllocations where OrderUpdatedAt <= '2020-07-20 08:28:03.0'
SELECT * from ShippingItemDiscountAllocations where OrderUpdatedAt > '2020-07-20 08:28:03.0'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
ShippingItems.ItemId | The id of the shipping item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| Amount | String | The Amount of the item discount allocations. | |
| ShopMoneyAmount | Decimal | The ShopMoneyAmount of the item discount allocations. | |
| ShopMoneyCurrencyCode | String | The ShopMoneyCurrencyCode of the item discount allocations. | |
| PresentmentMoneyAmount | Decimal | The PresentmentMoneyAmount of the item discount allocations. | |
| PresentmentMoneyCurrencyCode | String | The PresentmentMoneyCurrencyCode of the item discount allocations. | |
| DiscountApplicationIndex | Int | The Discount application index for an order. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order shipping.
SELECT * FROM ShippingItems WHERE OrderId = '123'
SELECT * FROM ShippingItems WHERE OrderUpdatedAt > '2018-05-05'
| Name | Type | References | Description |
| Id [KEY] | Long | The id of the shipping item. | |
| OrderId [KEY] | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Price | Decimal | The price of this shipping method. | |
| Code | String | A reference to the shipping method. | |
| Title | String | The title of the shipping method. | |
| Source | String | The source of the shipping method. | |
| CarrierIdentifier | String | A reference to the carrier service that provided the rate. | |
| RequestedFulfillmentServiceId | String | A reference to the fulfillment service that is being requested for the shipping method. |
Retrieve information regarding shipping zones.
The following query is the only one processed server-side:
SELECT * FROM ShippingZones
| Name | Type | References | Description |
| Id [KEY] | Long | The unique numeric identifier for the shipping zone. | |
| Name | String | The name of the shipping zone, specified by the user. | |
| ProfileId | String | The ID of the shipping zone's delivery profile. Shipping profiles allow merchants to create product-based or location-based shipping rates. | |
| LocationGroupId | String | The ID of the shipping zone's location group. Location groups allow merchants to create shipping rates that apply only to the specific locations in the group. | |
| Countries | String | A list of countries that belong to the shipping zone. | |
| CarrierShippingRateProviders | String | Information about carrier shipping providers and the rates used. | |
| PriceBasedShippingRates | String | Information about price based shipping rates used. | |
| WeightBasedShippingRates | String | Information about weight based shipping rates used. |
Contains general settings and information about the shop.
SELECT * FROM Shop
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the shop. | |
| Name | String | The name of the shop. | |
| String | The contact email address for the shop. | ||
| Address1 | String | The shop's street address. | |
| Address2 | String | The shop's additional street address (apt, suite, etc.). | |
| City | String | The city in which the shop is located. | |
| Country | String | The shop's country (by default equal to the two-letter country code). | |
| CountryCode | String | The two-letter country code corresponding to the shop's country. | |
| CountryName | String | The shop's normalized country name. | |
| CustomerEmail | String | The customer's email. | |
| Currency | String | The three-letter code for the currency that the shop accepts. | |
| Domain | String | The shop's domain. | |
| GoogleAppsDomain | String | The URL of the domain if the shop has a google apps domain. | |
| GoogleAppsLoginEnabled | String | Indicated whether the shop has google apps login enabled. | |
| Latitude | Double | Geographic coordinate specifying the north/south location of a shop. | |
| Longitude | Double | Geographic coordinate specifying the east/west location of a shop. | |
| MoneyFormat | String | A string representing the way currency is formatted when the currency isn't specified. | |
| MoneyWithCurrencyFormat | String | A string representing the way currency is formatted when the currency is specified. | |
| WeightUnit | String | A string representing the default unit of weight measurement for the shop. | |
| MyshopifyDomain | String | The shop's 'myshopify.com' domain. | |
| PlanName | String | The name of the Shopify plan the shop is on. | |
| HasDiscounts | Bool | Indicates if any active discounts exist for the shop. | |
| HasGiftCards | Bool | Indicates if any active gift cards exist for the shop. | |
| PlanDisplayName | String | The display name of the Shopify plan the shop is on. | |
| PasswordEnabled | Bool | Indicates whether the Storefront password protection is enabled. | |
| Phone | String | The contact phone number for the shop. | |
| PrimaryLocale | String | The shop's primary locale. | |
| Province | String | The shop's normalized province or state name. | |
| ProvinceCode | String | The two-letter code for the shop's province or state. | |
| ShopOwner | String | The username of the shop owner. | |
| Source | String | The handle of the partner account that referred the merchant to Shopify, if applicable. | |
| TaxShipping | Bool | Specifies whether or not taxes were charged for shipping. | |
| TaxesIncluding | Bool | The setting for whether applicable taxes are included in product prices. | |
| CountryTaxes | Bool | The setting for whether the shop is applying taxes on a per-county basis or not (US-only). | |
| Timezone | String | The name of the timezone the shop is in. | |
| IANATimezone | String | The named timezone assigned by the IANA. | |
| Zip | String | The zip or postal code of the shop's address. | |
| HasStorefront | Bool | Indicates whether the shop has web-based storefront or not. | |
| CreatedAt | Datetime | The date and time when the shop was created. | |
| UpdatedAt | Datetime | The date and time when the shop was last updated. | |
| SetupRequired | Bool | Indicates whether the shop has any outstanding setup steps or not. |
Query order taxes.
SELECT * FROM TaxItems WHERE OrderId = '123'
SELECT * FROM TaxItems WHERE OrderUpdatedAt > '2018-05-21'
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. | |
| TaxItemPrice | Decimal | The amount of tax to be charged. | |
| TaxItemRate | Decimal | The rate of tax to be applied. | |
| TaxItemTitle | String | The name of the tax. |
Query Users.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM Users
SELECT * FROM Users WHERE Id = 123
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the user. | |
| FirstName | String | The first name of the user. | |
| String | The email of the user. | ||
| Url | String | The url of the user. | |
| IM | String | The IM of the user. | |
| ScreenName | String | The screen name of the user. | |
| Phone | String | The phone number of the of the user. | |
| LastName | String | The last name of the user. | |
| AccountOwner | Bool | If the user is the account owner. | |
| ReceiveAnnouncements | Bool | If the user receives announcements. | |
| Bio | String | The bio of the user. | |
| Permissions | String | The list of permissions of the user. | |
| Locale | String | The Locale of the user. | |
| UserType | String | The type of the user. | |
| AdminGraphQLAPIId | String | The Admin GraphQL API Id of the user. | |
| TFAEnabled | Bool | If TFA is enabled. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| AcceptCancellationRequest | Accepts a cancellation request sent to a fulfillment service for a fulfillment order. |
| AcceptFulfillmentRequest | Accepts a fulfillment request sent to a fulfillment service for a fulfillment order. |
| ApproveComment | Approves a comment |
| AssignDefaultAddress | Assign a default address to a customer. |
| CalculateRefund | Calculates refund transactions based on line items and shipping. |
| ChangeSpamStatus | Changes spam status of a comment |
| CompleteDraftOrder | Complete a draft order. |
| CreateAccountActivationUrl | Creates an account activation URL for the specified customer. |
| RejectCancellationRequest | Rejects a cancellation request sent to a fulfillment service for a fulfillment order. |
| RejectFulfillmentRequest | Rejects a fulfillment request sent to a fulfillment service for a fulfillment order. |
| RestoreComment | Restores a previously removed comment |
| SendCancellationRequest | Sends a cancellation request to the fulfillment service of a fulfillment order. |
| SendFulfillmentRequest | Sends a fulfillment request to the fulfillment service of a fulfillment order. |
| SendInvite | Send a default or customized invite to a customer. |
| SendInvoice | Send a default or customized invoice to a customer. |
| UpdateQuantity | Update the available quantity of inventory items for a product variant in a specific location. |
Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for accepting the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for accepting the fulfillment request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Approves a comment
| Name | Type | Description |
| Id | String | The id of the comment that needs to be approved. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Assign a default address to a customer.
| Name | Type | Description |
| CustomerId | String | The id of the customer. |
| CustomerAddressId | String | The id of the address you are setting as default. This address must belong to the customer specified in CustomerId. You cannot use the address of a different customer. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Calculates refund transactions based on line items and shipping.
| Name | Type | Description |
| OrderId | String | The id of the order. |
| Currency | String | The ISO format for the currency used to refund. Required when the ShippingAmount is provided. |
| RefundLineItems | String | A list of line item IDs, quantities to refund, and restock instructions. |
| ShippingFullRefund | String | Specify whether to refund all remaining shipping. |
| ShippingAmount | Double | Specify a specific amount to refund for shipping. Takes precedence over ShippingFullRefund. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| AdditionalFees | String | A JSON aggregate for additional fees. |
| Currency | String | The ISO format for the currency used to refund. |
| Duties | String | A JSON aggregate of the refunded duties as part of this refund. |
| RefundLineItems | String | A JSON aggregate of line item IDs, quantities to refund, and restock instructions. |
| Return | String | The items that will be returned to the merchant. |
| ShippingAmount | Decimal | The decimal amount for shipping. |
| ShippingMaximumRefundable | Decimal | The maximum amount that can be refunded for shipping. |
| ShippingTax | Decimal | The tax amount for the shipping. |
| TotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | The decimal amount for additional fees presentment money. |
| TotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | The currency for additional fees presentment money. |
| TotalAdditionalFeesSetShopMoneyAmount | Decimal | The decimal amount for additional fees shop money. |
| TotalAdditionalFeesSetShopMoneyCurrencyCode | String | The currency for additional fees shop money. |
| TotalDutiesSetPresentmentMoneyAmount | Decimal | The decimal amount for duties presentment money. |
| TotalDutiesSetPresentmentMoneyCurrencyCode | String | The currency for for duties presentment money. |
| TotalDutiesSetShopMoneyAmount | Decimal | The decimal amount for duties shop money. |
| TotalDutiesSetShopMoneyCurrencyCode | String | The currency for duties shop money. |
| TransactionsOrderId | Long | The id of the transaction order. |
| TransactionsKind | String | The kind of transaction. Indicates whether the refund will be accepted. |
| TransactionsGateway | String | The gateway of the transaction. |
| TransactionsParentId | Long | The parent ID for the transaction. |
| TransactionsAmount | Decimal | The decimal amount for the transaction. |
| TransactionsCurrencyCode | String | The currency for the transaction. |
| TransactionsMaximumRefundable | Decimal | The maximum amount that can be refunded for transaction. |
Changes spam status of a comment
| Name | Type | Description |
| Id | String | The id of the comment whose status needs to be changed |
| Spam | String | Value of spam status
The allowed values are yes, no. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Complete a draft order.
| Name | Type | Description |
| Id | String | The id of the draft order. |
| PaymentPending | String | Sets payment pending to true.
The default value is false. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Creates an account activation URL for the specified customer.
| Name | Type | Description |
| CustomerId | String | The id of the customer. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| AccountActivationUrl | String | The URL the customer needs to access to activate his account. |
Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for rejecting the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| LineItems | String | An optional array of line item rejection details. If none are provided, all line items will be assumed to be unfulfillable. |
| Message | String | An optional message for rejecting the fulfillment request. |
| Reason | String | An optional reason for the fulfillment request rejection.
The allowed values are incorrect_address, inventory_out_of_stock, ineligible_product, undeliverable_destination, other. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Restores a previously removed comment
| Name | Type | Description |
| Id | String | The id of the comment that needs to be restored. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Sends a cancellation request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Sends a fulfillment request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| FulfillmentOrderLineItems | String | The fulfillment order line items to be requested for fulfillment. If left blank, all line items of the fulfillment order are requested for fulfillment. |
| Message | String | An optional message for the fulfillment request. |
| NotifyCustomer | Boolean | Whether to notify the customer about the fulfillment request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Send a default or customized invite to a customer.
| Name | Type | Description |
| Id | String | The customer id to whom the invite will be sent. |
| To | String | The email address of whom to send the invite. |
| From | String | The email address of the person who sent the invite. |
| BCC | String | A comma separated list of email addresses to whom a blind carbon copy of the email will be sent. |
| Subject | String | The subject of the email. |
| CustomMessage | String | A custom message to be sent. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Send a default or customized invoice to a customer.
| Name | Type | Description |
| Id | String | The id of the draft order invoice which will be sent. |
| To | String | The email address of whom to send the invoice. |
| From | String | The email address of the person who sent the invoice. |
| BCC | String | A comma separated list of email addresses to whom a blind carbon copy of the email will be sent. |
| Subject | String | The subject of the email. |
| CustomMessage | String | A custom message to be sent. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Update the available quantity of inventory items for a product variant in a specific location.
| Name | Type | Description |
| Id | String | A unique numeric identifier for the product variant. |
| InventoryQuantity | String | The quantity of inventory items available for sale to set. |
| LocationId | String | The ID of the location where the available quantity of items for sale is to be set. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
The CData Cloud models the Shopify API as relational tables, views, and stored procedures.
To use the GraphQL Data Model, simply set Schema to GraphQL.
The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.
Common tables include:
| Table | Description |
| Shop | Contains general settings and information about the shop. |
| Customers | Lists customers with core profile data, marketing preferences, and tags. |
| Catalogs | Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use. |
| Orders | Lists orders with customer, payment, fulfillment, duty, and tax details. |
| DeliveryProfiles | Lists saved delivery profiles that define shipping logic by product and location. |
| OrderTransactions | Lists payment transactions associated with orders (authorization, capture, refund). |
| Refunds | Represents refunds of items or transactions on an order, with amounts and reasons. |
| RefundLineItems | Lists refund line item records that specify quantities and amounts refunded. |
| Products | Lists products with titles, status, variants, media, and publishing details. |
| ProductVariants | Lists product variants with pricing, inventory tracking, and option values. |
| Collections | Returns manual and automated collections with titles, rules, and publication state. |
| CollectionProducts | Lists products contained within a specified collection. |
| DraftOrders | Lists saved draft orders for manual checkout or invoicing workflows. |
| DraftOrderLineItems | Lists the line items included in a draft order with quantities and prices. |
| Fulfillments | Represents shipments created for orders, including tracking and delivery status. |
| FulfillmentOrders | Lists merchant-managed and third-party fulfillment orders with statuses and assignments. |
| FulfillmentEvents | Lists status events (in transit, delivered) associated with fulfillments. |
| Locations | Lists active inventory locations used for stock, fulfillment, and pickup. |
| InventoryItems | Lists inventory items (SKU-level records) with tracking and cost data. |
| Metafields | Lists metafields attached to one or more resource Ids. |
Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing fulfillment orders, adjusting inventory across locations, and administering store configuration and content.
See UseBulkAPI for a more in-depth look at how the driver performs Shopify Bulk Operations.
The Cloud models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.
| Name | Description |
| AppFeedbacks | Reports the status of shops and their resources and displays this information within Shopify admin. AppFeedback is used to notify merchants about steps they need to take to set up an application on their store. |
| AppSubscriptionLineItems | Returns the plans attached to the app subscription. |
| AppSubscriptions | Lists all subscriptions created for a shop on the installed application. |
| ArticleComments | List of article comments. |
| Articles | List of the shop's articles. |
| Blogs | List of the shop's blogs. |
| CarrierServices | Returns a list of activated carrier services and associated shop locations that support them. |
| Catalogs | The catalogs belonging to the shop. |
| Collections | Returns a list of collections. |
| Companies | Returns the list of companies in the shop. |
| CompanyContactRoleAssignments | Returns role assignments. |
| CompanyContacts | Returns contacts for companies. |
| CompanyLocations | Returns a list of locations in the company. |
| CompanyLocationStaffMemberAssignments | Store's staff member who are assigned to a company location of the shop. The assigned staff members' actions are limited to objects associated with the assigned company location. (This table is available only with a ShopifyPlus subscription) |
| Customers | Retrieves a list of customers. |
| DeliveryProfiles | Returns a list of saved delivery profiles. |
| DiscountsAutomaticApp | Returns a list of discounts. |
| DiscountsAutomaticBasic | Returns a list of discounts. |
| DiscountsAutomaticBxgy | Returns a list of discounts. |
| DiscountsCodeApp | Returns a list of discounts. |
| DiscountsCodeBasic | Returns a list of discounts. |
| DiscountsCodeBxgy | Returns a list of discounts. |
| DraftOrders | Returns a list of saved draft orders. |
| Files | Returns the list of files that have been uploaded to Shopify. |
| FulfillmentEvents | Retrieves the history of events associated with one or many fulfillments. |
| FulfillmentOrders | Retrieves a paginated list of merchant-managed and third-party fulfillment orders. |
| Fulfillments | Fulfillment represents a shipment of one or more items in an order. |
| FulfillmentServices | Lists fulfillmentServices which Represents service that prepares and ships orders on behalf of the store owner. |
| FulfillmentTrackingInfo | Lists tracking information associated with the fulfillment, such as the tracking company, tracking number, and tracking URL. |
| GiftCards | Returns a list of gift cards. Requires read_gift_cards access scope. Also, note that the API client must be a private or custom application installed on a Shopify Plus or Shopify Plus Partner Sandbox store. (This table is available only with a ShopifyPlus subscription) |
| GiftCardTransactionsCredit | Credit transactions which increase the gift card balance. (This table is available only with a ShopifyPlus subscription) |
| GiftCardTransactionsDebit | Debit transactions which decrease the gift card balance. (This table is available only with a ShopifyPlus subscription) |
| InventoryItemInventoryLevels | Returns overview information of the inventory item for each location that the inventory item can be stocked at. |
| InventoryItems | Returns a list of inventory items. |
| Locations | Returns a list of active inventory locations. |
| Menus | List menus for display on the storefront. |
| MetafieldDefinitions | Returns metafield definitions. |
| Metafields | Retrieves a list of metafields that belong to one or many resource IDs. |
| OrderRiskAssessments | Retrieves a list of risk assessments for orders. |
| Orders | Retrieves a list of orders. |
| OrderTransactions | Retrieves the transactions associated with the resource. |
| Pages | List of the shop's pages. |
| PriceLists | All price lists for a shop. |
| ProductMediaImages | Returns the media images associated with the product. |
| ProductOptions | Returns a list of product options. The limit is specified by Shop.resourceLimits.maxProductOptions. |
| ProductOptionValues | List all the corresponding option value objects to the product option, including values not assigned to any variants. |
| ProductResourceFeedbacks | Returns the product resource feedback for the currently authenticated app. |
| Products | Returns a list of products. |
| ProductVariants | Returns a list of the product variants. |
| Publications | Returns the list of publications. |
| Refunds | Represents a refund of items or transactions in an order. |
| Returns | Retrieves a list of returns for the order. |
| ScriptTags | Returns a list of script tags. |
| Segments | A list of a shop's segments. |
| SellingPlanGroups | Returns a list Selling Plan Groups. |
| StoreCreditAccountCreditTransactions | Credit transactions which increase the store credit account balance. |
| StoreCreditAccountDebitTransactions | Debit transactions which decrease the store credit account balance. |
| StorefrontAccessTokens | Retrieves the storefront access token of a private application. These are scoped per-application. |
| Themes | List of the shop's themes. |
| UrlRedirects | Returns a list of redirects for a shop. |
Reports the status of shops and their resources and displays this information within Shopify admin. AppFeedback is used to notify merchants about steps they need to take to set up an application on their store.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM AppFeedbacks
The following columns can be used to create a new record:
Message, State, FeedbackGeneratedAt
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | True |
Name of the app. | |
| Message | String | True |
The feedback message presented to the merchant. | |
| Url | String | True |
The URL that the link visits. | |
| Label | String | True |
A context-sensitive label for the link. | |
| State | String | True |
The state of the feedback and whether it requires merchant action. The allowed values are ACCEPTED, REQUIRES_ACTION. | |
| FeedbackGeneratedAt | Datetime | True |
The date and time when the feedback was generated. Used to help determine whether incoming feedback is outdated compared to existing feedback. |
Returns the plans attached to the app subscription.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppSubscriptionLineItems WHERE AppInstallationId = 'Val1'
The following columns can be updated:
UsagePricingPlanCappedAmount, UsagePricingPlanCappedAmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AppSubscriptionId | String | True |
A globally-unique ID. | |
| AppInstallationId | String | True |
A globally-unique ID. | |
| RecurringPricingPlanDiscountDurationLimitInIntervals | Int | True |
The total number of billing intervals to which the discount will be applied. The discount will be applied to an indefinite number of billing intervals if this value is blank. | |
| RecurringPricingPlanDiscountPriceAfterDiscountAmount | Decimal | True |
The price of the subscription after the discount is applied. Decimal money amount. | |
| RecurringPricingPlanDiscountPriceAfterDiscountCurrencyCode | String | True |
The price of the subscription after the discount is applied. Currency of the money. | |
| RecurringPricingPlanDiscountRemainingDurationInIntervals | Int | True |
The remaining number of billing intervals to which the discount will be applied. | |
| RecurringPricingPlanValueAmount | Decimal | True |
The value of the discount applied every billing interval. Decimal money amount. | |
| RecurringPricingPlanValueAmountCurrencyCode | String | True |
The value of the discount applied every billing interval. Currency of the money. | |
| RecurringPricingPlanValuePercentage | Double | True |
The value of the discount applied every billing interval. The percentage value of a discount. | |
| RecurringPricingPlanInterval | String | True |
The frequency at which the subscribing shop is billed for an app subscription. | |
| RecurringPricingPlanPriceAmount | Decimal | True |
The amount to be charged to the subscribing shop every billing interval. Decimal money amount. | |
| RecurringPricingPlanPriceCurrencyCode | String | True |
The currency to be charged to the subscribing shop every billing interval. Currency of the money. | |
| UsagePricingPlanBalanceUsedAmount | Decimal | True |
The total usage records for interval. Decimal money amount. | |
| UsagePricingPlanBalanceUsedCurrencyCode | String | True |
The total usage records for interval. Currency of the money. | |
| UsagePricingPlanCappedAmount | Decimal | False |
The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount. | |
| UsagePricingPlanCappedAmountCurrencyCode | String | False |
The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money. | |
| UsagePricingPlanInterval | String | True |
The frequency with which the app usage records are billed. | |
| UsagePricingPlanTerms | String | True |
The terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges. |
Lists all subscriptions created for a shop on the installed application.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppSubscriptions WHERE AppInstallationId = 'Val1'
The following columns can be used to create a new record:
Name, Test, ReturnUrl, TrialDays, LineItem (references AppSubscriptionLineItems)
| Column Name | Type | Description |
| RecurringPricingPlanDiscountPriceAfterDiscountAmount | Decimal | The price of the subscription after the discount is applied. Decimal money amount. |
| RecurringPricingPlanDiscountRemainingDurationInIntervals | Int | The remaining number of billing intervals to which the discount will be applied. |
| RecurringPricingPlanValuePercentage | Double | The value of the discount applied every billing interval. The percentage value of a discount. |
| RecurringPricingPlanInterval | String | The frequency at which the subscribing shop is billed for an app subscription. |
| RecurringPricingPlanPriceAmount | Decimal | The amount to be charged to the subscribing shop every billing interval. Decimal money amount. |
| RecurringPricingPlanPriceCurrencyCode | String | The currency to be charged to the subscribing shop every billing interval. Currency of the money. |
| UsagePricingPlanCappedAmount | Decimal | The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount. |
| UsagePricingPlanCappedAmountCurrencyCode | String | The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money. |
| UsagePricingPlanTerms | String | The terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AppInstallationId | String | True |
A globally-unique ID. | |
| Name | String | True |
The name of the app subscription. | |
| Status | String | True |
The status of the app subscription. | |
| Test | Bool | True |
Specifies whether the app subscription is a test transaction. | |
| ReturnUrl | String | True |
The URL that the merchant is redirected to after approving the app subscription. | |
| TrialDays | Int | True |
The number of free trial days, starting at the subscription's creation date, by which billing is delayed. | |
| CurrentPeriodEnd | Datetime | True |
The date and time when the current app subscription period ends. Returns 'null' if the subscription isn't active. | |
| CreatedAt | Datetime | True |
The date and time when the app subscription was created. | |
| LineItemIds | String | True |
The IDs of the plans attached to the app subscription. | |
| LineItem | String | True |
The plans attached to the app subscription. |
List of article comments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ArticleComments WHERE Id = 'Val1'
SELECT * FROM ArticleComments WHERE ArticleId = 'Val1'
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ArticleId | String | True |
A globally-unique ID. | |
| ArticleTitle | String | True |
The title of the article. | |
| Body | String | True |
The content of the comment. | |
| BodyHtml | String | True |
The content of the comment, complete with HTML formatting. | |
| Status | String | True |
The status of the comment. | |
| Ip | String | True |
The IP address of the commenter. | |
| UserAgent | String | True |
The user agent of the commenter. | |
| AuthorName | String | True |
The author’s name. | |
| AuthorEmail | String | True |
The author's email. | |
| IsPublished | Bool | True |
Whether or not the comment is published. | |
| PublishedAt | Datetime | True |
The date and time when the comment was published. | |
| UpdatedAt | Datetime | True |
The date and time when the comment was last updated. | |
| CreatedAt | Datetime | True |
The date and time when the comment was created. |
List of the shop's articles.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Articles WHERE Id = 'Val1'
SELECT * FROM Articles WHERE AuthorName = 'Val1'
SELECT * FROM Articles WHERE BlogTitle = 'Val1'
SELECT * FROM Articles WHERE IsPublished = true
SELECT * FROM Articles WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Articles WHERE CreatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, PublishedAt
The following pseudo-columns can be used to create a new record:
AuthorUserId, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, IsPublished, PublishedAt
The following pseudo-columns can be used to update a record:
AuthorUserId, RedirectNewHandle, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the article. | |
| Body | String | False |
The text of the article's body, complete with HTML markup. | |
| Handle | String | False |
A unique, human-friendly string for the article that's automatically generated from the article's title. The handle is used in the article's URL. | |
| Summary | String | False |
A summary of the article, which can include HTML markup. The summary is used by the online store theme to display the article on other pages, such as the home page or the main blog page. | |
| Tags | String | False |
Tags are additional short descriptors. | |
| TemplateSuffix | String | False |
The name of the template an article is using if it's using an alternate template. If an article is using the default 'article. liquid' template, then the value returned is 'null'. | |
| AuthorName | String | False |
The author's full name. | |
| BlogId | String | False |
A globally-unique ID. | |
| BlogTitle | String | False |
The title of the blog. | |
| ImageId | String | True |
A unique ID for the image. | |
| ImageAltText | String | False |
A word or phrase to share the nature or contents of an image. | |
| ImageUrl | String | False |
The location of the image as a URL. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image isn't hosted by Shopify. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image isn't hosted by Shopify. | |
| CommentsCount | Int | True |
Count of comments. | |
| CommentPrecision | String | True |
The count's precision, or the exactness of the value. | |
| IsPublished | Bool | False |
Whether or not the article is visible. | |
| PublishedAt | Datetime | False |
The date and time when the article became or will become visible. Returns null when the article isn't visible. | |
| UpdatedAt | Datetime | True |
The date and time when the article was last updated. | |
| CreatedAt | Datetime | True |
The date and time when the article was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| AuthorUserId | String |
The ID of a staff member's account. |
| RedirectNewHandle | Bool |
Whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically. |
| Metafields | String |
The input fields to create or update a metafield. |
List of the shop's blogs.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Blogs WHERE Id = 'Val1'
SELECT * FROM Blogs WHERE Title = 'Val1'
SELECT * FROM Blogs WHERE Handle = 'Val1'
SELECT * FROM Blogs WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Blogs WHERE CreatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, Handle, TemplateSuffix, CommentPolicy
The following pseudo-column can be used to create a new record:
Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
Title, Handle, TemplateSuffix, CommentPolicy
The following pseudo-columns can be used to update a record:
RedirectArticles, RedirectNewHandle, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the blog. | |
| Handle | String | False |
A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title. The handle is customizable and is used by the Liquid templating language to refer to the blog. | |
| Tags | String | True |
A list of tags associated with the 200 most recent blog articles. | |
| TemplateSuffix | String | False |
The name of the template a blog is using if it's using an alternate template. Returns 'null' if a blog is using the default blog. liquid template. | |
| ArticlesCount | Int | True |
The count of elements. | |
| ArticlesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CommentPolicy | String | False |
Indicates whether readers can post comments to the blog and if comments are moderated or not. | |
| FeedLocation | String | True |
Blog feed provider url. | |
| FeedPath | String | True |
Blog feed provider path. | |
| UpdatedAt | Datetime | True |
The date and time when the blog was update. | |
| CreatedAt | Datetime | True |
The date and time when the blog was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| RedirectArticles | Bool |
Whether to redirect blog posts automatically. |
| RedirectNewHandle | Bool |
Whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically. |
| Metafields | String |
Attaches additional metadata to a store's resources. |
Returns a list of activated carrier services and associated shop locations that support them.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM CarrierServices
The following columns can be used to create a new record:
Name, Active, SupportsServiceDiscovery, CallbackUrl
The following columns can be updated:
Name, Active, SupportsServiceDiscovery, CallbackUrl
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
The name of the shipping service provider. | |
| FormattedName | String | True |
The properly formatted name of the shipping service provider, ready to display. | |
| IconAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| IconHeight | Int | True |
The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify. | |
| IconId | String | True |
A unique ID for the image. | |
| IconWidth | Int | True |
The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify. | |
| Active | Bool | False |
Whether the carrier service is active. | |
| SupportsServiceDiscovery | Bool | False |
Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples. | |
| CallbackUrl | String | False |
The URL endpoint that Shopify needs to retrieve shipping rates. |
The catalogs belonging to the shop.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Catalogs
The following columns can be used to create a new record:
Status, Title, PriceListId, PublicationId
The following pseudo-column can be used to create a new record:
CompanyLocationIds
The following columns can be updated:
Status, Title, PriceListId, PublicationId
The following pseudo-column can be used to update a record:
CompanyLocationIds
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Status | String | False |
The status of the catalog. | |
| Title | String | False |
The name of the catalog. | |
| PriceListId | String | False |
A globally-unique ID. | |
| PublicationId | String | False |
A globally-unique ID. | |
| OperationId | String | True |
A globally-unique ID. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| CompanyLocationIds | String |
The IDs of the company locations to associate to the catalog. |
Returns a list of collections.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Collections WHERE Id = 'Val1'
SELECT * FROM Collections WHERE Title = 'Val1'
SELECT * FROM Collections WHERE UpdatedAt = '2023-01-01 11:10:00'
The following column can be updated:
SortOrder
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Title | String | True |
The name of the collection. It's displayed in the Shopify admin and is typically displayed in sales channels, such as an online store. | |
| Handle | String | True |
A unique string that identifies the collection. If a handle isn't specified when a collection is created, it's automatically generated from the collection's original title, and typically includes words from the title separated by hyphens. For example, a collection that was created with the title 'Summer Catalog 2022' might have the handle 'summer-catalog-2022'. If the title is changed, the handle doesn't automatically change. The handle can be used in themes by the Liquid templating language to refer to the collection, but using the ID is preferred because it never changes. | |
| DescriptionHtml | String | True |
The description of the collection, including any HTML tags and formatting. This content is typically displayed to customers, such as on an online store, depending on the theme. | |
| ProductsCount | Int | True |
The number of products in the collection. | |
| ProductsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| SortOrder | String | False |
The order in which the products in the collection are displayed by default in the Shopify admin and in sales channels, such as an online store. | |
| TemplateSuffix | String | True |
The suffix of the Liquid template being used to show the collection in an online store. For example, if the value is 'custom', then the collection is using the 'collection. custom. liquid' template. If the value is 'null', then the collection is using the default 'collection. liquid' template. | |
| AvailablePublicationsCount | Int | True |
The number of publications a resource is published to without feedback errors. | |
| AvailablePublicationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| PublishedOnCurrentPublication | Bool | True |
Check to see whether the resource is published to the calling app's publication. | |
| UpdatedAt | Datetime | True |
The date and time when the collection was last modified. | |
| FeedbackSummary | String | True |
Summary of resource feedback pertaining to the resource. | |
| ImageId | String | True |
A unique ID for the image. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The location of the image as a URL. | |
| RuleSetAppliedDisjunctively | Bool | True |
Whether products must match any or all of the rules to be included in the collection. If true, then products must match at least one of the rules to be included in the collection. If false, then products must match all of the rules to be included in the collection. | |
| SeoTitle | String | True |
SEO Title. | |
| SeoDescription | String | True |
SEO Description. |
Returns the list of companies in the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Companies WHERE Id = 'Val1'
SELECT * FROM Companies WHERE ExternalId = 'Val1'
SELECT * FROM Companies WHERE Name = 'Val1'
SELECT * FROM Companies WHERE CustomerSince = '2023-01-01 11:10:00'
SELECT * FROM Companies WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Companies WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
ExternalId, Name, Note, CustomerSince
The following columns can be updated:
ExternalId, Name, Note, MainContactId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ExternalId | String | False |
A unique externally-supplied ID for the company. | |
| Name | String | False |
The name of the company. | |
| Note | String | False |
A note about the company. | |
| ContactsCount | Int | True |
The number of contacts that belong to the company. | |
| ContactsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CustomerSince | Datetime | True |
The date and time at which the company became the customer. | |
| DefaultCursor | String | True |
A default cursor that returns the single next record, sorted ascending by ID. | |
| LifetimeDuration | String | True |
The lifetime duration of the company, since it became a customer of the shop. Examples: '2 days', '3 months', '1 year'. | |
| LocationsCount | Int | True |
The number of locations that belong to the company. | |
| LocationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| OrdersCount | Int | True |
The total number of orders placed for this company, across all its locations. | |
| OrdersCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| HasTimelineComment | Bool | True |
Whether the merchant added a timeline comment to the company. | |
| CreatedAt | Datetime | True |
The date and time at which the company was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the company was last modified. | |
| DefaultRoleId | String | True |
A globally-unique ID. | |
| DefaultRoleName | String | True |
The name of a role. For example, 'admin' or 'buyer'. | |
| DefaultRoleNote | String | True |
A note for the role. | |
| MainContactId | String | True |
A globally-unique ID. | |
| TotalSpentAmount | Decimal | True |
Decimal money amount. | |
| TotalSpentCurrencyCode | String | True |
Currency of the money. |
Returns role assignments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyContactRoleAssignments WHERE CompanyContactId = 'Val1'
The following columns can be used to create a new record:
CompanyLocationId, CompanyContactId, RoleId
You can delete entries by specifying the following columns:
Id, CompanyContactId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| CompanyId | String | True |
The company this role assignment belongs to. | |
| CompanyLocationId | String | True |
The company location to which the role is assigned. | |
| CompanyContactId | String | True |
The company contact for whom this role is assigned. | |
| CreatedAt | Datetime | True |
The date and time when the assignment record was created. | |
| UpdatedAt | Datetime | True |
The date and time when the assignment record was last updated. | |
| RoleId | String | True |
A globally-unique ID. | |
| RoleName | String | True |
The name of a role. For example, 'admin' or 'buyer'. | |
| RoleNote | String | True |
A note for the role. |
Returns contacts for companies.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CompanyContacts WHERE CompanyId = 'Val1'
SELECT * FROM CompanyContacts WHERE Id = 'Val1'
The following columns can be used to create a new record:
CompanyId, Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone, CustomerId
The following columns can be updated:
Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| CompanyId | String | True |
The company to which the contact belongs. | |
| Id [KEY] | String | True |
A globally-unique ID. | |
| IsMainContact | Bool | True |
Whether the contact is the main contact of the company. | |
| Title | String | False |
The company contact's job title. | |
| Locale | String | False |
The company contact's locale (language). | |
| LifetimeDuration | String | True |
The lifetime duration of the company contact, since its creation date on Shopify. Examples: '1 year', '2 months', '3 days'. | |
| CreatedAt | Datetime | True |
The date and time at which the company contact was created at Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the company contact was last updated. | |
| CustomerId | String | True |
The customer associated to this contact. | |
| CustomerFirstName | String | False |
The customer's first name. | |
| CustomerLastName | String | False |
The customer's last name. | |
| CustomerEmail | String | False |
The customer's email address. | |
| CustomerPhone | String | False |
The customer's phone number. |
Returns a list of locations in the company.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyLocations WHERE CompanyId = 'Val1'
The following columns can be used to create a new record:
CompanyId, ExternalId, TaxRegistrationId, Name, Locale, Note, Phone, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressPhone, BillingAddressRecipient, BillingAddressZip, BillingAddressCountryCode, BillingAddressZoneCode, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressPhone, ShippingAddressRecipient, ShippingAddressZip, ShippingAddressCountryCode, ShippingAddressZoneCode
The following columns can be updated:
ExternalId, Name, Locale, Note, Phone, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| CompanyId | String | True |
Companies.Id |
A globally-unique ID. |
| ExternalId | String | False |
A unique externally-supplied ID for the company location. | |
| TaxRegistrationId | String | True |
The tax registration ID for the company location. | |
| Name | String | False |
The name of the company location. | |
| Currency | String | True |
The location's currency based on the shipping address. If the shipping address is empty, then the value is the shop's primary market. | |
| Locale | String | False |
The preferred locale of the company location. | |
| Note | String | False |
A note about the company location. | |
| Phone | String | False |
The phone number of the company location. | |
| DefaultCursor | String | True |
A default cursor that returns the single next record, sorted ascending by ID. | |
| OrdersCount | Int | True |
The total number of orders placed for the location. | |
| OrdersCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| TaxExemptions | String | True |
The list of tax exemptions applied to the location. | |
| HasTimelineComment | Bool | True |
Whether the merchant added a timeline comment to the company location. | |
| CreatedAt | Datetime | True |
The date and time at which the company location was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the company location was last modified. | |
| BillingAddressId | String | True |
A globally-unique ID. | |
| BillingAddressCompanyName | String | True |
The name of the company. | |
| BillingAddressFirstName | String | True |
The first name of the recipient. | |
| BillingAddressLastName | String | True |
The last name of the recipient. | |
| BillingAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | True |
The name of the city, district, village, or town. | |
| BillingAddressCountry | String | True |
The name of the country. | |
| BillingAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| BillingAddressRecipient | String | True |
The identity of the recipient e. g. 'Receiving Department'. | |
| BillingAddressZip | String | True |
The zip or postal code of the address. | |
| BillingAddressCountryCode | String | True |
The two-letter code for the country of the address. For example, US. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| BillingAddressZoneCode | String | True |
The two-letter code for the region. For example, ON. | |
| BillingAddressCreatedAt | Datetime | True |
The date and time at which the company address was created. | |
| BillingAddressUpdatedAt | Datetime | True |
The date and time at which the company address was last updated. | |
| BuyerExperienceConfigurationCheckoutToDraft | Bool | False |
Whether to checkout to draft order for merchant review. | |
| BuyerExperienceConfigurationPayNowOnly | Bool | True |
Whether a buyer must pay at checkout or they can also choose to pay later using net terms. | |
| BuyerExperienceConfigurationEditableShippingAddress | Bool | False |
Whether to allow customers to use editable shipping addresses. | |
| BuyerExperienceConfigurationDepositPercentage | Double | False |
The portion required to be paid at checkout. | |
| BuyerExperienceConfigurationPaymentTermsTemplateId | String | False |
A globally-unique ID. | |
| BuyerExperienceConfigurationPaymentTermsTemplateName | String | True |
The name of the payment terms template. | |
| BuyerExperienceConfigurationPaymentTermsTemplateTranslatedName | String | True |
The translated payment terms template name. | |
| BuyerExperienceConfigurationPaymentTermsTemplateDescription | String | True |
The description of the payment terms template. | |
| BuyerExperienceConfigurationPaymentTermsTemplateDueInDays | Int | True |
The number of days between the issued date and due date if this is the net type of payment terms. | |
| BuyerExperienceConfigurationPaymentTermsTemplatePaymentTermsType | String | True |
The type of the payment terms template. | |
| MarketId | String | True |
A globally-unique ID. | |
| ShippingAddressId | String | True |
A globally-unique ID. | |
| ShippingAddressCompanyName | String | True |
The name of the company. | |
| ShippingAddressFirstName | String | True |
The first name of the recipient. | |
| ShippingAddressLastName | String | True |
The last name of the recipient. | |
| ShippingAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | True |
The name of the city, district, village, or town. | |
| ShippingAddressCountry | String | True |
The name of the country. | |
| ShippingAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| ShippingAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| ShippingAddressRecipient | String | True |
The identity of the recipient e. g. 'Receiving Department'. | |
| ShippingAddressZip | String | True |
The zip or postal code of the address. | |
| ShippingAddressCountryCode | String | True |
The two-letter code for the country of the address. For example, US. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| ShippingAddressZoneCode | String | True |
The two-letter code for the region. For example, ON. | |
| ShippingAddressCreatedAt | Datetime | True |
The date and time at which the company address was created. | |
| ShippingAddressUpdatedAt | Datetime | True |
The date and time at which the company address was last updated. | |
| TotalSpentAmount | Decimal | True |
Decimal money amount. | |
| TotalSpentCurrencyCode | String | True |
Currency of the money. |
Store's staff member who are assigned to a company location of the shop. The assigned staff members' actions are limited to objects associated with the assigned company location. (This table is available only with a ShopifyPlus subscription)
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CompanyLocationStaffMemberAssignments WHERE Id = 'Val1'
SELECT * FROM CompanyLocationStaffMemberAssignments WHERE CompanyLocationId = 'Val1'
The following columns can be used to create a new record:
CompanyLocationId, StaffMemberId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| CompanyId | String | True |
A globally-unique ID. | |
| CompanyName | String | True |
The name of the company. | |
| CompanyLocationId | String | True |
A globally-unique ID. | |
| CompanyLocationName | String | True |
The name of the company location. | |
| StaffMemberId | String | True |
A globally-unique ID. | |
| StaffMemberName | String | True |
The staff member's full name. |
Retrieves a list of customers.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Customers WHERE Id = 'Val1'
SELECT * FROM Customers WHERE Email = 'Val1'
SELECT * FROM Customers WHERE Phone = 'Val1'
SELECT * FROM Customers WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Customers WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt
The following columns can be updated:
FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| MultipassIdentifier | String | True |
A unique identifier for the customer that's used with Multipass login. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| ValidEmailAddress | Bool | True |
Whether the email address is formatted correctly. Returns 'true' when the email is formatted correctly and belongs to an existing domain. This doesn't guarantee that the email address actually exists. | |
| DisplayName | String | True |
The full name of the customer, based on the values for first_name and last_name. If the first_name and last_name are not available, then this falls back to the customer's email address, and if that is not available, the customer's phone number. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| String | False |
The customer's email address. | ||
| Locale | String | False |
The customer's locale. | |
| Note | String | False |
A note about the customer. | |
| Phone | String | False |
The customer's phone number. | |
| State | String | True |
The state of the customer's account with the shop. | |
| Tags | String | False |
A comma separated list of tags that have been added to the customer. | |
| CanDelete | Bool | True |
Whether the merchant can delete the customer from their store. A customer can be deleted from a store only if they have not yet made an order. After a customer makes an order, they can't be deleted from a store. | |
| LifetimeDuration | String | True |
The amount of time since the customer was first added to the store. Example: 'about 12 years'. | |
| TaxExempt | Bool | False |
Whether the customer is exempt from being charged taxes on their orders. | |
| TaxExemptions | String | False |
The list of tax exemptions applied to the customer. | |
| UnsubscribeUrl | String | True |
The URL to unsubscribe the customer from the mailing list. | |
| VerifiedEmail | Bool | True |
Whether the customer has verified their email address. Defaults to 'true' if the customer is created through the Shopify admin or API. | |
| NumberOfOrders | String | True |
The number of orders that the customer has made at the store in their lifetime. | |
| ProductSubscriberStatus | String | True |
Possible subscriber states of a customer defined by their subscription contracts. | |
| CreatedAt | Datetime | True |
The date and time when the customer was added to the store. | |
| UpdatedAt | Datetime | True |
The date and time when the customer was last updated. | |
| AmountSpentAmount | Decimal | True |
Decimal money amount. | |
| AmountSpentCurrencyCode | String | True |
Currency of the money. | |
| DefaultAddressId | String | True |
A globally-unique ID. | |
| DefaultAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| DefaultAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| DefaultAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| DefaultAddressFirstName | String | False |
The first name of the customer. | |
| DefaultAddressLastName | String | False |
The last name of the customer. | |
| DefaultAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| DefaultAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| DefaultAddressCity | String | False |
The name of the city, district, village, or town. | |
| DefaultAddressCompany | String | False |
The name of the customer's company or organization. | |
| DefaultAddressCountry | String | False |
The name of the country. | |
| DefaultAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| DefaultAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| DefaultAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| DefaultAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| DefaultAddressZip | String | False |
The zip or postal code of the address. | |
| DefaultAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| DefaultAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| DefaultAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| EmailMarketingConsentMarketingState | String | True |
The current email marketing state for the customer. | |
| EmailMarketingConsentMarketingOptInLevel | String | True |
The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines, that the customer gave when they consented to receive marketing material by email. | |
| EmailMarketingConsentConsentUpdatedAt | Datetime | True |
The date and time at which the customer consented to receive marketing material by email. The customer's consent state reflects the consent record with the most recent 'consent_updated_at' date. If no date is provided, then the date and time at which the consent information was sent is used. | |
| ImageId | String | True |
A unique ID for the image. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The location of the image as a URL. | |
| LastOrderId | String | True |
A globally-unique ID. | |
| MarketId | String | True |
A globally-unique ID. | |
| MergeableReason | String | True |
The reason why the customer can't be merged with another customer. | |
| MergeableErrorFields | String | True |
The list of fields preventing the customer from being merged. | |
| MergeableIsMergeable | Bool | True |
Whether the customer can be merged with another customer. | |
| MergeableMergeInProgressJobId | String | True |
The UUID of the merge job. | |
| MergeableMergeInProgressResultingCustomerId | String | True |
The ID of the customer resulting from the merge. | |
| MergeableMergeInProgressStatus | String | True |
The status of the customer merge request. | |
| SmsMarketingConsentMarketingState | String | False |
The current SMS marketing state for the customer. | |
| SmsMarketingConsentConsentCollectedFrom | String | True |
The source from which the SMS marketing information for the customer was collected. | |
| SmsMarketingConsentMarketingOptInLevel | String | False |
The marketing subscription opt-in level that was set when the customer consented to receive marketing information. | |
| SmsMarketingConsentConsentUpdatedAt | Datetime | False |
The date and time when the customer consented to receive marketing material by SMS. If no date is provided, then the date and time when the consent information was sent is used. | |
| StatisticsPredictedSpendTier | String | True |
The predicted spend tier of a customer with a shop. |
Returns a list of saved delivery profiles.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DeliveryProfiles WHERE Id = 'Val1'
SELECT * FROM DeliveryProfiles WHERE MerchantOwnedOnly = true
The following column can be used to create a new record:
Name
The following column can be updated:
Name
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
The name of the delivery profile. | |
| Default | Bool | True |
Whether this is the default profile. | |
| LegacyMode | Bool | True |
Whether this shop has enabled legacy compatibility mode for delivery profiles. | |
| OriginLocationCount | Int | True |
The number of active origin locations for the profile. | |
| ZoneCountryCount | Int | True |
The number of countries with active rates to deliver to. | |
| ActiveMethodDefinitionsCount | Int | True |
The number of active shipping rates for the profile. | |
| LocationsWithoutRatesCount | Int | True |
The number of locations without rates defined. | |
| ProductVariantsCount | Int | True |
The product variant count. | |
| ProductVariantsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| MerchantOwnedOnly | Bool | True |
If 'true', returns only delivery profiles that were created by the merchant. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticApp WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE Status = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeTitle = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeDiscountClass = 'Val1'
The following columns can be used to create a new record:
Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following columns can be updated:
Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| DiscountId | String | True |
The ID for the discount. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| AppliesOnSubscription | Bool | False |
Whether the discount applies on subscription items. Subscriptions enable customers to purchase products on a recurring basis. | |
| RecurringCycleLimit | Int | False |
The number of billing cycles for which the discount can be applied, which is useful for subscription-based discounts. For example, if you set this field to '3', then the discount only applies to the first three billing cycles of a subscription. If you specify '0', then the discount applies indefinitely. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was updated. | |
| AppDiscountTypeFunctionId | String | False |
The ID of the function providing the app discount type. | |
| AppDiscountTypeTitle | String | True |
The title of the app discount type. | |
| AppDiscountTypeDescription | String | True |
A description of the app discount type. | |
| AppDiscountTypeAppKey | String | True |
The client ID of the app providing the app discount type. | |
| AppDiscountTypeDiscountClass | String | True |
The class of the app discount type. | |
| AppDiscountTypeTargetType | String | True |
The target type of the app discount type. Possible values: 'SHIPPING_LINE' and 'LINE_ITEM'. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| ErrorHistoryFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryErrorsFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryHasSharedRecentErrors | Bool | True |
Whether the merchant has shared all the recent errors with the developer. | |
| ErrorHistoryHasBeenSharedSinceLastError | Bool | True |
Whether the merchant has shared all the recent errors with the developer. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticBasic WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticBasic WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticBasic WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, MinimumQuantity, MinimumSubtotal
The following columns can be updated:
Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| ShortSummary | String | True |
A short summary of the discount. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | True |
The minimum quantity of items that's required for the discount to be applied. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| AppliesOnEachItem | Bool |
If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items. |
| DiscountAmount | Decimal |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| MinimumQuantity | String |
The minimum quantity of items that's required for the discount to be applied. |
| MinimumSubtotal | String |
The minimum subtotal that's required for the discount to be applied. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticBxgy WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE Status = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count. | |
| UsesPerOrderLimit | Int | False |
The maximum number of times that the discount can be applied to an order. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| DiscountOnQuantity | String |
The value of the discount. |
| DiscountPercentage | Double |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| DiscountQuantityToBuy | String |
The quantity of prerequisite items. |
| DiscountAmountToBuy | String |
The value of the discount. |
| ProductsBuysToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsBuysToRemove | String |
A simple, comma-separated list of products IDs to remove. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeApp WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeTitle = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeDiscountClass = 'Val1'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers
The following pseudo-columns can be used to create a new record:
Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers
The following pseudo-columns can be used to update a record:
Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| DiscountId | String | True |
The ID for the discount. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| CodesCount | Int | True |
The number of redeem codes for the discount. | |
| CodesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| UsageLimit | Int | False |
The maximum number of times that the discount can be used. | |
| AsyncUsageCount | Int | True |
The number of times that the discount has been used. | |
| HasTimelineComment | Bool | True |
Indicates whether there are any timeline comments on the discount. | |
| RecurringCycleLimit | Int | True |
The number of times a discount applies on recurring purchases (subscriptions). | |
| AppliesOncePerCustomer | Bool | False |
Whether the discount can be applied only once per customer. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| AppDiscountTypeFunctionId | String | False |
The ID of the function providing the app discount type. | |
| AppDiscountTypeTitle | String | True |
The title of the app discount type. | |
| AppDiscountTypeDescription | String | True |
A description of the app discount type. | |
| AppDiscountTypeAppKey | String | True |
The client ID of the app providing the app discount type. | |
| AppDiscountTypeDiscountClass | String | True |
The class of the app discount type. | |
| AppDiscountTypeTargetType | String | True |
The target type of the app discount type. Possible values: 'SHIPPING_LINE' and 'LINE_ITEM'. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| DiscountCustomerAllAllCustomers | Bool | False |
Whether the discount can be applied by all customers. This value is always 'true'. | |
| ErrorHistoryFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryErrorsFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryHasSharedRecentErrors | Bool | True |
Whether the merchant has shared all the recent errors with the developer. | |
| ErrorHistoryHasBeenSharedSinceLastError | Bool | True |
Whether the merchant has shared all the recent errors with the developer. | |
| TotalSalesAmount | Decimal | True |
Decimal money amount. | |
| TotalSalesCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code to use the discount. |
| AddAllCustomers | Bool |
Whether all customers can use this discount. |
| CustomersToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomersToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
| CustomerSegmentsToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomerSegmentsToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeBasic WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeBasic WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeBasic WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity
The following pseudo-columns can be used to create a new record:
Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity
The following pseudo-columns can be used to update a record:
Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| CodesCount | Int | True |
The number of redeem codes for the discount. | |
| CodesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| ShortSummary | String | True |
A short summary of the discount. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| UsageLimit | Int | False |
The maximum number of times that the discount can be used. | |
| AsyncUsageCount | Int | True |
The number of times that the discount has been used. | |
| HasTimelineComment | Bool | True |
Indicates whether there are any timeline comments on the discount. | |
| RecurringCycleLimit | Int | False |
The number of times a discount applies on recurring purchases (subscriptions). | |
| AppliesOncePerCustomer | Bool | False |
Whether the discount can be applied only once per customer. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| CustomerGetsAppliesOnSubscription | Bool | False |
Whether the discount applies on subscription items. | |
| CustomerGetsAppliesOnOneTimePurchase | Bool | False |
Whether the discount applies on regular one-time-purchase items. | |
| DiscountCustomerAllAllCustomers | Bool | False |
Whether the discount can be applied by all customers. This value is always 'true'. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | False |
The minimum quantity of items that's required for the discount to be applied. | |
| TotalSalesAmount | Decimal | True |
Decimal money amount. | |
| TotalSalesCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code to use the discount. |
| AppliesOnEachItem | Bool |
If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items. |
| DiscountAmount | Decimal |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| AddAllCustomers | Bool |
Whether all customers can use this discount. |
| CustomersToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomersToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
| CustomerSegmentsToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomerSegmentsToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeBxgy WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeBxgy WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeBxgy WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| CodesCount | Int | True |
The number of redeem codes for the discount. | |
| CodesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| UsageLimit | Int | False |
The maximum number of times that the discount can be used. | |
| AsyncUsageCount | Int | True |
The number of times that the discount has been used. | |
| HasTimelineComment | Bool | True |
Indicates whether there are any timeline comments on the discount. | |
| AppliesOncePerCustomer | Bool | False |
Whether the discount can be applied only once per customer. | |
| UsesPerOrderLimit | Int | False |
The maximum number of times that the discount can be applied to an order. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| CustomerGetsAppliesOnSubscription | Bool | True |
Whether the discount applies on subscription items. | |
| CustomerGetsAppliesOnOneTimePurchase | Bool | True |
Whether the discount applies on regular one-time-purchase items. | |
| DiscountCustomerAllAllCustomers | Bool | True |
Whether the discount can be applied by all customers. This value is always 'true'. | |
| TotalSalesAmount | Decimal | True |
Decimal money amount. | |
| TotalSalesCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code to use the discount. |
| DiscountOnQuantity | String |
The value of the discount. |
| DiscountPercentage | Double |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| DiscountAmountToBuy | String |
The value of the discount. |
| DiscountQuantityToBuy | Double |
The quantity of prerequisite items. |
| ProductsBuysToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsBuysToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| AddAllCustomers | Bool |
Whether all customers can use this discount. |
| CustomersToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomersToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
| CustomerSegmentsToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomerSegmentsToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
Returns a list of saved draft orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DraftOrders WHERE Id = 'Val1'
SELECT * FROM DraftOrders WHERE Status = 'Val1'
SELECT * FROM DraftOrders WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DraftOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM DraftOrders WHERE CustomerId = 'Val1'
The following columns can be used to create a new record:
Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout
| Column Name | Type | Description |
| Title | String | The title of the product or variant. This field only applies to custom line items. |
| Quantity | Int | The number of product variants that are requested in the draft order. |
| Sku | String | The SKU number of the product variant. |
| Taxable | Bool | Whether the variant is taxable. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| AppliedDiscountTitle | String | Name of the order-level discount. |
| AppliedDiscountDescription | String | Description of the order-level discount. |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. |
| AppliedDiscountValueType | String | Type of the order-level discount. |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. |
| VariantId | String | A globally-unique ID. |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. |
| WeightUnit | String | The unit of measurement for 'value'. |
The following columns can be updated:
Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout
| Column Name | Type | Description |
| Title | String | The title of the product or variant. This field only applies to custom line items. |
| Quantity | Int | The number of product variants that are requested in the draft order. |
| Sku | String | The SKU number of the product variant. |
| Taxable | Bool | Whether the variant is taxable. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| AppliedDiscountTitle | String | Name of the order-level discount. |
| AppliedDiscountDescription | String | Description of the order-level discount. |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. |
| AppliedDiscountValueType | String | Type of the order-level discount. |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. |
| VariantId | String | A globally-unique ID. |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. |
| WeightUnit | String | The unit of measurement for 'value'. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Name | String | True |
The identifier for the draft order, which is unique within the store. For example, _#D1223_. | |
| MarketName | String | True |
The name of the selected market. | |
| String | False |
Email address of the customer, which is used to send notifications to. | ||
| Note2 | String | True |
The text from an optional note attached to the draft order. | |
| Phone | String | True |
The phone number assigned to the draft order. | |
| Ready | Bool | True |
Whether the Draft Order is ready and can be completed. Draft Orders might have asynchronous operations that can take time to finish. | |
| Status | String | True |
Status of the draft order. | |
| Tags | String | True |
A comma separated list of tags associated with the draft order. Updating 'tags' overwrites any existing tags that were previously added to the draft order. To add new tags without overwriting existing tags, use the mutation. | |
| CompletedAt | Datetime | True |
The date and time when the draft order converted to a new order, and the draft order's status changed to **Completed**. | |
| CurrencyCode | String | True |
The three letter code for the currency of the store at the time of the most recent update to the draft order. | |
| DefaultCursor | String | True |
A default cursor that returns the single next record, sorted ascending by ID. | |
| InvoiceUrl | String | True |
The link to the checkout, which is sent to the customer in the invoice email. | |
| TaxExempt | Bool | True |
Whether the draft order is tax exempt. | |
| TaxesIncluded | Bool | True |
Whether the line item prices include taxes. | |
| TotalWeight | String | True |
The total weight in grams of the draft order. | |
| HasTimelineComment | Bool | True |
Whether the merchant has added timeline comments to the draft order. | |
| InvoiceSentAt | Datetime | True |
The date and time when the invoice was last emailed to the customer. | |
| PresentmentCurrencyCode | String | True |
The payment currency of the customer for this draft order. | |
| ReserveInventoryUntil | Datetime | True |
The time after which inventory will automatically be restocked. | |
| VisibleToCustomer | Bool | True |
Whether the draft order will be visible to the customer on the self-serve portal. | |
| InvoiceEmailTemplateSubject | String | True |
The subject defined for the draft invoice email template. | |
| MarketRegionCountryCode | String | True |
The selected market region country code for the draft order. | |
| BillingAddressMatchesShippingAddress | Bool | True |
Whether the billing address matches the shipping address. | |
| CreatedAt | Datetime | True |
The date and time when the draft order was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the draft order was last changed. The format is YYYY-MM-DD HH: mm: ss. For example, 2016-02-05 17: 04: 01. | |
| OrderId | String | True |
A globally-unique ID. | |
| PurchasingEntityCustomerId | String | True |
A globally-unique ID. | |
| PurchasingEntityCompanyCompanyId | String | True |
A globally-unique ID. | |
| CustomerId | String | False |
Customers.Id |
Customer who will be sent an invoice for the draft order, if there is one. |
| BillingAddressId | String | False |
A globally-unique ID. | |
| BillingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| BillingAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| BillingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| BillingAddressFirstName | String | False |
The first name of the customer. | |
| BillingAddressLastName | String | False |
The last name of the customer. | |
| BillingAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | False |
The name of the city, district, village, or town. | |
| BillingAddressCompany | String | False |
The name of the customer's company or organization. | |
| BillingAddressCountry | String | False |
The name of the country. | |
| BillingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| BillingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| BillingAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| BillingAddressZip | String | False |
The zip or postal code of the address. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| BillingAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| BillingAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| ShippingAddressId | String | False |
A globally-unique ID. | |
| ShippingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| ShippingAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| ShippingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| ShippingAddressFirstName | String | False |
The first name of the customer. | |
| ShippingAddressLastName | String | False |
The last name of the customer. | |
| ShippingAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | False |
The name of the city, district, village, or town. | |
| ShippingAddressCompany | String | False |
The name of the customer's company or organization. | |
| ShippingAddressCountry | String | False |
The name of the country. | |
| ShippingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| ShippingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| ShippingAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| ShippingAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| ShippingAddressZip | String | False |
The zip or postal code of the address. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| ShippingAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| ShippingAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| ShippingLineId | String | True |
A globally-unique ID. | |
| ShippingLineCarrierIdentifier | String | True |
A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| ShippingLineTitle | String | True |
Returns the title of the shipping line. | |
| ShippingLineCode | String | True |
A reference to the shipping method. | |
| ShippingLineCustom | Bool | True |
Whether the shipping line is custom or not. | |
| ShippingLinePhone | String | True |
The phone number at the shipping address. | |
| ShippingLineSource | String | True |
Returns the rate source for the shipping line. | |
| ShippingLineDeliveryCategory | String | True |
The general classification of the delivery method. | |
| ShippingLineShippingRateHandle | String | True |
A unique identifier for the shipping rate. The format can change without notice and is not meant to be shown to users. | |
| ShippingLineRequestedFulfillmentServiceId | String | True |
The ID of the fulfillment service. | |
| AppliedDiscountTitle | String | False |
Name of the order-level discount. | |
| AppliedDiscountDescription | String | False |
Description of the order-level discount. | |
| AppliedDiscountValue | Double | False |
Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount). | |
| AppliedDiscountValueType | String | False |
Type of the order-level discount. | |
| PaymentTermsId | String | True |
A globally-unique ID. | |
| PaymentTermsTranslatedName | String | True |
The payment terms name, translated into the shop admin's preferred language. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the payment terms template used to create the payment terms. | |
| PaymentTermsOverdue | Bool | True |
Whether the payment terms have overdue payment schedules. | |
| PaymentTermsDueInDays | Int | True |
Duration of payment terms in days based on the payment terms template used to create the payment terms. | |
| PaymentTermsPaymentTermsType | String | True |
The payment terms template type used to create the payment terms. | |
| PaymentTermsOrderId | String | True |
A globally-unique ID. | |
| AppliedDiscountAmountV2Amount | Decimal | False |
Decimal money amount. | |
| AppliedDiscountAmountV2CurrencyCode | String | True |
Currency of the money. | |
| LineItemsSubtotalPricePresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| LineItemsSubtotalPricePresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| LineItemsSubtotalPriceShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| LineItemsSubtotalPriceShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalLineItemsPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalLineItemsPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| DraftOrderLineItems | String | False |
The list of the line items in the draft order. | |
| DiscountCodes | String | False |
The discount codes used for the draft order. | |
| AcceptAutomaticDiscounts | Bool | False |
Whether or not to accept automatic discounts on the draft order during calculation. | |
| AllowDiscountCodesInCheckout | Bool | False |
Whether discount codes are allowed during checkout of this draft order. | |
| Warnings | String | True |
The list of warnings raised while calculating. | |
| PlatformDiscountIds | String | True |
The list of platform discounts applied. |
Returns the list of files that have been uploaded to Shopify.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Files WHERE Id = 'Val1'
SELECT * FROM Files WHERE Status = 'Val1'
SELECT * FROM Files WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Files WHERE UpdatedAt = '2023-01-01 11:10:00'
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Description | String | True |
The description of the file. | |
| Status | String | True |
The status of the file. | |
| FileErrors | String | True |
Any errors that have occurred on the file. | |
| CreatedAt | Datetime | True |
The date and time at which the file was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the file was last modified. |
Retrieves the history of events associated with one or many fulfillments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentEvents WHERE FulfillmentId = 'Val1'
The following columns can be used to create a new record:
FulfillmentId, Status, Address1, City, Country, Latitude, Longitude, Message, Province, Zip, EstimatedDeliveryAt
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| FulfillmentId | String | True |
Fulfillments.Id |
A globally-unique ID. |
| OrderId | String | True |
Orders.Id |
A globally-unique identifier. |
| Status | String | True |
The status of this fulfillment event. | |
| HappenedAt | Datetime | True |
The time at which this fulfillment event happened. | |
| Address1 | String | True |
The street address where this fulfillment event occurred. | |
| City | String | True |
The city where this fulfillment event occurred. | |
| Country | String | True |
The country where this fulfillment event occurred. | |
| Latitude | Double | True |
The latitude where this fulfillment event occurred. | |
| Longitude | Double | True |
The longitude where this fulfillment event occurred. | |
| Message | String | True |
A message associated with this fulfillment event. | |
| Province | String | True |
The province where this fulfillment event occurred. | |
| Zip | String | True |
The zip code of the location where this fulfillment event occurred. | |
| EstimatedDeliveryAt | Datetime | True |
The estimated delivery date and time of the fulfillment. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment event was created. |
Retrieves a paginated list of merchant-managed and third-party fulfillment orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrders WHERE Id = 'Val1'
SELECT * FROM FulfillmentOrders WHERE Status = 'open'
SELECT * FROM FulfillmentOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM FulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
SELECT * FROM FulfillmentOrders WHERE OrderId = 'Val1'
The following column can be updated:
Status
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Status | String | False |
The status of the fulfillment order. The allowed values are open, closed, cancelled, in_progress, incomplete, on_hold, scheduled. | |
| FulfillAt | Datetime | True |
The date and time at which the fulfillment order will be fulfillable. When this date and time is reached, the scheduled fulfillment order is automatically transitioned to open. For example, the 'fulfill_at' date for a subscription order might be the 1st of each month, a pre-order 'fulfill_at' date would be 'nil', and a standard order 'fulfill_at' date would be the order creation date. | |
| FulfillBy | Datetime | True |
The latest date and time by which all items in the fulfillment order need to be fulfilled. | |
| OrderName | String | True |
The unique identifier for the order that appears on the order page. | |
| RequestStatus | String | True |
The request status of the fulfillment order. | |
| CreatedAt | Datetime | True |
Date and time when the fulfillment order was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment order was last updated. | |
| OrderProcessedAt | Datetime | True |
The date and time when the fulfillment order was processed at. | |
| AssignedLocationName | String | True |
The name of the location. | |
| AssignedLocationAddress1 | String | True |
The first line of the address for the location. | |
| AssignedLocationAddress2 | String | True |
The second line of the address for the location. | |
| AssignedLocationCity | String | True |
The city of the location. | |
| AssignedLocationPhone | String | True |
The phone number of the location. | |
| AssignedLocationProvince | String | True |
The province of the location. | |
| AssignedLocationZip | String | True |
The ZIP code of the location. | |
| AssignedLocationCountryCode | String | True |
The two-letter country code of the location. | |
| AssignedLocationLocationId | String | True |
A globally-unique ID. | |
| AssignedLocationLocationLegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| AssignedLocationLocationName | String | True |
The name of the location. | |
| AssignedLocationLocationActivatable | Bool | True |
Whether this location can be reactivated. | |
| AssignedLocationLocationDeactivatable | Bool | True |
Whether this location can be deactivated. | |
| AssignedLocationLocationDeletable | Bool | True |
Whether this location can be deleted. | |
| AssignedLocationLocationAddressVerified | Bool | True |
Whether the location address has been verified. | |
| AssignedLocationLocationDeactivatedAt | String | True |
The date and time that the location was deactivated at. For example, 3: 30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as '2019-09-07T15: 50: 00Z'. | |
| AssignedLocationLocationIsActive | Bool | True |
Whether the location is active. | |
| AssignedLocationLocationShipsInventory | Bool | True |
Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| AssignedLocationLocationFulfillsOnlineOrders | Bool | True |
Whether this location can fulfill online orders. | |
| AssignedLocationLocationHasActiveInventory | Bool | True |
Whether this location has active inventory. | |
| AssignedLocationLocationHasUnfulfilledOrders | Bool | True |
Whether this location has orders that need to be fulfilled. | |
| DeliveryMethodId | String | True |
A globally-unique ID. | |
| DeliveryMethodPresentedName | String | True |
The name of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodMethodType | String | True |
The type of the delivery method. | |
| DeliveryMethodMaxDeliveryDateTime | Datetime | True |
The latest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodMinDeliveryDateTime | Datetime | True |
The earliest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodServiceCode | String | True |
A reference to the shipping method. | |
| DeliveryMethodSourceReference | String | True |
Promise provider specific data associated with delivery promise. | |
| DeliveryMethodBrandedPromiseName | String | True |
The name of the branded promise. For example: 'Shop Promise'. | |
| DeliveryMethodBrandedPromiseHandle | String | True |
The handle of the branded promise. For example: 'shop_promise'. | |
| DeliveryMethodAdditionalInformationPhone | String | True |
The phone number to contact when performing the delivery. | |
| DeliveryMethodAdditionalInformationInstructions | String | True |
The delivery instructions to follow when performing the delivery. | |
| DestinationId | String | True |
A globally-unique ID. | |
| DestinationFirstName | String | True |
The first name of the customer at the destination. | |
| DestinationLastName | String | True |
The last name of the customer at the destination. | |
| DestinationAddress1 | String | True |
The first line of the address of the destination. | |
| DestinationAddress2 | String | True |
The second line of the address of the destination. | |
| DestinationCity | String | True |
The city of the destination. | |
| DestinationCompany | String | True |
The company of the destination. | |
| DestinationEmail | String | True |
The email of the customer at the destination. | |
| DestinationPhone | String | True |
The phone number of the customer at the destination. | |
| DestinationProvince | String | True |
The province of the destination. | |
| DestinationZip | String | True |
The ZIP code of the destination. | |
| DestinationCountryCode | String | True |
The two-letter country code of the destination. | |
| DestinationLocationId | String | True |
A globally-unique ID. | |
| InternationalDutiesIncoterm | String | True |
The method of duties payment. Example values: 'DDP', 'DAP'. | |
| OrderId | String | True |
A globally-unique ID. |
Fulfillment represents a shipment of one or more items in an order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Fulfillments WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OriginAddressAddress1, OriginAddressAddress2, OriginAddressCity, OriginAddressCountryCode, OriginAddressProvinceCode, OriginAddressZip, TrackingInfoCompany, TrackingInfoNumber, TrackingInfoUrl
The following pseudo-columns can be used to create a new record:
NotifyCustomer, Message, FulfillmentOrderIds
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| OrderId | String | True |
Globally unique identifier. | |
| Name | String | True |
Human readable reference identifier for this fulfillment. | |
| Status | String | True |
The status of the fulfillment. | |
| DeliveredAt | Datetime | True |
The date that this fulfillment was delivered. | |
| DisplayStatus | String | True |
Human readable display status for this fulfillment. | |
| RequiresShipping | Bool | True |
Whether any of the line items in the fulfillment require shipping. | |
| TotalQuantity | Int | True |
Sum of all line item quantities for the fulfillment. | |
| EstimatedDeliveryAt | Datetime | True |
The estimated date that this fulfillment will arrive. | |
| InTransitAt | Datetime | True |
The date and time when the fulfillment went into transit. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment was last modified. | |
| LocationId | String | True |
A globally-unique ID. | |
| ServiceId | String | True |
The ID of the fulfillment service. | |
| OriginAddressAddress1 | String | True |
The street address of the fulfillment location. | |
| OriginAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| OriginAddressCity | String | True |
The city in which the fulfillment location is located. | |
| OriginAddressCountryCode | String | True |
The country code of the fulfillment location. | |
| OriginAddressProvinceCode | String | True |
The province code of the fulfillment location. | |
| OriginAddressZip | String | True |
The zip code of the fulfillment location. | |
| TrackingInfoCompany | String | True |
The company associated with the fulfillment. | |
| TrackingInfoNumber | String | True |
The tracking number of the fulfillment. | |
| TrackingInfoUrl | String | True |
The URL to track the fulfillment. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| NotifyCustomer | Bool |
Whether the customer is notified. If true, then a notification is sent when the fulfillment is created. The default value is false. |
| Message | String |
An optional message for the fulfillment request. |
| FulfillmentOrderIds | String |
An aggregated object containing the FulfillmentOrder ids. Ex: [{'fulfillmentOrderId': 'gid://shopify/FulfillmentOrder/xxx'}] |
Lists fulfillmentServices which Represents service that prepares and ships orders on behalf of the store owner.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM FulfillmentServices
The following columns can be used to create a new record:
ServiceName, CallbackUrl, InventoryManagement
The following columns can be updated:
ServiceName, CallbackUrl, InventoryManagement
You can delete entries by specifying the following columns:
Id, LocationId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The ID of the fulfillment service. | |
| ServiceName | String | False |
The name of the fulfillment service as seen by merchants. | |
| Handle | String | True |
Human-readable unique identifier for this fulfillment service. | |
| Type | String | True |
Type associated with the fulfillment service. | |
| CallbackUrl | String | False |
The callback URL the fulfillment service has registered for requests. | |
| InventoryManagement | Bool | False |
Whether the fulfillment service tracks product inventory and provides updates to Shopify. | |
| PermitsSkuSharing | Bool | True |
Whether the fulfillment service can stock inventory alongside other locations. | |
| TrackingSupport | Bool | True |
Whether the fulfillment service implemented the /fetch_tracking_numbers endpoint. | |
| LocationId | String | True |
Globally unique identifier. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| InventoryAction | String |
The action to take with the location after the fulfillment service is deleted. The allowed values are DELETE, KEEP, TRANSFER. |
Lists tracking information associated with the fulfillment, such as the tracking company, tracking number, and tracking URL.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentTrackingInfo WHERE FulfillmentId = 'Val1'
The following columns can be updated:
Company, Number, Url
| Name | Type | ReadOnly | References | Description |
| FulfillmentId | String | False |
Fulfillments.Id |
The ID of the Fulfillment to return. |
| Company | String | False |
The name of the tracking company. | |
| Number | String | False |
The tracking number of the fulfillment. | |
| Url | String | False |
The URLs to track the fulfillment. |
Returns a list of gift cards. Requires read_gift_cards access scope. Also, note that the API client must be a private or custom application installed on a Shopify Plus or Shopify Plus Partner Sandbox store. (This table is available only with a ShopifyPlus subscription)
Note: Access to the GiftCards table is restricted to Shopify accounts with Shopify Plus membership. If your account does not include this tier, the table may return an empty result set or indicate that the resource is unavailable.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCards WHERE Id = 'Val1'
SELECT * FROM GiftCards WHERE ExpiresOn = '2023-01-01'
SELECT * FROM GiftCards WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM GiftCards WHERE InitialValueAmount = '100.00'
The following columns can be used to create a new record:
Note, ExpiresOn, InitialValueAmount, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt
The following columns can be updated:
Note, ExpiresOn, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt, Enabled
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Enabled | Bool | True |
Whether the gift card is enabled. | |
| Note | String | False |
The note associated with the gift card, which is not visible to the customer. | |
| ExpiresOn | Date | False |
The date at which the gift card will expire. | |
| LastCharacters | String | True |
The final four characters of the gift card code. | |
| MaskedCode | String | True |
The gift card code. Everything but the final four characters is masked. | |
| DeactivatedAt | Datetime | True |
The date and time at which the gift card was deactivated. | |
| UpdatedAt | Datetime | True |
The date and time at which the gift card was updated. | |
| CreatedAt | Datetime | True |
The date and time at which the gift card was created. | |
| BalanceAmount | Decimal | True |
Decimal money amount. | |
| BalanceCurrencyCode | String | True |
Currency of the money. | |
| InitialValueAmount | Decimal | True |
Decimal money amount. | |
| InitialValueCurrencyCode | String | True |
Currency of the money. | |
| CustomerId | String | False |
A globally-unique ID. | |
| RecipientAttributesRecipientId | String | False |
A globally-unique ID. | |
| RecipientAttributesPreferredName | String | False |
The preferred name of the recipient who will receive the gift card. | |
| RecipientAttributesMessage | String | False |
The message sent with the gift card. | |
| RecipientAttributesSendNotificationAt | Datetime | False |
The scheduled datetime on which the gift card will be sent to the recipient. The gift card will be sent within an hour of the specified datetime. | |
| OrderId | String | True |
A globally-unique ID. |
Credit transactions which increase the gift card balance. (This table is available only with a ShopifyPlus subscription)
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCardTransactionsCredit WHERE Id = 'Val1'
SELECT * FROM GiftCardTransactionsCredit WHERE GiftCardId = 'Val1'
The following columns can be used to create a new record:
GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The unique ID for the transaction. | |
| GiftCardId | String | True |
GiftCards.Id |
A globally-unique ID. |
| Note | String | True |
A note about the transaction. | |
| ProcessedAt | Datetime | True |
The date and time when the transaction was processed. | |
| Amount | Decimal | True |
Decimal money amount. | |
| AmountCurrencyCode | String | True |
Currency of the money. |
Debit transactions which decrease the gift card balance. (This table is available only with a ShopifyPlus subscription)
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCardTransactionsDebit WHERE Id = 'Val1'
SELECT * FROM GiftCardTransactionsDebit WHERE GiftCardId = 'Val1'
The following columns can be used to create a new record:
GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The unique ID for the transaction. | |
| GiftCardId | String | True |
GiftCards.Id |
A globally-unique ID. |
| Note | String | True |
A note about the transaction. | |
| ProcessedAt | Datetime | True |
The date and time when the transaction was processed. | |
| Amount | Decimal | True |
Decimal money amount. | |
| AmountCurrencyCode | String | True |
Currency of the money. |
Returns overview information of the inventory item for each location that the inventory item can be stocked at.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemInventoryLevels WHERE InventoryItemId = 'Val1'
The following columns can be used to create a new record:
InventoryItemId, LocationId
The following pseudo-columns can be used to create a new record:
Available, OnHand, StockAtLegacyLocation
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| InventoryItemId | String | True |
A globally-unique ID. | |
| LocationId | String | True |
A globally-unique ID. | |
| CanDeactivate | Bool | True |
Whether the inventory items associated with the inventory level can be deactivated. | |
| DeactivationAlert | String | True |
Describes either the impact of deactivating the inventory level, or why the inventory level can't be deactivated. | |
| CreatedAt | Datetime | True |
The date and time when the inventory level was created. | |
| UpdatedAt | Datetime | True |
The date and time when the inventory level was updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Available | Int |
The initial available quantity of the inventory item being activated at the location. |
| OnHand | Int |
The initial on_hand quantity of the inventory item being activated at the location. |
| StockAtLegacyLocation | Bool |
Allow activation at or away from fulfillment service location with sku sharing off. This will deactivate inventory at all other locations. |
Returns a list of inventory items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryItems WHERE Id = 'Val1'
SELECT * FROM InventoryItems WHERE Sku = 'Val1'
SELECT * FROM InventoryItems WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM InventoryItems WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be updated:
Sku, Tracked, RequiresShipping, HarmonizedSystemCode, CountryCodeOfOrigin, ProvinceCodeOfOrigin, MeasurementWeightValue, MeasurementWeightUnit, UnitCostAmount, InventoryItemCountryHarmonizedSystemCodes (references InventoryItemCountryHarmonizedSystemCodes)
| Column Name | Type | Description |
| CountryCode | String | The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. |
| HarmonizedSystemCode | String | The country-specific harmonized system code. These are usually longer than 6 digits. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| VariantId | String | True |
A globally-unique ID. | |
| Sku | String | False |
Inventory item SKU. | |
| Tracked | Bool | False |
Whether inventory levels are tracked for the item. | |
| LocationsCount | Int | True |
The number of locations where this inventory item is stocked. | |
| LocationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| RequiresShipping | Bool | False |
Whether the inventory item requires shipping. | |
| DuplicateSkuCount | Int | True |
The number of inventory items that share the same SKU with this item. | |
| HarmonizedSystemCode | String | False |
The harmonized system code of the item. | |
| InventoryHistoryUrl | String | True |
The URL that points to the inventory history for the item. | |
| CountryCodeOfOrigin | String | False |
The ISO 3166-1 alpha-2 country code of where the item originated from. | |
| ProvinceCodeOfOrigin | String | False |
The ISO 3166-2 alpha-2 province code of where the item originated from. | |
| CreatedAt | Datetime | True |
The date and time when the inventory item was created. | |
| UpdatedAt | Datetime | True |
The date and time when the inventory item was updated. | |
| TrackedEditableLocked | Bool | True |
Whether the attribute is locked for editing. | |
| TrackedEditableReason | String | True |
The reason the attribute is locked for editing. | |
| MeasurementId | String | True |
A globally-unique ID. | |
| MeasurementWeightValue | Double | False |
The weight value using the unit system specified with 'unit'. | |
| MeasurementWeightUnit | String | False |
The unit of measurement for 'value'. | |
| UnitCostAmount | Decimal | False |
Decimal money amount. | |
| UnitCostCurrencyCode | String | True |
Currency of the money. | |
| InventoryItemCountryHarmonizedSystemCodes | String | False |
List of country-specific harmonized system codes. |
Returns a list of active inventory locations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Locations WHERE Id = 'Val1'
SELECT * FROM Locations WHERE Name = 'Val1'
SELECT * FROM Locations WHERE IsActive = true
SELECT * FROM Locations WHERE AddressAddress1 = 'Val1'
SELECT * FROM Locations WHERE AddressAddress2 = 'Val1'
SELECT * FROM Locations WHERE AddressCity = 'Val1'
SELECT * FROM Locations WHERE AddressCountry != 'Val1'
SELECT * FROM Locations WHERE AddressProvince = 'Val1'
SELECT * FROM Locations WHERE AddressZip = 'Val1'
SELECT * FROM Locations WHERE IncludeInactive = true
SELECT * FROM Locations WHERE IncludeLegacy = true
The following columns can be used to create a new record:
Name, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode
The following columns can be updated:
Name, IsActive, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Name | String | False |
The name of the location. | |
| Activatable | Bool | True |
Whether this location can be reactivated. | |
| Deactivatable | Bool | True |
Whether this location can be deactivated. | |
| Deletable | Bool | True |
Whether this location can be deleted. | |
| AddressVerified | Bool | True |
Whether the location address has been verified. | |
| DeactivatedAt | String | True |
The date and time that the location was deactivated at. For example, 3: 30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as '2019-09-07T15: 50: 00Z'. | |
| IsActive | Bool | False |
Whether the location is active. | |
| ShipsInventory | Bool | True |
Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| IsFulfillmentService | Bool | True |
Whether this location is a fulfillment service. | |
| FulfillsOnlineOrders | Bool | False |
Whether this location can fulfill online orders. | |
| HasActiveInventory | Bool | True |
Whether this location has active inventory. | |
| HasUnfulfilledOrders | Bool | True |
Whether this location has orders that need to be fulfilled. | |
| CreatedAt | Datetime | True |
The date and time that the location was added to a shop. | |
| UpdatedAt | Datetime | True |
The date and time when the location was last updated. | |
| AddressAddress1 | String | False |
The first line of the address for the location. | |
| AddressAddress2 | String | False |
The second line of the address for the location. | |
| AddressCity | String | False |
The city of the location. | |
| AddressCountry | String | True |
The country of the location. | |
| AddressFormatted | String | True |
A formatted version of the address for the location. | |
| AddressLatitude | Double | True |
The latitude coordinates of the location. | |
| AddressLongitude | Double | True |
The longitude coordinates of the location. | |
| AddressPhone | String | False |
The phone number of the location. | |
| AddressProvince | String | True |
The province of the location. | |
| AddressZip | String | False |
The ZIP code of the location. | |
| AddressCountryCode | String | False |
The country code of the location. The allowed values are AC, AD, AE, AF, AG, AI, AL, AM, AN, AO, AR, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MK, ML, MM, MN, MO, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PS, PT, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TA, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW, ZZ. | |
| AddressProvinceCode | String | False |
The code for the province, state, or district of the address of the location. | |
| FulfillmentServiceId | String | True |
The ID of the fulfillment service. | |
| LocalPickupSettingsV2Instructions | String | True |
Additional instructions or information related to the local pickup. | |
| LocalPickupSettingsV2PickupTime | String | True |
The estimated pickup time to show customers at checkout. | |
| IncludeInactive | Bool | True |
If true, also include the locations that are deactivated. | |
| IncludeLegacy | Bool | True |
If true, also include the legacy locations of fulfillment services. |
Returns metafield definitions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM MetafieldDefinitions WHERE Id = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE Namespace = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE Key = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE OwnerType = 'API_PERMISSION'
SELECT * FROM MetafieldDefinitions WHERE PinnedStatus = 'ANY'
SELECT * FROM MetafieldDefinitions WHERE ConstraintStatus = 'CONSTRAINED_AND_UNCONSTRAINED'
SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeKey = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeValue = 'Val1'
The following columns can be used to create a new record:
Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled, TypeName
The following pseudo-column can be used to create a new record:
Pin
The following columns can be updated:
Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled
The following pseudo-column can be used to update a record:
Pin
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Namespace | String | False |
The container for a group of metafields that the metafield definition is associated with. | |
| Key | String | False |
The unique identifier for the metafield definition within its namespace. | |
| Name | String | False |
The human-readable name of the metafield definition. | |
| PinnedPosition | Int | True |
The position of the metafield definition in the pinned list. | |
| Description | String | False |
The description of the metafield definition. | |
| OwnerType | String | False |
The resource type that the metafield definition is attached to. The allowed values are API_PERMISSION, ARTICLE, BLOG, CARTTRANSFORM, COLLECTION, COMPANY, COMPANY_LOCATION, CUSTOMER, DELIVERY_CUSTOMIZATION, DISCOUNT, DRAFTORDER, FULFILLMENT_CONSTRAINT_RULE, GIFT_CARD_TRANSACTION, LOCATION, MARKET, ORDER, ORDER_ROUTING_LOCATION_RULE, PAGE, PAYMENT_CUSTOMIZATION, PRODUCT, PRODUCTVARIANT, SELLING_PLAN, SHOP, VALIDATION, MEDIA_IMAGE. | |
| UseAsCollectionCondition | Bool | True |
Whether the metafield definition can be used as a collection condition. | |
| ValidationStatus | String | True |
The validation status for the metafields that belong to the metafield definition. | |
| Validations | String | False |
A list of for the metafields that belong to the metafield definition. For example, for a metafield definition with the type 'date', you can set a minimum date validation so that each of the metafields that belong to it can only store dates after the specified minimum. | |
| AccessAdmin | String | False |
The default admin access setting used for the metafields under this definition. | |
| AccessCustomerAccount | String | False |
The customer account access setting used for the metafields under this definition. | |
| AccessStorefront | String | False |
The storefront access setting used for the metafields under this definition. | |
| CapabilitiesAdminFilterableEligible | Bool | True |
Indicates if the definition is eligible to have the capability. | |
| CapabilitiesAdminFilterableEnabled | Bool | False |
Indicates if the capability is enabled. | |
| CapabilitiesAdminFilterableStatus | String | True |
Determines the metafield definition's filter status for use in admin filtering. | |
| CapabilitiesSmartCollectionConditionEligible | Bool | True |
Indicates if the definition is eligible to have the capability. | |
| CapabilitiesSmartCollectionConditionEnabled | Bool | False |
Indicates if the capability is enabled. | |
| ConstraintsKey | String | True |
The category of resource subtypes that the definition applies to. | |
| MetafieldsCount | Int | True |
The count of the metafields that belong to the metafield definition. | |
| StandardTemplateId | String | True |
A globally-unique ID. | |
| TypeName | String | True |
The name of the type for the metafield definition. | |
| PinnedStatus | String | True |
Filter the metafield definition by the pinned status. The allowed values are ANY, PINNED, UNPINNED. | |
| ConstraintStatus | String | True |
Filter metafield definitions based on whether they are constrained. The allowed values are CONSTRAINED_AND_UNCONSTRAINED, CONSTRAINED_ONLY, UNCONSTRAINED_ONLY. | |
| ConstraintSubtypeKey | String | True |
Filter metafield definitions based on whether they apply to a given resource subtype. The category of the resource subtype. | |
| ConstraintSubtypeValue | String | True |
Filter metafield definitions based on whether they apply to a given resource subtype. The specific subtype value within the identified subtype category. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Pin | Bool |
Whether to pin the metafield definition. |
| DeleteAllAssociatedMetafields | Bool |
Whether to delete all associated metafields. |
Retrieves a list of metafields that belong to one or many resource IDs.
OwnerResource or the metafield Id (when executing non-bulk operations) is required for any query against Metafields.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Metafields WHERE Id = 'gid://shopify/Metafield/19334473318423'
SELECT * FROM Metafields WHERE Id IN ('gid://shopify/Metafield/19334473318423', 'gid://shopify/Metafield/19334473318424')
SELECT * FROM Metafields WHERE OwnerResource = 'product'
SELECT * FROM Metafields WHERE OwnerResource = 'variant' AND OwnerId = 'gid://shopify/ProductVariant/39378393497623'
SELECT * FROM Metafields WHERE OwnerResource = 'variant' AND OwnerId IN ('gid://shopify/ProductVariant/39378393497623', 'gid://shopify/Product/1418248224791')
The following columns can be used to create a new record:
Namespace, Key, Value, Type, OwnerId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The unique ID of the metafield. | |
| LegacyResourceId | Long | True |
The ID of the corresponding resource in the REST Admin API. | |
| Namespace | String | True |
A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. | |
| Key | String | True |
The name of the metafield. | |
| Value | String | True |
The information to be stored as metadata. | |
| Type | String | True |
The metafield's information type. | |
| Description | String | True |
A description of the information that the metafield contains. | |
| DefinitionId | String | True |
The metafield definition that the metafield belongs to, if any. | |
| OwnerId | String | True |
The ID of the resource that the metafield is attached to. | |
| OwnerResource | String | True |
The type of resource that the metafield is attached to. The allowed values are product, variant, shop, draft_order, order, customer, collection, media_image, selling_plan, article, blog, page. | |
| CreatedAt | Datetime | True |
The date and time when the metafield was created. | |
| UpdatedAt | Datetime | True |
The date and time when the metafield was last updated. |
Retrieves a list of risk assessments for orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRiskAssessments WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OrderId, RiskLevel, Facts (references OrderRiskAssessmentFacts)
| Column Name | Type | Description |
| Description | String | A description of the fact. |
| Sentiment | String | Indicates whether the fact is a negative, neutral or positive contributor with regards to risk. |
| Name | Type | ReadOnly | References | Description |
| OrderId | String | True |
A globally-unique ID. | |
| RiskLevel | String | True |
The likelihood that the order is fraudulent, based on this risk assessment. The allowed values are HIGH, LOW, MEDIUM, NONE, PENDING. | |
| Facts | String | True |
Optional facts used to describe the risk assessment. The values in here are specific to the provider. | |
| ProviderId | String | True |
A globally-unique ID. | |
| ProviderTitle | String | True |
Name of the app. |
Retrieves a list of orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Orders WHERE Id = 'Val1'
SELECT * FROM Orders WHERE Number = 'Val1'
SELECT * FROM Orders WHERE Name = 'Val1'
SELECT * FROM Orders WHERE Email = 'Val1'
SELECT * FROM Orders WHERE Test = true
SELECT * FROM Orders WHERE ConfirmationNumber = 'Val1'
SELECT * FROM Orders WHERE DiscountCode = 'Val1'
SELECT * FROM Orders WHERE ProcessedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE CurrentSubtotalLineItemsQuantity = 123
SELECT * FROM Orders WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE CustomerId = 'Val1'
The following columns can be used to create a new record:
Number, SourceIdentifier, SourceName, Name, Email, Note, Phone, Tags, Test, ClosedAt, CurrencyCode, ProcessedAt, TaxesIncluded, CustomerAcceptsMarketing, DisplayFinancialStatus, DisplayFulfillmentStatus, PresentmentCurrencyCode, CustomerId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressPhone, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressPhone, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2
The following pseudo-columns can be used to create a new record:
PurchasingEntityCompanyLocationId, ReferringSite, SourceUrl, UserId, DiscountCodeFreeShipping, DiscountCodeFixed, DiscountCodeFixedAmountSetPresentmentMoneyAmount, DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode, DiscountCodeFixedAmountSetShopMoneyAmount, DiscountCodeFixedAmountSetShopMoneyCurrencyCode, DiscountCodePercentage, DiscountCodePercentageValue, FulfillmentLocationId, FulfillmentNotifyCustomer, FulfillmentTrackingInfoNumber, FulfillmentTrackingInfoCompany, FulfillmentShipmentStatus, FulfillmentOriginAddressAddress1, FulfillmentOriginAddressAddress2, FulfillmentOriginAddressCity, FulfillmentOriginAddressCountryCode, FulfillmentOriginAddressProvinceCode, FulfillmentOriginAddressZip, OrderLineItems (references OrderLineItems), OrderShippingLines (references OrderShippingLines), OrderTaxLines (references OrderTaxLines), OrderTransactions (references OrderTransactions), OrderCustomAttributes (references OrderCustomAttributes), Metafields (references Metafields), OptionsInventoryBehaviour, OptionsSendFulfillmentRequest, OptionsSendReceipt
| Column Name | Type | Description |
| Title | String | The title of the product at time of order creation. |
| VariantTitle | String | The title of the variant at time of order creation. |
| VariantId | String | A globally-unique ID. |
| ProductId | String | A globally-unique ID. |
| Quantity | Int | The number of variant units ordered. |
| Sku | String | The variant SKU number. |
| Taxable | Bool | Whether the variant is taxable. |
| Vendor | String | The name of the vendor who made the variant. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. |
| FulfillmentService | String | The handle of a fulfillment service that stocks the product variant belonging to a line item. |
| OrderLineItemCustomAttributes (references OrderLineItemCustomAttributes) | String | An array of custom information for the item that has been added to the cart. Often used to provide product customization options. |
| OrderLineItemTaxLines (references OrderLineItemTaxLines) | String | A list of tax line objects, each of which details a tax applied to the item. |
| Column Name | Type | Description |
| Title | String | Returns the title of the shipping line. |
| Code | String | A reference to the shipping method. |
| Source | String | Returns the rate source for the shipping line. |
| OriginalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| OriginalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| OriginalPriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| OriginalPriceSetShopMoneyCurrencyCode | String | Currency of the money. |
| TaxLines | String | A list of tax line objects, each of which details a tax applicable to this shipping line. |
| Column Name | Type | Description |
| Title | String | The name of the tax. |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
| Column Name | Type | Description |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. |
| AuthorizationCode | String | Authorization code associated with the transaction. |
| DeviceId | String | The ID of the device used to process the transaction. |
| GiftCardDetailsId | String | The ID of the gift card used for this transaction. |
| Kind | String | The kind of transaction. |
| LocationId | String | The ID of the location where the transaction was processed. |
| ProcessedAt | Datetime | Date and time when the transaction was processed. |
| ReceiptJson | String | The transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction. |
| Status | String | The status of this transaction. |
| Test | Bool | Whether the transaction is a test transaction. |
| UserId | String | Staff member who was logged into the Shopify POS device when the transaction was processed. (This column is available only with a ShopifyPlus subscription) |
| Column Name | Type | Description |
| Key | String | Key or name of the attribute. |
| Value | String | Value of the attribute. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| Key | String | Key or name of the attribute. |
| Value | String | Value of the attribute. |
| Column Name | Type | Description |
| Title | String | The name of the tax. |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
The following columns can be updated:
Number, Email, Note, Tags, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2
The following pseudo-column can be used to update a record:
OrderCustomAttributes (references OrderCustomAttributes)
| Column Name | Type | Description |
| Key | String | Key or name of the attribute. |
| Value | String | Value of the attribute. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Number | String | True |
The purchase order number associated to this order. | |
| Unpaid | Bool | True |
Whether no payments have been made for the order. | |
| FullyPaid | Bool | True |
Whether the order has been paid in full. | |
| SourceIdentifier | String | True |
A unique POS or third party order identifier. For example, '1234-12-1000' or '111-98567-54'. The 'receipt_number' field is derived from this value for POS orders. | |
| SourceName | String | True |
The name of the source associated with the order. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| CanMarkAsPaid | Bool | True |
Whether the order can be manually marked as paid. | |
| Name | String | True |
The unique identifier for the order that appears on the order page in the Shopify admin and the order status page. For example, '#1001', 'EN1001', or '1001-A'. This value isn't unique across multiple stores. | |
| PaymentGatewayNames | String | True |
A list of the names of all payment gateways used for the order. For example, 'Shopify Payments' and 'Cash on Delivery (COD)'. | |
| Capturable | Bool | True |
Whether payment for the order can be captured. | |
| Closed | Bool | True |
Whether the order is closed. | |
| Confirmed | Bool | True |
Whether inventory has been reserved for the order. | |
| Edited | Bool | True |
Whether the order has had any edits applied. | |
| String | False |
The email address associated with the customer. | ||
| Fulfillable | Bool | True |
Whether there are line items that can be fulfilled. This field returns 'false' when the order has no fulfillable line items. For a more granular view of the fulfillment status, refer to the object. | |
| Note | String | False |
The contents of the note associated with the order. | |
| Phone | String | True |
The phone number associated with the customer. | |
| Refundable | Bool | True |
Whether the order can be refunded. | |
| Restockable | Bool | True |
Whether any line item on the order can be restocked. | |
| Tags | String | True |
A comma separated list of tags associated with the order. Updating 'tags' overwrites any existing tags that were previously added to the order. To add new tags without overwriting existing tags, use the mutation. | |
| Test | Bool | True |
Whether the order is a test. Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled. A test order cannot be converted into a real order and vice versa. | |
| CancelReason | String | True |
The reason provided when the order was canceled. Returns 'null' if the order wasn't canceled. | |
| CancelledAt | Datetime | True |
The date and time when the order was canceled. Returns 'null' if the order wasn't canceled. | |
| ClientIp | String | True |
The IP address of the API client that created the order. | |
| ClosedAt | Datetime | True |
The date and time when the order was closed. Returns 'null' if the order is not closed. | |
| ConfirmationNumber | String | True |
A randomly generated alpha-numeric identifier for the order that may be shown to the customer instead of the sequential order name. For example, XPAV284CT, R50KELTJP or 35PKUN0UJ. This value isn't guaranteed to be unique. | |
| CurrencyCode | String | True |
The shop currency when the order was placed. | |
| CustomerLocale | String | True |
A two-letter or three-letter language code, optionally followed by a region modifier. | |
| DiscountCode | String | True |
The discount code used for the order. | |
| DiscountCodes | String | True |
The discount codes used for the order. | |
| EstimatedTaxes | Bool | True |
Whether taxes on the order are estimated. This field returns 'false' when taxes on the order are finalized and aren't subject to any changes. | |
| MerchantEditable | Bool | True |
Whether the order can be edited by the merchant. For example, canceled orders can't be edited. | |
| ProcessedAt | Datetime | True |
The date and time when the order was processed. This date and time might not match the date and time when the order was created. | |
| RequiresShipping | Bool | True |
Whether the order has shipping lines or at least one line item on the order that requires shipping. | |
| RiskRecommendation | String | True |
The recommendation for the order based on the results of the risk assessments. This suggests the action the merchant should take with regards to its risk of fraud. | |
| ReturnStatus | String | True |
The order's aggregated return status for display purposes. | |
| TaxesIncluded | Bool | True |
Whether taxes are included in the subtotal price of the order. | |
| DutiesIncluded | Bool | True |
Whether duties are included in the subtotal price of the order. | |
| TotalWeight | String | True |
The total weight of the order before returns, in grams. | |
| CanNotifyCustomer | Bool | True |
Whether a customer email exists for the order. | |
| CurrentTotalWeight | String | True |
The total weight of the order after returns, in grams. | |
| CustomerAcceptsMarketing | Bool | True |
Whether the customer agreed to receive marketing materials. | |
| DisplayFinancialStatus | String | True |
The financial status of the order that can be shown to the merchant. This field does not capture all the details of an order's financial state. It should only be used for display summary purposes. | |
| DisplayFulfillmentStatus | String | True |
The fulfillment status for the order that can be shown to the merchant. This field does not capture all the details of an order's fulfillment state. It should only be used for display summary purposes. For a more granular view of the fulfillment status, refer to the object. | |
| FulfillmentsCount | Int | True |
The count of fulfillments including the cancelled fulfillments. | |
| FulfillmentsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| HasTimelineComment | Bool | True |
Whether the merchant added a timeline comment to the order. | |
| MerchantEditableErrors | String | True |
A list of reasons why the order can't be edited. For example, 'Canceled orders can't be edited'. | |
| PresentmentCurrencyCode | String | True |
The payment 'CurrencyCode' of the customer for the order. | |
| RegisteredSourceUrl | String | True |
The URL of the source that the order originated from, if found in the domain registry. | |
| StatusPageUrl | String | True |
The URL where the customer can check the order's current status. | |
| SubtotalLineItemsQuantity | Int | True |
The sum of the quantities for all line items that contribute to the order's subtotal price. | |
| BillingAddressMatchesShippingAddress | Bool | True |
Whether the billing address matches the shipping address. | |
| CurrentSubtotalLineItemsQuantity | Int | True |
The sum of the quantities for all line items that contribute to the order's current subtotal price. | |
| CreatedAt | Datetime | True |
Date and time when the order was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the order was modified last. | |
| StaffMemberId | String | True |
The staff member associated with the order. (This column is available only with a ShopifyPlus subscription) | |
| AppId | String | True |
The application ID. | |
| MerchantOfRecordAppId | String | True |
The application ID. | |
| MerchantBusinessEntityId | String | True |
A globally-unique ID. | |
| PhysicalLocationId | String | True |
A globally-unique ID. | |
| ChannelInformationId | String | True |
A globally-unique ID. | |
| ChannelInformationChannelId | String | True |
The unique ID for the channel. | |
| ChannelInformationAppId | String | True |
A globally-unique ID. | |
| PublicationId | String | True |
A globally-unique ID. | |
| PurchasingEntityCustomerId | String | True |
A globally-unique ID. | |
| PurchasingEntityCompanyId | String | True |
A globally-unique ID. | |
| CustomerId | String | True |
A globally-unique ID. | |
| CustomerFirstName | String | True |
The customer's first name. | |
| CustomerLastName | String | True |
The customer's last name. | |
| CustomerJourneySummaryReady | Bool | True |
Whether the attributed sessions for the order have been created yet. | |
| CustomerJourneySummaryMomentsCount | Int | True |
The total number of customer moments associated with this order. Returns null if the order is still in the process of being attributed. | |
| CustomerJourneySummaryMomentsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CustomerJourneySummaryCustomerOrderIndex | Int | True |
The position of the current order within the customer's order history. Test orders aren't included. | |
| CustomerJourneySummaryDaysToConversion | Int | True |
The number of days between the first session and the order creation date. The first session represents the first session since the last order, or the first session within the 30 day attribution window, if more than 30 days have passed since the last order. | |
| CustomerJourneySummaryFirstVisitId | String | True |
A globally-unique ID. | |
| CustomerJourneySummaryFirstVisitSource | String | True |
Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct, a website domain, QR code, or unknown. | |
| CustomerJourneySummaryFirstVisitLandingPage | String | True |
URL of the first page the customer landed on for the session. | |
| CustomerJourneySummaryFirstVisitOccurredAt | Datetime | True |
The date and time when the customer's session occurred. | |
| CustomerJourneySummaryFirstVisitReferralCode | String | True |
Marketing referral code from the link that the customer clicked to visit the store. Supports the following URL attributes: _ref_, _source_, or _r_. For example, if the URL is myshopifystore. com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2. | |
| CustomerJourneySummaryFirstVisitReferrerUrl | String | True |
Webpage where the customer clicked a link that sent them to the online store. For example, _https: //randomblog. com/page1_ or _android-app: //com. google. android. gm_. | |
| CustomerJourneySummaryFirstVisitSourceDescription | String | True |
Describes the source explicitly for first or last session. | |
| CustomerJourneySummaryFirstVisitSourceType | String | True |
Type of marketing tactic. | |
| CustomerJourneySummaryFirstVisitLandingPageHtml | String | True |
Landing page information with URL linked in HTML. For example, the first page the customer visited was store. myshopify. com/products/1. | |
| CustomerJourneySummaryFirstVisitReferralInfoHtml | String | True |
Referral information with URLs linked in HTML. | |
| CustomerJourneySummaryLastVisitId | String | True |
A globally-unique ID. | |
| CustomerJourneySummaryLastVisitSource | String | True |
Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct, a website domain, QR code, or unknown. | |
| CustomerJourneySummaryLastVisitLandingPage | String | True |
URL of the first page the customer landed on for the session. | |
| CustomerJourneySummaryLastVisitOccurredAt | Datetime | True |
The date and time when the customer's session occurred. | |
| CustomerJourneySummaryLastVisitReferralCode | String | True |
Marketing referral code from the link that the customer clicked to visit the store. Supports the following URL attributes: _ref_, _source_, or _r_. For example, if the URL is myshopifystore. com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2. | |
| CustomerJourneySummaryLastVisitReferrerUrl | String | True |
Webpage where the customer clicked a link that sent them to the online store. For example, _https: //randomblog. com/page1_ or _android-app: //com. google. android. gm_. | |
| CustomerJourneySummaryLastVisitSourceDescription | String | True |
Describes the source explicitly for first or last session. | |
| CustomerJourneySummaryLastVisitSourceType | String | True |
Type of marketing tactic. | |
| CustomerJourneySummaryLastVisitLandingPageHtml | String | True |
Landing page information with URL linked in HTML. For example, the first page the customer visited was store. myshopify. com/products/1. | |
| CustomerJourneySummaryLastVisitReferralInfoHtml | String | True |
Referral information with URLs linked in HTML. | |
| DisplayAddressId | String | True |
A globally-unique ID. | |
| DisplayAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| DisplayAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| DisplayAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| DisplayAddressFirstName | String | True |
The first name of the customer. | |
| DisplayAddressLastName | String | True |
The last name of the customer. | |
| DisplayAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| DisplayAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| DisplayAddressCity | String | True |
The name of the city, district, village, or town. | |
| DisplayAddressCompany | String | True |
The name of the customer's company or organization. | |
| DisplayAddressCountry | String | True |
The name of the country. | |
| DisplayAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| DisplayAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| DisplayAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| DisplayAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| DisplayAddressZip | String | True |
The zip or postal code of the address. | |
| DisplayAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| DisplayAddressProvinceCode | String | True |
The two-letter code for the region. For example, ON. | |
| DisplayAddressCountryCodeV2 | String | True |
The two-letter code for the country of the address. For example, US. | |
| BillingAddressId | String | True |
A globally-unique ID. | |
| BillingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| BillingAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| BillingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| BillingAddressFirstName | String | True |
The first name of the customer. | |
| BillingAddressLastName | String | True |
The last name of the customer. | |
| BillingAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | True |
The name of the city, district, village, or town. | |
| BillingAddressCompany | String | True |
The name of the customer's company or organization. | |
| BillingAddressCountry | String | True |
The name of the country. | |
| BillingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| BillingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| BillingAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| BillingAddressZip | String | True |
The zip or postal code of the address. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| BillingAddressProvinceCode | String | True |
The two-letter code for the region. For example, ON. | |
| BillingAddressCountryCodeV2 | String | True |
The two-letter code for the country of the address. For example, US. | |
| ShippingAddressId | String | False |
A globally-unique ID. | |
| ShippingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| ShippingAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| ShippingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| ShippingAddressFirstName | String | False |
The first name of the customer. | |
| ShippingAddressLastName | String | False |
The last name of the customer. | |
| ShippingAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | False |
The name of the city, district, village, or town. | |
| ShippingAddressCompany | String | False |
The name of the customer's company or organization. | |
| ShippingAddressCountry | String | False |
The name of the country. | |
| ShippingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| ShippingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| ShippingAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| ShippingAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| ShippingAddressZip | String | False |
The zip or postal code of the address. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| ShippingAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| ShippingAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| ShippingLineId | String | True |
A globally-unique ID. | |
| ShippingLineCarrierIdentifier | String | True |
A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| ShippingLineTitle | String | True |
Returns the title of the shipping line. | |
| ShippingLineCode | String | True |
A reference to the shipping method. | |
| ShippingLineCustom | Bool | True |
Whether the shipping line is custom or not. | |
| ShippingLinePhone | String | True |
The phone number at the shipping address. | |
| ShippingLineSource | String | True |
Returns the rate source for the shipping line. | |
| ShippingLineDeliveryCategory | String | True |
The general classification of the delivery method. | |
| ShippingLineShippingRateHandle | String | True |
A unique identifier for the shipping rate. The format can change without notice and is not meant to be shown to users. | |
| ShippingLineRequestedFulfillmentServiceId | String | True |
The ID of the fulfillment service. | |
| PaymentTermsId | String | True |
A globally-unique ID. | |
| PaymentTermsTranslatedName | String | True |
The payment terms name, translated into the shop admin's preferred language. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the payment terms template used to create the payment terms. | |
| PaymentTermsOverdue | Bool | True |
Whether the payment terms have overdue payment schedules. | |
| PaymentTermsDueInDays | Int | True |
Duration of payment terms in days based on the payment terms template used to create the payment terms. | |
| PaymentTermsPaymentTermsType | String | True |
The payment terms template type used to create the payment terms. | |
| PaymentTermsDraftOrderId | String | True |
A globally-unique ID. | |
| CartDiscountAmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CartDiscountAmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CartDiscountAmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CartDiscountAmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| ChannelInformationChannelDefinitionId | String | True |
The unique ID for the channel definition. | |
| CurrentCartDiscountAmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentCartDiscountAmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentCartDiscountAmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentCartDiscountAmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentSubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentSubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentSubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentSubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalAdditionalFeesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDutiesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDutiesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDutiesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| NetPaymentSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| NetPaymentSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| NetPaymentSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| NetPaymentSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalAdditionalFeesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalDutiesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalDutiesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalDutiesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| PaymentCollectionDetailsAdditionalPaymentCollectionUrl | String | True |
The URL to use for collecting an additional payment on the order. | |
| RefundDiscrepancySetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| RefundDiscrepancySetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| RefundDiscrepancySetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| RefundDiscrepancySetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalCapturableSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalCapturableSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalCapturableSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalCapturableSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalOutstandingSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalOutstandingSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalOutstandingSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalOutstandingSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalReceivedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalReceivedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalReceivedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalReceivedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedShippingSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedShippingSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedShippingSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedShippingSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTipReceivedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTipReceivedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTipReceivedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTipReceivedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99. | |
| TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD. | |
| TotalCashRoundingAdjustmentPaymentSetShopMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99. | |
| TotalCashRoundingAdjustmentPaymentSetShopMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD. | |
| TotalCashRoundingAdjustmentRefundSetPresentmentMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99. | |
| TotalCashRoundingAdjustmentRefundSetPresentmentMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD. | |
| TotalCashRoundingAdjustmentRefundSetShopMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99. | |
| TotalCashRoundingAdjustmentRefundSetShopMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD. | |
| RetailLocationId | String | True |
A globally-unique ID. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| PurchasingEntityCompanyLocationId | String |
The ID of the purchasing company's location for the order. |
| ReferringSite | String |
The website where the customer clicked a link to the shop. |
| SourceUrl | String |
A valid URL to the original order on the originating surface. This URL is displayed to merchants on the Order Details page. If the URL is invalid, then it won't be displayed. |
| UserId | String |
The ID of the user logged into Shopify POS who processed the order, if applicable. |
| DiscountCodeFreeShipping | String |
A free shipping discount code applied to the shipping on an order. |
| DiscountCodeFixed | String |
A fixed amount discount code applied to the line items on the order. |
| DiscountCodeFixedAmountSetPresentmentMoneyAmount | Decimal |
Decimal money amount. |
| DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode | String |
Currency of the money. |
| DiscountCodeFixedAmountSetShopMoneyAmount | Decimal |
Decimal money amount. |
| DiscountCodeFixedAmountSetShopMoneyCurrencyCode | String |
Currency of the money. |
| DiscountCodePercentage | String |
A percentage discount code applied to the line items on the order. |
| DiscountCodePercentageValue | Double |
The amount that's deducted from the order total. When you create an order, this value is the percentage to deduct. |
| FulfillmentLocationId | String |
The ID of the location to fulfill the order from. |
| FulfillmentNotifyCustomer | Bool |
Whether the customer should be notified of changes with the fulfillment. |
| FulfillmentTrackingInfoNumber | String |
The tracking number of the fulfillment. |
| FulfillmentTrackingInfoCompany | String |
The name of the tracking company. |
| FulfillmentShipmentStatus | String |
The status of the shipment. |
| FulfillmentOriginAddressAddress1 | String |
The street address of the fulfillment location. |
| FulfillmentOriginAddressAddress2 | String |
The second line of the address. Typically the number of the apartment, suite, or unit. |
| FulfillmentOriginAddressCity | String |
The city in which the fulfillment location is located. |
| FulfillmentOriginAddressCountryCode | String |
The country of the fulfillment location. |
| FulfillmentOriginAddressProvinceCode | String |
The province of the fulfillment location. |
| FulfillmentOriginAddressZip | String |
The zip code of the fulfillment location. |
| OrderLineItems | String |
The line items to create for the order. |
| OrderShippingLines | String |
A list of objects, each of which details a shipping method used. |
| OrderTaxLines | String |
A list of tax line objects, each of which details a tax applicable to the order. When creating an order through the API, tax lines can be specified on the order or the line items but not both. Tax lines specified on the order are split across the taxable line items in the created order. |
| OrderTransactions | String |
The payment transactions to create for the order. |
| OrderCustomAttributes | String |
A list of extra information that's added to the order. Appears in the Additional details section of an order details page. |
| Metafields | String |
A list of metafields to add to the order. |
| OptionsInventoryBehaviour | String |
The behaviour to use when updating inventory. The allowed values are BYPASS, DECREMENT_IGNORING_POLICY, DECREMENT_OBEYING_POLICY. |
| OptionsSendFulfillmentRequest | Bool |
Whether to send a shipping confirmation to the customer. |
| OptionsSendReceipt | Bool |
Whether to send an order confirmation to the customer. |
Retrieves the transactions associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderTransactions WHERE ResourceId = 'Val1'
The following columns can be used to create a new record:
ResourceId, ParentTransactionId
The following pseudo-columns can be used to create a new record:
Amount, Currency, FinalCapture
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ResourceId [KEY] | String | True |
Orders.Id |
A globally-unique ID. |
| PaymentId | String | True |
The payment ID associated with the transaction. | |
| ParentTransactionId | String | True |
The associated parent transaction, for example the authorization of a capture. | |
| AccountNumber | String | True |
The masked account number associated with the payment method. | |
| Gateway | String | True |
The payment gateway used to process the transaction. | |
| Kind | String | True |
The kind of transaction. | |
| Status | String | True |
The status of this transaction. | |
| Test | Bool | True |
Whether the transaction is a test transaction. | |
| AuthorizationCode | String | True |
Authorization code associated with the transaction. | |
| ErrorCode | String | True |
A standardized error code, independent of the payment provider. | |
| FormattedGateway | String | True |
The human-readable payment gateway name used to process the transaction. | |
| ManuallyCapturable | Bool | True |
Whether the transaction can be manually captured. | |
| MultiCapturable | Bool | True |
Whether the transaction can be captured multiple times. | |
| ProcessedAt | Datetime | True |
Date and time when the transaction was processed. | |
| ReceiptJson | String | True |
The transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction. | |
| SettlementCurrency | String | True |
The settlement currency. | |
| AuthorizationExpiresAt | Datetime | True |
The time when the authorization expires. This field is available only to stores on a Shopify Plus plan and is populated only for Shopify Payments authorizations. | |
| SettlementCurrencyRate | Decimal | True |
The rate used when converting the transaction amount to settlement currency. | |
| CreatedAt | Datetime | True |
Date and time when the transaction was created. | |
| CardPaymentDetailsName | String | True |
The holder of the credit card. | |
| CardPaymentDetailsBin | String | True |
The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number. | |
| CardPaymentDetailsCompany | String | True |
The name of the company that issued the customer's credit card. | |
| CardPaymentDetailsNumber | String | True |
The customer's credit card number, with most of the leading digits redacted. | |
| CardPaymentDetailsWallet | String | True |
Digital wallet used for the payment. | |
| CardPaymentDetailsExpirationMonth | Int | True |
The month in which the used credit card expires. | |
| CardPaymentDetailsExpirationYear | Int | True |
The year in which the used credit card expires. | |
| CardPaymentDetailsAvsResultCode | String | True |
The response code from the address verification system (AVS). The code is always a single letter. | |
| CardPaymentDetailsCvvResultCode | String | True |
The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string. | |
| PaymentIconId | String | True |
A unique ID for the image. | |
| PaymentIconWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| PaymentIconAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| PaymentIconHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| AmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| MaximumRefundableV2Amount | Decimal | True |
Decimal money amount. | |
| MaximumRefundableV2CurrencyCode | String | True |
Currency of the money. | |
| ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt | Datetime | True |
The time after which the extended authorization expires. After the expiry, the merchant is unable to capture the payment. | |
| ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt | Datetime | True |
The time after which capture will incur an additional fee. | |
| ShopifyPaymentsSetRefundSetAcquirerReferenceNumber | String | True |
The acquirer reference number (ARN) code generated for Visa/Mastercard transactions. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalUnsettledSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalUnsettledSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| UserId | String | True |
Staff member who was logged into the Shopify POS device when the transaction was processed. (This column is available only with a ShopifyPlus subscription) | |
| AmountRoundingSetPresentmentMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99. | |
| AmountRoundingSetPresentmentMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard [standard ISO 4217 codes](https: //en. wikipedia. org/wiki/ISO 4217), legacy codes, and non-standard codes. For example, USD. | |
| AmountRoundingSetShopMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99. | |
| AmountRoundingSetShopMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard [standard ISO 4217 codes](https: //en. wikipedia. org/wiki/ISO 4217), legacy codes, and non-standard codes. For example, USD. | |
| PaymentDetailsLocalPaymentDescriptor | String | True |
The descriptor by the payment provider. Only available for Amazon Pay and Buy with Prime. | |
| PaymentDetailsLocalPaymentMethodName | String | True |
The name of payment method used by the buyer. | |
| PaymentDetailsShopPayInstallmentsPaymentMethodName | String | True |
The name of payment method used by the buyer. | |
| PaymentDetailsCardAvsResultCode | String | True |
The response code from the address verification system (AVS). The code is always a single letter. | |
| PaymentDetailsCardBin | String | True |
The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number. | |
| PaymentDetailsCardCompany | String | True |
The name of the company that issued the customer's credit card. | |
| PaymentDetailsCardCvvResultCode | String | True |
The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string. | |
| PaymentDetailsCardExpirationMonth | Int | True |
The month in which the used credit card expires. | |
| PaymentDetailsCardExpirationYear | Int | True |
The year in which the used credit card expires. | |
| PaymentDetailsCardName | String | True |
The holder of the credit card. | |
| PaymentDetailsCardNumber | String | True |
The customer's credit card number, with most of the leading digits redacted. | |
| PaymentDetailsCardPaymentMethodName | String | True |
The name of payment method used by the buyer. | |
| PaymentDetailsCardWallet | String | True |
Digital wallet used for the payment. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Amount | Decimal |
The amount to capture. The capture amount can't be greater than the amount of the authorized transaction. |
| Currency | String |
The amount to capture. The capture amount can't be greater than the amount of the authorized transaction. |
| FinalCapture | Bool |
Indicates whether this is to be the final capture for the order transaction. Only applies to Shopify Payments authorizations which are multi-capturable. If true, any uncaptured amount from the authorization will be voided after the capture is completed. If false, the authorization will remain open for future captures. |
| DeviceId | String |
The ID of the device used to process the transaction. |
| GiftCardDetailsId | String |
The ID of the gift card used for this transaction. |
| LocationId | String |
The ID of the location where the transaction was processed. |
List of the shop's pages.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Pages WHERE Id = 'Val1'
The following columns can be used to create a new record:
Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt
The following pseudo-column can be used to create a new record:
Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt
The following pseudo-columns can be used to update a record:
RedirectNewHandle, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
Title of the page. | |
| Body | String | False |
The text content of the page, complete with HTML markup. | |
| BodySummary | String | True |
The first 150 characters of the page body. If the page body contains more than 150 characters, additional characters are truncated by ellipses. | |
| Handle | String | False |
A unique, human-friendly string for the page. In themes, the Liquid templating language refers to a page by its handle. | |
| TemplateSuffix | String | False |
The suffix of the template that's used to render the page. | |
| IsPublished | Bool | False |
Whether or not the page is visible. | |
| PublishedAt | Datetime | False |
The date and time when the page became or will become visible. Returns null when the page isn't visible. | |
| UpdatedAt | Datetime | True |
The date and time of the latest page update. | |
| CreatedAt | Datetime | True |
The date and time of the page creation. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| RedirectNewHandle | Bool |
Whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically. |
| Metafields | String |
The input fields to create or update a metafield. |
All price lists for a shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PriceLists WHERE Id = 'Val1'
The following columns can be used to create a new record:
Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode
The following columns can be updated:
Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Currency | String | False |
The currency for fixed prices associated with this price list. | |
| FixedPricesCount | Int | True |
The number of fixed prices on the price list. | |
| Name | String | False |
The unique name of the price list, used as a human-readable identifier. | |
| ParentAdjustmentType | String | False |
The type of price adjustment, such as percentage increase or decrease. | |
| ParentAdjustmentValue | Double | False |
The value of price adjustment, where positive numbers reduce the prices and negative numbers increase them. | |
| ParentSettingsCompareAtMode | String | False |
The type of price list adjustment setting for compare at price. |
Returns the media images associated with the product.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductMediaImages WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, AltText, MediaContentType, Url
The following columns can be updated:
AltText, Url
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the media image. | |
| ProductId [KEY] | String | True |
Products.Id |
A globally-unique identifier for the product. |
| AltText | String | False |
A word or phrase to share the nature or contents of a media image. | |
| MediaContentType | String | True |
The media content type. | |
| Height | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| Width | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| Url | String | False |
The location of the image as a URL. |
Returns a list of product options. The limit is specified by Shop.resourceLimits.maxProductOptions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOptions WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, Name, Position, OptionValues (references ProductOptionValues)
The following pseudo-columns can be used to create a new record:
LinkedMetafieldKey, LinkedMetafieldNamespace, LinkedMetafieldValues, CreateVariantStrategy
| Column Name | Type | Description |
| ProductId | String | A globally-unique ID. |
| ProductOptionId | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| VariantStrategy | String | The strategy defines which behavior is observed regarding variants. The strategy 'LEAVE_AS_IS' is used by default - variants are not created nor deleted. If set to 'MANAGE', variants are created and deleted according to the option values to add and to delete. |
The following columns can be updated:
ProductId, Name, Position
The following pseudo-columns can be used to update a record:
LinkedMetafieldKey, LinkedMetafieldNamespace
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique identifier. | |
| ProductId | String | False |
Products.Id |
A globally-unique identifier. |
| Name | String | False |
The product option's name. | |
| Position | Int | False |
The product option's position. | |
| Values | String | True |
The corresponding value to the product option name. | |
| OptionValues | String | True |
Similar to values, option_values returns all the corresponding option value objects to the product option, including values not assigned to any variants. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| LinkedMetafieldKey | String |
The key of the metafield this option is linked to. |
| LinkedMetafieldNamespace | String |
The namespace of the metafield this option is linked to. |
| LinkedMetafieldValues | String |
Comma-separated list of values associated with the option. |
| CreateVariantStrategy | String |
The strategy defines which behavior the mutation should observe regarding variants. If not provided or set to null, the strategy LEAVE_AS_IS will be used. If set to 'LEAVE_AS_IS', no additional variants are created in response to the added options. Existing variants are updated with the first option value of each option added. If set to 'CREATE', existing variants are updated with the first option value of each added option. New variants are created for each combination of existing variant option values and new option values. The allowed values are CREATE, LEAVE_AS_IS. |
| DeleteVariantStrategy | String |
The strategy defines which behavior is observed, such as how to handle a situation where deleting an option would result in duplicate variants. If set to 'DEFAULT', the specified Option may only have one corresponding value. If set to 'NON_DESTRUCTIVE', an Option with multiple values can be deleted, but the operation only succeeds if no product variants get deleted. If set to 'POSITION', an Option with multiple values can be deleted. Remaining variants will be deleted, highest position first, in the event of duplicates being detected. The allowed values are DEFAULT, NON_DESTRUCTIVE, POSITION. |
List all the corresponding option value objects to the product option, including values not assigned to any variants.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOptionValues WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, ProductOptionId, Name, LinkedMetafieldValue
The following pseudo-column can be used to create a new record:
VariantStrategy
The following columns can be updated:
ProductId, ProductOptionId, Name, LinkedMetafieldValue
You can delete entries by specifying the following columns:
ProductId, ProductOptionId, Id
| Name | Type | ReadOnly | References | Description |
| ProductId | String | False |
A globally-unique ID. | |
| ProductOptionId | String | False |
A globally-unique ID. | |
| ProductOptionName | String | True |
The product option's name. | |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
Value associated with an option. | |
| LinkedMetafieldValue | String | False |
Metafield value associated with an option. | |
| HasVariants | Bool | True |
Whether the product option value has any linked variants. | |
| SwatchColor | String | True |
The swatch associated with the product option value. The color representation of the swatch. | |
| SwatchImageId | String | True |
The swatch associated with the product option value. An image representation of the swatch. A globally-unique ID. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| VariantStrategy | String |
The strategy defines which behavior is observed regarding variants. The strategy 'LEAVE_AS_IS' is used by default - variants are not created nor deleted. If set to 'MANAGE', variants are created and deleted according to the option values to add and to delete. The allowed values are LEAVE_AS_IS, MANAGE. |
Returns the product resource feedback for the currently authenticated app.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductResourceFeedbacks WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, FeedbackGeneratedAt, Messages, ProductUpdatedAt, State
| Name | Type | ReadOnly | References | Description |
| ProductId [KEY] | String | True |
Products.Id |
The product associated with the resource feedback. |
| FeedbackGeneratedAt | Datetime | True |
The time when the feedback was generated. Used to help determine whether incoming feedback is outdated compared to existing feedback. | |
| Messages | String | True |
The feedback messages presented to the merchant. | |
| ProductUpdatedAt | Datetime | True |
The timestamp of the product associated with the feedback. | |
| State | String | True |
Conveys the state of the feedback and whether it requires merchant action or not. The allowed values are ACCEPTED, REQUIRES_ACTION. |
Returns a list of products.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Products WHERE Id = 'Val1'
SELECT * FROM Products WHERE Title = 'Val1'
SELECT * FROM Products WHERE Status = 'Val1'
SELECT * FROM Products WHERE Vendor = 'Val1'
SELECT * FROM Products WHERE TotalInventory = 123
SELECT * FROM Products WHERE HasOnlyDefaultVariant = true
SELECT * FROM Products WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Products WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Products WHERE ProductType = 'Val1'
SELECT * FROM Products WHERE PublicationId = 'Val1'
SELECT * FROM Products WHERE VariantId = 'Val1'
SELECT * FROM Products WHERE VariantTitle = 'Val1'
The following columns can be used to create a new record:
DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, IsGiftCard, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan
The following pseudo-columns can be used to create a new record:
Metafields (references Metafields), BundleComponents (references ProductBundleComponents)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| ComponentProductId | String | A globally-unique ID. |
| OptionSelections (references ProductBundleComponentOptionSelections) | String | The options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle. |
| Quantity | Int | The quantity of the component product set for this bundle line. It will be null if there's a quantityOption present. |
| QuantityOptionName | String | The name of the option value. |
| QuantityOptionValues | String | The quantity values of the option. |
| Column Name | Type | Description |
| ParentOptionName | String | The product option’s name. |
| ComponentOptionId | String | A globally-unique ID. |
| Values | String | The component option values that are actively selected for this relationship. |
The following columns can be updated:
DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan
The following pseudo-columns can be used to update a record:
Metafields (references Metafields), BundleComponents (references ProductBundleComponents)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| ComponentProductId | String | A globally-unique ID. |
| OptionSelections (references ProductBundleComponentOptionSelections) | String | The options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle. |
| Quantity | Int | The quantity of the component product set for this bundle line. It will be null if there's a quantityOption present. |
| QuantityOptionName | String | The name of the option value. |
| QuantityOptionValues | String | The quantity values of the option. |
| Column Name | Type | Description |
| ParentOptionName | String | The product option’s name. |
| ComponentOptionId | String | A globally-unique ID. |
| Values | String | The component option values that are actively selected for this relationship. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique identifier. | |
| LegacyResourceId | Long | True |
The ID of the corresponding resource in the REST Admin API. | |
| Description | String | True |
The description of the product, complete with HTML formatting. | |
| DescriptionHtml | String | False |
The description of the product, complete with HTML formatting. | |
| Title | String | False |
The title of the product. | |
| Handle | String | False |
A unique human-friendly string of the product's title. | |
| Tags | String | False |
A comma separated list of tags associated with the product. Updating 'tags' overwrites any existing tags that were previously added to the product. | |
| Status | String | False |
The product status. This controls visibility across all channels. | |
| Vendor | String | False |
The name of the product's vendor. | |
| OnlineStorePreviewUrl | String | True |
The online store preview URL. | |
| OnlineStoreUrl | String | True |
The online store URL for the product.A value of 'null' indicates that the product is not published to the Online Store sales channel. | |
| TracksInventory | Bool | True |
Whether inventory tracking has been enabled for the product. | |
| TotalInventory | Int | True |
The quantity of inventory in stock. | |
| HasOnlyDefaultVariant | Bool | True |
Whether the product has only a single variant with the default option and value. | |
| HasOutOfStockVariants | Bool | True |
Whether the product has out of stock variants. | |
| HasVariantsThatRequiresComponents | Bool | True |
Whether at least one of the product variants requires bundle components. | |
| VariantsCount | Int | True |
The number of variants that are associated with the product. | |
| VariantsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| TemplateSuffix | String | False |
The theme template used when viewing the product in a store. | |
| GiftCardTemplateSuffix | String | False |
The theme template used when viewing the gift card in a store. | |
| IsGiftCard | Bool | True |
Whether the product is a gift card. | |
| PublishedAt | Datetime | True |
The date and time when the product was published to the Online Store. | |
| UpdatedAt | Datetime | True |
The date and time when the product was last modified.A product's 'updatedAt' value can change for different reasons. For example, if an order is placed for a product that has inventory tracking set up, then the inventory adjustment is counted as an update. | |
| CreatedAt | Datetime | True |
The date and time when the product was created. | |
| ProductType | String | False |
The product type specified by the merchant. | |
| CategoryId | String | True |
The globally-unique ID of the TaxonomyCategory. | |
| CategoryName | String | True |
The name of the taxonomy category. For example, Dog Beds. | |
| CategoryFullName | String | True |
The full name of the taxonomy category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds. | |
| SeoTitle | String | False |
SEO Title. | |
| SeoDescription | String | False |
SEO Description. | |
| RequiresSellingPlan | Bool | False |
Whether the product can only be purchased with a selling plan (subscription). Products that are sold on subscription ('requiresSellingPlan: true') can be updated only for online stores. If you update a product to be subscription only, then the product is unpublished from all channels except the online store. | |
| SellingPlanGroupsCount | Int | True |
Count of selling plan groups associated with the product. | |
| SellingPlanGroupsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| PriceRangeMaxVariantPriceAmount | Decimal | True |
Decimal money amount. | |
| PriceRangeMaxVariantPriceCurrencyCode | String | True |
Currency of the money. | |
| PriceRangeMinVariantPriceAmount | Decimal | True |
Decimal money amount. | |
| PriceRangeMinVariantPriceCurrencyCode | String | True |
Currency of the money. | |
| CompareAtPriceRangeMaxVariantCompareAtPriceAmount | Decimal | True |
Decimal money amount. | |
| CompareAtPriceRangeMaxVariantCompareAtPriceCurrencyCode | String | True |
Currency of the money. | |
| CompareAtPriceRangeMinVariantCompareAtPriceAmount | Decimal | True |
Decimal money amount. | |
| CompareAtPriceRangeMinVariantCompareAtPriceCurrencyCode | String | True |
Currency of the money. | |
| MediaCount | Int | True |
Total count of media belonging to a product. | |
| MediaCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| FeaturedMediaId | String | True |
A globally-unique ID. | |
| FeaturedMediaAlt | String | True |
A word or phrase to share the nature or contents of a media. | |
| FeaturedMediaContentType | String | True |
The media content type. | |
| FeaturedMediaStatus | String | True |
Current status of the media. | |
| FeaturedMediaPreviewStatus | String | True |
Current status of the preview image. | |
| FeaturedMediaPreviewImageId | String | True |
The preview image for the media. Returns null until status is READY. | |
| FeaturedMediaPreviewImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| FeaturedMediaPreviewImageUrl | String | True |
The location of the image as a URL. | |
| FeaturedMediaPreviewImageWidth | Int | True |
The original width of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| FeaturedMediaPreviewImageHeight | Int | True |
The original height of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| AvailablePublicationsCount | Int | True |
The number of publications a resource is published to without feedback errors. | |
| AvailablePublicationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| PublishedOnCurrentPublication | Bool | True |
Whether the resource is published to the app's publication. For example, the resource might be published to the app's online store channel. | |
| ResourcePublicationOnCurrentPublicationAutoPublish | Bool | True |
Whether new products are automatically published to this publication. | |
| ResourcePublicationOnCurrentPublicationIsPublished | Bool | True |
Whether the resource publication is published. If true, then the resource publication is published to the publication. If false, then the resource publication is staged to be published to the publication. | |
| ResourcePublicationOnCurrentPublicationPublishDate | Datetime | True |
The date that the resource publication was or is going to be published to the publication. | |
| ResourcePublicationOnCurrentPublicationPublicationId | String | True |
A globally-unique identifier. | |
| ResourcePublicationOnCurrentPublicationPublicationName | String | True |
Name of the publication. | |
| ResourcePublicationOnCurrentPublicationPublicationSupportsFuturePublishing | Bool | True |
Whether the publication supports future publishing. | |
| ResourcePublicationsCount | Int | True |
The number of publications that a resource is published to, without feedback errors. | |
| ResourcePublicationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| FeedbackSummary | String | True |
Summary of resource feedback pertaining to the resource. | |
| FeedbackDetails | String | True |
List of AppFeedback detailing issues regarding a resource. | |
| PublicationId | String | True |
Filter by publication IDs that are associated with the product. | |
| VariantId | String | True |
Filter by the product variant id field. | |
| VariantTitle | String | True |
Filter by the product variant title field. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Metafields | String |
The additional customizable information about the product variant. |
| BundleComponents | String |
The components that are associated with a product in a bundle. |
Returns a list of the product variants.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ProductVariants WHERE Id = 'Val1'
SELECT * FROM ProductVariants WHERE ProductId = 'Val1'
SELECT * FROM ProductVariants WHERE Barcode = 'Val1'
SELECT * FROM ProductVariants WHERE Sku = 'Val1'
SELECT * FROM ProductVariants WHERE Title = 'Val1'
SELECT * FROM ProductVariants WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM ProductVariants WHERE Taxable = true
SELECT * FROM ProductVariants WHERE DeliveryProfileId = 'Val1'
SELECT * FROM ProductVariants WHERE LocationInventoryQuantity = 123
The following columns can be used to create a new record:
ProductId, Barcode, Sku, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin
The following pseudo-columns can be used to create a new record:
MediaId, MediaSrc, InventoryQuantities (references InventoryItemInventoryLevelQuantities), OptionValues (references ProductOptionValues), Metafields (references Metafields), Strategy
| Column Name | Type | Description |
| InventoryLevelLocationId | String | A globally-unique ID. |
| Quantity | Int | The quantity for the quantity name. |
| Column Name | Type | Description |
| ProductOptionId | String | A globally-unique ID. |
| ProductOptionName | String | The product option's name. |
| Id | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
ProductId, Barcode, Sku, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin
The following pseudo-columns can be used to update a record:
MediaId, MediaSrc, OptionValues (references ProductOptionValues), Metafields (references Metafields), AllowPartialUpdates
| Column Name | Type | Description |
| ProductOptionId | String | A globally-unique ID. |
| ProductOptionName | String | The product option's name. |
| Id | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique identifier. | |
| LegacyResourceId | Long | True |
The ID of the corresponding resource in the REST Admin API. | |
| ProductId | String | False |
Products.Id |
A globally-unique identifier. |
| Position | Int | True |
The order of the product variant in the list of product variants. The first position in the list is 1. | |
| DisplayName | String | True |
Display name of the variant, based on product's title + variant's title. | |
| Barcode | String | False |
The value of the barcode associated with the product. | |
| Sku | String | False |
An identifier for the product variant in the shop. Required in order to connect to a fulfillment service. | |
| Title | String | True |
The title of the product variant. | |
| RequiresComponents | Bool | True |
Whether a product variant requires components. The default value is 'false'. If 'true', then the product variant can only be purchased as a parent bundle with components and it will be omitted from channels that don't support bundles. | |
| UpdatedAt | Datetime | True |
The date and time when the product variant was last modified. | |
| CreatedAt | Datetime | True |
The date and time when the variant was created. | |
| SelectedOptions | String | True |
List of product options applied to the variant. | |
| AvailableForSale | Bool | True |
Whether the product variant is available for sale. | |
| Price | Decimal | False |
The price of the product variant in the default shop currency. | |
| CompareAtPrice | Decimal | False |
The compare-at price of the variant in the default shop currency. | |
| TaxCode | String | False |
The tax code for the product variant. | |
| Taxable | Bool | False |
Whether a tax is charged when the product variant is sold. | |
| SellableOnlineQuantity | Int | True |
The total sellable quantity of the variant for online channels. This doesn't represent the total available inventory or capture (limitations based on customer location). | |
| SellingPlanGroupsCount | Int | True |
Count of selling plan groups associated with the product variant. | |
| SellingPlanGroupsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DeliveryProfileId | String | True |
A globally-unique identifier. | |
| InventoryPolicy | String | False |
Whether customers are allowed to place an order for the product variant when it's out of stock. | |
| InventoryQuantity | Int | True |
The total sellable quantity of the variant. | |
| InventoryItemId | String | True |
A globally-unique identifier. | |
| InventoryItemUnitCostAmount | Decimal | False |
Unit cost associated with the inventory item. | |
| InventoryItemUnitCostCurrencyCode | String | True |
Currency code of the unit cost associated with the inventory item. | |
| InventoryItemHarmonizedSystemCode | String | False |
The harmonized system code of the inventory item. | |
| InventoryItemMeasurementWeightValue | Double | False |
The weight value using the unit system specified with 'unit'. | |
| InventoryItemMeasurementWeightUnit | String | False |
The unit of measurement for 'value'. | |
| InventoryItemRequiresShipping | Bool | False |
Whether the inventory item requires shipping. | |
| InventoryItemTracked | Bool | False |
Whether inventory levels are tracked for the item. | |
| InventoryItemCountryCodeOfOrigin | String | False |
The ISO 3166-1 alpha-2 country code of where the item originated from. | |
| InventoryItemProvinceCodeOfOrigin | String | False |
The ISO 3166-2 alpha-2 province code of where the item originated from. | |
| ImageId | String | True |
A unique identifier for the image. | |
| ImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The location of the image as a URL. | |
| UnitPriceMeasurementMeasuredType | String | True |
The type of unit of measurement for the unit price measurement. | |
| UnitPriceMeasurementQuantityUnit | String | True |
The quantity unit for the unit price measurement. | |
| UnitPriceMeasurementQuantityValue | Double | True |
The quantity value for the unit price measurement. | |
| UnitPriceMeasurementReferenceUnit | String | True |
The reference unit for the unit price measurement. | |
| UnitPriceMeasurementReferenceValue | Int | True |
The reference value for the unit price measurement. | |
| LocationInventoryQuantity | Int | True |
Filters by the available inventory quantity of any variant at individual locations. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| MediaId | String |
The ID of the media to associate with the variant. |
| MediaSrc | String |
The URL of the media to associate with the variant. |
| InventoryQuantities | String |
The inventory quantities at each location where the variant is stocked. The number of elements in the array of inventory quantities can't exceed the amount specified for the plan. |
| OptionValues | String |
The custom properties that a shop owner uses to define product variants. |
| Metafields | String |
The additional customizable information about the product variant. |
| Strategy | String |
The strategy defines which behavior is observed, such as whether to keep or delete the standalone variant (when product has only a single or default variant) when creating new variants. If set to 'DEFAULT', keep the standalone variant (when product has only a single or default variant) when creating variants. If set to 'REMOVE_STANDALONE_VARIANT', delete the standalone variant (when product has only a single or default variant) when creating new variants. The allowed values are DEFAULT, REMOVE_STANDALONE_VARIANT. |
| AllowPartialUpdates | Bool |
When partial updates are allowed, valid variant changes may be persisted even if some of the variants updated have invalid data and cannot be persisted. When partial updates are not allowed, any error will prevent all variants from updating. |
Returns the list of publications.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Publications WHERE Id = 'Val1'
SELECT * FROM Publications WHERE CatalogType = 'Val1'
The following columns can be used to create a new record:
AutoPublish, CatalogId
The following pseudo-column can be used to create a new record:
DefaultState
The following column can be updated:
AutoPublish
The following pseudo-columns can be used to update a record:
PublishablesToAdd, PublishablesToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AutoPublish | Bool | False |
Whether new products are automatically published to this publication. | |
| SupportsFuturePublishing | Bool | True |
Whether the publication supports future publishing. | |
| CatalogId | String | True |
A globally-unique ID. | |
| AddAllProductsOperationId | String | True |
A globally-unique ID. | |
| AddAllProductsOperationStatus | String | True |
The status of this operation. | |
| AddAllProductsOperationProcessedRowCount | Int | True |
The count of processed rows, summing imported, failed, and skipped rows. | |
| AddAllProductsOperationRowCountCount | Int | True |
Estimated number of rows contained within this background operation. | |
| AddAllProductsOperationRowCountExceedsMax | Bool | True |
Whether the operation exceeds max number of reportable rows. | |
| CatalogCsvOperationId | String | True |
A globally-unique ID. | |
| CatalogCsvOperationStatus | String | True |
The status of this operation. | |
| CatalogCsvOperationProcessedRowCount | Int | True |
The count of processed rows, summing imported, failed, and skipped rows. | |
| CatalogCsvOperationRowCountCount | Int | True |
Estimated number of rows contained within this background operation. | |
| CatalogCsvOperationRowCountExceedsMax | Bool | True |
Whether the operation exceeds max number of reportable rows. | |
| PublicationResourceOperationId | String | True |
A globally-unique ID. | |
| PublicationResourceOperationStatus | String | True |
The status of this operation. | |
| PublicationResourceOperationProcessedRowCount | Int | True |
The count of processed rows, summing imported, failed, and skipped rows. | |
| PublicationResourceOperationRowCountCount | Int | True |
Estimated number of rows contained within this background operation. | |
| PublicationResourceOperationRowCountExceedsMax | Bool | True |
Whether the operation exceeds max number of reportable rows. | |
| CatalogType | String | True |
Filter publications by catalog type. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| DefaultState | String |
Whether to create an empty publication or prepopulate it with all products. The allowed values are ALL_PRODUCTS, EMPTY. |
| PublishablesToAdd | String |
A simple, comma-separated list of publishable IDs to add. The maximum number of publishables to update simultaneously is 50. |
| PublishablesToRemove | String |
A simple, comma-separated list of publishable IDs to remove. The maximum number of publishables to update simultaneously is 50. |
Represents a refund of items or transactions in an order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Refunds WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OrderId, Note, RefundLineItems (references RefundLineItems)
| Column Name | Type | Description |
| LineItemId | String | A globally-unique ID. |
| LineItemQuantity | Int | The number of variant units ordered. |
| RestockType | String | The type of restock for the refunded line item. |
| LocationId | String | A globally-unique ID. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Globally unique identifier. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| OrderId | String | True |
Orders.Id |
A globally-unique ID. |
| Note | String | True |
The optional note associated with the refund. | |
| CreatedAt | Datetime | True |
The date and time when the refund was created. | |
| UpdatedAt | Datetime | True |
The date and time when the refund was updated. | |
| ReturnId | String | True |
A globally-unique ID. | |
| StaffMemberId | String | True |
A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| TotalRefundedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| RefundLineItems | String | True |
The list of the line items in the draft order. |
Retrieves a list of returns for the order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Returns WHERE OrdersId = 'Val1'
The following columns can be used to create a new record:
OrdersId, ReturnLineItems (references ReturnLineItems), ReturnExchangeLineItems (references ReturnExchangeLineItems)
| Column Name | Type | Description |
| Quantity | Int | The quantity being returned. |
| ReturnReason | String | The reason for returning the item. |
| ReturnReasonNote | String | Additional information about the reason for the return. Maximum length: 255 characters. |
| FulfillmentLineItemId | String | A globally-unique ID. |
| Column Name | Type | Description |
| VariantId | String | A globally-unique ID. |
| Quantity | Int | The number of variant units ordered. |
| AppliedDiscountValueAmount | Decimal | The discount to be applied to the exchange line item. The value of the discount as a fixed amount. |
| AppliedDiscountValueAmountCurrencyCode | String | The discount to be applied to the exchange line item. Currency of the money. |
| AppliedDiscountValuePercentage | Double | The discount to be applied to the exchange line item. The value of the discount as a percentage. |
| AppliedDiscountDescription | String | The discount to be applied to the exchange line item. The description of the discount. |
| GiftCardCodes | String | The gift card codes associated with the physical gift cards. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| OrdersId | String | True |
Orders.Id |
A globally-unique ID. |
| Name | String | True |
The name of the return. | |
| Status | String | True |
The status of the return. | |
| TotalQuantity | Int | True |
The sum of all line item quantities for the return. | |
| DeclineReason | String | True |
The reason the customer's return request was declined. | |
| DeclineNote | String | True |
The notification message sent to the customer about their declined return request. Maximum length: 500 characters. | |
| ReturnLineItems | String | True |
The list of the line items in the return. | |
| ReturnExchangeLineItems | String | True |
The new line items to be added to the order. |
Returns a list of script tags.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ScriptTags WHERE Id = 'Val1'
SELECT * FROM ScriptTags WHERE Src = 'Val1'
The following columns can be used to create a new record:
Cache, Src, DisplayScope
The following columns can be updated:
Cache, Src, DisplayScope
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Cache | Bool | False |
Whether the Shopify CDN can cache and serve the script tag. If 'true', then the script will be cached and served by the CDN. The cache expires 15 minutes after the script tag is successfully returned. If 'false', then the script will be served as is. | |
| Src | String | False |
The URL to the remote script. | |
| DisplayScope | String | False |
The page or pages on the online store that the script should be included. The allowed values are ALL, ONLINE_STORE, ORDER_STATUS. | |
| CreatedAt | Datetime | True |
The date and time when the script tag was created. | |
| UpdatedAt | Datetime | True |
The date and time when the script tag was last updated. |
A list of a shop's segments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Segments WHERE Id = 'Val1'
The following columns can be used to create a new record:
Name, Query
The following columns can be updated:
Name, Query
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
The name of the segment. | |
| Query | String | False |
A precise definition of the segment. The definition is composed of a combination of conditions on facts about customers. | |
| CreationDate | Datetime | True |
The date and time when the segment was added to the store. | |
| LastEditDate | Datetime | True |
The date and time when the segment was last updated. |
Returns a list Selling Plan Groups.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM SellingPlanGroups WHERE Id = 'Val1'
SELECT * FROM SellingPlanGroups WHERE Name = 'Val1'
SELECT * FROM SellingPlanGroups WHERE CreatedAt < '2023-01-01 11:10:00'
The following columns can be used to create a new record:
AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans)
The following pseudo-columns can be used to create a new record:
ProductIds, ProductVariantIds
| Column Name | Type | Description |
| Id | String | A globally-unique ID. |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. |
| Category | String | The category used to classify the selling plan for reporting purposes. |
| Description | String | Buyer facing string which describes the selling plan commitment. |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. |
| InventoryPolicyReserve | String | When to reserve inventory for the order. |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge. |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due. |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year. |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN. |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
| Metafields (references Metafields) | String | Attaches additional metadata to a store's resources. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans), SellingPlansToUpdate (references SellingPlanGroupSellingPlans)
The following pseudo-column can be used to update a record:
SellingPlansToDelete
| Column Name | Type | Description |
| Id | String | A globally-unique ID. |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. |
| Category | String | The category used to classify the selling plan for reporting purposes. |
| Description | String | Buyer facing string which describes the selling plan commitment. |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. |
| InventoryPolicyReserve | String | When to reserve inventory for the order. |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge. |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due. |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year. |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN. |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
| Metafields (references Metafields) | String | Attaches additional metadata to a store's resources. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AppId | String | False |
The ID for app, exposed in Liquid and product JSON. | |
| Name | String | False |
The buyer-facing label of the selling plan group. | |
| Description | String | False |
The merchant-facing description of the selling plan group. | |
| Options | String | False |
The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. | |
| Position | Int | False |
The relative position of the selling plan group for display. | |
| Summary | String | True |
A summary of the policies associated to the selling plan group. | |
| MerchantCode | String | False |
The merchant-facing label of the selling plan group. | |
| ProductsCount | Int | True |
A count of products associated to the selling plan group. | |
| ProductsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CreatedAt | Datetime | True |
The date and time when the selling plan group was created. | |
| SellingPlansToCreate | String | False |
List of selling plans to create. | |
| SellingPlansToUpdate | String | False |
List of selling plans to update. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| SellingPlansToDelete | String |
List of selling plans to delete as a simple, comma-separated list. |
| ProductIds | String |
The IDs of the Products to add to the Selling Plan Group as a simple, comma-separated list. |
| ProductVariantIds | String |
The IDs of the Variants to add to the Selling Plan Group as a simple, comma-separated list. |
Credit transactions which increase the store credit account balance.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountCreditTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountCreditTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
The following columns can be used to create a new record:
Amount, AmountCurrencyCode, ExpiresAt, CustomerStoreCreditAccountId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Amount | Decimal | True |
Decimal money amount. | |
| AmountCurrencyCode | String | True |
Currency of the money. | |
| RemainingAmount | Decimal | True |
Decimal money amount. | |
| RemainingAmountCurrencyCode | String | True |
Currency of the money. | |
| ExpiresAt | Datetime | True |
The time at which the transaction expires. Debit transactions will always spend the soonest expiring credit first. | |
| BalanceAfterTransactionAmount | Decimal | True |
Decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | True |
Currency of the money. | |
| CreatedAt | Datetime | True |
The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | True |
A globally-unique ID. |
Debit transactions which decrease the store credit account balance.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountDebitTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountDebitTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
The following columns can be used to create a new record:
Amount, AmountCurrencyCode, CustomerStoreCreditAccountId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Amount | Decimal | True |
Decimal money amount. | |
| AmountCurrencyCode | String | True |
Currency of the money. | |
| BalanceAfterTransactionAmount | Decimal | True |
Decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | True |
Currency of the money. | |
| CreatedAt | Datetime | True |
The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | True |
A globally-unique ID. |
Retrieves the storefront access token of a private application. These are scoped per-application.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM StorefrontAccessTokens
The following column can be used to create a new record:
Title
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ShopId | String | True |
Shop.Id |
A globally-unique ID. |
| Title | String | True |
An arbitrary title for each token determined by the developer, used for reference purposes. | |
| AccessToken | String | True |
The issued public access token. | |
| CreatedAt | Datetime | True |
The date and time when the public access token was created. | |
| UpdatedAt | Datetime | True |
The date and time when the storefront access token was updated. |
List of the shop's themes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Themes WHERE Id = 'Val1'
SELECT * FROM Themes WHERE Name = 'Val1'
SELECT * FROM Themes WHERE Role = 'Val1'
The following column can be used to create a new record:
Name
The following pseudo-column can be used to create a new record:
Source
The following column can be updated:
Name
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ThemeStoreId | Int | True |
The theme store ID. | |
| Name | String | False |
The name of the theme, set by the merchant. | |
| Prefix | String | True |
The prefix of the theme. | |
| Processing | Bool | True |
Whether the theme is processing. | |
| ProcessingFailed | Bool | True |
Whether the theme processing failed. | |
| Role | String | True |
The role of the theme. | |
| UpdatedAt | Datetime | True |
The date and time when the theme was last updated. | |
| CreatedAt | Datetime | True |
The date and time when the theme was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Source | String |
An external URL or a staged upload URL of the theme to import. |
Returns a list of redirects for a shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM UrlRedirects WHERE Id = 'Val1'
SELECT * FROM UrlRedirects WHERE Path = 'Val1'
SELECT * FROM UrlRedirects WHERE Target = 'Val1'
The following columns can be used to create a new record:
Path, Target
The following columns can be updated:
Path, Target
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The ID of the URL redirect. | |
| Path | String | False |
The old path to be redirected from. When the user visits this path, they will be redirected to the target location. | |
| Target | String | False |
The target location where the user will be redirected to. |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| AbandonedCheckoutCustomAttributes | Retrieves custom attributes associated with the resource. |
| AbandonedCheckoutLineItems | Retrieves a list of line items in the associated resource. |
| AbandonedCheckouts | List checkouts that were abandoned by customers. |
| AbandonedCheckoutTaxLines | Represents a single tax applied to the associated resource. |
| Abandonment | Returns abandonment. |
| AbandonmentProductsAddedToCart | Returns the products added to the cart during the customer abandoned visit. |
| AbandonmentProductsViewed | Returns the products viewed during the customer abandoned visit. |
| AppCredits | Lists credits that can be used towards future app purchases. |
| ArticleCommentEvents | Retrieves a paginated list of events associated with the host subject. |
| ArticleEvents | Retrieves a paginated list of events associated with the host subject. |
| AssignedFulfillmentOrders | Retrieves a paginated list of fulfillment orders assigned to the shop locations owned by the app. Assigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations managed by fulfillment services that are registered by the app. One app (api_client) can host multiple fulfillment services on a shop. Each fulfillment service manages a dedicated location on a shop. Assigned fulfillment orders can have associated, or might currently not be requested to be fulfilled. The app must have 'read_assigned_fulfillment_orders' to be able to retrieve fulfillment orders assigned to its locations. All assigned fulfillment orders (except those with the 'CLOSED' status) will be returned by default. |
| BlogEvents | Retrieves a paginated list of events associated with the host subject. |
| BusinessEntities | List of Business Entities associated with the shop. |
| CollectionProducts | Retrieves a list of the products inside of a collection. |
| CompanyContactRoles | Returns available roles for company contacts. |
| CompanyEvents | Retrieves a paginated list of events associated with the host subject. |
| CustomerAddresses | List addresses associated with customers. |
| CustomerEvents | Retrieves a paginated list of events associated with the host subject. |
| CustomerSegmentMembers | The list of members, such as customers, that's associated with individual segments. |
| CustomerStoreCreditAccounts | Retrieve customers' store credit accounts. |
| DeliveryProfileLocationGroupCountries | Lists countries already selected in any zone for the specified location group. |
| DeliveryProfileLocationGroupCountryProvinces | Returns the list of regions associated with this country. |
| DeliveryProfileLocationGroups | Lists the location groups using this profile. |
| DeliveryProfileLocationGroupZones | Lists the applicable zones associated to the specified location group. |
| DeliveryProfileUnassignedLocations | Lists the locations that have not been assigned to a location group for this profile. |
| DiscountEvents | Retrieves a paginated list of events associated with the host subject. |
| DiscountsCodeFreeShipping | Returns a list of discounts. |
| Disputes | All disputes related to the shop. |
| DraftOrderCustomAttributes | Retrieves custom attributes associated with the resource. |
| DraftOrderEvents | Retrieves a paginated list of events associated with the host subject. |
| DraftOrderLineItemCustomAttributes | Retrieves custom attributes associated with the resource. |
| DraftOrderLineItems | Returns a list of the line items in the draft order. |
| DraftOrderLineItemTaxLines | Represents a single tax applied to the associated resource. |
| DraftOrderTaxLines | Represents a single tax applied to the associated resource. |
| Events | Retrieves a list of events associated with the shop. |
| FulfillmentLineItems | Line items from orders that are included in fulfillments. |
| FulfillmentLineItemTaxLines | Represents a single tax applied to the associated resource. |
| FulfillmentOrderLineItems | A list of the fulfillment order's line items. |
| FulfillmentOrderLocationForMoveAvailableLineItems | A list of the fulfillment order's line items. |
| FulfillmentOrderLocationForMoveUnavailableLineItems | A list of the fulfillment order's line items. |
| FulfillmentOrderLocationsForMove | A list of locations that the fulfillment order can potentially move to. |
| InventoryAdjustmentGroupChanges | Sets of inventory quantity changes that occurred in inventory events. |
| InventoryAdjustmentGroups | Groups of adjustments made as part of inventory operations. |
| InventoryItemCountryHarmonizedSystemCodes | Returns a list of country specific harmonized system codes. |
| InventoryItemInventoryLevelQuantities | List quantities for inventory items at specific locations. |
| InventoryItemInventoryLevelScheduledChanges | Scheduled changes for inventory levels. |
| Jobs | Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes. |
| LocalizationCountries | Returns the list of countries with enabled localized experiences. |
| MarketingEvents | Returns a list of marketing events associated with the marketing app. |
| MetafieldDefinitionConstraintValues | Returns constraint subtype values that metafield definitions apply to. |
| MetafieldDefinitionStandardTemplates | Standard metafield definition templates provide preset configurations to create metafield definitions. |
| MetafieldDefinitionTypes | Returns metafield definition types which provide the basic foundation and validations for metafields. |
| MetaobjectDefinitions | Provides the definition of a generic object structure composed of metafields. |
| MetaObjects | All metaobjects for the shop. |
| OrderAdditionalFees | A list of additional fees applied to the order. |
| OrderAgreementAdditionalFeeSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementAdjustmentSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementDutySales | Retrieves a list of sales associated with agreements. |
| OrderAgreementGiftCardSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementProductSales | Retrieves a list of sales associated with agreements. |
| OrderAgreements | Retrieves a list of sales agreements associated with orders. |
| OrderAgreementShippingLineSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementTipSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementUnknownSales | Retrieves a list of sales associated with agreements. |
| OrderCustomAttributes | Retrieves custom attributes associated with the resource. |
| OrderDiscountApplications | Returns a list of discounts that are applied to the order, not including order edits and refunds. |
| OrderEditAgreementAdditionalFeeSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementAdjustmentSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementDutySales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementGiftCardSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementProductSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreements | Retrieves a list of sales agreements associated with orders. |
| OrderEditAgreementShippingLineSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementTipSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementUnknownSales | Retrieves a list of sales associated with agreements. |
| OrderEvents | Retrieves a paginated list of events associated with the host subject. |
| OrderLineItemCustomAttributes | Retrieves custom attributes associated with the resource. |
| OrderLineItemDiscountAllocations | Retrieves the discounts that have been allocated onto the line item by discount applications, not including order edits and refunds. |
| OrderLineItemDuties | Lists the duties associated with the line items. |
| OrderLineItems | Retrieves line items associated with orders. |
| OrderLineItemTaxLines | Represents a single tax applied to the associated resource. |
| OrderNonFulfillableLineItemDuties | Lists the duties associated with the line items. |
| OrderNonFulfillableLineItems | Retrieves a list of line items in the associated resource. |
| OrderRefundAgreementAdditionalFeeSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementAdjustmentSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementDutySales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementGiftCardSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementProductSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreements | Retrieves a list of sales agreements associated with orders. |
| OrderRefundAgreementShippingLineSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementTipSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementUnknownSales | Retrieves a list of sales associated with agreements. |
| OrderShippingLines | Retrieve shipping lines attached to orders. |
| OrderTaxLines | Represents a single tax applied to the associated resource. |
| PageEvents | Retrieves a paginated list of events associated with the host subject. |
| PriceListPrices | A list of prices associated with a price list. |
| ProductBundleComponentOptionSelections | Get relationships between component options and parent options. |
| ProductBundleComponents | List products' component information. |
| ProductEvents | Retrieves a paginated list of events associated with the host subject. |
| ProductOperations | An entity that represents details of an asynchronous operation on a product. |
| ProductVariantEvents | Retrieves a paginated list of events associated with the host subject. |
| PublicationCollections | Returns a list of collections published to the publication. |
| PublicationProducts | Returns the list of publication for products. |
| RefundDuties | Lists the refunded duties as part of this refund. |
| RefundLineItemDuties | Lists the duties associated with the line items. |
| RefundLineItems | Retrieves the 'RefundLineItem' resources attached to the refund. |
| RefundOrderAdjustments | Retrieve the order adjustments that are attached to refunds. |
| RefundShippingLines | Retrieve shipping lines attached to refunds. |
| RefundTransactionFees | Returns the transaction fees charged on the order transaction. Only present for Shopify Payments transactions. |
| RefundTransactions | Retrieves the transactions associated with the resource. |
| ReturnExchangeLineItems | Retrieves a list of line items in the associated resource. |
| ReturnLineItems | Retrieves the return line items attached to the return. |
| ReturnLineItemsUnverified | Retrieves the unverified return line items attached to the return. |
| ReverseFulfillmentOrderDeliveries | Reverse deliveries are post-fulfillment objects that represents a buyer sending a package to a merchant. |
| ReverseFulfillmentOrderDeliveryLineItems | Details about reverse delivery line items. |
| ReverseFulfillmentOrderLineItems | Details about reverse fulfillment order line items. |
| ReverseFulfillmentOrders | Items in returns that will be processed at a fulfillment service. |
| SegmentFilterParameters | The parameters for event segment filters. |
| SegmentFilters | A list of filters. |
| SellingPlanGroupSellingPlans | Retrieves selling plans associated to the selling plan group. |
| Shop | Returns the Shop resource corresponding to the access token used in the request. The Shop resource contains business and store management settings for the shop. |
| ShopifyPaymentsAccount | Returns Shopify Payments account information, including balances and payouts. |
| ShopifyPaymentsAccountBalance | Returns current balances in all currencies for the account. |
| ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders | The adjustment orders associated to the transaction. |
| ShopifyPaymentsAccountBalanceTransactions | A list of balance transactions associated with a Shopify Payments account balance. |
| ShopifyPaymentsAccountBankAccounts | Lists all bank accounts configured for the Shopify Payments account. |
| ShopifyPaymentsAccountDisputes | Lists all disputes related to the Shopify Payments account. |
| ShopifyPaymentsAccountPayouts | Returns all current and previous payouts made between the account and the bank account. Its avaible only in a few certain countries. |
| StaffMembers | Retrieves a paginated list of the shop's staff members. (This table is available only with a ShopifyPlus subscription) |
| StoreCreditAccountDebitRevertTransactions | Debit revert transactions created when a store credit account debit transaction is reverted. |
| StoreCreditAccountExpirationTransactions | Expiration transactions created when a store credit account credit transaction expires. |
| TenderTransactions | Returns a list of TenderTransactions associated with the shop. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Retrieves a list of line items in the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Abandonment.AbandonedCheckoutPayloadId | A globally-unique ID. |
| Title | String | Title of the line item. Defaults to the product's title. | |
| ProductId | String | A globally-unique ID. | |
| VariantId | String | A globally-unique ID. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| Quantity | Int | The number of variant units ordered. | |
| Sku | String | The variant SKU number. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| DiscountedTotalPriceSetPresentmentMoneyAmount | Decimal | Final total price for the entire quantity of this line item, including discounts. Decimal money amount. | |
| DiscountedTotalPriceSetPresentmentMoneyCurrencyCode | String | Final total price for the entire quantity of this line item, including discounts. Currency of the money. | |
| DiscountedTotalPriceSetShopMoneyAmount | Decimal | Final total price for the entire quantity of this line item, including discounts. Decimal money amount. | |
| DiscountedTotalPriceSetShopMoneyCurrencyCode | String | Final total price for the entire quantity of this line item, including discounts. Currency of the money. | |
| DiscountedTotalPriceWithCodeDiscountPresentmentMoneyAmount | Decimal | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedTotalPriceWithCodeDiscountPresentmentMoneyCurrencyCode | String | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| DiscountedTotalPriceWithCodeDiscountShopMoneyAmount | Decimal | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedTotalPriceWithCodeDiscountShopMoneyCurrencyCode | String | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Currency of the money. | |
| DiscountedUnitPriceWithCodeDiscountPresentmentMoneyAmount | Decimal | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedUnitPriceWithCodeDiscountPresentmentMoneyCurrencyCode | String | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| DiscountedUnitPriceWithCodeDiscountShopMoneyAmount | Decimal | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedUnitPriceWithCodeDiscountShopMoneyCurrencyCode | String | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| OriginalTotalPriceSetPresentmentMoneyAmount | Decimal | Original total price for the entire quantity of this line item, before discounts. Decimal money amount. | |
| OriginalTotalPriceSetPresentmentMoneyCurrencyCode | String | Original total price for the entire quantity of this line item, before discounts. Currency of the money. | |
| OriginalTotalPriceSetShopMoneyAmount | Decimal | Original total price for the entire quantity of this line item, before discounts. Decimal money amount. | |
| OriginalTotalPriceSetShopMoneyCurrencyCode | String | Original total price for the entire quantity of this line item, before discounts. Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Original price for a single unit of this line item, before discounts. Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Original price for a single unit of this line item, before discounts. Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Original price for a single unit of this line item, before discounts. Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Original price for a single unit of this line item, before discounts. Currency of the money. |
List checkouts that were abandoned by customers.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonedCheckouts WHERE Id = 'Val1'
SELECT * FROM AbandonedCheckouts WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM AbandonedCheckouts WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM AbandonedCheckouts WHERE Status = 'open'
SELECT * FROM AbandonedCheckouts WHERE EmailState = 'sent'
SELECT * FROM AbandonedCheckouts WHERE RecoveryState = 'open'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Name | String | Unique merchant-facing identifier for the checkout. | |
| AbandonedCheckoutUrl | String | The URL for the buyer to recover their checkout. | |
| CustomerId | String | A globally-unique ID. | |
| DiscountCodes | String | The discount codes entered by the buyer at checkout. | |
| Note | String | A merchant-facing note added to the checkout. Not visible to the buyer. | |
| TaxesIncluded | Bool | Whether taxes are included in line item and shipping line prices. | |
| UpdatedAt | Datetime | The date and time when the checkout was most recently updated. | |
| CreatedAt | Datetime | The date and time when the checkout was created. | |
| CompletedAt | Datetime | The date and time when the buyer completed the checkout. Null if the checkout has not been completed. | |
| BillingAddressCoordinatesValidated | Bool | Whether the address corresponds to recognized latitude and longitude values. | |
| BillingAddressId | String | A globally-unique ID. | |
| BillingAddressValidationResultSummary | String | The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| BillingAddressFirstName | String | The first name of the customer. | |
| BillingAddressLastName | String | The last name of the customer. | |
| BillingAddressName | String | The full name of the customer, based on firstName and lastName. | |
| BillingAddressAddress1 | String | The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | The name of the city, district, village, or town. | |
| BillingAddressCompany | String | The name of the customer's company or organization. | |
| BillingAddressCountry | String | The name of the country. | |
| BillingAddressCountryCode | String | The two-letter code for the country of the address. For example, US. | |
| BillingAddressFormattedArea | String | A comma-separated list of the values for city, province, and country. | |
| BillingAddressLatitude | Double | The latitude coordinate of the customer address. | |
| BillingAddressLongitude | Double | The longitude coordinate of the customer address. | |
| BillingAddressPhone | String | A unique phone number for the customer. | |
| BillingAddressProvince | String | The region of the address, such as the province, state, or district. | |
| BillingAddressProvinceCode | String | The alphanumeric code for the region. For example, ON. | |
| BillingAddressZip | String | The zip or postal code of the address. | |
| BillingAddressTimeZone | String | The time zone of the address. | |
| ShippingAddressCoordinatesValidated | Bool | Whether the address corresponds to recognized latitude and longitude values. | |
| ShippingAddressId | String | A globally-unique ID. | |
| ShippingAddressValidationResultSummary | String | The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| ShippingAddressFirstName | String | The first name of the customer. | |
| ShippingAddressLastName | String | The last name of the customer. | |
| ShippingAddressName | String | The full name of the customer, based on firstName and lastName. | |
| ShippingAddressAddress1 | String | The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | The name of the city, district, village, or town. | |
| ShippingAddressCompany | String | The name of the customer's company or organization. | |
| ShippingAddressCountry | String | The name of the country. | |
| ShippingAddressCountryCode | String | The two-letter code for the country of the address. For example, US. | |
| ShippingAddressFormattedArea | String | A comma-separated list of the values for city, province, and country. | |
| ShippingAddressLatitude | Double | The latitude coordinate of the customer address. | |
| ShippingAddressLongitude | Double | The longitude coordinate of the customer address. | |
| ShippingAddressPhone | String | A unique phone number for the customer. | |
| ShippingAddressProvince | String | The region of the address, such as the province, state, or district. | |
| ShippingAddressProvinceCode | String | The alphanumeric code for the region. For example, ON. | |
| ShippingAddressZip | String | The zip or postal code of the address. | |
| ShippingAddressTimeZone | String | The time zone of the address. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDutiesSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDutiesSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDutiesSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDutiesSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalLineItemsPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalLineItemsPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | Currency of the money. | |
| Status | String | Filter by the status.
The allowed values are open, closed. | |
| EmailState | String | Filter by the email state.
The allowed values are sent, not_sent, scheduled, suppressed. | |
| RecoveryState | String | Filter by the recovery state.
The allowed values are open, closed. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Returns abandonment.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Abandonment WHERE Id = 'Val1'
SELECT * FROM Abandonment WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| AppId | String | A globally-unique ID. | |
| CustomerId | String | A globally-unique ID. | |
| AbandonmentType | String | The abandonment type. | |
| EmailState | String | The email state (e.g., sent or not sent). | |
| InventoryAvailable | Bool | Whether the products in abandonment are available. | |
| EmailSentAt | Datetime | When the email was sent, if that is the case. | |
| MostRecentStep | String | The most recent step type. | |
| VisitStartedAt | Datetime | The date and time when the visit started. | |
| IsFromOnlineStore | Bool | Whether the abandonment event comes from the Online Store sales channel. | |
| IsFromShopApp | Bool | Whether the abandonment event comes from the Shop app sales channel. | |
| IsFromShopPay | Bool | Whether the abandonment event comes from Shop Pay. | |
| IsMostSignificantAbandonment | Bool | Whether the customer did not complete another most significant step since this abandonment. | |
| LastBrowseAbandonmentDate | Datetime | The date for the latest browse abandonment. | |
| LastCartAbandonmentDate | Datetime | The date for the latest cart abandonment. | |
| LastCheckoutAbandonmentDate | Datetime | The date for the latest checkout abandonment. | |
| DaysSinceLastAbandonmentEmail | Int | The number of days since the last abandonment email was sent to the customer. | |
| HoursSinceLastAbandonedCheckout | Double | The number of hours since the customer has last abandoned a checkout. | |
| CustomerHasNoOrderSinceAbandonment | Bool | Whether the customer has completed an order since this checkout has been abandoned. | |
| CreatedAt | Datetime | The date and time when the abandonment was created. | |
| IsFromCustomStorefront | Bool | Whether the abandonment event comes from a custom storefront channel. | |
| AbandonedCheckoutPayloadId | String | A globally-unique ID. | |
| AbandonedCheckoutPayloadDefaultCursor | String | A default cursor that returns the single next record, sorted ascending by ID. | |
| AbandonedCheckoutPayloadAbandonedCheckoutUrl | String | The URL for the buyer to recover their checkout. |
Returns the products added to the cart during the customer abandoned visit.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonmentId = 'Val1'
SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| AbandonmentId | String | A globally-unique ID. | |
| AbandonedCheckoutPayloadId [KEY] | String | A globally-unique ID. | |
| ProductId [KEY] | String | A globally-unique ID. | |
| VariantId [KEY] | String | A globally-unique ID. | |
| Quantity | Int | The quantity of the product that the customer requested. |
Returns the products viewed during the customer abandoned visit.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonmentProductsViewed WHERE AbandonmentId = 'Val1'
SELECT * FROM AbandonmentProductsViewed WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| AbandonmentId | String |
Abandonment.Id | A globally-unique ID. |
| AbandonedCheckoutPayloadId [KEY] | String | A globally-unique ID. | |
| ProductId [KEY] | String | A globally-unique ID. | |
| VariantId [KEY] | String | A globally-unique ID. | |
| Quantity | Int | The quantity of the product that the customer requested. |
Lists credits that can be used towards future app purchases.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppCredits WHERE AppInstallationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| AppInstallationId | String | A globally-unique ID. | |
| Description | String | The description of the app credit. | |
| Test | Bool | Whether the app credit is a test transaction. | |
| CreatedAt | Datetime | The date and time when the app credit was created. | |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ArticleCommentEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String | A globally-unique ID. | |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ArticleEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Articles.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves a paginated list of fulfillment orders assigned to the shop locations owned by the app. Assigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations managed by fulfillment services that are registered by the app. One app (api_client) can host multiple fulfillment services on a shop. Each fulfillment service manages a dedicated location on a shop. Assigned fulfillment orders can have associated, or might currently not be requested to be fulfilled. The app must have 'read_assigned_fulfillment_orders' to be able to retrieve fulfillment orders assigned to its locations. All assigned fulfillment orders (except those with the 'CLOSED' status) will be returned by default.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AssignedFulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
SELECT * FROM AssignedFulfillmentOrders WHERE AssignmentStatus = 'CANCELLATION_REQUESTED'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopId | String |
Shop.Id | A globally-unique ID. |
| OrderId | String | A globally-unique ID. | |
| Status | String | The status of the fulfillment order. | |
| FulfillAt | Datetime | The date and time at which the fulfillment order will be fulfillable. When this date and time is reached, the scheduled fulfillment order is automatically transitioned to open. For example, the 'fulfill_at' date for a subscription order might be the 1st of each month, a pre-order 'fulfill_at' date would be 'nil', and a standard order 'fulfill_at' date would be the order creation date. | |
| FulfillBy | Datetime | The latest date and time by which all items in the fulfillment order need to be fulfilled. | |
| RequestStatus | String | The request status of the fulfillment order. | |
| CreatedAt | Datetime | Date and time when the fulfillment order was created. | |
| UpdatedAt | Datetime | The date and time when the fulfillment order was last updated. | |
| AssignedLocationName | String | The name of the location. | |
| AssignedLocationAddress1 | String | The first line of the address for the location. | |
| AssignedLocationAddress2 | String | The second line of the address for the location. | |
| AssignedLocationCity | String | The city of the location. | |
| AssignedLocationPhone | String | The phone number of the location. | |
| AssignedLocationProvince | String | The province of the location. | |
| AssignedLocationZip | String | The ZIP code of the location. | |
| AssignedLocationCountryCode | String | The two-letter country code of the location. | |
| AssignedLocationLocationId | String | A globally-unique ID. | |
| AssignedLocationLocationLegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| AssignedLocationLocationName | String | The name of the location. | |
| AssignedLocationLocationActivatable | Bool | Whether this location can be reactivated. | |
| AssignedLocationLocationDeactivatable | Bool | Whether this location can be deactivated. | |
| AssignedLocationLocationDeletable | Bool | Whether this location can be deleted. | |
| AssignedLocationLocationAddressVerified | Bool | Whether the location address has been verified. | |
| AssignedLocationLocationDeactivatedAt | String | The date and time that the location was deactivated at. For example, 3: 30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as '2019-09-07T15: 50: 00Z'. | |
| AssignedLocationLocationIsActive | Bool | Whether the location is active. | |
| AssignedLocationLocationShipsInventory | Bool | Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| AssignedLocationLocationFulfillsOnlineOrders | Bool | Whether this location can fulfill online orders. | |
| AssignedLocationLocationHasActiveInventory | Bool | Whether this location has active inventory. | |
| AssignedLocationLocationHasUnfulfilledOrders | Bool | Whether this location has orders that need to be fulfilled. | |
| DeliveryMethodId | String | A globally-unique ID. | |
| DeliveryMethodPresentedName | String | The name of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodMethodType | String | The type of the delivery method. | |
| DeliveryMethodMaxDeliveryDateTime | Datetime | The latest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodMinDeliveryDateTime | Datetime | The earliest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodServiceCode | String | A reference to the shipping method. | |
| DeliveryMethodSourceReference | String | Promise provider specific data associated with delivery promise. | |
| DeliveryMethodBrandedPromiseName | String | The name of the branded promise. For example: 'Shop Promise'. | |
| DeliveryMethodBrandedPromiseHandle | String | The handle of the branded promise. For example: 'shop_promise'. | |
| DeliveryMethodAdditionalInformationPhone | String | The phone number to contact when performing the delivery. | |
| DeliveryMethodAdditionalInformationInstructions | String | The delivery instructions to follow when performing the delivery. | |
| DestinationId | String | A globally-unique ID. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationEmail | String | The email of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| DestinationProvince | String | The province of the destination. | |
| DestinationZip | String | The ZIP code of the destination. | |
| DestinationCountryCode | String | The two-letter country code of the destination. | |
| DestinationLocationId | String | A globally-unique ID. | |
| InternationalDutiesIncoterm | String | The method of duties payment. Example values: 'DDP', 'DAP'. | |
| AssignmentStatus | String | The assigment status of the fulfillment orders that should be returned. If assignmentStatus argument is not provided, then the query will return all assigned fulfillment orders, except those that have the CLOSED status.
The allowed values are CANCELLATION_REQUESTED, FULFILLMENT_ACCEPTED, FULFILLMENT_REQUESTED, FULFILLMENT_UNSUBMITTED. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM BlogEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Blogs.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
List of Business Entities associated with the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM BusinessEntities WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| CompanyName | String | The name of the company associated with the merchant's Business Entity. | |
| DisplayName | String | The display name of the merchant's Business Entity. | |
| Primary | Bool | Whether it's the merchant's primary Business Entity. | |
| Address1 | String | The first line of the address. Typically the street address or PO Box number. | |
| Address2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| AddressCountryCode | String | The country code of the merchant's Business Entity. | |
| AddressProvince | String | The region of the address, such as the province, state, or district. | |
| AddressCity | String | The name of the city, district, village, or town. | |
| AddressZip | String | The zip or postal code of the address. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. |
Retrieves a list of the products inside of a collection.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CollectionProducts WHERE CollectionId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | Globally unique identifier. | |
| CollectionId [KEY] | String |
Collections.Id | A globally-unique identifier for the collection. |
| Title | String | The title of the product. | |
| Position | Int | The position in which the products are sorted. |
Returns available roles for company contacts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyContactRoles WHERE CompanyId = 'Val1'
| Name | Type | References | Description |
| CompanyId | String | The company to which the role belongs. | |
| Id [KEY] | String | A globally-unique ID. | |
| Name | String | The name of a role. For example, 'admin' or 'buyer'. | |
| Note | String | A note for the role. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Companies.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
List addresses associated with customers.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerAddresses WHERE CustomerId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| CustomerId | String | A globally-unique ID. | |
| CustomerName | String | The full name of the customer, based on firstName and lastName. | |
| Phone | String | A unique phone number for the customer. | |
| Address1 | String | The first line of the address. Typically the street address or PO Box number. | |
| Address2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| CountryCode | String | The two-letter code for the country of the address. For example, US. | |
| Country | String | The name of the country. | |
| ProvinceCode | String | The alphanumeric code for the region. For example, ON. | |
| Province | String | The region of the address, such as the province, state, or district. | |
| City | String | The name of the city, district, village, or town. | |
| Company | String | The name of the customer's company or organization. | |
| FormattedArea | String | A comma-separated list of the values for city, province, and country. | |
| Zip | String | The zip or postal code of the address. | |
| Latitude | Double | The latitude coordinate of the customer address. | |
| Longitude | Double | The longitude coordinate of the customer address. | |
| TimeZone | String | The time zone of the address. | |
| CoordinatesValidated | Bool | Whether the address corresponds to recognized latitude and longitude values. | |
| ValidationResultSummary | String | The validation status that is leveraged by the address validation feature in the Shopify Admin. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Customers.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
The list of members, such as customers, that's associated with individual segments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerSegmentMembers WHERE SegmentId = 'Val1'
| Name | Type | References | Description |
| SegmentId [KEY] | String |
Segments.Id | The ID of the segment. |
| Id [KEY] | String | The member's ID. | |
| DisplayName | String | The full name of the member, which is based on the values of the 'first_name' and 'last_name' fields. If the member's first name and last name aren't available, then the customer's email address is used. If the customer's email address isn't available, then the customer's phone number is used. | |
| FirstName | String | The member's first name. | |
| LastName | String | The member's last name. | |
| Note | String | A note about the member. | |
| LastOrderId | String | The ID of the member's most recent order. | |
| NumberOfOrders | String | The total number of orders that the member has made. | |
| AmountSpentAmount | Decimal | Decimal money amount. | |
| AmountSpentCurrencyCode | String | Currency of the money. | |
| DefaultAddressId | String | A globally-unique ID. | |
| DefaultAddressCountry | String | The name of the country. | |
| DefaultAddressProvince | String | The region of the address, such as the province, state, or district. | |
| DefaultAddressCity | String | The name of the city, district, village, or town. | |
| DefaultAddressFormattedArea | String | A comma-separated list of the values for city, province, and country. | |
| DefaultAddressCompany | String | The name of the customer's company or organization. | |
| DefaultAddressAddress1 | String | The first line of the address. Typically the street address or PO Box number. | |
| DefaultAddressAddress2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| DefaultAddressName | String | The full name of the customer, based on firstName and lastName. | |
| DefaultAddressFirstName | String | The first name of the customer. | |
| DefaultAddressLastName | String | The last name of the customer. | |
| DefaultAddressLatitude | Double | The latitude coordinate of the customer address. | |
| DefaultAddressLongitude | Double | The longitude coordinate of the customer address. | |
| DefaultAddressCoordinatesValidated | Bool | Whether the address coordinates are valid. | |
| DefaultAddressValidationResultSummary | String | The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| DefaultAddressPhone | String | A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| DefaultAddressZip | String | The zip or postal code of the address. | |
| DefaultAddressProvinceCode | String | The alphanumeric code for the region. For example, ON. | |
| DefaultAddressCountryCode | String | The two-letter code for the country of the address. For example, US. | |
| DefaultAddressTimeZone | String | The time zone of the address. | |
| DefaultEmailAddressEmailAddress | String | The customer's default email address. | |
| DefaultEmailAddressMarketingState | String | Whether the customer has subscribed to email marketing. | |
| DefaultEmailAddressMarketingUnsubscribeUrl | String | The URL to unsubscribe a member from all mailing lists. | |
| DefaultEmailAddressOpenTrackingLevel | String | Whether the customer has opted in to having their opened emails tracked. | |
| DefaultEmailAddressOpenTrackingUrl | String | The URL that can be used to opt a customer in or out of email open tracking. | |
| DefaultPhoneNumberMarketingState | String | Whether the customer has subscribed to SMS marketing material. | |
| DefaultPhoneNumberPhoneNumber | String | A customer's phone number. | |
| MergeableReason | String | The reason why the customer can't be merged with another customer. | |
| MergeableErrorFields | String | The list of fields preventing the customer from being merged. | |
| MergeableIsMergeable | Bool | Whether the customer can be merged with another customer. | |
| MergeableMergeInProgressJobId | String | The UUID of the merge job. | |
| MergeableMergeInProgressResultingCustomerId | String | The ID of the customer resulting from the merge. | |
| MergeableMergeInProgressStatus | String | The status of the customer merge request. |
Retrieve customers' store credit accounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CustomerStoreCreditAccounts WHERE Id = 'Val1'
SELECT * FROM CustomerStoreCreditAccounts WHERE CustomerId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| CustomerId | String | A globally unique-id. | |
| BalanceAmount | Decimal | Decimal money amount. | |
| BalanceCurrencyCode | String | Currency of the money. |
Lists countries already selected in any zone for the specified location group.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroupCountries
| Name | Type | References | Description |
| CountryId [KEY] | String | A globally-unique ID. | |
| LocationGroupId [KEY] | String | A globally-unique ID. | |
| DeliveryProfileId | String | The ID of the DeliveryProfile to return. | |
| Zone | String | The name of the shipping zone. | |
| CountryName | String | The full name of the country. | |
| CountryTranslatedName | String | The translated name of the country. The translation returned is based on the system's locale. | |
| CountryCodeCountryCode | String | The country code in the ISO 3166-1 alpha-2 format. | |
| CountryCodeRestOfWorld | Bool | Whether the country is a part of the 'Rest of World' shipping zone. |
Returns the list of regions associated with this country.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroupCountryProvinces
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| CountryId | String | A globally-unique ID. | |
| Code | String | The code of the region. | |
| Name | String | The full name of the region. | |
| TranslatedName | String | The translated name of the region. The translation returned is based on the system's locale. |
Lists the location groups using this profile.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroups
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| DeliveryProfileId | String | The ID of the DeliveryProfile to return. | |
| LocationsCount | Int | A count of all locations that are part of this location group. | |
| LocationsCountPrecision | String | The count's precision, or the exactness of the value. |
Lists the applicable zones associated to the specified location group.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DeliveryProfileLocationGroupZones WHERE DeliveryProfileId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LocationGroupId [KEY] | String | Filter the location groups of the profile by location group ID. | |
| DeliveryProfileId | String | The ID of the DeliveryProfile to return. | |
| Name | String | The name of the zone. | |
| MethodDefinitionCountsParticipantDefinitionsCount | Int | The number of participant method definitions for the specified zone. | |
| MethodDefinitionCountsRateDefinitionsCount | Int | The number of merchant-defined method definitions for the specified zone. |
Lists the locations that have not been assigned to a location group for this profile.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DeliveryProfileUnassignedLocations WHERE DeliveryProfileId = 'Val1'
| Name | Type | References | Description |
| DeliveryProfileId [KEY] | String | A globally-unique ID. | |
| LocationId [KEY] | String |
Locations.Id | A globally-unique ID. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DiscountEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String | A globally-unique ID. | |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeFreeShipping WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeFreeShipping WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeFreeShipping WHERE StartsAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Title | String | The title of the discount. | |
| Status | String | The status of the discount. | |
| Summary | String | A detailed summary of the discount. | |
| CodesCount | Int | The number of redeem codes for the discount. | |
| CodesCountPrecision | String | The count's precision, or the exactness of the value. | |
| DiscountClass | String | The class of the discount for combining purposes. | |
| EndsAt | Datetime | The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| ShortSummary | String | A short summary of the discount. | |
| StartsAt | Datetime | The date and time when the discount starts. | |
| UsageLimit | Int | The maximum number of times that the discount can be used. | |
| AppliesOnSubscription | Bool | Whether the discount applies on subscription shipping lines. | |
| AsyncUsageCount | Int | The number of times that the discount has been used. | |
| HasTimelineComment | Bool | Indicates whether there are any timeline comments on the discount. | |
| RecurringCycleLimit | Int | The number of times a discount applies on recurring purchases (subscriptions). | |
| AppliesOncePerCustomer | Bool | Whether the discount can be applied only once per customer. | |
| AppliesOnOneTimePurchase | Bool | Whether the discount applies on regular one-time-purchase shipping lines. | |
| CreatedAt | Datetime | The date and time when the discount was created. | |
| CombinesWithOrderDiscounts | Bool | Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | Combines with shipping discounts. | |
| DiscountCustomerAllAllCustomers | Bool | Whether the discount can be applied by all customers. This value is always 'true'. | |
| DiscountCountriesCountries | String | The codes for the countries where the discount can be applied. | |
| DiscountCountriesIncludeRestOfWorld | Bool | Whether the discount is applicable to countries that have not been defined in the shop's shipping zones. | |
| DiscountCountryAllAllCountries | Bool | Whether the discount can be applied to all countries as shipping destination. This value is always 'true'. | |
| MaximumShippingPriceAmount | Decimal | Decimal money amount. | |
| MaximumShippingPriceCurrencyCode | String | Currency of the money. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | The minimum quantity of items that's required for the discount to be applied. | |
| TotalSalesAmount | Decimal | Decimal money amount. | |
| TotalSalesCurrencyCode | String | Currency of the money. |
All disputes related to the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Disputes WHERE Id = 'Val1'
SELECT * FROM Disputes WHERE Status = 'Val1'
SELECT * FROM Disputes WHERE InitiatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| EvidenceDueBy | Date | The deadline for evidence submission. | |
| EvidenceSentOn | Date | The date when evidence was sent. Returns null if evidence hasn't yet been sent. | |
| Status | String | The current state of the dispute. | |
| Type | String | Indicates if this dispute is still in the inquiry phase or has turned into a chargeback. | |
| FinalizedOn | Date | The date when this dispute was resolved. Returns null if the dispute isn't yet resolved. | |
| InitiatedAt | Datetime | The date when this dispute was initiated. | |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| OrderId | String | A globally-unique ID. | |
| ReasonDetailsReason | String | The reason for the dispute provided by the cardholder's banks. | |
| ReasonDetailsNetworkReasonCode | String | The raw code provided by the payment network. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String |
DraftOrders.Id | A globally-unique ID. |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
DraftOrders.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItemCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Returns a list of the line items in the draft order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItems WHERE DraftOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| DraftOrderId | String |
DraftOrders.Id | A globally-unique ID. |
| Name | String | The name of the product. | |
| Title | String | The title of the product or variant. This field only applies to custom line items. | |
| VariantTitle | String | The name of the variant. | |
| Custom | Bool | Whether the line item is a custom line item ('true') or a product variant line item ('false'). | |
| Quantity | Int | The number of product variants that are requested in the draft order. | |
| Sku | String | The SKU number of the product variant. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who created the product variant. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| IsGiftCard | Bool | Whether the line item is a gift card. | |
| AppliedDiscountTitle | String | Name of the order-level discount. | |
| AppliedDiscountDescription | String | Description of the order-level discount. | |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. | |
| AppliedDiscountValueType | String | Type of the order-level discount. | |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. | |
| AppliedDiscountAmountV2CurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| FulfillmentServiceId | String | The ID of the fulfillment service. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ProductId | String | A globally-unique ID. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| VariantId | String | A globally-unique ID. | |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. | |
| WeightUnit | String | The unit of measurement for 'value'. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String |
DraftOrders.Id | A globally-unique ID. |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of events associated with the shop.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Events
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Line items from orders that are included in fulfillments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentLineItems WHERE FulfillmentId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| FulfillmentId | String |
Fulfillments.Id | A globally-unique ID. |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| Quantity | Int | Number of line items in the fulfillment. | |
| LineItemId | String | A globally-unique ID. | |
| LineItemName | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| LineItemTitle | String | The title of the product at time of order creation. | |
| LineItemVariantTitle | String | The title of the variant at time of order creation. | |
| LineItemVariantId | String | A globally-unique ID. | |
| LineItemProductId | String | A globally-unique ID. | |
| LineItemSellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| LineItemQuantity | Int | The number of variant units ordered. | |
| LineItemRestockable | Bool | Whether the line item can be restocked. | |
| LineItemSku | String | The variant SKU number. | |
| LineItemTaxable | Bool | Whether the variant is taxable. | |
| LineItemVendor | String | The name of the vendor who made the variant. | |
| LineItemCurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemMerchantEditable | Bool | Whether the line item can be edited or not. | |
| LineItemRefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemRequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| LineItemUnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| LineItemNonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| LineItemIsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| LineItemDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemDiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemDiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemImageId | String | A unique ID for the image. | |
| LineItemImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| LineItemImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageUrl | String | The location of the image as a URL. | |
| LineItemOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemOriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemOriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemTotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemTotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemTotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemTotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
A list of the fulfillment order's line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentOrderLineItems WHERE FulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The unique identifier of the line item. | |
| FulfillmentOrderId | String | The unique identifier of the fulfillment order. | |
| FulfillmentOrderUpdatedAt | Datetime | The date and time when the fulfillment order was last updated. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| InventoryItemId | String | The ID of the inventory item. | |
| Sku | String | The variant SKU number. | |
| ProductTitle | String | The title of the product. | |
| VariantId | String | The product variant associated to the fulfillment order line item. | |
| VariantTitle | String | The name of the variant. | |
| Vendor | String | The name of the vendor who made the variant. | |
| RemainingQuantity | Int | The number of units remaining to be fulfilled. | |
| TotalQuantity | Int | The total number of units to be fulfilled. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| WeightUnit | String | The weight of a line item unit. The unit of measurement for value. | |
| WeightValue | Double | The weight value using the unit system specified with unit. | |
| Warnings | String | Warning messages for a fulfillment order line item. | |
| FinancialSummaries | String | The financial summary for the Fulfillment Order's Line Items. |
A list of the fulfillment order's line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE FulfillmentOrderId = 'Val1'
SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE LocationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The unique identifier of the line item. | |
| FulfillmentOrderId | String | The unique identifier of the fulfillment order. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| InventoryItemId | String | The ID of the inventory item. | |
| Sku | String | The variant SKU number. | |
| ProductTitle | String | The title of the product. | |
| VariantId | String | The product variant associated to the fulfillment order line item. | |
| VariantTitle | String | The name of the variant. | |
| Vendor | String | The name of the vendor who made the variant. | |
| RemainingQuantity | Int | The number of units remaining to be fulfilled. | |
| TotalQuantity | Int | The total number of units to be fulfilled. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| WeightUnit | String | The weight of a line item unit. The unit of measurement for value. | |
| WeightValue | Double | The weight value using the unit system specified with unit. | |
| Warnings | String | Warning messages for a fulfillment order line item. | |
| FinancialSummaries | String | The financial summary for the Fulfillment Order's Line Items. | |
| LocationId [KEY] | String | The unique identifier of the location. |
A list of locations that the fulfillment order can potentially move to.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrderLocationsForMove WHERE FulfillmentOrderId = 'Val1'
SELECT * FROM FulfillmentOrderLocationsForMove WHERE LocationId = 'Val1'
| Name | Type | References | Description |
| FulfillmentOrderId [KEY] | String | The unique identifier of the fulfillment order. | |
| LocationId [KEY] | String | The unique identifier of the location. | |
| AvailableLineItemsCount | Int | Total number of fulfillment order line items that can be moved from their current assigned location to the given location. | |
| AvailableLineItemsCountPrecision | String | The count's precision, or the exactness of the value. | |
| UnavailableLineItemsCount | Int | Total number of fulfillment order line items that can't be moved from their current assigned location to the given location. | |
| UnavailableLineItemsCountPrecision | String | The count's precision, or the exactness of the value. | |
| Movable | Bool | Whether the fulfillment order can be moved to the location. | |
| Message | String | A human-readable string with the reason why the fulfillment order, or some of its line items, can't be moved to the location. |
Sets of inventory quantity changes that occurred in inventory events.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND InventoryItemId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND LocationId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND Name = 'Val1'
| Name | Type | References | Description |
| InventoryAdjustmentGroupId [KEY] | String | A globally-unique ID. | |
| InventoryItemId [KEY] | String | A globally-unique ID. | |
| LocationId [KEY] | String | A globally-unique ID. | |
| Name [KEY] | String | The name of the inventory quantity that was changed. | |
| Delta | Int | The amount by which the inventory quantity was changed. | |
| QuantityAfterChange | Int | The quantity of named inventory after the change. | |
| LedgerDocumentUri | String | A URI that represents what the inventory quantity change was applied to. |
Groups of adjustments made as part of inventory operations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryAdjustmentGroups WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Reason | String | The reason for the group of adjustments. | |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. This can be the entity adjusting inventory quantities or the Shopify resource that's associated with the inventory adjustment. For example, a unit in a draft order might have been previously reserved, and a merchant later creates an order from the draft order. In this case, the 'referenceDocumentUri' for the inventory adjustment is a URI referencing the order ID. | |
| CreatedAt | Datetime | The date and time the inventory adjustment group was created. | |
| AppId | String | A globally-unique ID. | |
| StaffMemberId | String | A globally-unique ID. (This column is available only with a ShopifyPlus subscription) |
Returns a list of country specific harmonized system codes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemCountryHarmonizedSystemCodes WHERE InventoryItemId = 'Val1'
| Name | Type | References | Description |
| InventoryItemId | String | A globally-unique ID. | |
| CountryCode | String | The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. | |
| HarmonizedSystemCode [KEY] | String | The country-specific harmonized system code. These are usually longer than 6 digits. |
List quantities for inventory items at specific locations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryItemInventoryLevelQuantities WHERE InventoryLevelId = 'Val1'
SELECT * FROM InventoryItemInventoryLevelQuantities WHERE Name = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| InventoryItemId | String | A globally-unique ID. | |
| InventoryLevelId | String | A globally-unique ID. | |
| InventoryLevelLocationId | String | A globally-unique ID. | |
| Name | String | The name that identifies the inventory quantity. | |
| Quantity | Int | The quantity for the quantity name. | |
| UpdatedAt | Datetime | When the quantity was last updated. |
Scheduled changes for inventory levels.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemInventoryLevelScheduledChanges WHERE InventoryLevelId = 'Val1'
| Name | Type | References | Description |
| InventoryItemId | String | A globally-unique ID. | |
| InventoryLevelId | String | A globally-unique ID. | |
| ExpectedAt | Datetime | The date and time that the scheduled change is expected to happen. | |
| FromName | String | The quantity name to transition from. | |
| ToName | String | The quantity name to transition to. | |
| Quantity | Int | The quantity of the scheduled change associated with the ledger document in the 'fromName' state. | |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Jobs WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID that's returned when running an asynchronous mutation. | |
| Done | Bool | This indicates if the job is still queued or has been run. |
Returns the list of countries with enabled localized experiences.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM LocalizationCountries
| Name | Type | References | Description |
| IsoCode [KEY] | String | The ISO code of the country. | |
| Name | String | The name of the country. | |
| UnitSystem | String | The unit system used in the country. | |
| CurrencyIsoCode | String | The ISO code of the currency. | |
| CurrencyName | String | The name of the currency. | |
| CurrencySymbol | String | The symbol of the currency. | |
| MarketId | String | A globally-unique ID. | |
| MarketHandle | String | A human-readable unique string for the market automatically generated from its title. | |
| AvailableLanguages | String | The languages available for the country. |
Returns a list of marketing events associated with the marketing app.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM MarketingEvents WHERE Id = 'Val1'
SELECT * FROM MarketingEvents WHERE AppId = 'Val1'
SELECT * FROM MarketingEvents WHERE Type = 'Val1'
SELECT * FROM MarketingEvents WHERE StartedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| RemoteId | String | An optional ID that helps Shopify validate engagement data. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| AppId | String | A globally-unique ID. | |
| MarketingChannelType | String | The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. | |
| Description | String | A human-readable description of the marketing event. | |
| Type | String | The marketing event type. | |
| EndedAt | Datetime | The date and time when the marketing event ended. | |
| ManageUrl | String | The URL where the marketing event can be managed. | |
| PreviewUrl | String | The URL where the marketing event can be previewed. | |
| StartedAt | Datetime | The date and time when the marketing event started. | |
| UtmCampaign | String | The name of the marketing campaign. | |
| UtmMedium | String | The medium that the marketing campaign is using. Example values: 'cpc', 'banner'. | |
| UtmSource | String | The referrer of the marketing event. Example values: 'google', 'newsletter'. | |
| SourceAndMedium | String | Where the 'MarketingEvent' occurred and what kind of content was used. Because 'utmSource' and 'utmMedium' are often used interchangeably, this is based on a combination of 'marketingChannel', 'referringDomain', and 'type' to provide a consistent representation for any given piece of marketing regardless of the app that created it. | |
| ScheduledToEndAt | Datetime | The date and time when the marketing event is scheduled to end. |
Returns constraint subtype values that metafield definitions apply to.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM MetafieldDefinitionConstraintValues WHERE DefinitionId = 'Val1'
| Name | Type | References | Description |
| DefinitionId | String | A globally-unique ID. | |
| Key | String | The category of resource subtypes that the definition applies to. | |
| Value | String | The specific constraint subtype values that the definition applies to. |
Standard metafield definition templates provide preset configurations to create metafield definitions.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetafieldDefinitionStandardTemplates
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Namespace | String | The namespace owned by the definition after the definition has been activated. | |
| Key | String | The key owned by the definition after the definition has been activated. | |
| Name | String | The human-readable name for the standard metafield definition. | |
| Description | String | The description of the standard metafield definition. | |
| OwnerTypes | String | The list of resource types that the standard metafield definition can be applied to. | |
| Validations | String | The configured validations for the standard metafield definition. | |
| VisibleToStorefrontApi | Bool | Whether metafields for the definition are by default visible using the Storefront API. | |
| TypeName | String | The name of the type for the metafield definition. See the list of. | |
| TypeCategory | String | The category associated with the metafield definition type. | |
| TypeSupportedValidations | String | The supported validations for a metafield definition type. | |
| TypeSupportsDefinitionMigrations | Bool | Whether metafields without a definition can be migrated to a definition of this type. |
Returns metafield definition types which provide the basic foundation and validations for metafields.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetafieldDefinitionTypes
| Name | Type | References | Description |
| Name [KEY] | String | The name of the type for the metafield definition. | |
| Category | String | The category associated with the metafield definition type. | |
| SupportsDefinitionMigrations | Bool | Whether metafields without a definition can be migrated to a definition of this type. | |
| SupportedValidations | String | The supported validations for a metafield definition type. |
Provides the definition of a generic object structure composed of metafields.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetaobjectDefinitions
| Name | Type | References | Description |
| ID [KEY] | String | A globally-unique ID. | |
| Name | String | The human-readable name. | |
| MetaobjectsCount | Int | The count of metaobjects created for the definition. | |
| Type | String | The type of the object definition. Defines the namespace of associated metafields. | |
| Description | String | The administrative description. | |
| DisplayNameKey | String | The key of a field to reference as the display name for each object. | |
| AccessAdmin | String | Access configuration for the metaobject definition. Access configuration for Admin API surface areas, including the GraphQL Admin API. | |
| AccessStorefront | String | Access configuration for the metaobject definition. Access configuration for Storefront surface areas, including the GraphQL Storefront API and Liquid. | |
| CapabilitiesPublishableEnabled | Bool | The capabilities of the metaobject definition. Indicate whether a metaobject definition is publishable. Indicates if the capability is enabled. | |
| CapabilitiesTranslatableEnabled | Bool | The capabilities of the metaobject definition. Indicate whether a metaobject definition is translatable. Indicates if the capability is enabled. | |
| CapabilitiesOnlineStoreEnabled | Bool | The capabilities of the metaobject definition. Indicates whether a metaobject definition can be displayed as a page on the Online Store. Indicates if the capability is enabled. | |
| CapabilitiesOnlineStoreDataCanCreateRedirects | Bool | The capabilities of the metaobject definition. Indicates whether a metaobject definition can be displayed as a page on the Online Store. The data associated with the Online Store capability. Flag indicating if a sufficient number of redirects are available to redirect all published entries. | |
| CapabilitiesOnlineStoreDataUrlHandle | String | The capabilities of the metaobject definition. Indicates whether a metaobject definition can be displayed as a page on the Online Store. The data associated with the Online Store capability. The URL handle for accessing pages of this metaobject type in the Online Store. | |
| CapabilitiesRenderableEnabled | Bool | The capabilities of the metaobject definition. Indicate whether a metaobject definition is renderable and exposes SEO data. Indicates if the capability is enabled. | |
| CapabilitiesRenderableDataMetaDescriptionKey | String | The capabilities of the metaobject definition. Indicate whether a metaobject definition is renderable and exposes SEO data. The data associated with the renderable capability. The metaobject field used as an alias for the SEO page description. | |
| CapabilitiesRenderableDataMetaTitleKey | String | The capabilities of the metaobject definition. Indicate whether a metaobject definition is renderable and exposes SEO data. The data associated with the renderable capability. The metaobject field used as an alias for the SEO page title. |
All metaobjects for the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM MetaObjects WHERE Type = 'Val1'
| Name | Type | References | Description |
| ID [KEY] | String | A globally-unique ID. | |
| Handle | String | The unique handle of the object, useful as a custom ID. | |
| DisplayName | String | The preferred display name field value of the metaobject. | |
| CreatedByDeveloperName | String | The name of the app developer. | |
| DefinitionId | String | The identifier of the MetaobjectDefinition that models this object type. | |
| Title | String | Name of the app. | |
| Type | String | The type of the metaobject. | |
| Key [KEY] | String | The object key of this field. | |
| Value | String | The assigned field value, always stored as a string regardless of the field type. | |
| TypeField | String | The type of the field. | |
| UpdatedAt | Datetime | When the object was last updated. | |
| CapabilitiesPublishableStatus | String | Metaobject capabilities for this Metaobject. The publishable capability for this metaobject. | |
| CapabilitiesOnlineStoreTemplateSuffix | String | Metaobject capabilities for this Metaobject. The Online Store capability for this metaobject. The theme template used when viewing the metaobject in a store. | |
| ThumbnailFieldKey | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The object key of this field. | |
| ThumbnailFieldThumbnailHex | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The hexadecimal color code to be used for respresenting this metaobject. | |
| ThumbnailFieldFileId | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. A globally-unique ID. | |
| ThumbnailFieldFileAlt | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. A word or phrase to describe the contents or the function of a file. | |
| ThumbnailFieldFileCreatedAt | Datetime | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The date and time when the file was created. | |
| ThumbnailFieldFileUpdatedAt | Datetime | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The date and time when the file was last updated. | |
| ThumbnailFieldFileFileStatus | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The status of the file. | |
| ThumbnailFieldFileFileErrors | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. Any errors that have occurred on the file. | |
| ThumbnailFieldFilePreviewStatus | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. Current status of the preview image. | |
| ThumbnailFieldFilePreviewImageId | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. A unique ID for the image. | |
| ThumbnailFieldFilePreviewImageAltText | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. A word or phrase to share the nature or contents of an image. | |
| ThumbnailFieldFilePreviewImageHeight | Int | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. The original height of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| ThumbnailFieldFilePreviewImageWidth | Int | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. The original width of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| ThumbnailFieldFilePreviewImageUrl | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. The location of the image as a URL. |
A list of additional fees applied to the order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAdditionalFees WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| OrderId | String |
Orders.Id | A globally-unique ID. |
| Name | String | The name of the additional fee. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | A sale associated with an additional fee charge. The additional fees for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | A sale associated with a duty charge. The duty for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | A sale associated with a gift card. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | A sale associated with a product. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales agreements associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| Id [KEY] | String | The unique ID for the agreement. | |
| HappenedAt | Datetime | The date and time at which the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The staff member associated with the agreement. A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| AppApiKey | String | The application that created the agreement. A unique application API identifier. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | A sale associated with a shipping charge. The shipping line item for the associated sale. shippingLine is not available if the SaleActionType is a return. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | A sale associated with a tip. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String |
Orders.Id | A globally-unique ID. |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Returns a list of discounts that are applied to the order, not including order edits and refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderDiscountApplications WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId [KEY] | String |
Orders.Id | A globally-unique ID. |
| AllocationMethod | String | The method by which the discount's value is applied to its entitled items. | |
| Index [KEY] | Int | An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations. | |
| TargetSelection | String | How the discount amount is distributed on the discounted lines. | |
| TargetType | String | Whether the discount is applied on line items or shipping lines. | |
| ValueAmount | Decimal | The value of the discount application. Decimal money amount. | |
| ValueCurrencyCode | String | The value of the discount application. Currency of the money. | |
| ValuePercentage | Double | The value of the discount application. The percentage value of the object. This is a number between -100 (free) and 0 (no discount). | |
| AutomaticDiscountApplicationTitle | String | The title of the discount application. | |
| DiscountCodeApplicationCode | String | The string identifying the discount code that was used at the time of application. | |
| ManualDiscountApplicationTitle | String | The title of the discount application. | |
| ManualDiscountApplicationDescription | String | The description of the discount application. | |
| ScriptDiscountApplicationTitle | String | The title of the discount application. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | A sale associated with an additional fee charge. The additional fees for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | A sale associated with a duty charge. The duty for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | A sale associated with a gift card. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | A sale associated with a product. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales agreements associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| Id [KEY] | String | The unique ID for the agreement. | |
| HappenedAt | Datetime | The date and time at which the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The staff member associated with the agreement. A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| AppApiKey | String | The application that created the agreement. A unique application API identifier. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | A sale associated with a shipping charge. The shipping line item for the associated sale. shippingLine is not available if the SaleActionType is a return. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | A sale associated with a tip. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Orders.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Retrieves the discounts that have been allocated onto the line item by discount applications, not including order edits and refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemDiscountAllocations WHERE OrderLineItemId = 'Val1'
| Name | Type | References | Description |
| OrderLineItemId [KEY] | String | The ID of the Order to return. | |
| DiscountApplicationIndex [KEY] | Decimal | An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations. | |
| AllocatedAmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AllocatedAmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AllocatedAmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AllocatedAmountSetShopMoneyCurrencyCode | String | Currency of the money. |
Lists the duties associated with the line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemDuties WHERE LineItemId = 'Val1'
| Name | Type | References | Description |
| LineItemId | String | A globally-unique ID. | |
| Id [KEY] | String | A globally-unique ID. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves line items associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Orders.Id | A globally-unique ID. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at time of order creation. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| VariantId | String | A globally-unique ID. | |
| ProductId | String | A globally-unique ID. | |
| SellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| MerchantEditable | Bool | Whether the line item can be edited or not. | |
| RefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OrderUpdatedAt | Datetime | The date and time when the order was modified last. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| FulfillmentService | String | The handle of a fulfillment service that stocks the product variant belonging to a line item. | |
| OrderLineItemCustomAttributes | String | An array of custom information for the item that has been added to the cart. Often used to provide product customization options. | |
| OrderLineItemTaxLines | String | A list of tax line objects, each of which details a tax applied to the item. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Lists the duties associated with the line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderNonFulfillableLineItemDuties WHERE LineItemId = 'Val1'
| Name | Type | References | Description |
| LineItemId | String | A globally-unique ID. | |
| Id [KEY] | String | A globally-unique ID. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of line items in the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderNonFulfillableLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Orders.Id | A globally-unique ID. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at time of order creation. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| VariantId | String | A globally-unique ID. | |
| ProductId | String | A globally-unique ID. | |
| SellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| MerchantEditable | Bool | Whether the line item can be edited or not. | |
| RefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | A sale associated with an additional fee charge. The additional fees for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | A sale associated with a duty charge. The duty for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | A sale associated with a gift card. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | A sale associated with a product. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales agreements associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| Id [KEY] | String | The unique ID for the agreement. | |
| HappenedAt | Datetime | The date and time at which the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The staff member associated with the agreement. A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| AppApiKey | String | The application that created the agreement. A unique application API identifier. | |
| RefundId | String |
Refunds.Id | The refund associated with the agreement. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | A sale associated with a shipping charge. The shipping line item for the associated sale. shippingLine is not available if the SaleActionType is a return. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | A sale associated with a tip. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieve shipping lines attached to orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderShippingLines WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| CarrierIdentifier | String | A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| Title | String | Returns the title of the shipping line. | |
| Code | String | A reference to the shipping method. | |
| Custom | Bool | Whether the shipping line is custom or not. | |
| DeliveryCategory | String | The general classification of the delivery method. | |
| IsRemoved | Bool | Whether the shipping line has been removed. | |
| Phone | String | The phone number at the shipping address. | |
| ShippingRateHandle | String | A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users. | |
| Source | String | Returns the rate source for the shipping line. | |
| CurrentDiscountedPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| CurrentDiscountedPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| CurrentDiscountedPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| CurrentDiscountedPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedPriceAmount | Decimal | Decimal money amount. | |
| DiscountedPriceCurrencyCode | String | Currency of the money. | |
| DiscountedPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalPriceAmount | Decimal | Decimal money amount. | |
| OriginalPriceCurrencyCode | String | Currency of the money. | |
| OriginalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| RequestedFulfillmentServiceId | String | The ID of the fulfillment service. | |
| OrderId | String |
Orders.Id | A globally-unique ID. |
| TaxLines | String | A list of tax line objects, each of which details a tax applicable to this shipping line. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String |
Orders.Id | A globally-unique ID. |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PageEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Pages.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
A list of prices associated with a price list.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PriceListPrices WHERE PriceListId = 'Val1'
| Name | Type | References | Description |
| PriceListId [KEY] | String |
PriceLists.Id | The unique identifier of the price list. |
| ProductVariantId [KEY] | String | The unique identifier of the product variant associated with this price. | |
| OriginType | String | The origin of a price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration). | |
| PriceAmount | Decimal | The price of the product variant on this price list. Decimal money amount. | |
| PriceCurrencyCode | String | The price of the product variant on this price list. Currency of the money. | |
| CompareAtPriceAmount | Decimal | The compare-at price of the product variant on this price list. Decimal money amount. | |
| CompareAtPriceCurrencyCode | String | The compare-at price of the product variant on this price list. Currency of the money. |
Get relationships between component options and parent options.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductBundleComponentOptionSelections WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String | A globally-unique ID. | |
| ComponentProductId [KEY] | String | A globally-unique ID. | |
| ParentOptionId | String | A globally-unique ID. | |
| ParentOptionName | String | The product option’s name. | |
| ComponentOptionId [KEY] | String | A globally-unique ID. | |
| ComponentOptionName | String | The product option’s name. | |
| Values | String | The component option values that are actively selected for this relationship. |
List products' component information.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductBundleComponents WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String | A globally-unique ID. | |
| ComponentProductId [KEY] | String | A globally-unique ID. | |
| ComponentVariantsCount | Int | The count of elements. | |
| ComponentVariantsCountPrecision | String | The count's precision, or the exactness of the value. | |
| OptionSelections | String | The options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle. | |
| Quantity | Int | The quantity of the component product set for this bundle line. It will be null if there's a quantityOption present. | |
| QuantityOptionName | String | The name of the option value. | |
| QuantityOptionValues | String | The quantity values of the option. | |
| QuantityOptionParentOptionId | String | A globally-unique ID. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Products.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
An entity that represents details of an asynchronous operation on a product.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOperations WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The ID of the ProductOperation to return. | |
| ProductId | String | A globally-unique ID. | |
| Status | String | The status of this operation. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductVariantEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String | A globally-unique ID. | |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Returns a list of collections published to the publication.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PublicationCollections WHERE PublicationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| PublicationId [KEY] | String |
Publications.Id | A globally-unique ID. |
Returns the list of publication for products.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PublicationProducts WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String |
Products.Id | A globally-unique ID. |
| PublishDate | Datetime | The date that the resource publication was or is going to be published to the publication. | |
| IsPublished | Bool | Whether the resource publication is published. | |
| PublicationId [KEY] | String | A globally-unique ID. | |
| PublicationName | String | Name of the publication. |
Lists the refunded duties as part of this refund.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundDuties WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| OriginalDutyId [KEY] | String | A globally-unique ID. | |
| RefundId [KEY] | String |
Refunds.Id | A globally-unique ID. |
| OriginalDutyHarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| OriginalDutyCountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. |
Lists the duties associated with the line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundLineItemDuties WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| RefundId | String | A globally-unique ID. | |
| LineItemId | String | A globally-unique ID. | |
| Id [KEY] | String | A globally-unique ID. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves the 'RefundLineItem' resources attached to the refund.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundLineItems WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LineItemId | String | A globally-unique ID. | |
| RefundId | String |
Refunds.Id | A globally-unique ID. |
| LineItemName | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| LineItemTitle | String | The title of the product at time of order creation. | |
| LineItemVariantTitle | String | The title of the variant at time of order creation. | |
| LineItemQuantity | Int | The number of variant units ordered. | |
| LineItemRestockable | Bool | Whether the line item can be restocked. | |
| LineItemSku | String | The variant SKU number. | |
| LineItemTaxable | Bool | Whether the variant is taxable. | |
| LineItemVendor | String | The name of the vendor who made the variant. | |
| LineItemCurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemMerchantEditable | Bool | Whether the line item can be edited or not. | |
| LineItemRefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemNonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| LineItemRequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| LineItemUnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| LineItemImageId | String | A unique ID for the image. | |
| LineItemImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| LineItemImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageUrl | String | The location of the image as a URL. | |
| LineItemProductId | String | A globally-unique ID. | |
| LineItemVariantId | String | A globally-unique ID. | |
| LineItemSellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| LineItemStaffMemberId | String | A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| Quantity | Int | The quantity of a refunded line item. | |
| Restocked | Bool | Whether the refunded line item was restocked. Not applicable in the context of a SuggestedRefund. | |
| RestockType | String | The type of restock for the refunded line item. | |
| LocationId | String | A globally-unique ID. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| SubtotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| SubtotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemContractId | String | A globally-unique ID. |
Retrieve the order adjustments that are attached to refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundOrderAdjustments WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| RefundId | String | A globally-unique ID. | |
| Reason | String | An optional reason that explains a discrepancy between calculated and actual refund amounts. | |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TaxAmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TaxAmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TaxAmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TaxAmountSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieve shipping lines attached to refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundShippingLines WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| RefundId | String |
Refunds.Id | A globally-unique ID. |
| SubtotalAmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalAmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| SubtotalAmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalAmountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TaxAmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TaxAmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TaxAmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TaxAmountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineId | String | A globally-unique ID. | |
| ShippingLineCarrierIdentifier | String | A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| ShippingLineTitle | String | Returns the title of the shipping line. | |
| ShippingLineCode | String | A reference to the shipping method. | |
| ShippingLineCustom | Bool | Whether the shipping line is custom or not. | |
| ShippingLineDeliveryCategory | String | The general classification of the delivery method. | |
| ShippingLineIsRemoved | Bool | Whether the shipping line has been removed. | |
| ShippingLinePhone | String | The phone number at the shipping address. | |
| ShippingLineShippingRateHandle | String | A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users. | |
| ShippingLineSource | String | Returns the rate source for the shipping line. | |
| ShippingLineCurrentDiscountedPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| ShippingLineCurrentDiscountedPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineCurrentDiscountedPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| ShippingLineCurrentDiscountedPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineDiscountedPriceAmount | Decimal | Decimal money amount. | |
| ShippingLineDiscountedPriceCurrencyCode | String | Currency of the money. | |
| ShippingLineDiscountedPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| ShippingLineDiscountedPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineDiscountedPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| ShippingLineDiscountedPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineOriginalPriceAmount | Decimal | Decimal money amount. | |
| ShippingLineOriginalPriceCurrencyCode | String | Currency of the money. | |
| ShippingLineOriginalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| ShippingLineOriginalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineOriginalPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| ShippingLineOriginalPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineRequestedFulfillmentServiceId | String | The ID of the fulfillment service. |
Returns the transaction fees charged on the order transaction. Only present for Shopify Payments transactions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundTransactionFees WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| TransactionId | String | A globally-unique ID. | |
| RefundId | String |
Refunds.Id | A globally-unique ID. |
| RateName | String | Name of the credit card rate. | |
| FlatFeeName | String | Name of the credit card flat fee. | |
| Rate | Decimal | Percentage charge. | |
| Type | String | Name of the type of fee. | |
| AmountAmount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| FlatFeeAmount | Decimal | Decimal money amount. | |
| FlatFeeCurrencyCode | String | Currency of the money. | |
| TaxAmountAmount | Decimal | Decimal money amount. | |
| TaxAmountCurrencyCode | String | Currency of the money. |
Retrieves the transactions associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundTransactions WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId [KEY] | String |
Refunds.Id | A globally-unique ID. |
| PaymentId | String | The payment ID associated with the transaction. | |
| ParentTransactionId | String | The associated parent transaction, for example the authorization of a capture. | |
| AccountNumber | String | The masked account number associated with the payment method. | |
| Gateway | String | The payment gateway used to process the transaction. | |
| Kind | String | The kind of transaction. | |
| Status | String | The status of this transaction. | |
| Test | Bool | Whether the transaction is a test transaction. | |
| AuthorizationCode | String | Authorization code associated with the transaction. | |
| ErrorCode | String | A standardized error code, independent of the payment provider. | |
| FormattedGateway | String | The human-readable payment gateway name used to process the transaction. | |
| ManuallyCapturable | Bool | Whether the transaction can be manually captured. | |
| MultiCapturable | Bool | Whether the transaction can be captured multiple times. | |
| ProcessedAt | Datetime | Date and time when the transaction was processed. | |
| ReceiptJson | String | The transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction. | |
| SettlementCurrency | String | The settlement currency. | |
| AuthorizationExpiresAt | Datetime | The time when the authorization expires. This field is available only to stores on a Shopify Plus plan and is populated only for Shopify Payments authorizations. | |
| SettlementCurrencyRate | Decimal | The rate used when converting the transaction amount to settlement currency. | |
| CreatedAt | Datetime | Date and time when the transaction was created. | |
| CardPaymentDetailsName | String | The holder of the credit card. | |
| CardPaymentDetailsBin | String | The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number. | |
| CardPaymentDetailsCompany | String | The name of the company that issued the customer's credit card. | |
| CardPaymentDetailsNumber | String | The customer's credit card number, with most of the leading digits redacted. | |
| CardPaymentDetailsWallet | String | Digital wallet used for the payment. | |
| CardPaymentDetailsExpirationMonth | Int | The month in which the used credit card expires. | |
| CardPaymentDetailsExpirationYear | Int | The year in which the used credit card expires. | |
| CardPaymentDetailsAvsResultCode | String | The response code from the address verification system (AVS). The code is always a single letter. | |
| CardPaymentDetailsCvvResultCode | String | The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string. | |
| PaymentIconId | String | A unique ID for the image. | |
| PaymentIconWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| PaymentIconAltText | String | A word or phrase to share the nature or contents of an image. | |
| PaymentIconHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| MaximumRefundableV2Amount | Decimal | Decimal money amount. | |
| MaximumRefundableV2CurrencyCode | String | Currency of the money. | |
| ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt | Datetime | The time after which the extended authorization expires. After the expiry, the merchant is unable to capture the payment. | |
| ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt | Datetime | The time after which capture will incur an additional fee. | |
| ShopifyPaymentsSetRefundSetAcquirerReferenceNumber | String | The acquirer reference number (ARN) code generated for Visa/Mastercard transactions. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalUnsettledSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalUnsettledSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of line items in the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnExchangeLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Returns.Id | A globally-unique ID. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at time of order creation. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| VariantId | String | A globally-unique ID. | |
| ProductId | String | A globally-unique ID. | |
| SellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| MerchantEditable | Bool | Whether the line item can be edited or not. | |
| RefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| AppliedDiscountValueAmount | Decimal | The discount to be applied to the exchange line item. The value of the discount as a fixed amount. | |
| AppliedDiscountValueAmountCurrencyCode | String | The discount to be applied to the exchange line item. Currency of the money. | |
| AppliedDiscountValuePercentage | Double | The discount to be applied to the exchange line item. The value of the discount as a percentage. | |
| AppliedDiscountDescription | String | The discount to be applied to the exchange line item. The description of the discount. | |
| GiftCardCodes | String | The gift card codes associated with the physical gift cards. |
Retrieves the return line items attached to the return.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnLineItems WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ReturnId [KEY] | String |
Returns.Id | A globally-unique ID. |
| Quantity | Int | The quantity being returned. | |
| CustomerNote | String | A note from the customer that describes the item to be returned. Maximum length: 300 characters. | |
| RefundableQuantity | Int | The quantity that can be refunded. | |
| RefundedQuantity | Int | The quantity that was refunded. | |
| ReturnReason | String | The reason for returning the item. | |
| ReturnReasonNote | String | Additional information about the reason for the return. Maximum length: 255 characters. | |
| TotalWeightUnit | String | The unit of measurement for `value`. | |
| TotalWeightValue | Double | The weight value using the unit system specified with `unit`. | |
| WithCodeDiscountedTotalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| WithCodeDiscountedTotalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| WithCodeDiscountedTotalPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| WithCodeDiscountedTotalPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| FulfillmentLineItemId | String | A globally-unique ID. |
Retrieves the unverified return line items attached to the return.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnLineItemsUnverified WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ReturnId [KEY] | String |
Returns.Id | A globally-unique ID. |
| CustomerNote | String | A note from the customer that describes the item to be returned. Maximum length: 300 characters. | |
| Quantity | Int | The quantity being returned. | |
| RefundableQuantity | Int | The quantity that can be refunded. | |
| RefundedQuantity | Int | The quantity that was refunded. | |
| ReturnReason | String | The reason for returning the item. | |
| ReturnReasonNote | String | Additional information about the reason for the return. Maximum length: 255 characters. | |
| UnitPriceAmount | Decimal | Decimal money amount. | |
| UnitPriceCurrencyCode | String | Currency of the money. |
Reverse deliveries are post-fulfillment objects that represents a buyer sending a package to a merchant.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE Id = 'Val1'
SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE ReverseFulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The ID of the reverse delivery. | |
| ReverseFulfillmentOrderId | String | A globally-unique ID. | |
| DeliverableLabelPublicFileUrl | String | A public link that can be used to download the label image. | |
| DeliverableLabelUpdatedAt | Datetime | The date and time when the reverse delivery label was updated. | |
| DeliverableLabelCreatedAt | Datetime | The date and time when the reverse delivery label was created. | |
| DeliverableTrackingCarrierName | String | The provider of the tracking information, in a human-readable format for display purposes. | |
| DeliverableTrackingNumber | String | The identifier used by the courier to identify the shipment. | |
| DeliverableTrackingUrl | String | The URL to track a shipment. |
Details about reverse delivery line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReverseFulfillmentOrderDeliveryLineItems WHERE ReverseFulfillmentOrderDeliveryId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ReverseFulfillmentOrderDeliveryId | String | A globally-unique ID. | |
| ReverseFulfillmentOrderLineItemId | String | A globally-unique ID. | |
| Dispositions | String | The dispositions of the item. | |
| Quantity | Int | The expected number of units. |
Details about reverse fulfillment order line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReverseFulfillmentOrderLineItems WHERE ReverseFulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ReverseFulfillmentOrderId | String | A globally-unique ID. | |
| FulfillmentLineItemId | String | A globally-unique ID. | |
| Dispositions | String | The dispositions of the item. | |
| TotalQuantity | Int | The total number of units to be processed. |
Items in returns that will be processed at a fulfillment service.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReverseFulfillmentOrders WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ReturnId | String |
Returns.Id | A globally-unique ID. |
| Status | String | The status of the reverse fulfillment order. | |
| ThirdPartyConfirmationStatus | String | The status of the reverse fulfillment order third-party confirmation. |
The parameters for event segment filters.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM SegmentFilterParameters
| Name | Type | References | Description |
| SegmentFilterQueryName [KEY] | String | The query name of the filter. | |
| QueryName [KEY] | String | The query name of the parameter. | |
| ParameterType | String | The type of the parameter. | |
| Optional | Bool | Whether the parameter is optional. | |
| AcceptsMultipleValues | Bool | Whether the parameter accepts a list of values. | |
| LocalizedName | String | The localized name of the parameter. | |
| LocalizedDescription | String | The localized description of the parameter. |
A list of filters.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM SegmentFilters
| Name | Type | References | Description |
| QueryName [KEY] | String | The query name of the filter. | |
| MultiValue | Bool | Whether a file can have multiple values for a single customer. | |
| LocalizedName | String | The localized name of the filter. | |
| ReturnValueType | String | The return value type for an event segment filter. |
Retrieves selling plans associated to the selling plan group.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM SellingPlanGroupSellingPlans WHERE SellingPlanGroupId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| SellingPlanGroupId | String | A globally-unique ID. | |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. | |
| Category | String | The category used to classify the selling plan for reporting purposes.
The allowed values are OTHER, PRE_ORDER, SUBSCRIPTION, TRY_BEFORE_YOU_BUY. | |
| Description | String | Buyer facing string which describes the selling plan commitment. | |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. | |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. | |
| CreatedAt | Datetime | The date and time when the selling plan was created. | |
| InventoryPolicyReserve | String | When to reserve inventory for the order.
The allowed values are ON_FULFILLMENT, ON_SALE. | |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge.
The allowed values are PERCENTAGE, PRICE. | |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. | |
| FixedBillingPolicyCheckoutChargeValueCurrencyCode | String | The charge value for the checkout charge. Currency of the money. | |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. | |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. | |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. | |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due.
The allowed values are EXACT_TIME, NO_REMAINING_BALANCE, TIME_AFTER_CHECKOUT. | |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. | |
| RecurringBillingPolicyCreatedAt | Datetime | The date and time when the selling plan billing policy was created. | |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year.
The allowed values are DAY, MONTH, WEEK, YEAR. | |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. | |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. | |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. | |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. | |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. | |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. | |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.
The allowed values are ANCHOR, ASAP, EXACT_TIME, UNKNOWN. | |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. | |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
The allowed values are ASAP, NEXT. | |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. | |
| RecurringDeliveryPolicyCreatedAt | Datetime | The date and time when the selling plan delivery policy was created. | |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. | |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
The allowed values are FULFILLMENT_BEGIN. | |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. | |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. | |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
The allowed values are ASAP, NEXT. | |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. | |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Metafields | String | Attaches additional metadata to a store's resources. |
Returns the Shop resource corresponding to the access token used in the request. The Shop resource contains business and store management settings for the shop.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Shop
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Name | String | The shop's name. | |
| OwnerName | String | The name of the shop owner. | |
| RichTextEditorUrl | String | The URL of the rich text editor that can be used for mobile devices. | |
| Description | String | The shop's meta description used in search engine results. | |
| String | The shop owner's email address. Shopify will use this email address to communicate with the shop owner. | ||
| Url | String | The URL of the shop's online store. | |
| ContactEmail | String | The public-facing contact email address for the shop. Customers will use this email to communicate with the shop owner. | |
| CurrencyCode | String | The three letter code for the currency that the shop sells in. | |
| CustomerAccounts | String | Whether customer accounts are required, optional, or disabled for the shop. | |
| IanaTimezone | String | The shop's time zone as defined by the IANA. | |
| MyshopifyDomain | String | The shop's . myshopify. com domain name. | |
| PublicationsCount | Int | The number of publications for the shop. | |
| PublicationsCountPrecision | String | The count's precision, or the exactness of the value. | |
| SetupRequired | Bool | Whether the shop has outstanding setup steps. | |
| TaxShipping | Bool | Whether the shop charges taxes for shipping. | |
| TaxesIncluded | Bool | Whether applicable taxes are included in the shop's product prices. | |
| TimezoneAbbreviation | String | The shop's time zone abbreviation. | |
| TimezoneOffset | String | The shop's time zone offset. | |
| UnitSystem | String | The shop's unit system for weights and measures. | |
| WeightUnit | String | The shop's primary unit of weight for products and shipping. | |
| CheckoutApiSupported | Bool | Specifies whether the shop supports checkouts via Checkout API. | |
| EnabledPresentmentCurrencies | String | The presentment currencies enabled for the shop. | |
| ShipsToCountries | String | The list of countries that the shop ships to. | |
| TimezoneOffsetMinutes | Int | The shop's time zone offset expressed as a number of minutes. | |
| TransactionalSmsDisabled | Bool | Whether transactional SMS sent by Shopify have been disabled for a shop. | |
| OrderNumberFormatPrefix | String | The prefix that appears before order numbers. | |
| OrderNumberFormatSuffix | String | The suffix that appears after order numbers. | |
| BillingAddressId | String | A globally-unique ID. | |
| BillingAddressCoordinatesValidated | Bool | Whether the address coordinates are valid. | |
| BillingAddressAddress1 | String | The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | The name of the city, district, village, or town. | |
| BillingAddressCompany | String | The name of the company or organization. | |
| BillingAddressCountry | String | The name of the country. | |
| BillingAddressLatitude | Double | The latitude coordinate of the address. | |
| BillingAddressLongitude | Double | The longitude coordinate of the address. | |
| BillingAddressPhone | String | A phone number associated with the address. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | The region of the address, such as the province, state, or district. | |
| BillingAddressZip | String | The zip or postal code of the address. | |
| BillingAddressFormattedArea | String | A comma-separated list of the values for city, province, and country. | |
| BillingAddressProvinceCode | String | The two-letter code for the region. For example, ON. | |
| BillingAddressCountryCodeV2 | String | The two-letter code for the country of the address. For example, US. | |
| CountriesInShippingZonesCountryCodes | String | The list of all the countries from all the combined shipping zones. | |
| CountriesInShippingZonesIncludeRestOfWorld | Bool | Whether 'Rest of World' has been defined in any of the shipping zones. | |
| CurrencyFormatsMoneyFormat | String | Money without currency in HTML. | |
| CurrencyFormatsMoneyInEmailsFormat | String | Money without currency in emails. | |
| CurrencyFormatsMoneyWithCurrencyFormat | String | Money with currency in HTML. | |
| CurrencyFormatsMoneyWithCurrencyInEmailsFormat | String | Money with currency in emails. | |
| FeaturesInternationalPriceOverrides | Bool | Whether a shop can enable international price overrides. | |
| FeaturesStorefront | Bool | Whether a shop has an online store. | |
| FeaturesGiftCards | Bool | Whether a shop can create gift cards. | |
| FeaturesSellsSubscriptions | Bool | Whether a shop has ever had subscription products. | |
| FeaturesEligibleForSubscriptions | Bool | Whether a shop is configured properly to sell subscriptions. | |
| FeaturesInternationalPriceRules | Bool | Whether a shop can enable international price rules. | |
| FeaturesEligibleForSubscriptionMigration | Bool | Whether a shop can be migrated to use Shopify subscriptions. | |
| FeaturesLegacySubscriptionGatewayEnabled | Bool | Whether a shop has enabled a legacy subscription gateway to handle older subscriptions. | |
| FeaturesPaypalExpressSubscriptionGatewayStatus | String | Whether a shop is configured to sell subscriptions with PayPal Express. | |
| PendingOrdersCount | Int | The count of elements. | |
| PendingOrdersPrecision | String | The count's precision, or the exactness of the value. | |
| PaymentSettingsSupportedDigitalWallets | String | List of the digital wallets which the shop supports. | |
| PlanDisplayName | String | The name of the shop's billing plan. | |
| PlanPartnerDevelopment | Bool | Whether the shop is a partner development shop for testing purposes. | |
| PlanShopifyPlus | Bool | Whether the shop has a Shopify Plus subscription. | |
| PrimaryDomainId | String | A globally-unique ID. | |
| PrimaryDomainHost | String | The host name of the domain. For example, 'example. com'. | |
| PrimaryDomainUrl | String | The URL of the domain (for example, 'https: //example. com'). | |
| PrimaryDomainSslEnabled | Bool | Whether SSL is enabled. | |
| PrimaryDomainLocalizationCountry | String | The ISO code for the country assigned to the domain. For example, 'CA' or '*' for a domain set to 'Rest of world'. | |
| PrimaryDomainLocalizationAlternateLocales | String | The ISO codes for the domain's alternate locales. For example, '['en']'. | |
| PrimaryDomainLocalizationDefaultLocale | String | The ISO code for the domain's default locale. For example, 'en'. | |
| PrimaryDomainMarketWebPresenceId | String | A globally-unique ID. | |
| PrimaryDomainMarketWebPresenceAlternateLocales | String | The ISO codes for the alternate locales. When a domain is used, these locales will be available as language-specific subfolders. For example, if English is an alternate locale, and 'example. ca' is the market's domain, then 'example. ca/en' will load in English. | |
| PrimaryDomainMarketWebPresenceDefaultLocale | String | The ShopLocale object for the default locale. The locale ISO code. | |
| PrimaryDomainMarketWebPresenceDefaultLocaleMarketWebPresencesId | String | The ShopLocale object for the default locale. The market web presences that use the locale. | |
| PrimaryDomainMarketWebPresenceDefaultLocaleName | String | The ShopLocale object for the default locale. The human-readable locale name. | |
| PrimaryDomainMarketWebPresenceDefaultLocalePrimary | Bool | The ShopLocale object for the default locale. Whether the locale is the default locale for the shop. | |
| PrimaryDomainMarketWebPresenceDefaultLocalePublished | Bool | The ShopLocale object for the default locale. Whether the locale is visible to buyers. | |
| PrimaryDomainMarketWebPresenceSubfolderSuffix | String | The market-specific suffix of the subfolders defined by the web presence. Example: in '/en-us' the subfolder suffix is 'us'. This field will be null if 'domain' isn't null. | |
| ResourceLimitsLocationLimit | Int | Maximum number of locations allowed. | |
| ResourceLimitsMaxProductOptions | Int | Maximum number of product options allowed. | |
| ResourceLimitsMaxProductVariants | Int | The maximum number of variants allowed per product. | |
| ResourceLimitsRedirectLimitReached | Bool | Whether the shop has reached the limit of the number of URL redirects it can make for resources. |
Returns Shopify Payments account information, including balances and payouts.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccount
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Activated | Bool | Whether the Shopify Payments setup is completed. | |
| Country | String | The Shopify Payments account country. | |
| Onboardable | Bool | Whether the Shopify Payments account can be onboarded. | |
| DefaultCurrency | String | The default payout currency for the Shopify Payments account. | |
| PayoutStatementDescriptor | String | The descriptor used for payouts. The descriptor appears on a merchant's bank statement when they receive a payout. | |
| PayoutScheduleInterval | String | The interval at which payouts are sent to the connected bank account. | |
| PayoutScheduleMonthlyAnchor | Int | The day of the month funds will be paid out. The value can be any day of the month from the 1st to the 31st. If the payment interval is set to monthly, this value will be used. Payouts scheduled between 29-31st of the month are sent on the last day of shorter months. | |
| PayoutScheduleWeeklyAnchor | String | The day of the week funds will be paid out. The value can be any weekday from Monday to Friday. If the payment interval is set to weekly, this value will be used. |
Returns current balances in all currencies for the account.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalance
| Name | Type | References | Description |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| Amount | Decimal | Decimal money amount. | |
| CurrencyCode [KEY] | String | Currency of the money. |
The adjustment orders associated to the transaction.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders WHERE ShopifyPaymentsAccountBalanceTransactionId = 'Val1'
| Name | Type | References | Description |
| Link [KEY] | String | The link to the adjustment order. | |
| Name | String | The name of the adjustment order. | |
| Amount | Decimal | The amount of the adjustment order. Decimal money amount. | |
| AmountCurrencyCode | String | The amount of the adjustment order. Currency of the money. | |
| ShopifyPaymentsAccountBalanceTransactionId [KEY] | String | A globally-unique ID. |
A list of balance transactions associated with a Shopify Payments account balance.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalanceTransactions
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| NetAmount | Decimal | The net amount contributing to the merchant's balance. Decimal money amount. | |
| NetCurrencyCode | String | The net amount contributing to the merchant's balance. Currency of the money. | |
| TransactionDate | Datetime | The date and time when the balance transaction was processed. | |
| SourceId | String | The ID of the resource leading to the transaction. | |
| SourceType | String | The source type of the balance transaction. | |
| SourceOrderTransactionId | String | The id of the Order Transaction that resulted in this balance transaction. | |
| AdjustmentReason | String | The reason for the adjustment that's associated with the transaction. If the source_type isn't an adjustment, the value will be null. | |
| Type | String | The type of the transaction. | |
| Test | Bool | Whether the transaction was created in test mode. | |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| FeeAmount | Decimal | Decimal money amount. | |
| FeeCurrencyCode | String | Currency of the money. | |
| AssociatedOrderId | String | The ID of the associated order. | |
| AssociatedOrderName | String | The name of the associated order. | |
| AssociatedPayoutId | String | The ID of the payout associated with the balance transaction. | |
| AssociatedPayoutStatus | String | The status of the payout associated with the balance transaction. |
Lists all bank accounts configured for the Shopify Payments account.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBankAccounts
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| BankName | String | The name of the bank. | |
| Country | String | The country of the bank. | |
| Currency | String | The currency of the bank account. | |
| Status | String | The status of the bank account. | |
| AccountNumber | String | The account number of the bank account. | |
| RoutingNumber | String | The routing number of the bank account. | |
| AccountNumberLastDigits | String | The last digits of the account number (the rest is redacted). | |
| CreatedAt | Datetime | The date that the bank account was created. |
Lists all disputes related to the Shopify Payments account.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Id = 'Val1'
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Status = 'Val1'
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE InitiatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| EvidenceDueBy | Date | The deadline for evidence submission. | |
| EvidenceSentOn | Date | The date when evidence was sent. Returns null if evidence has not yet been sent. | |
| Status | String | The current state of the dispute. | |
| Type | String | Indicates if this dispute is still in the inquiry phase or has turned into a chargeback. | |
| FinalizedOn | Date | The date when this dispute was resolved. Returns null if the dispute is not yet resolved. | |
| InitiatedAt | Datetime | The date when this dispute was initiated. | |
| AmountAmount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| OrderId | String | A globally-unique ID. | |
| ReasonDetailsReason | String | The reason for the dispute provided by the cardholder's banks. | |
| ReasonDetailsNetworkReasonCode | String | The raw code provided by the payment network. |
Returns all current and previous payouts made between the account and the bank account. Its avaible only in a few certain countries.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ShopifyPaymentsAccountPayouts WHERE TransactionType = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| Status | String | The transfer status of the payout. | |
| IssuedAt | Datetime | The exact time when the payout was issued. The payout only contains balance transactions that were available at this time. | |
| TransactionType | String | The direction of the payout. | |
| BusinessEntityId | String | The business entity associated with the payout. | |
| BankAccountId | String | A globally-unique ID. | |
| NetAmount | Decimal | Decimal money amount. | |
| NetCurrencyCode | String | Currency of the money. | |
| SummaryAdjustmentsFeeAmount | Decimal | Decimal money amount. | |
| SummaryAdjustmentsFeeCurrencyCode | String | Currency of the money. | |
| SummaryAdjustmentsGrossAmount | Decimal | Decimal money amount. | |
| SummaryAdjustmentsGrossCurrencyCode | String | Currency of the money. | |
| SummaryChargesFeeAmount | Decimal | Decimal money amount. | |
| SummaryChargesFeeCurrencyCode | String | Currency of the money. | |
| SummaryChargesGrossAmount | Decimal | Decimal money amount. | |
| SummaryChargesGrossCurrencyCode | String | Currency of the money. | |
| SummaryRefundsFeeAmount | Decimal | Decimal money amount. | |
| SummaryRefundsFeeCurrencyCode | String | Currency of the money. | |
| SummaryRefundsFeeGrossAmount | Decimal | Decimal money amount. | |
| SummaryRefundsFeeGrossCurrencyCode | String | Currency of the money. | |
| SummaryReservedFundsFeeAmount | Decimal | Decimal money amount. | |
| SummaryReservedFundsFeeCurrencyCode | String | Currency of the money. | |
| SummaryReservedFundsGrossAmount | Decimal | Decimal money amount. | |
| SummaryReservedFundsGrossCurrencyCode | String | Currency of the money. | |
| SummaryRetriedPayoutsFeeAmount | Decimal | Decimal money amount. | |
| SummaryRetriedPayoutsFeeCurrencyCode | String | Currency of the money. | |
| SummaryRetriedPayoutsGrossAmount | Decimal | Decimal money amount. | |
| SummaryRetriedPayoutsGrossCurrencyCode | String | Currency of the money. | |
| SummaryAdvanceFeesAmount | Decimal | A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99. | |
| SummaryAdvanceFeesCurrencyCode | String | The three-letter currency code that represents a world currency used in a store. Currency codes include standard [standard ISO 4217 codes](https: //en. wikipedia. org/wiki/ISO 4217), legacy codes, and non-standard codes. For example, USD. | |
| SummaryAdvanceGrossAmount | Decimal | A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99. | |
| SummaryAdvanceGrossCurrencyCode | String | The three-letter currency code that represents a world currency used in a store. Currency codes include standard [standard ISO 4217 codes](https: //en. wikipedia. org/wiki/ISO 4217), legacy codes, and non-standard codes. For example, USD. |
Retrieves a paginated list of the shop's staff members. (This table is available only with a ShopifyPlus subscription)
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM StaffMembers
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopId | String |
Shop.Id | A globally-unique ID. |
| Name | String | The staff member's full name. | |
| FirstName | String | The staff member's first name. | |
| LastName | String | The staff member's last name. | |
| Active | Bool | Whether the staff member is active. | |
| String | The staff member's email address. | ||
| Exists | Bool | Whether the staff member's account exists. | |
| Initials | String | The staff member's initials, if available. | |
| Locale | String | The staff member's preferred locale. Locale values use the format 'language' or 'language-COUNTRY', where 'language' is a two-letter language code, and 'COUNTRY' is a two-letter country code. For example: 'en' or 'en-US' | |
| Phone | String | The staff member's phone number. | |
| IsShopOwner | Bool | Whether the staff member is the shop owner. | |
| AccountType | String | The type of account the staff member has. | |
| PrivateDataAccountSettingsUrl | String | The URL to the staff member's account settings page. | |
| PrivateDataCreatedAt | Datetime | The date and time when the staff member was created. |
Debit revert transactions created when a store credit account debit transaction is reverted.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| DebitTransactionId | String | The reverted debit transaction. | |
| BalanceAfterTransactionAmount | Decimal | Decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | Currency of the money. | |
| CreatedAt | Datetime | The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | A globally-unique ID. |
Expiration transactions created when a store credit account credit transaction expires.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM StoreCreditAccountExpirationTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
| Name | Type | References | Description |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| CreditTransactionId | String | The credit transaction which expired. | |
| BalanceAfterTransactionAmount | Decimal | Decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | Currency of the money. | |
| CreatedAt | Datetime | The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | A globally-unique ID. |
Returns a list of TenderTransactions associated with the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM TenderTransactions WHERE Id = 'Val1'
SELECT * FROM TenderTransactions WHERE Test = true
SELECT * FROM TenderTransactions WHERE ProcessedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Test | Bool | Whether the transaction is a test transaction. | |
| PaymentMethod | String | Information about the payment method used for the transaction. | |
| ProcessedAt | Datetime | Date and time when the transaction was processed. | |
| RemoteReference | String | The remote gateway reference associated with the tender transaction. | |
| AmountAmount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| TenderTransactionCreditCardDetailsCreditCardCompany | String | The name of the company that issued the customer's credit card. Example: 'Visa'. | |
| TenderTransactionCreditCardDetailsCreditCardNumber | String | The customer's credit card number, with all digits except the last 4 redacted. Example: '???? ???? ???? 1234' | |
| UserId | String | A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| OrderId | String | A globally-unique ID. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| AcceptCancellationRequest | Accepts a cancellation request sent to a fulfillment service for a fulfillment order. |
| AcceptFulfillmentRequest | Accepts a fulfillment request sent to a fulfillment service for a fulfillment order. |
| ApproveComment | Approves a comment. |
| CollectionReorder | Reorders a set of products within a specified collection. |
| CompanyContactRemoveFromCompany | Removes a company contact from a Company. |
| CreateFile | Creates file assets using an external URL or for files that were previously uploaded using the stagedUploadsCreate mutation. |
| EnableStandardMetafieldDefinition | Activates the specified standard metafield definition from its template. |
| FulfillmentOrderMerge | Merges a set or multiple sets of fulfillment orders together into one based on line item inputs and quantities. |
| FulfillmentOrderSplit | Splits a fulfillment order or orders based on line item inputs and quantities. |
| InventoryAdjustQuantities | Apply changes to inventory quantities. |
| InventoryBulkToggleActivation | Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location. |
| InventoryMoveQuantities | Moves inventory between inventory quantity names at a single location. |
| InventorySetQuantities | Set quantities of specified name using absolute values. |
| InventorySetScheduledChanges | Set up scheduled changes of inventory items. |
| MarkCommentNotSpam | Marks a comment as not spam. |
| MarkCommentSpam | Marks a comment as spam. |
| OrderCancel | Cancels an order. |
| PublishTheme | Publishes a theme. |
| RejectCancellationRequest | Rejects a cancellation request sent to a fulfillment service for a fulfillment order. |
| RejectFulfillmentRequest | Rejects a fulfillment request sent to a fulfillment service for a fulfillment order. |
| SendCancellationRequest | Sends a cancellation request to the fulfillment service of a fulfillment order. |
| SendFulfillmentRequest | Sends a fulfillment request to the fulfillment service of a fulfillment order. |
| TransactionVoid | Trigger the voiding of an uncaptured authorization transaction. |
| UpdateFile | Updates an existing file asset that was uploaded to Shopify. |
Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the cancellation request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Approves a comment.
| Name | Type | Description |
| Id | String | The ID of the comment to be approved. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
| Status | String | The status of the comment. |
Reorders a set of products within a specified collection.
| Name | Type | Description |
| CollectionID | String | The ID of the collection on which to reorder products. |
| ProductIDs | String | A comma separated list of product IDs to be reordered. |
| NewPositions | String | A comma separated list of the new positions for the products. |
| WaitJob | String | The Store Procedure will wait until the Job is done.
The default value is true. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| JobID | String | The Job Id. |
| Status | String | The status of the Job. |
Removes a company contact from a Company.
| Name | Type | Description |
| CompanyContactId | String | The ID of the company contact to remove from the Company. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| RemovedCompanyContactId | String | The ID of the removed company contact. |
Creates file assets using an external URL or for files that were previously uploaded using the stagedUploadsCreate mutation.
Note: requires write_files access scope, write_themes access scope or write_images access scope.
EXEC CreateFile OriginalSource='https://www.cdata.com/ui/img/og-img-cdata-logo.png'
EXEC CreateFile OriginalSource='https://www.cdata.com/ui/img/og-img-cdata-logo.png', FileName='cdata-logo.png', Description='cdata-logo-new', ContentType='IMAGE', DuplicateResolutionMode='REPLACE'
| Name | Type | Description |
| OriginalSource | String | An external URL (for images only) or a staged upload URL. |
| FileName | String | When provided, the file will be created with the given filename, otherwise the filename in the originalSource will be used. |
| Description | String | The alternative text description of the file. |
| ContentType | String | The file content type. If omitted, then Shopify will attempt to determine the content type during file processing. |
| DuplicateResolutionMode | String | How to handle if filename is already in use.
The allowed values are APPEND_UUID, RAISE_ERROR, REPLACE. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
| Status | String | The status of the file. |
Activates the specified standard metafield definition from its template.
| Name | Type | Description |
| Id | String | The ID of the standard metafield definition template to enable. |
| Namespace | String | The namespace of the standard metafield to enable. Used in combination with key. |
| Key | String | The key of the standard metafield to enable. Used in combination with namespace. |
| OwnerType | String | The resource type that the metafield definition is scoped to. |
| UseAsCollectionCondition | Boolean | Whether the metafield definition can be used as a collection condition. |
| Pin | Boolean | Whether to pin the metafield definition. |
| AccessAdmin | String | The Admin API access setting to use for the metafields under this definition. |
| AccessCustomerAccount | String | The Customer Account API access setting to use for the metafields under this definition. |
| AccessStorefront | String | The Storefront API access setting to use for the metafields under this definition. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
Merges a set or multiple sets of fulfillment orders together into one based on line item inputs and quantities.
| Name | Type | Description |
| MergeIntents | String | Temp table or aggregate (json/xml) array of objects containing fulfillmentOrderId, fulfillmentOrderLineItemId and fulfillmentOrderLineItemQuantity. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderId | String | The id of the new fulfillment order as a result of the merge. |
Splits a fulfillment order or orders based on line item inputs and quantities.
| Name | Type | Description |
| FulfillmentOrderId | String | The ID of the fulfillment order to be split. |
| FulfillmentOrderLineItemIDs | String | A comma separated list of IDs corresponding to the FulfillmentOrderLineItems to be split out. |
| FulfillmentOrderLineItemQuantities | String | A comma separated list of quantities corresponding to each FulfillmentOrderLineItem to be split out. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderId | String | The id of the original fulfillment order as a result of the split. |
| RemainingFulfillmentOrderId | String | The id of the remaining fulfillment order as a result of the split. |
| ReplacementFulfillmentOrderId | String | The id of the replacement fulfillment order if the original fulfillment order wasn't in a state to be split. |
Apply changes to inventory quantities.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| InventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| Delta | Int | The amount by which the inventory quantity will be changed. |
| Name | Type | Description |
| Name | String | The quantity name to be adjusted.
The allowed values are available, damaged, quality_control, reserved, safety_stock. |
| Reason | String | The reason for the quantity changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| InventoryAdjustChanges | String | The quantity changes of items at locations to be made. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | The ID of the group of changes made by the operation. |
Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| Activate | Bool | Whether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location. |
| LocationId | String | The ID of the location to modify the inventory item's stocked status. |
| Name | Type | Description |
| InventoryItemId | String | The ID of the inventory item to modify the activation status locations for. |
| InventoryItemUpdates | String | A list of pairs of locations and activate status to update for the specified inventory item. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| InventoryItemId | String | The ID of the inventory item to modify the activation status locations for. |
| InventoryLevelIds | String | The activated inventory levels. |
Moves inventory between inventory quantity names at a single location.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| Quantity | Int | The amount by which the inventory quantity will be changed. |
| FromName | String | The quantity name to be moved. |
| FromInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| FromLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| ToName | String | The quantity name to be moved. |
| ToInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| ToLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| Name | Type | Description |
| Reason | String | The reason for the quantity changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| InventoryMoveChanges | String | The quantity changes of items at locations to be made. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | The ID of the group of changes made by the operation. |
Set quantities of specified name using absolute values.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the quantity will be set. |
| InventoryLevelLocationId | String | Specifies the location at which the quantity will be set. |
| CompareQuantity | Int | The current quantity to be compared against the persisted quantity. |
| Quantity | Int | The quantity to which the inventory quantity will be set. |
| Name | Type | Description |
| Name | String | The name of quantities to be changed.
The allowed values are available, on_hand. |
| Reason | String | The reason for the quantity changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| IgnoreCompareQuantity | Boolean | Skip the compare quantity check in the quantities field. |
| InventorySetChanges | String | The values to which each quantities will be set. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | The ID of the group of changes made by the operation. |
Set up scheduled changes of inventory items.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| InventoryLevelLocationId | String | The ID of the location. |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| InventorySetScheduledItemChanges (references InventorySetScheduledItemChanges) | String | An array of all the scheduled changes for the item. |
| Column Name | Type | Description |
| FromName | String | The quantity name to transition from. |
| ToName | String | The quantity name to transition to. |
| ExpectedAt | Datetime | The date and time that the scheduled change is expected to happen. |
| Name | Type | Description |
| Reason | String | The reason for setting up the scheduled changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| InventorySetScheduledItems | String | The list of all the items on which the scheduled changes need to be applied. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| ScheduledChanges | String | The scheduled changes that were created. |
Marks a comment as not spam.
| Name | Type | Description |
| Id | String | The ID of the comment to be marked as not spam. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
| Status | String | The status of the comment. |
Marks a comment as spam.
| Name | Type | Description |
| Id | String | The ID of the comment to be marked as spam. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
| Status | String | The status of the comment. |
Cancels an order.
| Name | Type | Description |
| NotifyCustomer | Bool | Whether to send a notification to the customer about the order cancellation. |
| OrderId | String | The ID of the order to be canceled. |
| Reason | String | The reason for canceling the order.
The allowed values are CUSTOMER, DECLINED, FRAUD, INVENTORY, OTHER, STAFF. |
| Refund | Bool | Whether to refund the amount paid by the customer. |
| Restock | Bool | Whether to restock the inventory committed to the order. |
| StaffNote | String | A staff-facing note about the order cancellation. This is not visible to the customer. |
| WaitJob | Bool | The Store Procedure will wait until the Job is done.
The default value is true. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| JobID | String | The Job Id. |
| Status | String | The status of the Job. |
Publishes a theme.
| Name | Type | Description |
| Id | String | ID of the theme to be published. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the cancellation request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| Reason | String | Whether the customer should be notified when fulfillments are created for this fulfillment order.
The allowed values are INCORRECT_ADDRESS, INELIGIBLE_PRODUCT, INVENTORY_OUT_OF_STOCK, OTHER, UNDELIVERABLE_DESTINATION. |
| LineItems | String | An optional array of line item rejection details. If none are provided, all line items will be assumed to be unfulfillable.. Ex: [{fulfillmentOrderLineItemId: 'xxx', message: 'xx'}] |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Sends a cancellation request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Sends a fulfillment request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with a fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| NotifyCustomer | String | Whether the customer should be notified when fulfillments are created for this fulfillment order. |
| FulfillmentOrderLineItems | String | The fulfillment order line items to be requested for fulfillment. If left blank, all line items of the fulfillment order are requested for fulfillment. Ex: [{id: 'xxx', quantity: 1}] |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Trigger the voiding of an uncaptured authorization transaction.
| Name | Type | Description |
| ParentTransactionId | String | An uncaptured authorization transaction. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| TransactionId | String | The created void transaction. |
Updates an existing file asset that was uploaded to Shopify.
Note: requires write_files access scope or write_themes access scope.
EXEC UpdateFile Id='gid://shopify/MediaImage/24974406549527', OriginalSource='https://files.cdata.com/media/media/4rwcdun5/generic-data-management.png', FileName='cdata-logo-new-0.png', Description='cdata-logo-new'
| Name | Type | Description |
| Id | String | The ID of the file to be updated. |
| FileName | String | The name of the file including its extension. |
| Description | String | The alternative text description of the file. |
| OriginalSource | String | The source from which to update a media image or generic file. An external URL (for images only) or a staged upload URL. |
| PreviewImageSource | String | The source from which to update the media preview image. May be an external URL or a staged upload URL. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
| Status | String | The status of the file. |
The CData Cloud models entities in the Shopify API as an easy-to-use SQL database, using tables, views, and stored procedures. These are defined in schema files, which are simple, easy-to-read text files that define the structure and organization of data.
Note: Shopify typically releases new API versions quarterly. If a stable API version is no longer supported, Shopify automatically defaults to the oldest supported stable version to respond to your API request. For more information on Shopify's API versioning, click this link.
See REST Data Model for the available entities in the REST API.
See GRAPHQL Data Model for the available entities in the GraphQL API.
The CData Cloud models the Shopify API as relational tables, views, and stored procedures.
To use the REST Data Model, simply set Schema to REST.
Note: As of October 1, 2024, Shopify has designated the REST API as legacy.
The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.
Common tables include:
| Table | Description |
| Shop | Contains general settings and information about the shop. |
| Customers | Create, update, delete, and query customers. |
| CustomerAddresses | Create, update, delete, and query customer addresses. |
| Orders | Create, update, delete, and query orders. |
| OrdersItems | Query order items. |
| OrderTransactions | Create, update, delete, and query transactions. |
| Refunds | Create, update, delete, and query refunds. |
| RefundsItems | Get data on OrdersItems that have been refunded. |
| Redirects | Create, update, delete, and query redirects. |
| Collects | Query, insert, or delete information regarding different collects. |
| DiscountCodes | Create, select, update, and delete information regarding discount codes. |
| PriceRules | Create, update, delete, and query price rules. |
| DraftOrders | Create, update, delete, and query draft orders. |
| DraftOrderItems | Query draft order items. |
| Fulfillments | Create, update, and query fulfillments. |
| FulfillmentOrders | Query fulfillment orders. |
| FulfillmentEvents | Create, delete, and query information regarding fulfillment events. |
| Locations | Retrieve information regarding store locations. |
| TaxItems | Query order taxes. |
| Users | Query Users. |
Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing order cancellations and fulfillments, sending invoices, and handling authentication flows.
The Cloud models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.
| Name | Description |
| ApplicationCharges | Stores one-time billing charges created by an app, including charge amounts, currency, and payment status. |
| ApplicationCredit | Tracks credits applied toward app charges, including reference amounts and associated applications. |
| Articles | Contains blog article data, allowing creation, update, retrieval, and deletion of article content. |
| Assets | Represents theme assets such as templates, images, and scripts. Note: Create, update, and delete operations are not accessible for public apps. |
| Blogs | Manages blog metadata including titles, handles, and publishing status. |
| CarrierServices | Contains information about carrier-provided shipping services, including service names and integration identifiers. |
| CollectionListings | Provides visibility into collections published to the storefront, allowing retrieval or deletion of listings. |
| Collects | Maps products to custom collections, supporting queries and deletion of product-collection relationships. |
| Comments | Stores blog comment records, including author, content, status, and moderation details. |
| CustomCollections | Defines merchant-created product collections and supports creation, updates, and deletions. |
| CustomerAddresses | Holds customer address data including shipping and billing addresses, supporting full CRUD operations. |
| Customers | Stores customer profiles including contact details, marketing preferences, and order associations. |
| DiscountCodes | Manages discount codes tied to price rules, including creation, activation, and redemption information. |
| DraftOrders | Contains information on draft orders created prior to checkout, including customer, billing, and fulfillment details. |
| FulfillmentEvents | Tracks events related to the lifecycle of fulfillments, including creation, shipment, and delivery updates. |
| Fulfillments | Contains shipment data for orders, including tracking numbers, carriers, and fulfillment status. |
| FulfillmentServices | Manages third-party fulfillment service configurations and metadata for merchant stores. |
| GiftCards | Stores digital or physical gift card records, including balance, currency, and issuance details. |
| MarketingEvents | Stores marketing campaign events and metadata, such as channel, UTM parameters, and performance timestamps. |
| Metafields | Holds custom key–value data attached to Shopify resources, including namespace, key, value, and type. |
| Orders | Stores order headers with customer, payment, fulfillment, pricing, and tax information across the order lifecycle. |
| OrderTransactions | Tracks financial transactions for orders, such as authorizations, captures, refunds, and payment gateway responses. |
| Pages | Contains static page content for the storefront, including title, body HTML, SEO fields, and publish state. |
| PriceRules | Defines discount conditions and benefits (fixed amount, percentage, or free shipping) that generate discount codes or automatic discounts. |
| RecurringApplicationCharges | Stores subscription billing records for apps, including plan details, trial periods, status, and recurring amounts. |
| Redirects | Manages URL redirects for the storefront, mapping old paths to new destinations to preserve SEO and navigation. |
| Refunds | Holds refund headers for orders, including totals, currency, refund reasons, and associated transactions. |
| ResourceFeedbacks | Captures feedback about shop resources from apps, including issues and suggested actions for merchants. |
| ScriptTags | Stores client-side script tag registrations that inject JavaScript into storefront pages, with source URL and scope. |
| SmartCollections | Defines rule-based product collections that update automatically based on product conditions. |
| Themes | Contains theme packages installed on the shop, including roles (main, unpublished) and asset references. |
| UsageCharges | Records metered usage charges billed against a recurring application charge, with amount, currency, and billing period. |
Stores one-time billing charges created by an app, including charge amounts, currency, and payment status.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the application charge. | |
| Name | String | False |
The name or label associated with the application charge. | |
| ApiClientId | Long | True |
The unique identifier of the API client that created the charge. | |
| Price | Decimal | False |
The monetary amount of the application charge. | |
| Status | String | True |
The current status of the application charge. Possible values include 'pending', 'active', 'declined', or 'expired'. | |
| ReturnUrl | String | False |
The URL to which the merchant is redirected after accepting the charge. | |
| Test | String | False |
Indicates whether the application charge is a test transaction. Possible values are 'true' or 'null'. | |
| CreatedAt | Datetime | True |
The date and time when the application charge was created, in ISO 8601 format. | |
| UpdatedAt | Datetime | True |
The date and time when the application charge was last updated, in ISO 8601 format. | |
| ChargeType | String | True |
The type or classification of the application charge. | |
| DecoratedReturnUrl | String | True |
The return URL enhanced with additional metadata or query parameters used by Shopify. |
Tracks credits applied toward app charges, including reference amounts and associated applications.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
A unique numeric identifier for the application credit. | |
| Amount | Decimal | False |
The total monetary amount refunded by the application credit. | |
| Description | String | False |
A brief description providing context for the application credit. | |
| Test | String | False |
Indicates whether the application credit is a test transaction. Possible values are 'true' or 'null'. |
Contains blog article data, allowing creation, update, retrieval, and deletion of article content.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the article. | |
| BlogId [KEY] | Long | False |
Blogs.Id |
A unique numeric identifier for the blog that contains the article. |
| AdminGraphqlApiId | String | True |
The Admin GraphQL API identifier associated with the article. | |
| Author | String | False |
The name of the author who wrote the article. | |
| BodyHtml | String | False |
The full text of the article body, including HTML formatting and markup. | |
| CreatedAt | Datetime | True |
The date and time when the article was created. | |
| Handle | String | False |
A human-readable unique string automatically generated from the article title, used in the article's URL. | |
| ImageAlt | String | False |
Alternative text describing the associated image for accessibility or SEO purposes. | |
| ImageCreatedAt | Datetime | True |
The date and time when the associated image was created. | |
| ImageHeight | Int | False |
The height of the article image in pixels. | |
| ImageSrc | String | False |
The URL where the article image is hosted. | |
| ImageWidth | Int | False |
The width of the article image in pixels. | |
| ImageAttachment | String | False |
The Base64-encoded binary data representing an image attached to the article. | |
| PublishedAt | Datetime | False |
The date and time when the article was published. | |
| SummaryHtml | String | False |
A short summary of the article content, including HTML formatting. | |
| Tags | String | False |
A comma-separated list of tags used to categorize or describe the article. | |
| TemplateSuffix | String | False |
The suffix of the Liquid template used to render the article. Returns null if the default article.liquid template is used. | |
| Title | String | False |
The title of the article. | |
| UpdatedAt | Datetime | True |
The date and time when the article was last updated. | |
| UserId | Long | True |
A unique numeric identifier for the user who authored the article. | |
| PublishedStatus | String | False |
Specifies the publication status of the article. Possible values are 'published', 'unpublished', and 'any'. The default is 'any'. The allowed values are published, unpublished, any. |
Represents theme assets such as templates, images, and scripts. Note: Create, update, and delete operations are not accessible for public apps.
| Name | Type | ReadOnly | References | Description |
| Key [KEY] | String | False |
The file path of the asset within the theme directory structure. | |
| ThemeId [KEY] | Long | True |
Themes.Id |
A unique numeric identifier for the theme to which the asset belongs. |
| Attachment | String | False |
A Base64-encoded representation of the asset file, typically used for images or binary data. | |
| Checksum | String | True |
An MD5 hash string (32 hexadecimal digits) representing the asset's content. May be null if the asset has not been recently updated. | |
| ContentType | String | True |
The MIME type of the asset, specifying its content type and subtype (for example, text/css or image/png). | |
| CreatedAt | Datetime | True |
The date and time when the asset was initially created. | |
| PublicUrl | String | True |
The public URL where the asset can be accessed. | |
| Size | Int | True |
The file size of the asset in bytes. | |
| UpdatedAt | Datetime | True |
The date and time when the asset was last modified. | |
| Value | String | False |
The text-based content of the asset, such as HTML, CSS, JavaScript, or Liquid template code. |
Manages blog metadata including titles, handles, and publishing status.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the blog. | |
| AdminGraphqlApiId | String | True |
The globally unique identifier for the blog in the Admin GraphQL API. | |
| Commentable | String | False |
Indicates whether readers can post comments on the blog and whether moderation is required. The allowed values are no, yes, moderate. | |
| CreatedAt | Datetime | True |
The date and time when the blog was created. | |
| Feedburner | String | False |
Specifies whether Feedburner integration is enabled for the blog. Feedburner provides custom RSS feeds for Shopify blogs. The value is null or blank unless Feedburner is configured in the shop admin. | |
| FeedburnerLocation | String | False |
The URL of the Feedburner feed for blogs that have enabled Feedburner through the shop admin. Returns null or blank if Feedburner is not enabled. | |
| Handle | String | False |
A human-friendly unique string automatically generated from the blog title, used in the blog's URL. | |
| Metafields | String | False |
Additional structured metadata attached to the blog resource. | |
| Tags | String | False |
A comma-separated list of tags that describe or categorize the blog for filtering and organization. | |
| TemplateSuffix | String | False |
The name of the template used to render the blog. Returns null if the default 'blog.liquid' template is used. | |
| Title | String | False |
The title of the blog as displayed in the store and admin. | |
| UpdatedAt | Datetime | True |
The date and time when the blog was last updated. |
Contains information about carrier-provided shipping services, including service names and integration identifiers.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
A unique numeric identifier for the carrier service. | |
| Active | Bool | False |
Indicates whether the carrier service is active. When true, the service is available to provide shipping rates during checkout. | |
| Name | String | False |
The name of the shipping service as displayed to merchants and their customers. | |
| CallbackUrl | String | False |
The public URL endpoint that Shopify calls to retrieve shipping rates for this carrier service. | |
| Type | String | False |
Specifies whether the carrier service is API-based or legacy. | |
| Format | String | False |
The format of the data returned by the carrier service endpoint. The only supported value is 'json'. | |
| ServiceDiscovery | String | False |
Indicates whether merchants can send test data to the carrier service from the Shopify admin to view example shipping rates. | |
| AdminGraphqlApiId | String | False |
The GraphQL global ID (GID) for this carrier service resource. |
Provides visibility into collections published to the storefront, allowing retrieval or deletion of listings.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The unique numeric identifier of the collection that this listing belongs to. | |
| Title | String | True |
The title of the collection listing as displayed in the store or admin. | |
| BodyHtml | String | True |
The HTML-formatted description of the collection listing. | |
| DefaultProductImage | String | True |
The default product image associated with this collection listing. | |
| ImageCreatedAt | String | True |
The date and time when the image for this collection listing was created. | |
| ImageSource | String | True |
The source URL of the image associated with this collection listing. | |
| Handle | String | True |
A unique, human-friendly string used to reference this collection listing in URLs. | |
| UpdatedAt | Datetime | True |
The date and time when the collection listing was last updated. | |
| PublishedAt | Datetime | True |
The date and time when the collection listing was published or made visible. |
Maps products to custom collections, supporting queries and deletion of product-collection relationships.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the collect record, which links a product to a collection. | |
| CollectionId | Long | False |
The unique numeric identifier of the collection associated with this collect. | |
| ProductId | Long | False |
The unique numeric identifier of the product associated with this collect. | |
| Position | Int | True |
The position of the product within a manually sorted custom collection. The first position is 1. This field applies only when the collection uses manual sorting. | |
| SortValue | String | True |
An alphanumeric representation of the position value, padded with leading zeroes to support proper string-based sorting. | |
| CreatedAt | Datetime | True |
The date and time when the collect record was created. | |
| UpdatedAt | Datetime | True |
The date and time when the collect record was last updated. |
Stores blog comment records, including author, content, status, and moderation details.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the comment. | |
| BlogId | Long | False |
Blogs.Id |
The unique numeric identifier of the blog containing the article that the comment belongs to. |
| ArticleId | Long | False |
Articles.Id |
The unique numeric identifier of the article associated with the comment. |
| Author | String | False |
The name of the person who authored the comment. | |
| Body | String | False |
The content of the comment in basic Textile markup format. | |
| BodyHtml | String | False |
The content of the comment rendered with HTML formatting. | |
| CreatedAt | Datetime | True |
The date and time when the comment was created, in ISO 8601 format. | |
| String | False |
The email address provided by the author of the comment. | ||
| Ip | String | False |
The IP address from which the comment was submitted. | |
| PublishedAt | String | False |
The date and time when the comment was published, in ISO 8601 format. | |
| Status | String | True |
The current moderation or publication status of the comment. The allowed values are pending, approved, unapproved, spam, published, removed. | |
| UpdatedAt | Datetime | True |
The date and time when the comment was last updated, in ISO 8601 format. | |
| UserAgent | String | False |
The user agent string from the browser or software used to post the comment. | |
| PublishedStatus | String | False |
Specifies how comments are filtered by publication state. The default value is 'any'. The allowed values are published, unpublished, any. |
Defines merchant-created product collections and supports creation, updates, and deletions.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the custom collection. | |
| Title | String | False |
The name of the custom collection as displayed in the store. | |
| BodyHtml | String | False |
The HTML-formatted description of the custom collection. | |
| Image | String | False |
A JSON object containing details about the custom collection's image, including source URL, dimensions, and creation data. | |
| Metafields | String | False |
Metadata associated with the collection, defined as a set of key-value pairs. Includes: key (up to 30 characters), namespace (up to 20 characters to distinguish metadata by app), value (the stored data), value_type (string or integer), and an optional description providing additional context. | |
| Handle | String | False |
A human-friendly unique string automatically generated from the collection's title and used in its URL. | |
| SortOrder | String | False |
The order in which products within the collection are arranged. | |
| TemplateSuffix | String | False |
The name of the alternate Liquid template used by the collection, if applicable. | |
| PublishedScope | String | False |
Specifies the sales channels where the collection is available. | |
| UpdatedAt | Datetime | True |
The date and time when the custom collection was last updated. | |
| PublishedAt | Datetime | True |
The date and time when the custom collection was published to the Online Store channel. | |
| ProductId | String | False |
Filters collections to include only those containing a specific product ID. | |
| PublishedStatus | String | False |
Indicates the collection's publication status. Valid values: published (visible), unpublished (hidden), or any (default, includes all). The allowed values are published, unpublished, any. |
Holds customer address data including shipping and billing addresses, supporting full CRUD operations.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the customer's address. | |
| CustomerId [KEY] | Long | False |
Customers.Id |
A unique numeric identifier for the customer associated with the address. |
| CustomerUpdatedAt | Datetime | True |
The date and time when the customer record was last updated. | |
| Name | String | False |
The full name of the customer associated with this address. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| Company | String | False |
The name of the company associated with the address, if applicable. | |
| Address1 | String | False |
The first line of the customer's street address, such as a house number or PO Box. | |
| Address2 | String | False |
An optional second line for additional address details, such as an apartment, suite, or unit number. | |
| City | String | False |
The city or locality of the customer's address. | |
| Province | String | False |
The name of the province or state for the customer's address. | |
| Country | String | False |
The full name of the country for the customer's address. | |
| Zip | String | False |
The postal or ZIP code associated with the address. | |
| Phone | String | False |
The customer's phone number for this address. | |
| ProvinceCode | String | False |
The two-letter abbreviation for the province or state, following ISO 3166-2 standards. | |
| CountryCode | String | False |
The two-letter country code corresponding to the country, following ISO 3166-1 alpha-2 standards. | |
| CountryName | String | False |
The normalized country name for the address. | |
| Default | Bool | True |
Indicates whether this is the customer's default address. |
Stores customer profiles including contact details, marketing preferences, and order associations.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the customer. | |
| LastOrderId | Long | True |
Orders.Id |
The unique identifier of the customer's most recent order. |
| LastOrderName | String | True |
The name or reference label of the customer's most recent order. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| String | False |
The customer's unique email address used for communication and account identification. | ||
| Phone | String | False |
The customer's unique phone number associated with their account. | |
| TaxExempt | Bool | False |
Indicates whether the customer is exempt from being charged taxes on orders. | |
| TotalSpent | Decimal | True |
The total monetary amount the customer has spent in the shop, across all orders. | |
| OrdersCount | Int | True |
The total number of orders placed by the customer. | |
| MultipassIdentifier | String | True |
The customer's identifier used for Multipass login authentication. | |
| Note | String | False |
A merchant-added note providing internal details or context about the customer. | |
| EmailMarketingState | String | False |
The customer's current subscription state for email marketing communications. | |
| EmailMarketingLevel | String | False |
The opt-in level defining how the customer consents to receive marketing emails. | |
| EmailMarketingUpdatedAt | Datetime | False |
The date and time when the customer's email marketing consent was last updated. | |
| State | String | True |
The current account status for the customer within the shop (for example, enabled or disabled). | |
| Tags | String | False |
A list of tags associated with the customer, separated by commas. | |
| VerifiedEmail | Bool | True |
Indicates whether the customer's email address has been verified. | |
| CreatedAt | Datetime | True |
The date and time when the customer record was created. | |
| UpdatedAt | Datetime | True |
The date and time when the customer record was last updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Password | String |
The customer's password used for authentication. |
| PasswordConfirmation | String |
A confirmation value matching the customer's password for verification purposes. |
| SendEmailWelcome | Bool |
Indicates whether a welcome email should be sent to the customer after account creation. |
| SendEmailInvite | Bool |
Indicates whether an account invite email should be sent to the customer. |
Manages discount codes tied to price rules, including creation, activation, and redemption information.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the discount code record. | |
| PriceRuleId [KEY] | Long | False |
PriceRules.Id |
The unique identifier of the price rule that defines the discount's conditions and eligibility. |
| Code | String | False |
The case-insensitive discount code entered by customers at checkout to redeem a price rule. | |
| UsageCount | Int | True |
The total number of times this discount code has been successfully redeemed by customers. | |
| CreatedAt | Datetime | True |
The date and time when the discount code was created in the store. | |
| UpdatedAt | Datetime | True |
The date and time when the discount code was last updated or modified. |
Contains information on draft orders created prior to checkout, including customer, billing, and fulfillment details.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the draft order. | |
| CustomerId | Long | False |
Customers.Id |
A unique numeric identifier for the customer associated with the draft order. |
| Currency | String | False |
The ISO 4217 three-letter currency code used for the order. | |
| String | False |
The customer's email address used for this draft order. | ||
| Name | String | True |
The display name of the draft order, typically shown as an order number. | |
| TotalPrice | Decimal | True |
The total cost of the draft order, including item prices, taxes, and discounts. | |
| SubtotalPrice | Decimal | True |
The total price of all items in the draft order before taxes and shipping. | |
| TotalTax | Decimal | False |
The total amount of taxes applied to the draft order. | |
| TaxesIncluded | Bool | False |
Indicates whether taxes are included in the subtotal price. | |
| InvoiceSentAt | Datetime | True |
The date and time when the draft order invoice was emailed to the customer. Available only for draft orders. | |
| Note | String | False |
An optional note that a merchant can attach to the draft order. | |
| Tags | String | False |
A comma-separated list of tags associated with the draft order. | |
| InvoiceUrl | String | True |
The URL of the invoice associated with the draft order. Available only for draft orders. | |
| TaxExempt | Bool | True |
Indicates whether the draft order is exempt from taxes. | |
| Status | String | True |
The current status of the draft order. Valid values: 'open' (active), 'invoice_sent' (invoice sent to customer), or 'completed' (finalized order). Defaults to 'open'. | |
| LineAggregate | String | False |
A JSON aggregate containing all line items associated with the draft order. | |
| BillingAddressFirstName | String | False |
The first name of the person listed on the billing address. | |
| BillingAddressLastName | String | False |
The last name of the person listed on the billing address. | |
| BillingAddressAddress1 | String | False |
The first line of the billing street address. | |
| BillingAddressAddress2 | String | False |
The second line of the billing street address, such as an apartment or suite number. | |
| BillingAddressPhone | String | False |
The phone number associated with the billing address. | |
| BillingAddressCity | String | False |
The city of the billing address. | |
| BillingAddressCompany | String | False |
The company name associated with the billing address. | |
| BillingAddressZip | String | False |
The postal or ZIP code of the billing address. | |
| BillingAddressProvince | String | False |
The state or province of the billing address. | |
| BillingAddressCountry | String | False |
The country of the billing address. | |
| BillingAddressLatitude | Double | False |
The latitude coordinate of the billing address. | |
| BillingAddressLongitude | Double | False |
The longitude coordinate of the billing address. | |
| BillingAddressName | String | False |
The full name associated with the billing address. | |
| BillingAddressCountryCode | String | False |
The two-letter ISO country code for the billing address. | |
| BillingAddressProvinceCode | String | False |
The two-letter abbreviation for the state or province of the billing address. | |
| BillingAddressDefault | Bool | False |
Indicates whether this is the customer's default billing address. | |
| ShippingAddressFirstName | String | False |
The first name of the person listed on the shipping address. | |
| ShippingAddressLastName | String | False |
The last name of the person listed on the shipping address. | |
| ShippingAddressAddress1 | String | False |
The first line of the shipping street address. | |
| ShippingAddressAddress2 | String | False |
The second line of the shipping street address, such as an apartment or suite number. | |
| ShippingAddressPhone | String | False |
The phone number associated with the shipping address. | |
| ShippingAddressCity | String | False |
The city of the shipping address. | |
| ShippingAddressCompany | String | False |
The company name associated with the shipping address. | |
| ShippingAddressZip | String | False |
The postal or ZIP code of the shipping address. | |
| ShippingAddressProvince | String | False |
The state or province of the shipping address. | |
| ShippingAddressCountry | String | False |
The country of the shipping address. | |
| ShippingAddressLatitude | Double | False |
The latitude coordinate of the shipping address. | |
| ShippingAddressLongitude | Double | False |
The longitude coordinate of the shipping address. | |
| ShippingAddressName | String | False |
The full name associated with the shipping address. | |
| ShippingAddressCountryCode | String | False |
The two-letter ISO country code for the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter abbreviation for the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | False |
Indicates whether this is the customer's default shipping address. | |
| AppliedDiscountTitle | String | False |
The title of the discount applied to the draft order. | |
| AppliedDiscountDescription | String | False |
A description of the discount applied to the draft order. | |
| AppliedDiscountValue | Decimal | False |
The value of the discount applied to the draft order. | |
| AppliedDiscountValueType | String | False |
The type of discount value, such as 'fixed_amount' or 'percentage'. | |
| AppliedDiscountAmount | Decimal | False |
The monetary amount of the discount applied to the draft order. | |
| CreatedAt | Datetime | True |
The date and time when the draft order was created. | |
| UpdatedAt | Datetime | True |
The date and time when the draft order was last updated. | |
| CompletedAt | Datetime | True |
The date and time when the draft order was completed. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| UseCustomerDefaultAddress | Bool |
Optional flag that, if true, automatically loads the customer's default shipping address into the draft order. |
Tracks events related to the lifecycle of fulfillments, including creation, shipment, and delivery updates.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the fulfillment event. | |
| OrderId [KEY] | Long | False |
Orders.Id |
The ID of the order associated with this fulfillment event. |
| FulfillmentId [KEY] | Long | False |
Fulfillments.Id |
The unique numeric identifier for the fulfillment record related to this event. |
| ShopId | Long | True |
Shop.Id |
The unique numeric identifier for the shop where the fulfillment event occurred. |
| Status | String | False |
The current status of the fulfillment event. Valid values include: 'confirmed', 'in_transit', 'out_for_delivery', 'delivered', and 'failure'. | |
| EstimatedDeliveryAt | Datetime | False |
The estimated date and time when the fulfillment is expected to be delivered to the customer. | |
| Message | String | False |
An optional message describing the fulfillment event status, which may be provided by the shipping carrier. | |
| City | String | False |
The city where the fulfillment event occurred. | |
| Province | String | False |
The province or state where the fulfillment event occurred. | |
| Zip | String | False |
The postal or ZIP code of the location where the fulfillment event occurred. | |
| Country | String | False |
The country where the fulfillment event occurred. | |
| Address1 | String | False |
The street address associated with the fulfillment event. | |
| Latitude | Double | False |
The geographic latitude coordinate indicating the north–south position of the fulfillment event. | |
| Longitude | Double | False |
The geographic longitude coordinate indicating the east–west position of the fulfillment event. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment event was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment event was last updated. | |
| HappenedAt | Datetime | True |
The actual date and time when the fulfillment event occurred. |
Contains shipment data for orders, including tracking numbers, carriers, and fulfillment status.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the fulfillment record. | |
| OrderId | Long | False |
Orders.Id |
The unique numeric identifier of the order associated with this fulfillment. |
| LocationId [KEY] | Long | False |
The unique numeric identifier of the location responsible for fulfilling the order. | |
| NotifyCustomer | Bool | False |
Indicates whether the customer should receive a notification when the fulfillment is created or updated. | |
| Status | String | False |
The current status of the fulfillment, such as 'pending', 'open', 'success', or 'cancelled'. | |
| Receipt | String | True |
Details about the fulfillment receipt, including confirmation or processing information from the fulfillment service. | |
| TrackingCompany | String | False |
The name of the carrier or shipping company handling the shipment. | |
| TrackingNumbers | String | False |
A comma-separated list of tracking numbers provided by the shipping company for this fulfillment. | |
| TrackingUrls | String | False |
A comma-separated list of URLs where customers can track their shipments. | |
| VariantInventoryManagement | String | True |
The name of the inventory management system or service used to manage this variant's inventory. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the fulfillment record was created. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the fulfillment record was last updated. | |
| LineAggregate | String | False |
A JSON aggregate of all line items included in this fulfillment. | |
| OrderUpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the associated order was last updated. | |
| OrderCreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the associated order was originally created. | |
| FulfillmentOrderId | Long | False |
The unique numeric identifier of the fulfillment order linked to this fulfillment record. |
Manages third-party fulfillment service configurations and metadata for merchant stores.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the fulfillment service. | |
| LocationId | Long | True |
Locations.Id |
The unique identifier of the location associated with this fulfillment service. |
| ProviderId | String | True |
The unique identifier of the external provider that operates the fulfillment service. | |
| Name | String | False |
The name of the fulfillment service, visible to merchants and customers. | |
| Handle | String | True |
A human-readable unique string identifier automatically generated from the service name. | |
| ServiceName | String | True |
The internal or descriptive name of the fulfillment service. | |
| String | False |
The contact email address for the fulfillment service. | ||
| IncludePendingStock | Bool | False |
Indicates whether the fulfillment service includes pending stock in its inventory calculations. | |
| RequiresShippingMethod | Bool | False |
Indicates whether the fulfillment service requires products to be physically shipped. | |
| TrackingSupport | Bool | False |
Indicates whether the fulfillment service provides package tracking numbers to Shopify. | |
| InventoryManagement | Bool | False |
Indicates whether the fulfillment service manages inventory levels and reports stock updates to Shopify. | |
| FulfillmentOrdersOptIn | Bool | False |
Indicates whether the fulfillment service participates in the fulfillment orders API workflow. | |
| CallbackUrl | String | False |
The URL endpoint used by Shopify to send inventory and tracking update requests. Required if tracking or inventory management is enabled. | |
| Format | String | False |
The format of the API data returned by the fulfillment service. Supported values: 'json' and 'xml'. |
Stores digital or physical gift card records, including balance, currency, and issuance details.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the gift card. | |
| APIClientId | Long | True |
The unique identifier for the API client that issued the gift card. | |
| Balance | Decimal | True |
The remaining balance currently available on the gift card. | |
| Code | String | False |
The alphanumeric code representing the gift card. For security, this value is only visible at the time of creation. (Minimum: 8 characters; Maximum: 20 characters) | |
| CreatedAt | Datetime | True |
The date and time when the gift card was created, in ISO 8601 format. | |
| Currency | String | True |
The three-letter ISO 4217 currency code associated with the gift card. | |
| CustomerId | Long | True |
Customers.Id |
The unique identifier of the customer associated with the gift card. |
| DisabledAt | Datetime | True |
The date and time when the gift card was disabled, in ISO 8601 format. | |
| ExpiresOn | Date | False |
The expiration date of the gift card (in YYYY-MM-DD format). Returns null if the gift card does not expire. | |
| InitialValue | Decimal | False |
The original value of the gift card when it was issued. | |
| LastCharacters | String | True |
The last four characters of the gift card code. The full code is never retrievable for security reasons. | |
| LineItemId | Long | True |
OrdersItems.ItemId |
The unique identifier of the line item that triggered the creation of the gift card, if it originated from an order. |
| Note | String | False |
An optional internal note added by the merchant. Not visible to customers. | |
| OrderId | Long | True |
Orders.Id |
The unique identifier of the order that initiated the creation of the gift card, if applicable. |
| TemplateSuffix | String | False |
The suffix of the Liquid template used to render the gift card page online. For example, if set to 'birthday', the template gift_card.birthday.liquid is used. Defaults to gift_card.liquid when null. | |
| UserId | Long | True |
Users.Id |
The unique identifier of the staff member who issued the gift card, if created manually. |
| UpdatedAt | Datetime | True |
The date and time when the gift card was last updated, in ISO 8601 format. |
Stores marketing campaign events and metadata, such as channel, UTM parameters, and performance timestamps.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the marketing event. | |
| RemoteId | String | False |
An optional identifier for the event in an external or partner system. | |
| BreadcrumbId | String | True |
An optional identifier used to track a chain or group of related marketing events. | |
| UTMCampaign | String | True |
The unique name of the UTM campaign used for tracking performance. | |
| UTMSource | String | True |
The source of the traffic for the UTM campaign, such as 'google' or 'newsletter'. | |
| UTMMedium | String | True |
The marketing medium for the UTM campaign, such as 'cpc', 'social', or 'email'. | |
| UTMContent | String | True |
The content label for the UTM campaign, used to differentiate ads or creatives within the same campaign. | |
| UTMTerm | String | True |
The keyword term associated with the UTM campaign, typically used for paid search tracking. | |
| EventTarget | String | True |
The target or destination of the marketing event, such as a landing page or campaign URL. | |
| Description | String | True |
A detailed description of the marketing event. | |
| MarketingChannel | String | False |
The marketing channel category for the event. Valid values include: 'search', 'display', 'social', 'email', and 'referral'. | |
| EventType | String | False |
The specific type of marketing event. Valid values include: 'ad', 'post', 'message', 'retargeting', 'transactional', 'affiliate', 'loyalty', 'newsletter', 'abandoned_cart', and 'receipt'. | |
| Budget | Decimal | False |
The total monetary budget allocated for the campaign. | |
| Paid | Bool | False |
Indicates whether the marketing event is paid or organic. | |
| BudgetType | String | False |
Specifies whether the budget is 'daily' or 'lifetime'. | |
| Currency | String | False |
The currency code (ISO 4217 format) used for the campaign budget. | |
| ManageUrl | String | True |
A URL linking to the management interface for the marketing event, typically within the Shopify app. | |
| PreviewUrl | String | True |
A URL to preview the live or rendered version of the marketing asset, such as an ad, email, or social post. | |
| ReferringDomain | String | False |
The destination or referring domain for the marketing event. Required unless the MarketingChannel is 'email', 'referral', or 'display'. | |
| MarketedResources | String | True |
A JSON array listing the resources promoted in the event. Each entry includes a 'type' (product, collection, price_rule, page, article, or homepage) and, when applicable, an 'id'. | |
| StartedAt | Datetime | False |
The date and time when the marketing activity began, such as when an ad went live or an email was sent. | |
| EndedAt | Datetime | False |
The date and time when the marketing activity actually ended. May differ from the scheduled end time if the event was stopped early. | |
| ScheduledToEndAt | Datetime | False |
The date and time when the marketing activity was originally scheduled to end. |
Holds custom key–value data attached to Shopify resources, including namespace, key, value, and type.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the metafield. | |
| Namespace | String | False |
The namespace that groups related metafields together. Each app should use a unique namespace to prevent key conflicts with metafields from other apps. | |
| Key | String | False |
The name of the metafield that identifies what kind of information it stores within the namespace. | |
| Value | String | False |
The data or content stored in the metafield. The format of the value depends on the metafield's defined type. | |
| Type | String | False |
The data type of the metafield value, such as string, integer, boolean, json, or date. | |
| Description | String | False |
A human-readable explanation of the metafield's purpose or the kind of data it contains. | |
| OwnerId | Long | False |
The unique numeric identifier of the resource that this metafield is attached to, such as a product, customer, or order. | |
| OwnerResource | String | False |
The type of Shopify resource the metafield belongs to. The allowed values are shop, draft_order, page, article, order, customer, collection, blog. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the metafield was created. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the metafield was last updated. | |
| AdminGraphqlApiId | String | True |
The GraphQL Admin API global identifier for the metafield, used for programmatic access. |
Stores order headers with customer, payment, fulfillment, pricing, and tax information across the order lifecycle.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the order. | |
| Number | Long | True |
The sequential order number assigned by Shopify, visible to both the merchant and customer. | |
| CustomerId | Long | False |
Customers.Id |
The unique numeric identifier for the customer who placed the order. |
| CustomerFirstName | String | False |
The first name of the customer who placed the order. | |
| CustomerLastName | String | False |
The last name of the customer who placed the order. | |
| Currency | String | False |
The three-letter ISO 4217 currency code used for payment. | |
| String | False |
The customer's email address associated with the order. | ||
| Name | String | True |
The unique name or reference number assigned to the order. | |
| TotalDiscounts | Decimal | True |
The total discount amount applied to the order. | |
| TotalOrderItemsPrice | Decimal | True |
The combined price of all order items before taxes, shipping, and discounts. | |
| TotalPrice | Decimal | True |
The final order total including taxes, shipping, and discounts. | |
| SubtotalPrice | Decimal | True |
The subtotal of the order before taxes and shipping are added. | |
| TotalTax | Decimal | False |
The total tax applied to the order. | |
| TotalWeight | Int | True |
The total weight of all items in the order, in grams. | |
| BrowserIp | String | True |
The IP address of the browser used when the order was placed. | |
| MerchantBusinessEntityId | String | True |
The unique identifier of the business entity associated with the order. | |
| BuyerAcceptsMarketing | Bool | False |
Whether the buyer agreed to receive marketing communications from the store. | |
| CancelReason | String | True |
The reason the order was canceled, if applicable. | |
| CartToken | String | True |
A unique token identifying the cart from which the order was created. | |
| OrderStatusUrl | String | True |
The URL for the customer-facing order status page. | |
| Token | String | True |
A unique token associated with the order, used internally for API operations. | |
| TaxesIncluded | Bool | False |
Indicates whether taxes are included in the subtotal. | |
| SourceName | String | True |
The channel or system that originated the order (e.g., web, POS, app). | |
| ReferringSite | String | True |
The website or referral source from which the customer arrived. | |
| Phone | String | False |
The customer's phone number associated with the order. | |
| Note | String | False |
An optional note attached to the order by the merchant. | |
| LocationId | Long | True |
The unique numeric identifier of the location where the order was processed. | |
| LandingSite | String | True |
The URL where the buyer entered the store before checkout. | |
| Tags | String | False |
A comma-separated list of tags assigned to the order for categorization or filtering. | |
| FulfillmentStatus | String | False |
The fulfillment status of the order. The allowed values are shipped, partial, unshipped, any, unfulfilled, fulfilled, null, restocked. | |
| FinancialStatus | String | False |
The financial state of the order. The allowed values are authorized, pending, paid, partially_paid, refunded, voided, partially_refunded, any, unpaid. | |
| CustomerLocale | String | True |
The locale of the customer, such as 'en', 'en-US', or 'fr-CA'. | |
| InvoiceSentAt | Datetime | True |
The timestamp when the invoice email was sent to the customer. Available only for draft orders. | |
| InvoiceUrl | String | True |
The URL of the customer invoice. Available only for draft orders. | |
| TaxExempt | Bool | True |
Whether taxes are exempt for this order. Applicable to draft orders. | |
| DiscountCodes | String | True |
A list of discount codes applied to the order. | |
| LineAggregate | String | False |
A JSON aggregate containing all line items associated with the order. | |
| TaxAggregate | String | False |
A JSON aggregate of order-level tax lines. Use line-level tax data from LineAggregate when applicable. | |
| ShippingAggregate | String | False |
A JSON aggregate of all shipping line items associated with the order. | |
| NoteAttributesAggregate | String | False |
A JSON aggregate of all note attributes attached to the order. | |
| DiscountApplicationsAggregate | String | True |
A JSON aggregate of applied discount applications in order of application. | |
| BillingAddressFirstName | String | False |
The first name on the billing address. | |
| BillingAddressLastName | String | False |
The last name on the billing address. | |
| BillingAddressAddress1 | String | False |
The first line of the billing address. | |
| BillingAddressAddress2 | String | False |
An additional line for the billing address. | |
| BillingAddressPhone | String | False |
The phone number at the billing address. | |
| BillingAddressCity | String | False |
The city of the billing address. | |
| BillingAddressCompany | String | False |
The company associated with the billing address, if applicable. | |
| BillingAddressZip | String | False |
The postal or ZIP code of the billing address. | |
| BillingAddressProvince | String | False |
The state or province of the billing address. | |
| BillingAddressCountry | String | False |
The country of the billing address. | |
| BillingAddressLatitude | Double | False |
The latitude coordinate of the billing address. | |
| BillingAddressLongitude | Double | False |
The longitude coordinate of the billing address. | |
| BillingAddressName | String | False |
The full name of the person associated with the billing address. | |
| BillingAddressCountryCode | String | False |
The two-letter country code for the billing address. | |
| BillingAddressProvinceCode | String | False |
The two-letter province or state code for the billing address. | |
| BillingAddressDefault | Bool | False |
Whether this is the default billing address for the customer. | |
| ShippingAddressFirstName | String | False |
The first name on the shipping address. | |
| ShippingAddressLastName | String | False |
The last name on the shipping address. | |
| ShippingAddressAddress1 | String | False |
The first line of the shipping address. | |
| ShippingAddressAddress2 | String | False |
An additional line for the shipping address. | |
| ShippingAddressPhone | String | False |
The phone number at the shipping address. | |
| ShippingAddressCity | String | False |
The city of the shipping address. | |
| ShippingAddressCompany | String | False |
The company associated with the shipping address, if applicable. | |
| ShippingAddressZip | String | False |
The postal or ZIP code of the shipping address. | |
| ShippingAddressProvince | String | False |
The state or province of the shipping address. | |
| ShippingAddressCountry | String | False |
The country of the shipping address. | |
| ShippingAddressLatitude | Double | False |
The latitude coordinate of the shipping address. | |
| ShippingAddressLongitude | Double | False |
The longitude coordinate of the shipping address. | |
| ShippingAddressName | String | False |
The full name of the person associated with the shipping address. | |
| ShippingAddressCountryCode | String | False |
The two-letter country code for the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter province or state code for the shipping address. | |
| ShippingAddressDefault | Bool | False |
Whether this is the default shipping address for the customer. | |
| AppliedDiscountTitle | String | False |
The name of the discount applied to this order. Available only for draft orders. | |
| AppliedDiscountDescription | String | False |
A short description of the applied discount. Available only for draft orders. | |
| AppliedDiscountValue | Decimal | False |
The value of the applied discount. Available only for draft orders. | |
| AppliedDiscountValueType | String | False |
The type of discount value (e.g., percentage or fixed). Available only for draft orders. | |
| AppliedDiscountAmount | Decimal | False |
The total discount amount applied. Available only for draft orders. | |
| PaymentTermsAmount | Long | True |
The amount due under the defined payment terms. | |
| PaymentTermsCurrency | String | True |
The currency for the payment terms amount. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the payment terms template applied to the order. | |
| PaymentTermsPaymentTermsType | String | True |
The type of payment terms (e.g., NET_30, FULL, or custom). | |
| PaymentTermsDueInDays | Int | True |
The number of days between the invoice date and payment due date. | |
| PaymentTermsPaymentSchedules | String | True |
A JSON array of payment schedule details defined by the payment terms. | |
| ProcessedAt | Datetime | True |
The timestamp when the order was imported or processed. | |
| CreatedAt | Datetime | True |
The timestamp when the order was created. | |
| ClosedAt | Datetime | True |
The timestamp when the order was closed. | |
| CancelledAt | Datetime | True |
The timestamp when the order was canceled. | |
| UpdatedAt | Datetime | True |
The timestamp when the order was last updated. | |
| SendReceipt | Bool | False |
Whether an order confirmation email is sent to the customer. | |
| SendFulfillmentReceipt | Bool | False |
Whether a fulfillment confirmation email is sent to the customer. | |
| InventoryBehaviour | String | False |
Determines how inventory quantities are adjusted. Possible values: default, decrement_ignoring_policy, decrement_obeying_policy. The allowed values are default, decrement_ignoring_policy, decrementobeying_policy. | |
| Operation | String | False |
The operation applied to the order, such as Close, Open, or Cancel. The allowed values are Close, Open, Cancel. | |
| TotalShippingPriceSetShopMoneyAmount | Double | True |
The total shipping cost in shop currency. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
The currency of the shop for the total shipping cost. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
The total shipping cost in presentment currency. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
The total price in shop currency. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
The total price in presentment currency. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
The total tax in shop currency. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
The total tax in presentment currency. | |
| CheckoutId | Long | True |
The unique ID of the checkout session that created the order. | |
| CheckoutToken | String | True |
A unique token representing the checkout associated with the order. | |
| EstimatedTaxes | Bool | True |
Whether taxes for this order were estimated. | |
| Test | Bool | True |
Indicates whether this order was created in test mode. | |
| TotalOutstanding | Decimal | True |
The remaining balance still owed on the order. | |
| TotalTipReceived | Decimal | True |
The total tip amount included in the order. | |
| PresentmentCurrency | String | True |
The currency used for presenting amounts to the buyer. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | True |
The total line item price in shop currency. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | True |
The total line item price in presentment currency. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
The total discount amount in shop currency. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The total discount amount in presentment currency. | |
| TotalSubtotalSetShopMoneyAmount | Decimal | True |
The subtotal amount in shop currency. | |
| TotalSubtotalSetPresentmentMoneyAmount | Decimal | True |
The subtotal amount in presentment currency. | |
| OrigTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The original total additional fees in shop currency. | |
| OrigTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The original total additional fees in presentment currency. | |
| CurTotalDiscountsSetShopMoneyAmount | Decimal | True |
The current total discount amount in shop currency. | |
| CurTotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The current total discount amount in presentment currency. | |
| CurSubtotalPriceSetShopMoneyAmount | Decimal | True |
The current subtotal in shop currency. | |
| CurSubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
The current subtotal in presentment currency. | |
| CurrentTotalTaxSetShopMoneyAmount | Decimal | True |
The current total tax amount in shop currency. | |
| CurrentTotalTaxSetPresentmentMoneyAmount | Decimal | True |
The current total tax amount in presentment currency. | |
| CurTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The current total additional fees in shop currency. | |
| CurTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The current total additional fees in presentment currency. | |
| CurrentTotalPriceSetShopMoneyAmount | Decimal | True |
The current total price in shop currency. | |
| CurrentTotalPriceSetPresentmentMoneyAmount | Decimal | True |
The current total price in presentment currency. | |
| OriginalTotalDutiesSetShopMoneyAmount | Decimal | True |
The original total duties in shop currency. | |
| OriginalTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The original total duties in presentment currency. | |
| CurrentTotalDutiesSetShopMoneyAmount | Decimal | True |
The current total duties in shop currency. | |
| CurrentTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The current total duties in presentment currency. | |
| PaymentGatewayNames | String | True |
A list of payment gateway names used for processing the order. | |
| FulfillmentAggregate | String | True |
A JSON aggregate of fulfillments associated with this order. | |
| RefundAggregate | String | True |
A JSON aggregate of refunds associated with this order. | |
| ConfirmationNumber | String | True |
A randomly generated alphanumeric identifier sometimes displayed to customers instead of the sequential order name. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Status | String |
Specifies the order status filter. Possible values: open, closed, cancelled, any. Default: open. |
Tracks financial transactions for orders, such as authorizations, captures, refunds, and payment gateway responses.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the transaction. | |
| OrderId | Long | False |
Orders.Id |
The unique numeric identifier for the order associated with this transaction. |
| UserId | Long | True |
The unique numeric identifier for the user who processed or created the transaction. | |
| LocationId | Long | True |
The ID of the physical location where the transaction was processed. | |
| Amount | Decimal | False |
The monetary amount associated with the transaction. | |
| AmountRounding | Decimal | True |
The rounding adjustment for cash payments, applied to achieve the rounded transaction total. | |
| Authorization | String | False |
The authorization code returned by the payment provider for this transaction. | |
| Currency | String | False |
The three-letter ISO 4217 currency code used for the payment. | |
| DeviceId | String | True |
The unique identifier of the device used to process the transaction. | |
| Gateway | String | False |
The name of the payment gateway that processed the transaction. | |
| SourceName | String | True |
The origin of the transaction, such as web, POS, or app. | |
| Kind | String | False |
The type of transaction. The allowed values are authorization, capture, sale, void, refund. | |
| Message | String | True |
A message or note associated with the transaction, often provided by the gateway or system. | |
| ErrorCode | String | True |
A standardized error code returned by the payment provider, if applicable. | |
| Status | String | False |
The current status of the transaction (for example, success, pending, failed). | |
| Test | Bool | True |
Indicates whether this transaction is a test transaction. | |
| AVSResultCode | String | True |
The response code returned from the address verification system (AVS). | |
| CreditCardBin | String | True |
The issuer identification number (IIN), formerly known as the bank identification number (BIN). | |
| CVVResultCode | String | True |
The response code returned by the credit card provider for card verification value (CVV) validation. | |
| CreditCardNumber | String | True |
The customer's credit card number with all but the last four digits redacted. | |
| CreditCardCompany | String | True |
The name of the credit card company that issued the customer's card. | |
| CreatedAt | Datetime | True |
The date and time when the transaction record was created. | |
| PaymentsRefundsAttributesStatus | String | True |
The current status of a refund related to this transaction. The allowed values are pending, failure, success, error. | |
| PaymentsRefundsAttributesAcquirerReferenceNumber | String | True |
A unique acquirer reference number (ARN) used to track the refund through the payment network. | |
| PaymentId | String | True |
The unique identifier for the payment associated with the transaction. | |
| ProcessedAt | Datetime | True |
The date and time when the transaction was processed by the payment gateway. | |
| CreditCardName | String | True |
The cardholder's name as it appears on the credit card. | |
| CreditCardWallet | String | True |
The digital wallet used for the payment, if applicable (for example, Apple Pay or Google Pay). | |
| CreditCardExpMonth | Long | True |
The expiration month of the credit card. | |
| CreditCardExpYear | Long | True |
The expiration year of the credit card. | |
| Receipt | String | True |
A JSON aggregate containing receipt details or metadata associated with the transaction. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | True |
The shop currency amount of the unsettled balance for this transaction. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | True |
The presentment currency amount of the unsettled balance for this transaction. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| TransactionItemAmount | Decimal |
The transaction amount to use when inserting transactions into an order or refund. |
| TransactionItemGateway | String |
The payment gateway to use when inserting transactions into an order or refund. |
| TransActionItemKind | String |
The transaction type to use when inserting transactions into an order or refund. The allowed values are authorization, capture, sale, void, refund. |
| TransactionItemStatus | String |
The transaction status to use when inserting transactions into an order or refund. |
| TransactionItemParentId | String |
The ID of the parent transaction to use when inserting transactions into a refund. |
| TransactionItemSource | String |
The source or origin to associate with the transaction when inserting it into an order or refund. |
| UpdatedAt | Datetime |
The date and time when the transaction record was last updated. |
Contains static page content for the storefront, including title, body HTML, SEO fields, and publish state.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the page. | |
| AdminGraphqlApiId | String | True |
The Admin GraphQL API identifier for the page, used for cross-resource referencing. | |
| Author | String | False |
The name of the user or staff member who created the page. | |
| BodyHtml | String | False |
The HTML-formatted content of the page, including text and embedded markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the page was created. | |
| Handle | String | False |
A unique, human-readable string for the page, automatically generated from its title. Used in Liquid templates to reference the page. | |
| Metafields | String | False |
A JSON aggregate containing additional metadata associated with the page, such as custom app-specific fields. | |
| PublishedAt | Datetime | False |
The date and time (ISO 8601 format) when the page was published. Returns null if the page is hidden or unpublished. | |
| ShopId | Long | True |
The unique identifier for the shop that owns the page. | |
| TemplateSuffix | String | False |
The suffix of the Liquid template applied to the page. When blank, the default 'page.liquid' template is used. | |
| Title | String | False |
The title of the page, displayed as its heading in the storefront and admin. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the page was last modified. | |
| PublishedStatus | String | False |
Filters pages by publication status. The allowed values are published, unpublished, any. |
Defines discount conditions and benefits (fixed amount, percentage, or free shipping) that generate discount codes or automatic discounts.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the price rule. | |
| AllocationMethod | String | False |
Specifies how the discount amount is distributed. Valid values: each – applies the discount to each entitled item; across – applies the total discount across all entitled items. The allowed values are each, across. | |
| CustomerSelection | String | False |
Defines which customers are eligible for the price rule. Valid values: all – applies to all customers; prerequisite – applies only to customers in the specified saved searches or customer list. The allowed values are all, prerequisite. | |
| EntitledCollectionIds | String | False |
A comma-separated list of collection IDs whose products are eligible for the discount. Used only when TargetType is line_item and TargetSelection is entitled. Cannot be combined with EntitledProductIds or EntitledVariantIds. | |
| EntitledCountryIds | String | False |
A comma-separated list of country IDs whose shipping lines are eligible for the discount. Used only when TargetType is shipping_line and TargetSelection is entitled. | |
| EntitledProductIds | String | False |
A comma-separated list of product IDs eligible for the discount. Used only when TargetType is line_item and TargetSelection is entitled. | |
| EntitledVariantIds | String | False |
A comma-separated list of product variant IDs eligible for the discount. Used only when TargetType is line_item and TargetSelection is entitled. | |
| OncePerCustomer | Bool | False |
Indicates whether each customer can use the discount only once. Tracked using the customer ID. | |
| PrerequisiteCustomerIds | String | False |
A list of specific customer IDs who qualify for this price rule. Cannot be used together with PrerequisiteSavedSearchIds. | |
| PrerequisiteQuantityRange | String | False |
The minimum quantity required for the price rule to apply. Contains the property greater_than_or_equal_to defining the threshold. | |
| PrerequisiteSavedSearchIds | String | False |
A list of saved customer search IDs. Customers must be in one of these searches to qualify. Cannot be used with PrerequisiteCustomerIds. | |
| PrerequisiteShippingPriceRange | String | False |
The maximum shipping cost allowed for the price rule to apply. Contains the property less_than_or_equal_to defining the threshold. | |
| PrerequisiteSubtotalRange | String | False |
The minimum subtotal required for the price rule to apply. Contains the property greater_than_or_equal_to defining the threshold. | |
| TargetSelection | String | False |
Specifies which items the discount applies to. Valid values: all – applies to all eligible items; entitled – applies only to selected entitlements. | |
| TargetType | String | False |
Specifies what the discount applies to. Valid values: line_item – applies to cart line items; shipping_line – applies to shipping lines. | |
| UsageLimit | Int | False |
The maximum number of times the price rule can be used per discount code. | |
| PrerequisiteProductIds | String | False |
A list of product IDs required for a Buy X Get Y discount. Must be used with TargetType=line_item, TargetSelection=entitled, AllocationMethod=each, and a defined PrerequisiteToEntitlementQuantityRatio. | |
| PrerequisiteVariantIds | String | False |
A list of variant IDs required for a Buy X Get Y discount. Must be used with TargetType=line_item, TargetSelection=entitled, AllocationMethod=each, and a defined PrerequisiteToEntitlementQuantityRatio. | |
| PrerequisiteCollectionIds | String | False |
A list of collection IDs required for a Buy X Get Y discount. Cannot be combined with PrerequisiteProductIds or PrerequisiteVariantIds. | |
| Value | Decimal | False |
The discount amount or percentage represented as a negative number. If TargetType is shipping_line, only -100 is accepted. | |
| ValueType | String | False |
Specifies the discount type. Valid values: fixed_amount – applies a fixed currency discount; percentage – applies a percentage discount. If TargetType is shipping_line, only percentage is valid. | |
| PrerequisiteToEntitlementQuantityRatio | String | False |
Defines the Buy X Get Y ratio for applicable discounts. Specifies the number of items to buy (prerequisite_quantity) and the number offered (entitled_quantity). | |
| Images | String | False |
A list of image objects related to the product or rule. | |
| ProductType | String | False |
The category or classification of the product related to the rule, useful for filtering and searching. | |
| Options | String | True |
Custom property names associated with the product. | |
| PublishedScope | String | False |
Indicates where the product is published. Typically includes online store and Point of Sale channels. | |
| Tags | String | False |
Keywords or labels assigned for categorization. Separate multiple tags with commas. | |
| TemplateSuffix | String | True |
The suffix of the Liquid template being used for the product page. | |
| Title | String | False |
The display name or title of the price rule or related product. | |
| Vendor | String | False |
The name of the vendor associated with the product or rule. | |
| StartsAt | Datetime | False |
The date and time when the price rule becomes active. | |
| EndsAt | Datetime | False |
The date and time when the price rule expires. Must be later than StartsAt. | |
| PublishedAt | Datetime | True |
The date and time when the rule or product was published to the online store channel. | |
| CreatedAt | Datetime | True |
The date and time when the price rule was created. | |
| UpdatedAt | Datetime | True |
The date and time when the price rule was last modified. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Published | Bool |
Indicates whether the associated product is published (true) or hidden (false). |
| MetafieldsGlobalTitleTag | String |
An SEO-optimized title for the product or price rule. |
| MetafieldsGlobalDescriptionTag | String |
An SEO-optimized description for the product or price rule. |
Stores subscription billing records for apps, including plan details, trial periods, status, and recurring amounts.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The unique numeric identifier for the recurring application charge. | |
| Name | String | False |
The name or label assigned to the recurring application charge. | |
| ApiClientId | String | False |
The unique identifier of the API client that created the recurring application charge. | |
| Price | Decimal | False |
The recurring charge amount billed to the merchant. The maximum allowed value is 10,000. | |
| Status | String | False |
The current status of the recurring charge. Typical values include pending, active, cancelled, and expired. | |
| ReturnUrl | String | False |
The URL where the merchant is redirected after accepting the charge. | |
| BillingOn | Date | False |
The date when the customer is billed for the recurring charge. | |
| Test | String | False |
Indicates whether this is a test transaction. Valid values: true or null. | |
| CreatedAt | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was created. | |
| UpdatedAt | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was last updated. | |
| ActivatedOn | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was activated by the customer. | |
| CancelledOn | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was cancelled by the merchant. | |
| TrialDays | Int | False |
The number of free trial days the customer is eligible for before billing begins. | |
| TrialEndsOn | Datetime | False |
The date and time (ISO 8601 format) when the free trial period ends. | |
| DecoratedReturnUrl | String | False |
The return URL decorated with additional query parameters for context or validation after charge acceptance. | |
| CappedAmount | String | False |
The maximum amount the customer can be billed for usage-based charges within the billing period. Must be defined if usage-based billing is enabled. | |
| ConfirmationUrl | String | False |
The URL where the merchant is directed to accept or decline the recurring application charge. | |
| Terms | String | False |
The terms and conditions that describe the usage-based billing agreement. Required when CappedAmount is specified. |
Manages URL redirects for the storefront, mapping old paths to new destinations to preserve SEO and navigation.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique numeric identifier for the URL redirect. | |
| Path | String | False |
The original URL path that should be redirected. When a user visits this path, they are automatically redirected to the specified target location. | |
| Target | String | False |
The destination URL or path where visitors will be redirected. Can point to another page, product, or external site. |
Holds refund headers for orders, including totals, currency, refund reasons, and associated transactions.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique numeric identifier for the refund. | |
| OrderId | Long | False |
Orders.Id |
The unique numeric identifier for the order associated with this refund. |
| OrderUpdatedAt | Datetime | True |
Orders.UpdatedAt |
The date and time when the order associated with the refund was last updated. |
| Note | String | False |
An optional note added by the merchant to provide context about the refund. | |
| Restock | Bool | True |
Indicates whether the refunded line items were restocked in inventory. | |
| UserId | Long | True |
The unique numeric identifier of the user who created the refund. | |
| CreatedAt | Datetime | True |
The date and time when the refund was created. | |
| ProcessedAt | Datetime | True |
The date and time when the refund was processed or imported. | |
| LineAggregate | String | False |
A JSON aggregate that lists all line items included in the refund. | |
| OrderTransactionAggregate | String | False |
A JSON aggregate that contains all related transactions associated with the refund. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Notify | Bool |
Indicates whether a refund notification email should be sent to the customer. |
| DiscrepancyReason | String |
A comment explaining any difference between the calculated and actual refund amount. Possible values include 'restock', 'damage', 'customer', or 'other'. |
| ShippingAmount | Decimal |
The specific shipping amount to refund. This value overrides ShippingFullRefund when both are provided. |
| ShippingFullRefund | Bool |
Indicates whether the full remaining shipping cost should be refunded. |
Captures feedback about shop resources from apps, including issues and suggested actions for merchants.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
A unique numeric identifier for the resource feedback record. | |
| Type | String | False |
The type of resource for which feedback is provided, such as 'Shop' or 'Product'. | |
| State | String | False |
Indicates the current state of the resource from the app's perspective. The allowed values are requires_action, success. | |
| Messages | String | False |
A list of feedback messages or notes related to the resource status. | |
| CreatedAt | Datetime | False |
The date and time when the resource feedback record was first stored in Shopify, in ISO 8601 UTC format. | |
| UpdatedAt | Datetime | False |
The date and time when the resource feedback record was last updated in Shopify, in ISO 8601 UTC format. | |
| ResourceUpdatedAt | Datetime | False |
The date and time when the related resource was last updated, in ISO 8601 format. | |
| FeedbackGeneratedAt | Datetime | False |
The date and time when the feedback payload was generated. Used to determine whether incoming feedback is newer or outdated. Formatted in ISO 8601 UTC with milliseconds and time zone information. |
Stores client-side script tag registrations that inject JavaScript into storefront pages, with source URL and scope.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the script tag. | |
| Cache | Bool | False |
Indicates whether the Shopify CDN can cache and serve the script tag. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the script tag was created. | |
| DisplayScope | String | False |
Specifies the page or set of pages in the online store where the script should be included. The allowed values are online_store, order_status, all. | |
| Event | String | False |
The DOM event that triggers the loading of the script. Valid values: onload. | |
| Src | String | False |
The URL of the remote script to be included in the online store. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the script tag was last updated. |
Defines rule-based product collections that update automatically based on product conditions.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the smart collection. | |
| Title | String | False |
The display name of the smart collection, shown to customers. Maximum length: 255 characters. | |
| BodyHtml | String | False |
The description of the smart collection, formatted in HTML. This text commonly appears on the collection page in most shop themes. | |
| Image | String | False |
A JSON aggregate containing metadata for the smart collection's featured image, such as the image URL, dimensions, and alt text. | |
| Rules | String | False |
A JSON aggregate defining the set of rules that determine which products are automatically included in the smart collection. Valid rule fields include: column (tag, title, type, vendor, variant_price, variant_compare_at_price, variant_weight, variant_inventory, variant_title), relation (equals, greater_than, less_than, starts_with, ends_with, contains), and condition (a user-defined string). | |
| Handle | String | False |
A unique, human-readable string automatically generated from the collection title. Used in Liquid templates to reference the collection by its handle. Maximum length: 255 characters. | |
| Disjunctive | Bool | False |
Indicates whether products need to match any or all of the defined rules to be included. Valid values: true – a product must match one or more rules; false – a product must match all rules. | |
| SortOrder | String | False |
Specifies how products in the smart collection are sorted. Common values include 'alpha-asc', 'alpha-desc', 'best-selling', 'created', 'manual', 'price-asc', 'price-desc'. | |
| TemplateSuffix | String | False |
The suffix of the Liquid template used for rendering this collection. For example, if 'special' is set, Shopify uses 'collection.special.liquid' instead of the default 'collection.liquid'. | |
| PublishedScope | String | False |
Specifies where the collection is published. Valid values: web – published to online channels only; global – published to both online channels and the Point of Sale channel. | |
| UpdatedAt | Datetime | True |
The date and time when the smart collection was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the smart collection was published. Returns null if the collection is hidden or unpublished. | |
| ProductId | String | True |
A filter parameter used to return only smart collections that include a specific product ID. | |
| PublishedStatus | String | True |
Filters smart collections by publication status. Valid values: published – only published collections; unpublished – only unpublished collections; any – all collections (default: any). The allowed values are published, unpublished, any. |
Contains theme packages installed on the shop, including roles (main, unpublished) and asset references.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the theme. | |
| AdminGraphqlApiId | String | True |
The Admin GraphQL API identifier for the theme, used when accessing theme data through Shopify's GraphQL API. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the theme was created. | |
| Name | String | False |
The display name of the theme as shown in the Shopify admin. | |
| Previewable | Bool | True |
Indicates whether the theme can currently be previewed in the store before publishing. | |
| Processing | Bool | True |
Indicates whether theme files are still being processed or copied into place. A value of true means the theme setup is not yet complete. | |
| Role | String | False |
Specifies how the theme is used within the shop. Valid values include 'main' for the live theme, 'unpublished' for inactive themes, and 'demo' for test or development themes. The allowed values are main, published, demo. | |
| ThemeStoreId | Long | True |
The unique identifier assigned to themes created and distributed through the Shopify Theme Store. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the theme was last updated. |
Records metered usage charges billed against a recurring application charge, with amount, currency, and billing period.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The unique numeric identifier for the usage charge. | |
| Description | String | False |
A brief description of the usage charge, typically indicating what the charge applies to. | |
| Price | Decimal | False |
The amount billed for this specific usage charge. | |
| CreatedAt | Datetime | False |
The date and time (ISO 8601 format) when the usage charge was created. | |
| BalanceUsed | Decimal | False |
The total balance that has been used by the merchant under this recurring charge. | |
| BalanceRemaining | Decimal | False |
The remaining balance available before reaching the capped limit defined in the recurring charge. | |
| RiskLevel | Int | False |
An integer value indicating the assessed risk level of the charge. | |
| RecurringApplicationId | Long | False |
The unique identifier of the recurring application charge associated with this usage charge. |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| AbandonedCheckouts | Retrieves information on customer checkouts that were started but not completed, useful for tracking cart abandonment and follow-up marketing. |
| AbandonedCheckoutsItems | Provides item-level details from abandoned checkouts, including product, quantity, and price data. |
| AssignedFulfillmentOrders | Lists fulfillment orders currently assigned to a given app or fulfillment service within a store. |
| DiscountApplications | Displays discount applications applied to an order or draft order, including type and allocation details. |
| DraftOrderItemProperties | Lists custom property key-value pairs attached to draft order line items. |
| DraftOrderItems | Shows line items included in draft orders, with product, quantity, and pricing details. |
| DraftOrderItemTaxLines | Displays tax breakdowns applied to individual draft order line items. |
| Events | Retrieves store event logs such as updates, deletions, and order activities for audit or monitoring. |
| FulfillmentOrderLineItems | Provides details about line items tied to fulfillment orders, including quantities and SKUs. |
| FulfillmentOrders | Retrieves fulfillment order records, representing items to be shipped from a specific location. |
| Locations | Retrieves store locations used for inventory and fulfillment, including address, active status, and assignment capabilities. |
| NoteAttributes | Exposes custom note attributes linked to orders or draft orders as key–value pairs for workflow and reporting. |
| OrderDiscountCodes | Lists discount codes applied to orders, including the code, source price rule, and allocation details. |
| OrderItemDiscountAllocations | Breaks down how discounts are allocated to individual line items, including amounts and discount application references. |
| OrderItemProperties | Shows custom properties (options) attached to order line items, useful for personalization and configuration. |
| OrdersItems | Provides item-level order details, including variant, quantity, pricing, discounts, and fulfillment status. |
| Payouts | Lists Shopify Payments payouts with amounts, currencies, statuses, and payout dates for reconciliation. |
| PayoutTransactions | Shows balance transactions within each payout, ordered by processing time for accounting drilldowns. |
| PayoutTransactionsAdjustmentOrderTransactions | Links balance adjustments in payouts back to the originating order transactions for traceability. |
| RefundAdjustments | Details non-item refund adjustments, such as shipping or custom amounts, applied during a refund. |
| RefundsItems | Lists refunded line items with quantities, amounts, duties, and restock instructions. |
| RefundTransactions | Displays transactions generated by refunds, including gateway messages and net amounts. |
| ShippingItemDiscountAllocations | Breaks out discount amounts allocated to shipping lines on orders. |
| ShippingItems | Provides per-order shipping line details, including title, price, discounts, and requested delivery info. |
| ShippingZones | Lists shipping zones with associated countries, provinces, and shipping rate groupings. |
| Shop | Exposes shop-level settings and identifiers, such as domain, currency, locale, and plan information. |
| TaxItems | Displays tax lines applied to orders or line items, including rate, title, and calculated tax amounts. |
| Users | Retrieves information about store users, including names, contact details, and account permissions. |
Retrieves information on customer checkouts that were started but not completed, useful for tracking cart abandonment and follow-up marketing.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the abandoned checkout. | |
| AbandonedCheckoutUrl | String | A full recovery link that can be sent to the customer to resume and complete their abandoned checkout. | |
| BuyerAcceptsMarketing | Bool | Indicates whether the customer who initiated the checkout agreed to receive marketing communications from the store. | |
| CancelReason | String | Specifies the reason the checkout or order was cancelled, if applicable. | |
| CustomerId | Long |
Customers.Id | A unique numeric identifier for the customer who initiated the checkout. |
| DiscountCodes | String | Any discount codes that were applied or could be applied to the checkout. | |
| String | The email address of the customer who started the checkout. | ||
| Note | String | An optional note left by the customer or added by the shop owner regarding the checkout. | |
| SubtotalPrice | Decimal | The total price of all items in the checkout before shipping and taxes. | |
| TotalDiscounts | Decimal | The combined total value of all discounts applied to the checkout. | |
| TotalLineItemsPrice | Decimal | The sum of prices for all line items before taxes, discounts, or shipping charges. | |
| TotalPrice | Decimal | The final total of the checkout, including items, taxes, shipping, and applied discounts. | |
| TotalTax | Decimal | The total amount of tax applied to the checkout. | |
| TaxesIncluded | Bool | Indicates whether taxes are included in the subtotal price. | |
| BillingAddressFirstName | String | The first name of the customer associated with the billing address. | |
| BillingAddressLastName | String | The last name of the customer associated with the billing address. | |
| BillingAddressAdress1 | String | The primary street address line for the billing address. | |
| BillingAddressAdress2 | String | An optional second line for the billing address, such as an apartment or suite number. | |
| BillingAddressPhone | String | The phone number associated with the billing address. | |
| BillingAddressCity | String | The city for the billing address. | |
| BillingAddressCompany | String | The company name listed on the billing address, if provided. | |
| BillingAddressZip | String | The postal or ZIP code for the billing address. | |
| BillingAddressProvince | String | The state or province for the billing address. | |
| BillingAddressCountry | String | The country name for the billing address. | |
| BillingAddressLatitude | Double | The latitude coordinate for the billing address. | |
| BillingAddressLongitude | Double | The longitude coordinate for the billing address. | |
| BillingAddressName | String | The full name of the person listed on the billing address. | |
| BillingAddressCountryCode | String | The two-letter ISO country code for the billing address. | |
| BillingAddressProvinceCode | String | The two-letter state or province abbreviation for the billing address. | |
| BillingAddressDefault | Bool | Indicates whether this is the customer's default billing address. | |
| ShippingAddressFirstName | String | The first name of the customer associated with the shipping address. | |
| ShippingAddressLastName | String | The last name of the customer associated with the shipping address. | |
| ShippingAddressAdress1 | String | The primary street address line for the shipping address. | |
| ShippingAddressAdress2 | String | An optional second line for the shipping address, such as an apartment or suite number. | |
| ShippingAddressPhone | String | The phone number associated with the shipping address. | |
| ShippingAddressCity | String | The city for the shipping address. | |
| ShippingAddressCompany | String | The company name listed on the shipping address, if provided. | |
| ShippingAddressZip | String | The postal or ZIP code for the shipping address. | |
| ShippingAddressProvince | String | The state or province for the shipping address. | |
| ShippingAddressCountry | String | The country name for the shipping address. | |
| ShippingAddressLatitude | Double | The latitude coordinate for the shipping address. | |
| ShippingAddressLongitude | Double | The longitude coordinate for the shipping address. | |
| ShippingAddressName | String | The full name of the person listed on the shipping address. | |
| ShippingAddressCountryCode | String | The two-letter ISO country code for the shipping address. | |
| ShippingAddressProvinceCode | String | The two-letter state or province abbreviation for the shipping address. | |
| ShippingAddressDefault | Bool | Indicates whether this is the customer's default shipping address. | |
| CompletedAt | Datetime | The date and time when the checkout was successfully completed and converted into an order. | |
| CreatedAt | Datetime | The date and time when the checkout was first created. | |
| UpdatedAt | Datetime | The date and time when the checkout was last updated. |
Provides item-level details from abandoned checkouts, including product, quantity, and price data.
| Name | Type | References | Description |
| AbandonedCheckoutId [KEY] | Long | A unique numeric identifier for the abandoned checkout that the item belongs to. | |
| ProductId [KEY] | Long | The unique numeric identifier for the product associated with this checkout item. | |
| ItemVariantId [KEY] | Long | The unique numeric identifier for the specific product variant included in the checkout. | |
| ItemTitle | String | The title of the product as it appeared in the checkout. | |
| ItemQuantity | Int | The number of units of the product included in the checkout. | |
| ItemPrice | Decimal | The unit price of the product in the store's presentment currency. | |
| SKU | String | A unique stock keeping unit (SKU) used to identify the item in the shop's inventory. | |
| VariantTitle | String | The name or option title of the selected product variant. | |
| Vendor | String | The name of the vendor or supplier that provides the product. | |
| CreatedAt | Datetime | The date and time when the abandoned checkout was created. | |
| UpdatedAt | Datetime | The date and time when the abandoned checkout was last modified. |
Lists fulfillment orders currently assigned to a given app or fulfillment service within a store.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the fulfillment order. | |
| ShopId | Long |
Shop.Id | The unique numeric identifier of the shop associated with the fulfillment order. |
| OrderId | Long |
Orders.Id | The unique numeric identifier of the order linked to this fulfillment order. |
| AssignedLocationId | Long | The unique numeric identifier of the location assigned to fulfill the order. | |
| FulfillmentServiceHandle | String | A unique identifier representing the fulfillment service responsible for processing the order. | |
| RequestStatus | String | The current request status of the fulfillment, such as open, in progress, or completed. | |
| DestinationId | String | A globally unique identifier for the fulfillment destination. | |
| DestinationAddress1 | String | The first line of the destination address where items will be shipped. | |
| DestinationAddress2 | String | The second line of the destination address, such as apartment or suite number. | |
| DestinationCity | String | The city portion of the destination address. | |
| DestinationCompany | String | The company name associated with the fulfillment destination, if applicable. | |
| DestinationFirstName | String | The first name of the recipient at the destination address. | |
| DestinationLastName | String | The last name of the recipient at the destination address. | |
| DestinationPhone | String | The phone number of the recipient at the destination address. | |
| LineItems | String | A list of line items included in the fulfillment order, detailing the products being shipped. | |
| Status | String | The overall status of the fulfillment order, such as open, completed, or canceled. | |
| Operation | String | Specifies the action to be applied to the fulfillment order.
The allowed values are Complete, Open, Cancel. | |
| DeliveryMethodId | Long | The unique identifier for the delivery method selected during checkout. | |
| DeliveryMethodPresentedName | String | The name of the delivery option presented to the buyer at checkout. | |
| DeliveryMethodType | String | The type of delivery method used, such as standard shipping, local delivery, or pickup. |
Displays discount applications applied to an order or draft order, including type and allocation details.
| Name | Type | References | Description |
| OrderId | Long |
Orders.Id | The unique numeric identifier of the order that the discount application belongs to. |
| OrderUpdatedAt | Datetime | The date and time when the associated order was last updated. | |
| Type | String | The type of discount application. Possible values include manual, discount_code, or script for automatic discounts. | |
| Title | String | The display name or title of the discount, as shown to the customer at checkout. | |
| Description | String | A descriptive label or explanation of the discount application, if provided. | |
| Value | String | The value of the discount. This can represent either a fixed amount or a percentage, depending on the value type. | |
| ValueType | String | Indicates whether the discount value represents a fixed amount or a percentage. Valid values: fixed_amount or percentage. | |
| AllocationMethod | String | Specifies how the discount value is allocated to the order. Valid values: across (applies across all line items) or each (applies per item). | |
| TargetSelection | String | Defines the scope of items the discount applies to. Valid values: all, entitled, or explicit. | |
| TargetType | String | Indicates whether the discount targets line items or shipping costs. Valid values: line_item or shipping_line. |
Lists custom property key-value pairs attached to draft order line items.
| Name | Type | References | Description |
| ItemId | Long |
DraftOrderItems.ItemId | The unique numeric identifier of the draft order line item associated with this property. |
| DraftOrderId | Long |
DraftOrders.Id | The unique numeric identifier of the draft order that the line item belongs to. |
| Name | String | The name of the custom property or option applied to the draft order line item. | |
| Value | String | The value assigned to the custom property or option for the draft order line item. |
Shows line items included in draft orders, with product, quantity, and pricing details.
| Name | Type | References | Description |
| ItemId [KEY] | Long | The unique numeric identifier of the draft order line item. | |
| DraftOrderId | Long |
DraftOrders.Id | The unique numeric identifier of the draft order associated with this line item. |
| ProductId | Long | The unique numeric identifier of the product corresponding to this line item's variant. | |
| Custom | Bool | Indicates whether this line item is custom (manually added) or linked to a product variant. | |
| FulfillableQuantity | Int | The number of units from this line item that are available for fulfillment. | |
| FulFillmentsService | String | The service provider or fulfillment method responsible for fulfilling this line item. | |
| ItemGrams | Int | The weight of the line item in grams, used for shipping and fulfillment calculations. | |
| ItemPrice | Decimal | The unit price of the item before applying any discounts. | |
| ItemQuantity | Int | The quantity of this product or variant included in the draft order. | |
| RequiresShipping | Bool | Indicates whether the line item requires physical shipping. | |
| SKU | String | The unique stock keeping unit (SKU) assigned to the product variant. | |
| ItemTitle | String | The title of the product or variant at the time the draft order was created. | |
| ItemVariantId | Long | The unique numeric identifier of the product variant associated with this line item. | |
| VariantTitle | String | The display title of the product variant as it appears in the draft order. | |
| Vendor | String | The name of the vendor or supplier for this product. | |
| Name | String | The concatenated name of the product and variant (for example, 'T-Shirt - Large / Blue'). | |
| GiftCard | Bool | Indicates whether this line item represents a gift card purchase. | |
| Properties | String | A JSON aggregate listing any custom properties or buyer notes associated with the line item. | |
| Taxable | Bool | Indicates whether the item is subject to tax. | |
| TaxLines | String | A JSON aggregate detailing the applicable tax lines for this line item. | |
| AppliedDiscountTitle | String | The title of the discount applied to this line item. Available only for draft orders. | |
| AppliedDiscountDescription | String | A description of the discount applied to this line item. Available only for draft orders. | |
| AppliedDiscountValue | Decimal | The numerical value of the discount applied to this line item. Available only for draft orders. | |
| AppliedDiscountValueType | String | The type of discount value applied (for example, 'percentage' or 'fixed_amount'). Available only for draft orders. | |
| AppliedDiscountAmount | Decimal | The total discounted amount applied to this line item. Available only for draft orders. |
Displays tax breakdowns applied to individual draft order line items.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | The unique numeric identifier for the tax line record. | |
| ItemId | Long |
DraftOrderItems.ItemId | The unique numeric identifier of the draft order line item associated with this tax line. |
| DraftOrderId | Long |
DraftOrders.Id | The unique numeric identifier of the draft order containing this tax line. |
| TaxTitle | String | The name or label of the tax applied to the draft order item (for example, 'State Tax' or 'VAT'). | |
| TaxRate | Decimal | The tax rate applied to the line item, represented as a decimal value (for example, 0.07 for 7%). | |
| TaxPrice | Decimal | The total tax amount calculated for the line item, based on the applicable rate and price. |
Retrieves store event logs such as updates, deletions, and order activities for audit or monitoring.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the event. | |
| Description | String | A concise, human-readable summary of the event. | |
| Message | String | A detailed, human-readable message describing the event. May contain limited HTML formatting for display purposes. | |
| Body | String | A text field containing the full content or payload details associated with the event. | |
| Path | String | A relative URL path to the resource associated with the event, if applicable. | |
| SubjectId | Long | The unique identifier of the resource that triggered the event. | |
| SubjectType | String | The type of resource that generated the event. Valid values include: 'Article', 'Blog', 'Collection', 'Comment', 'Order', 'Page', 'Product', and 'ApiPermission'. | |
| Verb | String | The specific action or operation that occurred, describing the nature of the event (for example, 'create', 'update', or 'delete'). | |
| Author | String | The name or identifier of the entity (user, app, or system) that generated the event. | |
| Arguments | String | Additional contextual parameters or related resource details associated with the event. | |
| CreatedAt | Datetime | The date and time when the event was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| OrderId | Long | The ID of the order used to retrieve related events. |
Provides details about line items tied to fulfillment orders, including quantities and SKUs.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the fulfillment order line item. | |
| ShopId | Long |
Shop.Id | The unique numeric identifier for the shop associated with this fulfillment order line item. |
| FulfillmentOrderId | Long | The unique numeric identifier for the fulfillment order that includes this line item. | |
| OrderId | Long |
Orders.Id | The unique numeric identifier for the order linked to this fulfillment order line item. |
| LineItemId | Long |
OrdersItems.ItemId | The unique numeric identifier for the original order line item associated with this fulfillment order line item. |
| InventoryItemId | Long | The unique numeric identifier for the inventory item tied to this fulfillment order line item. | |
| Quantity | Int | The total number of item units assigned to be fulfilled. | |
| FulfillableQuantity | Int | The number of item units still awaiting fulfillment. | |
| VariantId | Long | The unique numeric identifier for the product variant associated with this fulfillment order line item. | |
| FinancialSummaries | String | A JSON aggregate containing financial summary details for this line item, such as pricing, discounts, and tax amounts. |
Retrieves fulfillment order records, representing items to be shipped from a specific location.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the fulfillment order. | |
| ShopId | Long |
Shop.Id | The unique numeric identifier for the shop associated with this fulfillment order. |
| OrderId [KEY] | Long |
Orders.Id | The unique numeric identifier for the order linked to this fulfillment order. |
| AssignedLocationId | Long | The unique numeric identifier for the location assigned to fulfill this order. | |
| DestinationId | String | The unique identifier for the fulfillment order destination. | |
| DestinationAddress1 | String | The first line of the destination address, typically the street address or PO box. | |
| DestinationAddress2 | String | The second line of the destination address, often used for apartment, suite, or unit numbers. | |
| DestinationCity | String | The city portion of the destination address. | |
| DestinationCompany | String | The company name associated with the destination address, if applicable. | |
| DestinationFirstName | String | The first name of the recipient at the destination address. | |
| DestinationLastName | String | The last name of the recipient at the destination address. | |
| DestinationPhone | String | The phone number associated with the destination address. | |
| FullfillAt | Datetime | The date and time (in UTC) when the fulfillment order becomes ready for fulfillment. | |
| LineItems | String | A JSON aggregate containing all line items included in this fulfillment order. | |
| RequestStatus | String | The current state of the fulfillment request, such as 'open', 'in_progress', or 'completed'. | |
| Status | String | The overall status of the fulfillment order, indicating its progress or completion state. | |
| SupportedActions | String | The set of actions that can currently be performed on this fulfillment order, such as 'cancel', 'hold', or 'fulfill'. | |
| MerchantRequests | String | A list of requests sent by the merchant to the fulfillment service related to this fulfillment order. | |
| FulfillmentHolds | String | Information about any holds or restrictions currently applied to the fulfillment order. | |
| InternationalDuties | String | Details about international duties or import fees associated with this fulfillment order. | |
| AssignedLocationAddress1 | String | The first line of the address for the assigned fulfillment location. | |
| AssignedLocationAddress2 | String | An optional second line for the assigned fulfillment location address, such as suite or unit number. | |
| AssignedLocationCity | String | The city where the assigned fulfillment location is situated. | |
| AssignedLocationCountryCode | String | The two-letter ISO 3166-1 alpha-2 country code of the assigned location. | |
| AssignedLocationName | String | The name of the assigned fulfillment location. | |
| AssignedLocationPhone | String | The phone number of the assigned fulfillment location. | |
| DeliveryMethodId | Long | The unique identifier for the delivery option chosen by the buyer during checkout. | |
| DeliveryMethodPresentedName | String | The display name of the delivery option shown to the buyer during checkout. | |
| DeliveryMethodType | String | The type of delivery method used, such as 'standard', 'express', or 'pickup'. |
Retrieves store locations used for inventory and fulfillment, including address, active status, and assignment capabilities.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the location. | |
| Name | String | The name assigned to the location. | |
| Legacy | Bool | Indicates whether the location is managed by a fulfillment service. A value of true means it is a fulfillment service location; false means it was created by the merchant and is not tied to a fulfillment service. | |
| Address1 | String | The first line of the street address for the location. | |
| Address2 | String | An optional second line of the street address for the location. | |
| City | String | The city where the location is situated. | |
| Zip | String | The postal or ZIP code of the location. | |
| Province | String | The state or province where the location is situated. | |
| Country | String | The full name of the country where the location is situated. | |
| Phone | String | The phone number associated with the location. May include symbols such as '-' or '+'. | |
| CountryCode | String | The two-letter ISO 3166-1 alpha-2 country code representing the country of the location. | |
| CountryName | String | The standardized country name corresponding to the location's country code. | |
| CreatedAt | Datetime | The date and time when the location record was created. | |
| UpdatedAt | Datetime | The date and time when the location record was last updated. | |
| DeletedAt | Datetime | The date and time when the location record was deleted, if applicable. |
Exposes custom note attributes linked to orders or draft orders as key–value pairs for workflow and reporting.
| Name | Type | References | Description |
| OrderId | Long |
Orders.Id | The unique numeric identifier of the order associated with this note attribute. |
| OrderUpdatedAt | Datetime | The date and time when the order containing this note attribute was last updated. | |
| Name | String | The name or key of the note attribute, representing a custom label or field defined by the merchant or app. | |
| Value | String | The value assigned to the note attribute, typically used to capture custom information about the order (for example, gift message, delivery instructions, or internal notes). |
Lists discount codes applied to orders, including the code, source price rule, and allocation details.
| Name | Type | References | Description |
| OrderId [KEY] | Long |
Orders.Id | The unique numeric identifier of the order to which the discount code was applied. |
| OrderUpdatedAt | Datetime | The date and time when the order containing the discount code was last updated. | |
| Code [KEY] | String | The discount code entered by the customer at checkout. This value is case-insensitive. | |
| Amount | String | The total discount amount applied to the order as a result of this code. | |
| Type | String | The type of discount represented by the code, such as percentage, fixed_amount, or shipping. |
Breaks down how discounts are allocated to individual line items, including amounts and discount application references.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the record within the table. | |
| ItemId | Long |
OrdersItems.ItemId | The unique identifier of the line item to which the discount allocation applies. Available only for finalized orders. |
| OrderId | Long |
Orders.Id | The unique identifier of the order that contains the discounted line item. |
| amount | String | The total discount amount applied to the line item across all discount applications, represented as a string for precision consistency. | |
| ApplicationIndex | Int | Indicates the position or sequence of the discount application when multiple discounts are applied to the same item. | |
| ShopMoneyAmount | Decimal | The monetary value of the discount allocation in the shop's base currency. | |
| ShopMoneyCurrencyCode | String | The three-letter ISO 4217 currency code representing the shop's base currency for this discount allocation. | |
| PresentmentMoneyAmount | Decimal | The monetary value of the discount allocation in the customer's presentment (display) currency. | |
| PresentmentMoneyCurrencyCode | String | The three-letter ISO 4217 currency code representing the customer's presentment currency for this discount allocation. | |
| OrderUpdatedAt | Datetime | The date and time when the order, including this discount allocation, was last updated. |
Shows custom properties (options) attached to order line items, useful for personalization and configuration.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the record within the table. | |
| ItemId | Long |
OrdersItems.ItemId | The unique identifier of the order line item that this property is associated with. Available only for finalized orders. |
| OrderId | Long |
Orders.Id | The unique identifier of the order that contains the line item. |
| Name | String | The name of the custom property or option applied to the line item, such as personalization details or customization fields entered by the buyer. | |
| Value | String | The value assigned to the custom property or option, reflecting the specific input or choice made by the buyer. | |
| OrderUpdatedAt | Datetime | The date and time when the order containing this line item property was last updated. |
Provides item-level order details, including variant, quantity, pricing, discounts, and fulfillment status.
| Name | Type | References | Description |
| ItemId [KEY] | Long | The unique numeric identifier for the order item. Available only for orders. | |
| OrderId | Long |
Orders.Id | The unique numeric identifier for the order associated with this item. |
| OrderUpdatedAt | Datetime | The date and time when the order containing this item was last modified. | |
| ProductId | Long | The unique numeric identifier for the product associated with this order item. | |
| ItemVariantId | Long | The unique numeric identifier for the product variant associated with this item. | |
| ItemTitle | String | The title of the product associated with this order item. | |
| Name | String | The name of the product variant for this item. | |
| ItemQuantity | Int | The quantity of this product purchased in the order. | |
| ItemPrice | Decimal | The unit price of the item before any discounts are applied. | |
| ItemGrams | Int | The weight of the item in grams, used for shipping calculations. | |
| SKU | String | A unique stock keeping unit (SKU) identifier for the item in the order. | |
| VariantTitle | String | The title of the specific product variant for this order item. | |
| Properties | String | A JSON aggregate of custom properties or options associated with this order item. | |
| Vendor | String | The supplier or vendor associated with this item. | |
| FulFillmentsService | String | The fulfillment service provider responsible for fulfilling this item. | |
| RequiresShipping | Bool | Indicates whether this item requires physical shipping. | |
| Taxable | Bool | Indicates whether this item is subject to sales tax. | |
| GiftCard | Bool | Indicates whether this item represents a gift card product. | |
| CurrentQuantity | Int | The current quantity of this line item after any updates or removals. | |
| FulfillableQuantity | Int | The number of units remaining that can still be fulfilled for this item. | |
| TotalDiscount | Decimal | The total discount amount applied to this individual line item. | |
| FulfillmentStatus | String | The current fulfillment status of the order item, indicating how much of the item has been fulfilled. | |
| AppliedDiscountTitle | String | The title of any discount applied to this order item. Available only for draft orders. | |
| AppliedDiscountDescription | String | A brief description of the applied discount for this order item. Available only for draft orders. | |
| AppliedDiscountValue | Decimal | The numeric value of the applied discount for this order item. Available only for draft orders. | |
| AppliedDiscountValueType | String | The type of discount applied to this order item (for example, percentage or fixed amount). Available only for draft orders. | |
| AppliedDiscountAmount | Decimal | The total monetary amount discounted for this order item. Available only for draft orders. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Type | String | Specifies the source type of the order item.
The allowed values are Order, DraftOrder, AbandonedCheckout. | |
| Status | String | Filters the order item by order status. Valid values: open (only open orders), closed (only closed orders), cancelled (only canceled orders), or any (orders of any status). Default: open. |
Lists Shopify Payments payouts with amounts, currencies, statuses, and payout dates for reconciliation.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the payout. | |
| Status | String | The current status of the payout transfer. Indicates whether the payout is scheduled, in transit, paid, or failed. | |
| Currency | String | The three-letter ISO 4217 currency code representing the payout's currency. | |
| Amount | Decimal | The total payout amount, expressed as a decimal value in the payout currency. | |
| Date | Datetime | The date and time (ISO 8601 format) when the payout was issued to the merchant's account. |
Shows balance transactions within each payout, ordered by processing time for accounting drilldowns.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the payout transaction. | |
| Type | String | The type of balance transaction, such as charge, refund, adjustment, or payout. | |
| Test | Bool | Indicates whether the transaction was generated in test mode for an order or payment. | |
| PayoutId | Long |
Payouts.Id | The unique identifier of the payout that includes this transaction. |
| PayoutStatus | String | The current status of the payout containing this transaction. Returns pending if the transaction has not yet been included in a payout. | |
| Currency | String | The three-letter ISO 4217 currency code representing the currency of the transaction. | |
| Amount | Decimal | The gross amount of the transaction before any fees, expressed as a decimal value in the transaction currency. | |
| Fee | Decimal | The total fee amount deducted from the transaction, expressed in the same currency. | |
| Net | Decimal | The final amount of the transaction after fees have been deducted. | |
| SourceId | Long | The unique identifier of the originating resource that generated the transaction, such as an order or refund. | |
| SourceType | String | The type of resource that led to the transaction, such as order, refund, or adjustment. | |
| SourceOrderTransactionId | String | The ID of the specific order transaction that resulted in this payout transaction. | |
| SourceOrderId | String | The ID of the order from which this payout transaction originated. | |
| ProcessedAt | Datetime | The date and time (ISO 8601 format) when the transaction was processed. | |
| AdjustmentReason | String | The explanation for why an adjustment was applied to this transaction, if applicable. |
Links balance adjustments in payouts back to the originating order transactions for traceability.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the order transaction affected by the payout adjustment. | |
| PayoutTransactionId | Long | The unique numeric identifier of the payout transaction associated with this order adjustment. | |
| Amount | Decimal | The monetary amount adjusted for this order transaction, expressed as a decimal value. | |
| OrderId | Long | The unique numeric identifier of the order linked to the adjusted transaction. | |
| OrderName | String | The human-readable name or number assigned to the order linked to the adjusted transaction. |
Details non-item refund adjustments, such as shipping or custom amounts, applied during a refund.
| Name | Type | References | Description |
| Id [KEY] | Long | The unique numeric identifier for the refund adjustment. | |
| OrderId | Long |
Orders.Id | The unique numeric identifier for the order associated with the refund adjustment. |
| RefundId | Long |
Refunds.Id | The unique numeric identifier for the refund that this adjustment is linked to. |
| Amount | Decimal | The difference between the calculated refund and the actual refund amount issued to the customer. | |
| TaxAmount | Decimal | The portion of taxes applied to the adjustment amount, such as taxes on refunded shipping charges. | |
| Kind | String | The type of adjustment applied to the refund (for example, shipping refund or price correction). | |
| Reason | String | A short explanation of why the adjustment was made. | |
| AmountShopMoney | Decimal | The adjustment amount in the shop's default currency. | |
| AmountShopCurrency | String | The currency code of the shop's default currency for this adjustment. | |
| AmountPresentmentMoney | Decimal | The adjustment amount in the customer's presentment currency. | |
| AmountPresentmentCurrency | String | The currency code of the customer's presentment currency for this adjustment. | |
| TaxAmountShopMoney | Decimal | The tax portion of the adjustment amount in the shop's default currency. | |
| TaxAmountShopCurrency | String | The currency code of the shop's default currency for the tax portion of the adjustment. | |
| TaxAmountPresentmentMoney | Decimal | The tax portion of the adjustment amount in the customer's presentment currency. | |
| TaxAmountPresentmentCurrency | String | The currency code of the customer's presentment currency for the tax portion of the adjustment. |
Lists refunded line items with quantities, amounts, duties, and restock instructions.
| Name | Type | References | Description |
| ItemId [KEY] | Long |
OrdersItems.ItemId | The unique numeric identifier for the order item associated with the refund. Available only for orders. |
| OrderID [KEY] | Long |
Orders.Id | The unique numeric identifier for the order related to this refund item. |
| RefundId [KEY] | Long |
Refunds.Id | The unique numeric identifier for the refund that this refunded item belongs to. |
| LocationId | Long | The unique identifier of the physical location associated with the refunded item. | |
| ProductId | Long | The unique numeric identifier for the product associated with this order item. | |
| ItemVariantId | Long | The unique numeric identifier for the product variant associated with this item. | |
| ItemTitle | String | The title of the product. | |
| Name | String | The name of the product variant. | |
| ItemQuantity | Int | The total quantity of this item originally purchased in the order. | |
| ItemPrice | Decimal | The price of the item before any discounts were applied. | |
| ItemGrams | Int | The weight of the item in grams. | |
| SKU | String | A unique identifier assigned to the item for inventory tracking purposes. | |
| VariantTitle | String | The title of the product variant. | |
| Properties | String | A JSON object showing any custom properties associated with this order item. | |
| Vendor | String | The name of the product vendor or supplier. | |
| FulFillmentsService | String | The name of the fulfillment service responsible for processing this item. | |
| RequiresShipping | Bool | Indicates whether this item requires shipping for fulfillment. | |
| Taxable | Bool | Indicates whether the item is subject to tax. | |
| GiftCard | Bool | Indicates whether the refunded item was a gift card product. | |
| FulfillableQuantity | Int | The number of units still available to fulfill for this item. | |
| TotalDiscount | Decimal | The total discount amount applied to this item before refund. | |
| FulfillmentStatus | String | Indicates the fulfillment progress of this order item. | |
| RefundSubtotal | Decimal | The subtotal amount refunded for this item, calculated as ItemPrice multiplied by RefundQuantity. | |
| RefundQuantity | Int | The quantity of this item that was refunded. | |
| RefundRestockType | String | The restock action applied to the refunded item (for example, 'return', 'cancel', or 'none'). | |
| RefundSubtotalPresentmentAmount | Decimal | The refunded subtotal amount in presentment currency. | |
| RefundSubtotalPresentmentCurrencyCode | String | The ISO 4217 currency code for the refunded subtotal in presentment currency. | |
| RefundSubtotalShopAmount | Decimal | The refunded subtotal amount in the shop's currency. | |
| RefundSubtotalShopCurrencyCode | String | The ISO 4217 currency code for the refunded subtotal in the shop's currency. | |
| RefundTotalTax | Decimal | The total tax amount refunded for this item. | |
| RefundTotalTaxPresentmentAmount | Decimal | The refunded tax amount in presentment currency. | |
| RefundTotalTaxPresentmentCurrencyCode | String | The ISO 4217 currency code for the refunded tax in presentment currency. | |
| RefundTotalTaxShopAmount | Decimal | The refunded tax amount in the shop's currency. | |
| RefundTotalTaxShopCurrencyCode | String | The ISO 4217 currency code for the refunded tax in the shop's currency. | |
| AppliedDiscountTitle | String | The title of the discount applied to this order. Available only for draft orders. | |
| AppliedDiscountDescription | String | A description of the discount applied to this order. Available only for draft orders. | |
| AppliedDiscountValue | Decimal | The numeric value of the applied discount. Available only for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount (for example, 'percentage' or 'fixed_amount'). Available only for draft orders. | |
| AppliedDiscountAmount | Decimal | The total discount amount applied to this order. Available only for draft orders. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Status | String | Filters refunded orders by their status. Valid values: 'open', 'closed', 'cancelled', 'any'. Default value: 'open'. |
Displays transactions generated by refunds, including gateway messages and net amounts.
| Name | Type | References | Description |
| TransactionsId [KEY] | Long | The unique numeric identifier for the refund transaction. | |
| OrderId | Long |
Orders.Id | The unique numeric identifier for the order associated with this refund transaction. |
| RefundId | Long |
Refunds.Id | The unique numeric identifier for the refund associated with this transaction. |
| Amount | Decimal | The total monetary amount processed in the refund transaction. | |
| Authorization | String | The authorization code issued by the payment provider for this refund transaction. | |
| CreatedAt | Datetime | The date and time (ISO 8601 format) when the refund transaction was created. | |
| Currency | String | The three-letter ISO 4217 currency code used for the refund transaction. | |
| DeviceId | String | The unique identifier of the device used to process this refund transaction. | |
| ErrorCode | String | A standardized error code returned by the payment provider, independent of the payment gateway implementation. | |
| GraphqlAPIId | String | The GraphQL API identifier associated with the refund transaction. | |
| Gateway | String | The name of the payment gateway that processed this refund transaction. | |
| Kind | String | The transaction type, such as 'refund', 'void', or 'capture'. | |
| LocationId | String | The unique identifier of the physical location where this refund transaction was processed. | |
| Message | String | A message returned by the payment provider that provides context on why the transaction succeeded or failed. | |
| ParentId | Long | The unique numeric identifier of an associated parent transaction, if applicable. | |
| ProcessedAt | Datetime | The date and time (ISO 8601 format) when the refund transaction was processed. | |
| Status | String | The current processing status of the refund transaction. | |
| SourceName | String | The source or origin of the refund transaction, such as 'web', 'pos', or 'api'. | |
| Test | Bool | Indicates whether this transaction was created in test mode. | |
| UserId | String | The unique identifier of the user who was logged into the Shopify POS device when the refund transaction was processed, if applicable. |
Breaks out discount amounts allocated to shipping lines on orders.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for this record in the table. | |
| ItemId | Long |
ShippingItems.ItemId | The ID of the shipping line item. Only available for orders. |
| OrderId | Long |
Orders.Id | The ID of the order that the shipping item discount allocation belongs to. |
| Amount | String | The total discount amount applied to the shipping line item, represented as a string. | |
| ShopMoneyAmount | Decimal | The discount amount applied to the shipping line item, represented in the shop's currency. | |
| ShopMoneyCurrencyCode | String | The three-letter ISO currency code for the shop's money amount. | |
| PresentmentMoneyAmount | Decimal | The discount amount applied to the shipping line item, represented in the customer's presentment currency. | |
| PresentmentMoneyCurrencyCode | String | The three-letter ISO currency code for the presentment money amount. | |
| DiscountApplicationIndex | Int | The index position of the discount application associated with the shipping line item. | |
| OrderUpdatedAt | Datetime | The date and time (ISO 8601 format) when the order was last updated. |
Provides per-order shipping line details, including title, price, discounts, and requested delivery info.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the shipping line item. | |
| OrderId [KEY] | Long |
Orders.Id | The unique identifier of the order that the shipping line item is associated with. |
| OrderUpdatedAt | Datetime | The date and time (ISO 8601 format) when the order was last updated. | |
| Price | Decimal | The total price charged for this shipping method before any discounts or taxes. | |
| Code | String | An internal or external reference code identifying the specific shipping method used. | |
| Title | String | The display name of the shipping method as presented to the customer. | |
| Source | String | Indicates the system or integration source that provided this shipping method, such as 'shopify' or a third-party service. | |
| CarrierIdentifier | String | A unique reference identifying the carrier service that provided the rate for this shipment. | |
| RequestedFulfillmentServiceId | String | The ID of the fulfillment service requested to fulfill this shipping method. |
Lists shipping zones with associated countries, provinces, and shipping rate groupings.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the shipping zone. | |
| Name | String | The descriptive name of the shipping zone as defined by the merchant. | |
| ProfileId | String | The unique identifier of the delivery profile associated with this shipping zone. Delivery profiles define how shipping rates are structured for products or locations. | |
| LocationGroupId | String | The unique identifier for the location group tied to this shipping zone. Location groups restrict shipping rates to specific fulfillment locations. | |
| Countries | String | A list of countries included in this shipping zone, represented by their country codes. | |
| CarrierShippingRateProviders | String | Details about third-party carrier services configured to provide dynamic shipping rates for this zone. | |
| PriceBasedShippingRates | String | Information about the shipping rates in this zone that are determined by the order's total price range. | |
| WeightBasedShippingRates | String | Information about the shipping rates in this zone that are determined by the order's total weight range. |
Exposes shop-level settings and identifiers, such as domain, currency, locale, and plan information.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the shop. | |
| Name | String | The name of the shop as it appears to customers. | |
| String | The primary contact email address for the shop. | ||
| Address1 | String | The first line of the shop's street address. | |
| Address2 | String | An optional second line for additional address details such as an apartment, suite, or unit number. | |
| City | String | The city where the shop is located. | |
| Country | String | The shop's country, represented by the two-letter ISO country code by default. | |
| CountryCode | String | The two-letter ISO 3166-1 alpha-2 country code representing the shop's country. | |
| CountryName | String | The full, normalized name of the country in which the shop operates. | |
| CustomerEmail | String | The default email address used for customer communications. | |
| Currency | String | The three-letter ISO 4217 currency code that represents the shop's base currency. | |
| Domain | String | The primary domain associated with the shop. | |
| GoogleAppsDomain | String | The Google Workspace domain associated with the shop, if applicable. | |
| GoogleAppsLoginEnabled | String | Indicates whether login through Google Workspace is enabled for the shop. | |
| Latitude | Double | The geographic latitude coordinate of the shop's physical address. | |
| Longitude | Double | The geographic longitude coordinate of the shop's physical address. | |
| MoneyFormat | String | The format string used to display monetary values without specifying a currency code. | |
| MoneyWithCurrencyFormat | String | The format string used to display monetary values with a currency code included. | |
| WeightUnit | String | The default unit of weight measurement used by the shop (for example, grams, kilograms, or pounds). | |
| MyshopifyDomain | String | The permanent Shopify-hosted domain for the store, typically in the format '(shop-name).myshopify.com'. | |
| PlanName | String | The internal name of the Shopify subscription plan assigned to the shop. | |
| HasDiscounts | Bool | Indicates whether the shop currently has any active discounts configured. | |
| HasGiftCards | Bool | Indicates whether the shop currently offers gift cards. | |
| PlanDisplayName | String | The user-facing display name of the Shopify subscription plan assigned to the shop. | |
| PasswordEnabled | Bool | Indicates whether password protection is enabled on the online storefront. | |
| Phone | String | The primary contact phone number associated with the shop. | |
| PrimaryLocale | String | The default locale or language code used by the shop. | |
| Province | String | The name of the state or province where the shop is located. | |
| ProvinceCode | String | The two-letter code representing the shop's province or state. | |
| ShopOwner | String | The name or username of the shop owner. | |
| Source | String | The referral source handle identifying the partner or program that referred the merchant to Shopify. | |
| TaxShipping | Bool | Indicates whether taxes are charged on shipping rates. | |
| TaxesIncluding | Bool | Indicates whether product prices in the shop include applicable taxes. | |
| CountryTaxes | Bool | Indicates whether the shop applies tax rules based on specific regions or counties (U.S. only). | |
| Timezone | String | The timezone name used by the shop for order and reporting timestamps. | |
| IANATimezone | String | The standardized timezone identifier assigned by the Internet Assigned Numbers Authority (IANA). | |
| Zip | String | The postal or ZIP code of the shop's address. | |
| HasStorefront | Bool | Indicates whether the shop has an active online storefront. | |
| CreatedAt | Datetime | The date and time when the shop record was created. | |
| UpdatedAt | Datetime | The date and time when the shop record was last updated. | |
| SetupRequired | Bool | Indicates whether the shop still requires any setup steps before it is fully operational. |
Displays tax lines applied to orders or line items, including rate, title, and calculated tax amounts.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for each tax line record. | |
| OrderId | Long |
Orders.Id | The unique identifier for the order associated with this tax line. |
| OrderUpdatedAt | Datetime | The date and time when the associated order was last updated. | |
| ChannelLiable | Bool | Indicates whether the sales channel that submitted this tax line is responsible for collecting and remitting the tax. | |
| TaxItemPrice | Decimal | The monetary amount of tax applied to the order or line item, calculated based on the applicable rate. | |
| TaxItemRate | Decimal | The tax rate expressed as a decimal value. For example, 0.07 represents a 7% tax rate. | |
| TaxItemTitle | String | The descriptive name of the tax being applied, such as 'Sales Tax' or 'VAT'. |
Retrieves information about store users, including names, contact details, and account permissions.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the user. | |
| FirstName | String | The user's first name as recorded in the account profile. | |
| String | The email address associated with the user's Shopify account. | ||
| Url | String | A link to the user's Shopify account or profile page. | |
| IM | String | The user's instant messaging handle, if applicable. | |
| ScreenName | String | The display name or screen name used by the user within Shopify. | |
| Phone | String | The user's contact phone number. | |
| LastName | String | The user's last name as recorded in the account profile. | |
| AccountOwner | Bool | Indicates whether the user is the primary account owner for the store. | |
| ReceiveAnnouncements | Bool | Indicates whether the user has opted in to receive Shopify announcements or notifications. | |
| Bio | String | A short biography or description provided by the user. | |
| Permissions | String | A list of permissions or roles assigned to the user, defining access levels within the store. | |
| Locale | String | The language and regional settings preferred by the user (for example, en-US). | |
| UserType | String | Specifies the user type, such as staff, collaborator, or owner. | |
| AdminGraphQLAPIId | String | The unique Admin GraphQL API identifier for the user. | |
| TFAEnabled | Bool | Indicates whether two-factor authentication (TFA) is enabled for the user. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| AcceptCancellationRequest | Accepts a cancellation request sent to a fulfillment service for a fulfillment order. |
| AcceptFulfillmentRequest | Accepts a fulfillment request sent to a fulfillment service for a fulfillment order. |
| ApproveComment | Marks a blog comment as approved, making it publicly visible on the storefront. |
| AssignDefaultAddress | Assigns a customer's selected address as the default shipping and billing address in their profile. |
| CalculateRefund | Calculates refund amounts for order line items and shipping, returning a breakdown of refundable totals. |
| ChangeSpamStatus | Updates a comment's spam status, toggling between spam and non-spam classification. |
| CompleteDraftOrder | Finalizes a draft order and converts it into a completed order ready for checkout and fulfillment. |
| CreateAccountActivationUrl | Generates a secure URL that allows a customer to activate their online store account. |
| RejectCancellationRequest | Rejects a cancellation request sent to a fulfillment service for a fulfillment order. |
| RejectFulfillmentRequest | Rejects a fulfillment request sent to a fulfillment service for a fulfillment order. |
| RestoreComment | Restores a comment that was previously deleted or marked as removed. |
| SendCancellationRequest | Sends a cancellation request to the fulfillment service of a fulfillment order. |
| SendFulfillmentRequest | Sends a fulfillment request to the fulfillment service of a fulfillment order. |
| SendInvite | Sends an account invitation email to a customer, with optional custom messaging. |
| SendInvoice | Emails a draft order invoice to a customer, allowing them to complete payment via checkout. |
| UpdateQuantity | Updates available inventory quantities for a specific product variant at a designated location. |
Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for accepting the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for accepting the fulfillment request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Marks a blog comment as approved, making it publicly visible on the storefront.
| Name | Type | Description |
| Id | String | The unique identifier of the comment that needs to be approved. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional information or context about the execution of the operation. |
Assigns a customer's selected address as the default shipping and billing address in their profile.
| Name | Type | Description |
| CustomerId | String | The unique identifier of the customer for whom the default address is being set. |
| CustomerAddressId | String | The unique identifier of the address to assign as the customer's default. The address must belong to the customer specified in CustomerId. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional information or context about the execution of the operation. |
Calculates refund amounts for order line items and shipping, returning a breakdown of refundable totals.
| Name | Type | Description |
| OrderId | String | The unique identifier of the order being refunded. |
| Currency | String | The ISO 4217 currency code used for the refund. Required if a ShippingAmount is provided. |
| RefundLineItems | String | A JSON array specifying the line item IDs, quantities to refund, and restock instructions. |
| ShippingFullRefund | String | Indicates whether the full remaining shipping amount should be refunded. |
| ShippingAmount | Double | A specific shipping amount to refund. This value takes precedence over ShippingFullRefund if both are provided. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional information or context about the execution of the operation. |
| AdditionalFees | String | A JSON aggregate detailing any additional fees included in the refund. |
| Currency | String | The ISO 4217 currency code used for the refund. |
| Duties | String | A JSON aggregate of refunded duties included as part of this refund. |
| RefundLineItems | String | A JSON array containing line item IDs, quantities refunded, and restock details. |
| Return | String | A JSON array describing the items being returned to the merchant. |
| ShippingAmount | Decimal | The refunded shipping amount, expressed as a decimal. |
| ShippingMaximumRefundable | Decimal | The maximum refundable shipping amount available for this order. |
| ShippingTax | Decimal | The tax amount associated with the refunded shipping. |
| TotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | The total amount of additional fees refunded, expressed in presentment currency. |
| TotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the refunded additional fees in presentment currency. |
| TotalAdditionalFeesSetShopMoneyAmount | Decimal | The total amount of additional fees refunded, expressed in shop currency. |
| TotalAdditionalFeesSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the refunded additional fees in shop currency. |
| TotalDutiesSetPresentmentMoneyAmount | Decimal | The total refunded duties amount, expressed in presentment currency. |
| TotalDutiesSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the refunded duties in presentment currency. |
| TotalDutiesSetShopMoneyAmount | Decimal | The total refunded duties amount, expressed in shop currency. |
| TotalDutiesSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the refunded duties in shop currency. |
| TransactionsOrderId | Long | The unique identifier of the transaction order associated with the refund. |
| TransactionsKind | String | The type of transaction, indicating whether the refund will be accepted or pending. |
| TransactionsGateway | String | The payment gateway used to process the refund transaction. |
| TransactionsParentId | Long | The unique identifier of the parent transaction, if applicable. |
| TransactionsAmount | Decimal | The refunded transaction amount, expressed as a decimal. |
| TransactionsCurrencyCode | String | The ISO 4217 currency code used for the transaction refund. |
| TransactionsMaximumRefundable | Decimal | The maximum refundable transaction amount available for this payment. |
Updates a comment's spam status, toggling between spam and non-spam classification.
| Name | Type | Description |
| Id | String | The ID of the comment whose spam status should be updated. |
| Spam | String | Specifies whether the comment should be marked as spam or not.
The allowed values are yes, no. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the spam status update completed successfully. |
| Details | String | Additional information or context about the execution of the spam status change operation. |
Finalizes a draft order and converts it into a completed order ready for checkout and fulfillment.
| Name | Type | Description |
| Id | String | The ID of the draft order to be completed. |
| PaymentPending | String | Specifies whether the draft order should be marked as pending payment. Set to true to indicate payment is still due.
The default value is false. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the draft order completion operation executed successfully. |
| Details | String | Additional information or context about the execution of the draft order completion. |
Generates a secure URL that allows a customer to activate their online store account.
| Name | Type | Description |
| CustomerId | String | The ID of the customer for whom the account activation link will be generated. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the account activation URL creation process executed successfully. |
| Details | String | Additional information or context about the execution of the operation. |
| AccountActivationUrl | String | The URL that the customer can use to activate their account. |
Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for rejecting the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| LineItems | String | An optional array of line item rejection details. If none are provided, all line items will be assumed to be unfulfillable. |
| Message | String | An optional message for rejecting the fulfillment request. |
| Reason | String | An optional reason for the fulfillment request rejection.
The allowed values are incorrect_address, inventory_out_of_stock, ineligible_product, undeliverable_destination, other. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Restores a comment that was previously deleted or marked as removed.
| Name | Type | Description |
| Id | String | The unique identifier of the comment that needs to be restored. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional details or messages related to the execution of the operation. |
Sends a cancellation request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Sends a fulfillment request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| FulfillmentOrderLineItems | String | The fulfillment order line items to be requested for fulfillment. If left blank, all line items of the fulfillment order are requested for fulfillment. |
| Message | String | An optional message for the fulfillment request. |
| NotifyCustomer | Boolean | Whether to notify the customer about the fulfillment request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Sends an account invitation email to a customer, with optional custom messaging.
| Name | Type | Description |
| Id | String | The unique ID of the customer to whom the invitation email will be sent. |
| To | String | The recipient's email address where the invitation will be delivered. |
| From | String | The sender's email address appearing in the 'From' field of the invitation email. |
| BCC | String | A comma-separated list of email addresses to receive a blind carbon copy of the invitation email. |
| Subject | String | The subject line of the invitation email. |
| CustomMessage | String | An optional custom message to include in the invitation email body. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the invitation email was successfully sent. |
| Details | String | Additional information or diagnostic details about the execution of the operation. |
Emails a draft order invoice to a customer, allowing them to complete payment via checkout.
| Name | Type | Description |
| Id | String | The unique ID of the draft order for which the invoice will be sent. |
| To | String | The recipient's email address where the invoice will be delivered. |
| From | String | The sender's email address appearing in the 'From' field of the invoice email. |
| BCC | String | A comma-separated list of email addresses to receive a blind carbon copy of the invoice email. |
| Subject | String | The subject line of the invoice email. |
| CustomMessage | String | An optional custom message to include in the body of the invoice email. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the invoice email was sent successfully. |
| Details | String | Additional details or diagnostic information about the execution of the operation. |
Updates available inventory quantities for a specific product variant at a designated location.
| Name | Type | Description |
| Id | String | The unique numeric identifier for the product variant whose inventory level will be updated. |
| InventoryQuantity | String | The total quantity of inventory items available for sale to be set at the specified location. |
| LocationId | String | The unique identifier of the location where the inventory quantity will be adjusted. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation to update the inventory quantity executed successfully. |
| Details | String | Provides additional information or messages about the outcome of the operation. |
The CData Cloud models the Shopify API as relational tables, views, and stored procedures.
To use the GraphQL Data Model, simply set Schema to GraphQL.
The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.
Common tables include:
| Table | Description |
| Shop | Contains general settings and information about the shop. |
| Customers | Lists customers with core profile data, marketing preferences, and tags. |
| Catalogs | Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use. |
| Orders | Lists orders with customer, payment, fulfillment, duty, and tax details. |
| DeliveryProfiles | Lists saved delivery profiles that define shipping logic by product and location. |
| OrderTransactions | Lists payment transactions associated with orders (authorization, capture, refund). |
| Refunds | Represents refunds of items or transactions on an order, with amounts and reasons. |
| RefundLineItems | Lists refund line item records that specify quantities and amounts refunded. |
| Products | Lists products with titles, status, variants, media, and publishing details. |
| ProductVariants | Lists product variants with pricing, inventory tracking, and option values. |
| Collections | Returns manual and automated collections with titles, rules, and publication state. |
| CollectionProducts | Lists products contained within a specified collection. |
| DraftOrders | Lists saved draft orders for manual checkout or invoicing workflows. |
| DraftOrderLineItems | Lists the line items included in a draft order with quantities and prices. |
| Fulfillments | Represents shipments created for orders, including tracking and delivery status. |
| FulfillmentOrders | Lists merchant-managed and third-party fulfillment orders with statuses and assignments. |
| FulfillmentEvents | Lists status events (in transit, delivered) associated with fulfillments. |
| Locations | Lists active inventory locations used for stock, fulfillment, and pickup. |
| InventoryItems | Lists inventory items (SKU-level records) with tracking and cost data. |
| Metafields | Lists metafields attached to one or more resource Ids. |
Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing fulfillment orders, adjusting inventory across locations, and administering store configuration and content.
See UseBulkAPI for a more in-depth look at how the driver performs Shopify Bulk Operations.
The Cloud models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.
| Name | Description |
| AppFeedbacks | Captures feedback and diagnostic information from apps, surfacing issues or setup steps in Shopify admin. |
| AppSubscriptionLineItems | Contains details of app subscription line items, including plan names, billing intervals, and pricing. |
| AppSubscriptions | Lists all active and past app subscriptions for a shop, including status and renewal details. |
| ArticleComments | Stores comments posted on blog articles, including author, content, and moderation status. |
| Articles | Contains article content for the shop's blogs, including titles, handles, authors, and publication details. |
| Blogs | Stores blog metadata and publishing configuration for each blog in the shop. |
| CarrierServices | Details third-party or custom carrier services available to the shop, including integration identifiers and supported locations. |
| Catalogs | Represents product catalogs available to the shop, often used for B2B or channel-specific listings. |
| Collections | Stores metadata for all collections in the shop, both manual and automated, including titles and publication status. |
| Companies | Holds company profiles for B2B operations, including names, contact data, and relationship details. |
| CompanyContactRoleAssignments | Maps company contacts to specific roles, defining permissions and access within a B2B company account. |
| CompanyContacts | Stores individual contact records for companies, including names, emails, roles, and assigned company identifiers. |
| CompanyLocations | Contains company location data, including address, region, and association with parent companies. |
| CompanyLocationStaffMemberAssignments | Lists staff members assigned to specific company locations. Available only for Shopify Plus stores. |
| Customers | Contains customer profile data including contact info, marketing preferences, and order history. |
| DeliveryProfiles | Stores delivery profile configurations, defining how products are grouped and shipped from different locations. |
| DiscountsAutomaticApp | Contains automatic discounts created by apps, including qualifying conditions and applied benefits. |
| DiscountsAutomaticBasic | Stores basic automatic discount rules applied at checkout without the use of discount codes. |
| DiscountsAutomaticBxgy | Represents 'Buy X Get Y' automatic discount configurations and their qualifying item relationships. |
| DiscountsCodeApp | Tracks app-generated discount codes, including associated price rules and redemption limits. |
| DiscountsCodeBasic | Contains standard discount code data, including percentage or fixed-value discounts and usage metrics. |
| DiscountsCodeBxgy | Holds 'Buy X Get Y' discount code configurations tied to specific product eligibility conditions. |
| DraftOrders | Stores draft order records created by merchants, allowing manual invoice creation and checkout completion. |
| Files | Contains metadata for media files uploaded to Shopify, including file name, MIME type, and storage URL. |
| FulfillmentEvents | Records events tied to fulfillments such as shipment creation, in-transit updates, and delivery confirmation. |
| FulfillmentOrders | Contains records of fulfillment orders, representing groupings of items to be shipped from a specific location. |
| Fulfillments | Stores shipment data for orders, including tracking details, carrier information, and shipment timestamps. |
| FulfillmentServices | Defines fulfillment services integrated with the shop, including their endpoints and managed locations. |
| FulfillmentTrackingInfo | Provides tracking details for fulfillments such as carrier name, tracking numbers, and tracking URLs. |
| GiftCards | Contains issued gift card records, including balances, codes, and issuance dates. Available only for Shopify Plus stores. |
| GiftCardTransactionsCredit | Logs credit transactions that increase gift card balances, typically due to issuance or adjustment. Available only for Shopify Plus. |
| GiftCardTransactionsDebit | Logs debit transactions that reduce gift card balances, such as redemptions or refunds. Available only for Shopify Plus. |
| InventoryItemInventoryLevels | Shows overall inventory level details for each item and its stocking locations. |
| InventoryItems | Contains records for individual inventory items, including SKU, cost, and tracking settings. |
| Locations | Stores information about physical locations, including address, fulfillment role, and inventory management settings. |
| Menus | Contains navigation menu structures for the storefront, including menu items, hierarchy, and target URLs. |
| MetafieldDefinitions | Defines metadata field templates that describe allowed namespaces, keys, and data types for metafields. |
| Metafields | Stores custom key–value data attached to Shopify resources, enabling extensibility across entities such as products or orders. |
| OrderRiskAssessments | Contains fraud risk assessment results for orders, including scores, triggers, and recommendations. |
| Orders | Stores comprehensive order data including totals, customer info, fulfillment, payment, and channel sources. |
| OrderTransactions | Stores payment transaction records for orders, including authorizations, captures, and refunds. |
| Pages | Stores static page content for the shop, such as About or FAQ pages, including titles and publication settings. |
| PriceLists | Stores all price lists defined for the shop, including currency, context, and applicable customer groups. |
| ProductMediaImages | Stores image media records tied to products, including URLs, alt text, and ordering. |
| ProductOptions | Defines option sets for products, such as Size or Color, along with position ordering. |
| ProductOptionValues | Lists possible values for each product option, including those not currently assigned to variants. |
| ProductResourceFeedbacks | Captures product-level feedback or issues reported by apps, used to notify merchants about setup or data concerns. |
| Products | Contains product catalog data including title, description, price, vendor, and publishing details. |
| ProductVariants | Stores variant-level data for products, including SKU, option values, price, and inventory management fields. |
| Publications | Defines publication targets, representing sales channels or marketplaces where products and collections are visible. |
| Refunds | Represents refund records, including refund reason, associated order, total amounts, and refund transactions. |
| Returns | Stores records of product returns, including reason codes, refund references, and associated order data. |
| ScriptTags | Contains storefront script tag definitions for embedding custom JavaScript from approved sources. |
| Segments | Stores definitions for customer segments, including filter logic and dynamic grouping criteria. |
| SellingPlanGroups | Defines selling plan groups that bundle multiple subscription or payment plan options for products. |
| StoreCreditAccountCreditTransactions | Logs credit transactions that increase store credit account balances, such as issued refunds or promotions. |
| StoreCreditAccountDebitTransactions | Records debit transactions that decrease store credit balances, such as purchases or redemptions. |
| StorefrontAccessTokens | Stores API access tokens for private storefront applications, used to authenticate client-side requests with defined scopes. |
| Themes | Contains theme metadata, including theme names, roles (main, unpublished), and publication details for storefront design management. |
| UrlRedirects | Defines URL redirects for the shop, mapping legacy or custom URLs to new destinations to maintain navigation and SEO integrity. |
Captures feedback and diagnostic information from apps, surfacing issues or setup steps in Shopify admin.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM AppFeedbacks
The following columns can be used to create a new record:
Message, State, FeedbackGeneratedAt
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the feedback record generated by the app. | |
| Title | String | True |
The name or title of the app that generated the feedback message. | |
| Message | String | True |
The full feedback text shown to the merchant, describing the issue, suggestion, or status update from the app. | |
| Url | String | True |
A link provided in the feedback that directs the merchant to more details or an action page within the app or Shopify Admin. | |
| Label | String | True |
A descriptive label for the feedback link that helps merchants understand its purpose, such as 'View Details' or 'Resolve Issue'. | |
| State | String | True |
Indicates the current status of the feedback, such as whether it has been resolved, is pending, or requires merchant action. The allowed values are ACCEPTED, REQUIRES_ACTION. | |
| FeedbackGeneratedAt | Datetime | True |
The timestamp indicating when the feedback was created by the app, used to identify and manage newer versus older feedback entries. |
Contains details of app subscription line items, including plan names, billing intervals, and pricing.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppSubscriptionLineItems WHERE AppInstallationId = 'Val1'
The following columns can be updated:
UsagePricingPlanCappedAmount, UsagePricingPlanCappedAmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the subscription line item record. | |
| AppSubscriptionId | String | True |
The unique identifier of the app subscription associated with this line item. | |
| AppInstallationId | String | True |
The unique identifier of the app installation linked to the subscription line item. | |
| RecurringPricingPlanDiscountDurationLimitInIntervals | Int | True |
The total number of billing intervals during which the discount will be applied. If blank, the discount continues indefinitely. | |
| RecurringPricingPlanDiscountPriceAfterDiscountAmount | Decimal | True |
The subscription price charged to the merchant after the discount is applied, expressed as a decimal money amount. | |
| RecurringPricingPlanDiscountPriceAfterDiscountCurrencyCode | String | True |
The currency code for the discounted subscription price. | |
| RecurringPricingPlanDiscountRemainingDurationInIntervals | Int | True |
The number of remaining billing intervals in which the current discount will still apply. | |
| RecurringPricingPlanValueAmount | Decimal | True |
The monetary value of the discount applied to the subscription for each billing interval. | |
| RecurringPricingPlanValueAmountCurrencyCode | String | True |
The currency code for the recurring discount value applied each billing interval. | |
| RecurringPricingPlanValuePercentage | Double | True |
The percentage-based value of the recurring discount applied to the subscription. | |
| RecurringPricingPlanInterval | String | True |
The frequency or billing cycle for the subscription, such as monthly or yearly. | |
| RecurringPricingPlanPriceAmount | Decimal | True |
The total recurring charge billed to the merchant for each billing interval, expressed as a decimal money amount. | |
| RecurringPricingPlanPriceCurrencyCode | String | True |
The currency code for the recurring subscription charge. | |
| UsagePricingPlanBalanceUsedAmount | Decimal | True |
The total value of usage charges accumulated for the current billing interval, expressed as a decimal money amount. | |
| UsagePricingPlanBalanceUsedCurrencyCode | String | True |
The currency code for the total usage charges accumulated during the current billing interval. | |
| UsagePricingPlanCappedAmount | Decimal | False |
The maximum chargeable amount for usage during a billing period, preventing billing from exceeding this threshold unless a new charge is approved. | |
| UsagePricingPlanCappedAmountCurrencyCode | String | False |
The currency code for the capped usage billing amount within a billing period. | |
| UsagePricingPlanInterval | String | True |
The frequency or billing cycle used for tracking and charging app usage, such as monthly. | |
| UsagePricingPlanTerms | String | True |
The terms and conditions governing the app's usage-based pricing, shown to the merchant when approving usage charges. |
Lists all active and past app subscriptions for a shop, including status and renewal details.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppSubscriptions WHERE AppInstallationId = 'Val1'
The following columns can be used to create a new record:
Name, Test, ReturnUrl, TrialDays, LineItem (references AppSubscriptionLineItems)
| Column Name | Type | Description |
| RecurringPricingPlanDiscountPriceAfterDiscountAmount | Decimal | The price of the subscription after the discount is applied. Decimal money amount. |
| RecurringPricingPlanDiscountRemainingDurationInIntervals | Int | The remaining number of billing intervals to which the discount will be applied. |
| RecurringPricingPlanValuePercentage | Double | The value of the discount applied every billing interval. The percentage value of a discount. |
| RecurringPricingPlanInterval | String | The frequency at which the subscribing shop is billed for an app subscription. |
| RecurringPricingPlanPriceAmount | Decimal | The amount to be charged to the subscribing shop every billing interval. Decimal money amount. |
| RecurringPricingPlanPriceCurrencyCode | String | The currency to be charged to the subscribing shop every billing interval. Currency of the money. |
| UsagePricingPlanCappedAmount | Decimal | The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount. |
| UsagePricingPlanCappedAmountCurrencyCode | String | The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money. |
| UsagePricingPlanTerms | String | The terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the app subscription record. | |
| AppInstallationId | String | True |
The unique identifier of the app installation that the subscription belongs to. | |
| Name | String | True |
The display name of the app subscription as defined by the app developer. | |
| Status | String | True |
The current lifecycle state of the app subscription, such as active, pending, or cancelled. | |
| Test | Bool | True |
Indicates whether the app subscription is a test transaction created for development or sandbox purposes. | |
| ReturnUrl | String | True |
The URL to which the merchant is redirected after approving or declining the app subscription in Shopify. | |
| TrialDays | Int | True |
The number of trial days granted before billing begins, counted from the subscription's creation date. | |
| CurrentPeriodEnd | Datetime | True |
The date and time when the current billing period for the subscription ends, or null if the subscription is inactive. | |
| CreatedAt | Datetime | True |
The timestamp marking when the app subscription was initially created in Shopify. | |
| LineItemIds | String | True |
A comma-separated list of identifiers for the individual plan line items associated with this subscription. | |
| LineItem | String | True |
The names or details of the plans linked to this app subscription, representing the pricing or feature tiers. |
Stores comments posted on blog articles, including author, content, and moderation status.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ArticleComments WHERE Id = 'Val1'
SELECT * FROM ArticleComments WHERE ArticleId = 'Val1'
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the article comment record. | |
| ArticleId | String | True |
The unique identifier of the article to which this comment belongs. | |
| ArticleTitle | String | True |
The title of the article where the comment was posted. | |
| Body | String | True |
The plain-text content of the comment as submitted by the author. | |
| BodyHtml | String | True |
The HTML-formatted version of the comment content, preserving styling and markup. | |
| Status | String | True |
The current moderation status of the comment, such as approved, pending, or spam. | |
| Ip | String | True |
The IP address from which the comment was submitted, used for moderation or tracking purposes. | |
| UserAgent | String | True |
Information about the commenter's browser and operating system, as provided by the user agent string. | |
| AuthorName | String | True |
The display name of the individual who submitted the comment. | |
| AuthorEmail | String | True |
The email address provided by the commenter, used for identification or follow-up communication. | |
| IsPublished | Bool | True |
Indicates whether the comment has been published and made visible on the article page. | |
| PublishedAt | Datetime | True |
The timestamp when the comment was published and became visible on the article. | |
| UpdatedAt | Datetime | True |
The timestamp when the comment was last edited or modified. | |
| CreatedAt | Datetime | True |
The timestamp when the comment was originally created in the system. |
Contains article content for the shop's blogs, including titles, handles, authors, and publication details.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Articles WHERE Id = 'Val1'
SELECT * FROM Articles WHERE AuthorName = 'Val1'
SELECT * FROM Articles WHERE BlogTitle = 'Val1'
SELECT * FROM Articles WHERE IsPublished = true
SELECT * FROM Articles WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Articles WHERE CreatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, PublishedAt
The following pseudo-columns can be used to create a new record:
AuthorUserId, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, IsPublished, PublishedAt
The following pseudo-columns can be used to update a record:
AuthorUserId, RedirectNewHandle, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the article record. | |
| Title | String | False |
The title of the article as displayed on the online store or within the Shopify Admin. | |
| Body | String | False |
The full HTML-formatted body content of the article, including text and markup elements. | |
| Handle | String | False |
A unique, URL-friendly identifier automatically generated from the article's title, used to form the article's web address. | |
| Summary | String | False |
A short HTML-supported excerpt of the article, commonly used in previews or blog listing pages within store themes. | |
| Tags | String | False |
A set of short descriptive keywords associated with the article, used for filtering and categorization. | |
| TemplateSuffix | String | False |
Specifies the alternate Liquid template assigned to this article. Returns null if the default 'article.liquid' template is used. | |
| AuthorName | String | False |
The full name of the person credited as the author of the article. | |
| BlogId | String | False |
The unique identifier of the blog that contains this article. | |
| BlogTitle | String | False |
The title of the blog where this article is published. | |
| ImageId | String | True |
The unique identifier of the primary image associated with the article. | |
| ImageAltText | String | False |
A brief text description of the article's image, used for accessibility and SEO. | |
| ImageUrl | String | False |
The direct URL where the article's image is hosted. | |
| ImageWidth | Int | True |
The width of the article's image in pixels. Returns null if the image isn't hosted by Shopify. | |
| ImageHeight | Int | True |
The height of the article's image in pixels. Returns null if the image isn't hosted by Shopify. | |
| CommentsCount | Int | True |
The total number of comments associated with the article. | |
| CommentPrecision | String | True |
Indicates the precision level of the comment count, showing whether the number is exact or estimated. | |
| IsPublished | Bool | False |
Indicates whether the article is currently published and visible on the storefront. | |
| PublishedAt | Datetime | False |
The date and time when the article was or will be made visible to the public. Returns null if the article is unpublished. | |
| UpdatedAt | Datetime | True |
The timestamp indicating when the article was most recently edited or updated. | |
| CreatedAt | Datetime | True |
The timestamp indicating when the article was originally created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| AuthorUserId | String |
The unique identifier of the staff account associated with the article's author, if applicable. |
| RedirectNewHandle | Bool |
Indicates whether Shopify automatically redirects the old article URL to a new handle after it's changed. |
| Metafields | String |
Metadata fields that store custom information about the article, used to extend article properties or add structured data. |
Stores blog metadata and publishing configuration for each blog in the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Blogs WHERE Id = 'Val1'
SELECT * FROM Blogs WHERE Title = 'Val1'
SELECT * FROM Blogs WHERE Handle = 'Val1'
SELECT * FROM Blogs WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Blogs WHERE CreatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, Handle, TemplateSuffix, CommentPolicy
The following pseudo-column can be used to create a new record:
Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
Title, Handle, TemplateSuffix, CommentPolicy
The following pseudo-columns can be used to update a record:
RedirectArticles, RedirectNewHandle, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the blog record. | |
| Title | String | False |
The title of the blog as displayed in the Shopify Admin and storefront. | |
| Handle | String | False |
A unique, human-readable identifier automatically generated from the blog title, used in Liquid templates and URLs. Merchants can customize this handle for SEO or organizational purposes. | |
| Tags | String | True |
A list of tags associated with the 200 most recent blog articles, used for categorization and filtering. | |
| TemplateSuffix | String | False |
The alternate Liquid template assigned to the blog, if applicable. Returns null when the default 'blog.liquid' template is used. | |
| ArticlesCount | Int | True |
The total number of articles currently associated with the blog. | |
| ArticlesCountPrecision | String | True |
Indicates the precision level of the article count, specifying whether the value is exact or approximate. | |
| CommentPolicy | String | False |
Defines how comments are managed on the blog, such as open, moderated, or closed to public submissions. | |
| FeedLocation | String | True |
The full URL of the blog's feed provider, allowing external readers or applications to subscribe to blog updates. | |
| FeedPath | String | True |
The relative path of the blog feed provider within the store's site structure. | |
| UpdatedAt | Datetime | True |
The timestamp indicating when the blog was most recently updated or modified. | |
| CreatedAt | Datetime | True |
The timestamp marking when the blog was first created in Shopify. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| RedirectArticles | Bool |
Indicates whether blog article URLs should be automatically redirected when their paths change. |
| RedirectNewHandle | Bool |
Specifies whether Shopify should automatically redirect from an old blog handle to a new one after the handle is updated. |
| Metafields | String |
Custom metadata attached to the blog, allowing apps and themes to store and retrieve additional structured information. |
Details third-party or custom carrier services available to the shop, including integration identifiers and supported locations.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM CarrierServices
The following columns can be used to create a new record:
Name, Active, SupportsServiceDiscovery, CallbackUrl
The following columns can be updated:
Name, Active, SupportsServiceDiscovery, CallbackUrl
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the carrier service record. | |
| Name | String | False |
The name of the shipping carrier or service provider as registered in Shopify. | |
| FormattedName | String | True |
The display-ready version of the carrier service name, formatted for storefront or admin presentation. | |
| IconAltText | String | True |
Descriptive text explaining the purpose or content of the carrier's icon image, used for accessibility and SEO. | |
| IconHeight | Int | True |
The height of the carrier's icon image in pixels. Returns null if the image is not hosted by Shopify. | |
| IconId | String | True |
The unique identifier for the carrier's icon image asset. | |
| IconWidth | Int | True |
The width of the carrier's icon image in pixels. Returns null if the image is not hosted by Shopify. | |
| Active | Bool | False |
Indicates whether the carrier service is currently active and available for use in shipping calculations. | |
| SupportsServiceDiscovery | Bool | False |
Indicates whether merchants can test the carrier service with sample data in the Shopify admin to view example shipping rates. | |
| CallbackUrl | String | False |
The API endpoint URL that Shopify calls to retrieve live shipping rates from the carrier service. |
Represents product catalogs available to the shop, often used for B2B or channel-specific listings.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Catalogs
The following columns can be used to create a new record:
Status, Title, PriceListId, PublicationId
The following pseudo-column can be used to create a new record:
CompanyLocationIds
The following columns can be updated:
Status, Title, PriceListId, PublicationId
The following pseudo-column can be used to update a record:
CompanyLocationIds
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the catalog record. | |
| Status | String | False |
The current status of the catalog, such as active, draft, or archived. | |
| Title | String | False |
The display name or title of the catalog as defined by the merchant or system. | |
| PriceListId | String | False |
The unique identifier of the price list associated with this catalog, used to define product pricing. | |
| PublicationId | String | False |
The unique identifier of the publication through which the catalog is made available. | |
| OperationId | String | True |
The unique identifier of the operation or process that generated or updated the catalog. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| CompanyLocationIds | String |
A list of unique identifiers for company locations associated with this catalog, defining which locations the catalog applies to. |
Stores metadata for all collections in the shop, both manual and automated, including titles and publication status.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Collections WHERE Id = 'Val1'
SELECT * FROM Collections WHERE Title = 'Val1'
SELECT * FROM Collections WHERE UpdatedAt = '2023-01-01 11:10:00'
The following column can be updated:
SortOrder
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the collection record. | |
| LegacyResourceId | String | True |
The identifier of the corresponding collection resource in the REST Admin API. | |
| Title | String | True |
The name of the collection, displayed in the Shopify Admin and across sales channels such as the online store. | |
| Handle | String | True |
A unique, URL-friendly string used to identify the collection. If not specified, it's automatically generated from the title and used in Liquid templates to reference the collection. | |
| DescriptionHtml | String | True |
The HTML-formatted description of the collection, often displayed to customers in storefronts depending on the theme. | |
| ProductsCount | Int | True |
The total number of products currently assigned to the collection. | |
| ProductsCountPrecision | String | True |
Indicates the precision or reliability of the product count, specifying whether the value is exact or approximate. | |
| SortOrder | String | False |
Specifies how products within the collection are sorted by default in the Shopify Admin and storefront (for example, by title, best-selling, or manual). | |
| TemplateSuffix | String | True |
The suffix of the Liquid template used to render the collection page in the storefront. A value of 'custom' corresponds to 'collection.custom.liquid'. Null indicates the default 'collection.liquid' template. | |
| AvailablePublicationsCount | Int | True |
The total number of publications where this collection is currently published without feedback errors. | |
| AvailablePublicationsCountPrecision | String | True |
Indicates the precision or reliability of the available publications count. | |
| PublishedOnCurrentPublication | Bool | True |
Indicates whether the collection is published to the current app's active publication context. | |
| UpdatedAt | Datetime | True |
The timestamp marking when the collection was last updated or modified. | |
| FeedbackSummary | String | True |
A summary of feedback or diagnostic messages related to the collection resource. | |
| ImageId | String | True |
The unique identifier of the image associated with the collection. | |
| ImageWidth | Int | True |
The width of the collection's image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageAltText | String | True |
A short descriptive phrase explaining the content or purpose of the collection's image, used for accessibility and SEO. | |
| ImageHeight | Int | True |
The height of the collection's image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The direct URL where the collection's image is hosted. | |
| RuleSetAppliedDisjunctively | Bool | True |
Indicates how product inclusion rules are applied. If true, a product must meet any of the rules to be included; if false, it must meet all rules. | |
| SeoTitle | String | True |
The search engine optimization (SEO) title for the collection page, displayed in search engine results. | |
| SeoDescription | String | True |
The SEO description for the collection page, used as the meta description in search engine listings. |
Holds company profiles for B2B operations, including names, contact data, and relationship details.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Companies WHERE Id = 'Val1'
SELECT * FROM Companies WHERE ExternalId = 'Val1'
SELECT * FROM Companies WHERE Name = 'Val1'
SELECT * FROM Companies WHERE CustomerSince = '2023-01-01 11:10:00'
SELECT * FROM Companies WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Companies WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
ExternalId, Name, Note, CustomerSince
The following columns can be updated:
ExternalId, Name, Note, MainContactId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the company record within Shopify. | |
| ExternalId | String | False |
An externally provided identifier used to link the company to external systems or third-party integrations. | |
| Name | String | False |
The official name of the company as entered by the merchant. | |
| Note | String | False |
A merchant-authored note containing additional information or context about the company. | |
| ContactsCount | Int | True |
The total number of contact records associated with this company. | |
| ContactsCountPrecision | String | True |
Indicates whether the contacts count value is exact or estimated. | |
| CustomerSince | Datetime | True |
The date and time when the company was first recorded as a customer in Shopify. | |
| DefaultCursor | String | True |
A cursor value used to return the next record in ascending order by company ID during pagination. | |
| LifetimeDuration | String | True |
The length of time the company has been a customer, expressed in readable duration format such as '2 days', '3 months', or '1 year'. | |
| LocationsCount | Int | True |
The number of physical or operational locations associated with the company. | |
| LocationsCountPrecision | String | True |
Indicates whether the locations count value is exact or approximate. | |
| OrdersCount | Int | True |
The total number of orders placed by the company across all its associated locations. | |
| OrdersCountPrecision | String | True |
Indicates whether the order count value is exact or estimated. | |
| HasTimelineComment | Bool | True |
Indicates whether the merchant has added any timeline comments to this company record. | |
| CreatedAt | Datetime | True |
The timestamp marking when the company record was created in Shopify. | |
| UpdatedAt | Datetime | True |
The timestamp marking the most recent modification of the company record. | |
| DefaultRoleId | String | True |
The unique identifier of the default role assigned to contacts within this company. | |
| DefaultRoleName | String | True |
The name of the default role assigned to company contacts, such as 'Admin' or 'Buyer'. | |
| DefaultRoleNote | String | True |
A descriptive note or internal reference related to the default role configuration for the company. | |
| MainContactId | String | True |
The unique identifier of the company's designated main contact person. | |
| TotalSpentAmount | Decimal | True |
The total monetary amount spent by the company across all orders. | |
| TotalSpentCurrencyCode | String | True |
The three-letter ISO currency code representing the currency of the total amount spent. |
Maps company contacts to specific roles, defining permissions and access within a B2B company account.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyContactRoleAssignments WHERE CompanyContactId = 'Val1'
The following columns can be used to create a new record:
CompanyLocationId, CompanyContactId, RoleId
You can delete entries by specifying the following columns:
Id, CompanyContactId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the company contact role assignment record. | |
| CompanyId | String | True |
The unique identifier of the company associated with this role assignment. | |
| CompanyLocationId | String | True |
The unique identifier of the company location where this role applies. | |
| CompanyContactId | String | True |
The unique identifier of the company contact to whom this role is assigned. | |
| CreatedAt | Datetime | True |
The timestamp indicating when the role assignment was first created. | |
| UpdatedAt | Datetime | True |
The timestamp indicating when the role assignment record was last updated. | |
| RoleId | String | True |
The unique identifier of the role assigned to the company contact. | |
| RoleName | String | True |
The name of the assigned role, such as 'Admin', 'Buyer', or 'Manager'. | |
| RoleNote | String | True |
A descriptive note providing additional context or information about the assigned role. |
Stores individual contact records for companies, including names, emails, roles, and assigned company identifiers.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CompanyContacts WHERE CompanyId = 'Val1'
SELECT * FROM CompanyContacts WHERE Id = 'Val1'
The following columns can be used to create a new record:
CompanyId, Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone, CustomerId
The following columns can be updated:
Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| CompanyId | String | True |
The unique identifier of the company to which this contact is associated. | |
| Id [KEY] | String | True |
A unique identifier for the company contact record. | |
| IsMainContact | Bool | True |
Indicates whether this contact is designated as the company's primary point of contact. | |
| Title | String | False |
The job title or professional designation of the company contact. | |
| Locale | String | False |
The language or locale preference set for the company contact, used for communication and localization. | |
| LifetimeDuration | String | True |
The length of time since the company contact was created in Shopify, expressed in a readable format such as '1 year', '2 months', or '3 days'. | |
| CreatedAt | Datetime | True |
The timestamp marking when the company contact record was first created in Shopify. | |
| UpdatedAt | Datetime | True |
The timestamp marking when the company contact record was last updated. | |
| CustomerId | String | True |
The unique identifier of the customer record linked to this company contact. | |
| CustomerFirstName | String | False |
The first name of the customer associated with this contact. | |
| CustomerLastName | String | False |
The last name of the customer associated with this contact. | |
| CustomerEmail | String | False |
The email address of the customer linked to this contact record. | |
| CustomerPhone | String | False |
The phone number of the customer linked to this contact record. |
Contains company location data, including address, region, and association with parent companies.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyLocations WHERE CompanyId = 'Val1'
The following columns can be used to create a new record:
CompanyId, ExternalId, TaxRegistrationId, Name, Locale, Note, Phone, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressPhone, BillingAddressRecipient, BillingAddressZip, BillingAddressCountryCode, BillingAddressZoneCode, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressPhone, ShippingAddressRecipient, ShippingAddressZip, ShippingAddressCountryCode, ShippingAddressZoneCode
The following columns can be updated:
ExternalId, Name, Locale, Note, Phone, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the company location record. | |
| CompanyId | String | True |
Companies.Id |
The unique identifier of the company that owns or manages this location. |
| ExternalId | String | False |
An externally supplied identifier used to link the company location to external systems or integrations. | |
| TaxRegistrationId | String | True |
The tax registration number associated with the company location, used for compliance and invoicing. | |
| Name | String | False |
The name or display label of the company location. | |
| Currency | String | True |
The default currency used for transactions at this location, based on its shipping address or the shop's primary market. | |
| Locale | String | False |
The preferred locale or language setting for the company location. | |
| Note | String | False |
A merchant-authored note providing context or additional details about the company location. | |
| Phone | String | False |
The primary contact phone number for the company location. | |
| DefaultCursor | String | True |
A cursor value that returns the next record in ascending order by ID, used for pagination. | |
| OrdersCount | Int | True |
The total number of orders placed and fulfilled through this company location. | |
| OrdersCountPrecision | String | True |
Indicates whether the order count value is exact or estimated. | |
| TaxExemptions | String | True |
A list of applicable tax exemptions for the location, such as resale or government exemptions. | |
| HasTimelineComment | Bool | True |
Indicates whether a timeline comment has been added to this company location record. | |
| CreatedAt | Datetime | True |
The timestamp marking when the company location was created in Shopify. | |
| UpdatedAt | Datetime | True |
The timestamp marking the most recent update to the company location. | |
| BillingAddressId | String | True |
The unique identifier of the billing address associated with this company location. | |
| BillingAddressCompanyName | String | True |
The name of the company associated with the billing address. | |
| BillingAddressFirstName | String | True |
The first name of the billing contact person. | |
| BillingAddressLastName | String | True |
The last name of the billing contact person. | |
| BillingAddressAddress1 | String | True |
The first line of the billing address, typically the street name or PO Box. | |
| BillingAddressAddress2 | String | True |
The second line of the billing address, such as an apartment, suite, or unit number. | |
| BillingAddressCity | String | True |
The city or locality for the billing address. | |
| BillingAddressCountry | String | True |
The country name for the billing address. | |
| BillingAddressPhone | String | True |
The contact phone number associated with the billing address, formatted in E.164 standard (for example, +16135551111). | |
| BillingAddressProvince | String | True |
The region, state, or province for the billing address. | |
| BillingAddressRecipient | String | True |
The recipient designation for the billing address, such as 'Accounts Payable' or 'Receiving Department'. | |
| BillingAddressZip | String | True |
The postal or ZIP code for the billing address. | |
| BillingAddressCountryCode | String | True |
The two-letter ISO country code representing the billing address country (for example, US). | |
| BillingAddressFormattedArea | String | True |
A formatted list combining the billing address's city, province, and country. | |
| BillingAddressZoneCode | String | True |
The regional code for the billing address, such as the province or state abbreviation (for example, ON). | |
| BillingAddressCreatedAt | Datetime | True |
The timestamp marking when the billing address record was created. | |
| BillingAddressUpdatedAt | Datetime | True |
The timestamp marking when the billing address record was last updated. | |
| BuyerExperienceConfigurationCheckoutToDraft | Bool | False |
Indicates whether checkout automatically creates a draft order for merchant review before completion. | |
| BuyerExperienceConfigurationPayNowOnly | Bool | True |
Specifies whether buyers must pay immediately at checkout or can choose deferred payment terms. | |
| BuyerExperienceConfigurationEditableShippingAddress | Bool | False |
Indicates whether customers are allowed to edit shipping addresses during checkout. | |
| BuyerExperienceConfigurationDepositPercentage | Double | False |
The required deposit percentage that must be paid at checkout. | |
| BuyerExperienceConfigurationPaymentTermsTemplateId | String | False |
The unique identifier of the payment terms template applied to the buyer experience configuration. | |
| BuyerExperienceConfigurationPaymentTermsTemplateName | String | True |
The name of the payment terms template assigned to this company location. | |
| BuyerExperienceConfigurationPaymentTermsTemplateTranslatedName | String | True |
The localized or translated display name of the payment terms template. | |
| BuyerExperienceConfigurationPaymentTermsTemplateDescription | String | True |
A text description explaining the details or rules of the payment terms template. | |
| BuyerExperienceConfigurationPaymentTermsTemplateDueInDays | Int | True |
The number of days between the issue date and due date for net payment term types. | |
| BuyerExperienceConfigurationPaymentTermsTemplatePaymentTermsType | String | True |
The classification of the payment terms template, such as 'Net', 'Immediate', or 'Deferred'. | |
| MarketId | String | True |
The unique identifier of the market associated with this company location. | |
| ShippingAddressId | String | True |
The unique identifier of the shipping address associated with this company location. | |
| ShippingAddressCompanyName | String | True |
The name of the company associated with the shipping address. | |
| ShippingAddressFirstName | String | True |
The first name of the recipient for the shipping address. | |
| ShippingAddressLastName | String | True |
The last name of the recipient for the shipping address. | |
| ShippingAddressAddress1 | String | True |
The first line of the shipping address, typically the street address or PO Box. | |
| ShippingAddressAddress2 | String | True |
The second line of the shipping address, such as apartment, suite, or unit number. | |
| ShippingAddressCity | String | True |
The city or locality for the shipping address. | |
| ShippingAddressCountry | String | True |
The country name for the shipping address. | |
| ShippingAddressPhone | String | True |
The contact phone number associated with the shipping address, formatted in E.164 standard (for example, +16135551111). | |
| ShippingAddressProvince | String | True |
The region, state, or province for the shipping address. | |
| ShippingAddressRecipient | String | True |
The recipient designation for the shipping address, such as 'Receiving Department'. | |
| ShippingAddressZip | String | True |
The postal or ZIP code for the shipping address. | |
| ShippingAddressCountryCode | String | True |
The two-letter ISO country code representing the shipping address country (for example, US). | |
| ShippingAddressFormattedArea | String | True |
A formatted list combining the shipping address's city, province, and country values. | |
| ShippingAddressZoneCode | String | True |
The regional code for the shipping address, such as a state or province abbreviation (for example, ON). | |
| ShippingAddressCreatedAt | Datetime | True |
The timestamp marking when the shipping address record was created. | |
| ShippingAddressUpdatedAt | Datetime | True |
The timestamp marking when the shipping address record was last updated. | |
| TotalSpentAmount | Decimal | True |
The total amount spent by the company through this location, expressed as a decimal money value. | |
| TotalSpentCurrencyCode | String | True |
The three-letter ISO currency code representing the currency of the total amount spent. |
Lists staff members assigned to specific company locations. Available only for Shopify Plus stores.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CompanyLocationStaffMemberAssignments WHERE Id = 'Val1'
SELECT * FROM CompanyLocationStaffMemberAssignments WHERE CompanyLocationId = 'Val1'
The following columns can be used to create a new record:
CompanyLocationId, StaffMemberId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the company location staff member assignment record. | |
| CompanyId | String | True |
The unique identifier of the company associated with this staff assignment. | |
| CompanyName | String | True |
The official name of the company to which the staff member is assigned. | |
| CompanyLocationId | String | True |
The unique identifier of the specific company location where the staff member is assigned. | |
| CompanyLocationName | String | True |
The display name of the company location linked to this assignment. | |
| StaffMemberId | String | True |
The unique identifier of the staff member associated with the company location. | |
| StaffMemberName | String | True |
The full name of the staff member assigned to this company location. |
Contains customer profile data including contact info, marketing preferences, and order history.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Customers WHERE Id = 'Val1'
SELECT * FROM Customers WHERE Email = 'Val1'
SELECT * FROM Customers WHERE Phone = 'Val1'
SELECT * FROM Customers WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Customers WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt
The following columns can be updated:
FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the customer record. | |
| MultipassIdentifier | String | True |
A unique identifier used for Multipass login, allowing customers to log in seamlessly between external systems and Shopify. | |
| LegacyResourceId | String | True |
The identifier of the corresponding customer resource in the REST Admin API. | |
| ValidEmailAddress | Bool | True |
Indicates whether the customer's email address is correctly formatted and associated with a valid domain. This does not confirm that the address actually exists. | |
| DisplayName | String | True |
The display name of the customer, generated from their first and last name. If unavailable, this falls back to their email address or phone number. | |
| FirstName | String | False |
The customer's given name. | |
| LastName | String | False |
The customer's family name or surname. | |
| String | False |
The email address associated with the customer's account. | ||
| Locale | String | False |
The locale or language preference set for the customer. | |
| Note | String | False |
A merchant-authored note containing additional information or internal context about the customer. | |
| Phone | String | False |
The customer's contact phone number, optionally formatted according to international standards. | |
| State | String | True |
The current state of the customer's account, such as active, disabled, or invited. | |
| Tags | String | False |
A comma-separated list of tags applied to the customer for segmentation or filtering purposes. | |
| CanDelete | Bool | True |
Indicates whether the customer can be deleted from the store. Customers with completed orders cannot be deleted. | |
| LifetimeDuration | String | True |
The total time elapsed since the customer was first added to the store, expressed in natural language (for example, 'about 12 years'). | |
| TaxExempt | Bool | False |
Indicates whether the customer is exempt from tax charges on their orders. | |
| TaxExemptions | String | False |
A list of tax exemptions applied to the customer, such as resale or government exemptions. | |
| UnsubscribeUrl | String | True |
The direct URL that allows the customer to unsubscribe from marketing communications. | |
| VerifiedEmail | Bool | True |
Indicates whether the customer's email address has been verified. Defaults to true when created via the Admin or API. | |
| NumberOfOrders | String | True |
The total number of orders placed by the customer over their lifetime with the store. | |
| ProductSubscriberStatus | String | True |
The customer's current subscription contract status, reflecting their engagement in recurring product subscriptions. | |
| CreatedAt | Datetime | True |
The timestamp marking when the customer record was first created in Shopify. | |
| UpdatedAt | Datetime | True |
The timestamp marking the most recent update to the customer record. | |
| AmountSpentAmount | Decimal | True |
The total amount of money spent by the customer across all orders, expressed as a decimal value. | |
| AmountSpentCurrencyCode | String | True |
The three-letter ISO currency code corresponding to the total amount spent. | |
| DefaultAddressId | String | True |
The unique identifier of the customer's default address record. | |
| DefaultAddressCoordinatesValidated | Bool | True |
Indicates whether the default address contains verified latitude and longitude coordinates. | |
| DefaultAddressValidationResultSummary | String | True |
A summary of the validation status for the customer's default address, based on Shopify's address validation feature. | |
| DefaultAddressName | String | True |
The full name of the customer as displayed in the default address record. | |
| DefaultAddressFirstName | String | False |
The first name from the customer's default address. | |
| DefaultAddressLastName | String | False |
The last name from the customer's default address. | |
| DefaultAddressAddress1 | String | False |
The first line of the default address, typically including the street address or PO Box number. | |
| DefaultAddressAddress2 | String | False |
The second line of the default address, often used for apartment, suite, or unit numbers. | |
| DefaultAddressCity | String | False |
The city or locality specified in the default address. | |
| DefaultAddressCompany | String | False |
The name of the company or organization listed on the default address, if applicable. | |
| DefaultAddressCountry | String | False |
The country name specified in the default address. | |
| DefaultAddressLatitude | Double | True |
The latitude coordinate corresponding to the default address. | |
| DefaultAddressLongitude | Double | True |
The longitude coordinate corresponding to the default address. | |
| DefaultAddressPhone | String | False |
The contact phone number associated with the default address, formatted according to E.164 standards (for example, +16135551111). | |
| DefaultAddressProvince | String | False |
The administrative region, province, or state associated with the default address. | |
| DefaultAddressZip | String | False |
The postal or ZIP code for the default address. | |
| DefaultAddressFormattedArea | String | True |
A formatted string combining the city, province, and country for the default address. | |
| DefaultAddressProvinceCode | String | False |
The two-letter code representing the province or state for the default address (for example, ON). | |
| DefaultAddressCountryCodeV2 | String | False |
The two-letter ISO country code representing the default address country (for example, US). | |
| EmailMarketingConsentMarketingState | String | True |
The customer's current email marketing consent state, indicating whether they are subscribed or unsubscribed. | |
| EmailMarketingConsentMarketingOptInLevel | String | True |
The opt-in level for marketing emails, defined by the M3AAWG best practice guidelines at the time of consent. | |
| EmailMarketingConsentConsentUpdatedAt | Datetime | True |
The timestamp marking when the customer last updated their email marketing consent. If not provided, the timestamp reflects when the consent record was received. | |
| ImageId | String | True |
The unique identifier of the customer's profile image, if available. | |
| ImageWidth | Int | True |
The width of the profile image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageAltText | String | True |
A short descriptive text explaining the content or purpose of the profile image. | |
| ImageHeight | Int | True |
The height of the profile image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The URL location of the customer's profile image. | |
| LastOrderId | String | True |
The unique identifier of the customer's most recent order. | |
| MarketId | String | True |
The unique identifier of the market associated with the customer's account. | |
| MergeableReason | String | True |
The reason why this customer record cannot currently be merged with another customer. | |
| MergeableErrorFields | String | True |
A list of fields or data elements preventing the customer from being merged. | |
| MergeableIsMergeable | Bool | True |
Indicates whether the customer can be merged with another record. | |
| MergeableMergeInProgressJobId | String | True |
The unique identifier of an in-progress customer merge job, if applicable. | |
| MergeableMergeInProgressResultingCustomerId | String | True |
The unique identifier of the resulting customer record after a merge operation. | |
| MergeableMergeInProgressStatus | String | True |
The current status of the merge operation for this customer, such as pending or completed. | |
| SmsMarketingConsentMarketingState | String | False |
The customer's current SMS marketing consent state, such as subscribed or unsubscribed. | |
| SmsMarketingConsentConsentCollectedFrom | String | True |
The source channel from which SMS marketing consent was collected, such as checkout or sign-up form. | |
| SmsMarketingConsentMarketingOptInLevel | String | False |
The level of opt-in given by the customer for SMS marketing communications. | |
| SmsMarketingConsentConsentUpdatedAt | Datetime | False |
The timestamp marking when the customer last consented to receive SMS marketing messages. | |
| StatisticsPredictedSpendTier | String | True |
The predicted spending tier assigned to the customer based on their purchase behavior and store data. |
Stores delivery profile configurations, defining how products are grouped and shipped from different locations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DeliveryProfiles WHERE Id = 'Val1'
SELECT * FROM DeliveryProfiles WHERE MerchantOwnedOnly = true
The following column can be used to create a new record:
Name
The following column can be updated:
Name
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the delivery profile record. | |
| Name | String | False |
The display name of the delivery profile as defined by the merchant. | |
| Default | Bool | True |
Indicates whether this delivery profile is set as the store's default profile for shipping and delivery settings. | |
| LegacyMode | Bool | True |
Indicates whether the shop is operating in legacy compatibility mode for delivery profiles, preserving older shipping configurations. | |
| OriginLocationCount | Int | True |
The total number of active origin locations associated with this delivery profile. | |
| ZoneCountryCount | Int | True |
The number of countries included in the delivery zones that have active shipping rates. | |
| ActiveMethodDefinitionsCount | Int | True |
The total number of active shipping rate definitions configured under this delivery profile. | |
| LocationsWithoutRatesCount | Int | True |
The number of fulfillment or origin locations that do not currently have defined shipping rates. | |
| ProductVariantsCount | Int | True |
The total number of product variants assigned to this delivery profile. | |
| ProductVariantsCountPrecision | String | True |
Indicates whether the product variant count value is exact or estimated. | |
| MerchantOwnedOnly | Bool | True |
If true, limits results to delivery profiles created directly by the merchant rather than by third-party apps or integrations. |
Contains automatic discounts created by apps, including qualifying conditions and applied benefits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticApp WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE Status = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeTitle = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeDiscountClass = 'Val1'
The following columns can be used to create a new record:
Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following columns can be updated:
Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the automatic app discount record. | |
| DiscountId | String | True |
The unique identifier of the associated discount that defines this automatic app discount configuration. | |
| Title | String | False |
The display title of the discount, as shown to merchants or customers. | |
| Status | String | True |
The current operational state of the discount, such as active, scheduled, or expired. | |
| DiscountClass | String | True |
Defines how this discount interacts with other discounts when combined, such as order-level or product-level. | |
| AppliesOnSubscription | Bool | False |
Indicates whether the discount applies to subscription-based purchases, allowing recurring discounts for subscribed items. | |
| RecurringCycleLimit | Int | False |
Specifies how many billing cycles the discount remains active for subscription orders. For instance, '3' limits the discount to the first three cycles, while '0' applies it indefinitely. | |
| EndsAt | Datetime | False |
The date and time when the discount stops being valid. Returns 'null' for open-ended or ongoing discounts. | |
| StartsAt | Datetime | False |
The date and time when the discount first becomes active. | |
| AsyncUsageCount | Int | True |
The total number of times this discount has been used, updated asynchronously and may temporarily differ from the exact usage count. | |
| CreatedAt | Datetime | True |
The date and time when this automatic app discount was initially created. | |
| UpdatedAt | Datetime | True |
The date and time when this automatic app discount was last modified. | |
| AppDiscountTypeFunctionId | String | False |
The unique identifier of the app function that defines the logic or rules for this discount type. | |
| AppDiscountTypeTitle | String | True |
The title of the app-defined discount type that determines how the discount is applied. | |
| AppDiscountTypeDescription | String | True |
A human-readable description explaining the purpose and behavior of the app discount type. | |
| AppDiscountTypeAppKey | String | True |
The unique client ID of the app responsible for providing and managing this discount type. | |
| AppDiscountTypeDiscountClass | String | True |
Specifies the classification of the app discount type for determining combination behavior with other discounts. | |
| AppDiscountTypeTargetType | String | True |
Identifies the specific target type of the discount, such as 'SHIPPING_LINE' for shipping discounts or 'LINE_ITEM' for product-level discounts. | |
| CombinesWithOrderDiscounts | Bool | False |
Indicates whether this discount can be applied in combination with other order-level discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Indicates whether this discount can be applied in combination with other product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Indicates whether this discount can be applied in combination with other shipping-related discounts. | |
| ErrorHistoryFirstOccurredAt | Datetime | True |
The date and time when the first recorded error occurred during the discount's operation. | |
| ErrorHistoryErrorsFirstOccurredAt | Datetime | True |
The timestamp of the earliest occurrence among recorded discount-related errors. | |
| ErrorHistoryHasSharedRecentErrors | Bool | True |
Indicates whether the merchant has shared all recent discount-related error details with the app developer. | |
| ErrorHistoryHasBeenSharedSinceLastError | Bool | True |
Indicates whether the merchant has shared error details that occurred since the most recent recorded error. |
Stores basic automatic discount rules applied at checkout without the use of discount codes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticBasic WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticBasic WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticBasic WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, MinimumQuantity, MinimumSubtotal
The following columns can be updated:
Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the automatic basic discount record. | |
| Title | String | False |
The display title of the discount, as shown to merchants or customers. | |
| Status | String | True |
The current operational status of the discount, such as active, scheduled, or expired. | |
| Summary | String | True |
A detailed description summarizing the terms, conditions, and effects of the discount. | |
| DiscountClass | String | True |
Defines how this discount interacts with other discounts when applied together, such as whether it is order-level, product-level, or shipping-level. | |
| EndsAt | Datetime | False |
The date and time when the discount expires. Returns 'null' if the discount is open-ended or ongoing. | |
| ShortSummary | String | True |
A brief summary of the discount, typically used for display in lists or summaries. | |
| StartsAt | Datetime | False |
The date and time when the discount becomes active. | |
| AsyncUsageCount | Int | True |
The total number of times this discount has been used, updated asynchronously and potentially differing from the real-time count. | |
| CreatedAt | Datetime | True |
The date and time when this automatic basic discount was created. | |
| CombinesWithOrderDiscounts | Bool | False |
Indicates whether this discount can be combined with other order-level discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Indicates whether this discount can be combined with other product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Indicates whether this discount can be combined with other shipping-related discounts. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | True |
Specifies the minimum number of items that must be purchased for the discount to be applied. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| AppliesOnEachItem | Bool |
If true, the discount value is applied individually to each eligible item. If false, the total discount amount is distributed evenly across all eligible items. |
| DiscountAmount | Decimal |
The monetary value or percentage amount of the discount applied to the eligible items or order. |
| ProductsToAdd | String |
A comma-separated list of product IDs to which the discount will be newly applied. |
| ProductsToRemove | String |
A comma-separated list of product IDs from which the discount will be removed. |
| MinimumQuantity | String |
Specifies the minimum number of items required in the cart for the discount to activate. |
| MinimumSubtotal | String |
Specifies the minimum subtotal value required in the order for the discount to be applied. |
Represents 'Buy X Get Y' automatic discount configurations and their qualifying item relationships.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticBxgy WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE Status = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the automatic Buy X Get Y discount record. | |
| Title | String | False |
The display title of the discount, as shown in the Shopify admin or storefront. | |
| Status | String | True |
The current operational state of the discount, such as active, scheduled, or expired. | |
| Summary | String | True |
A detailed summary describing the Buy X Get Y promotion, including the qualifying and reward criteria. | |
| DiscountClass | String | True |
Defines how this discount interacts with other discounts when combined, such as order-level or product-level classification. | |
| EndsAt | Datetime | False |
The date and time when the discount expires. Returns 'null' if the discount has no end date. | |
| StartsAt | Datetime | False |
The date and time when the discount becomes active and available to customers. | |
| AsyncUsageCount | Int | True |
The total number of times this discount has been used. The value is updated asynchronously and may differ from real-time counts. | |
| UsesPerOrderLimit | Int | False |
The maximum number of times the discount can be applied within a single order. | |
| CreatedAt | Datetime | True |
The date and time when the Buy X Get Y discount was created in Shopify. | |
| CombinesWithOrderDiscounts | Bool | False |
Indicates whether this discount can be combined with other order-level discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Indicates whether this discount can be combined with other product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Indicates whether this discount can be combined with shipping-related discounts. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| DiscountOnQuantity | String |
Specifies the number of reward items (the 'Y' portion) that are discounted when the promotion applies. |
| DiscountPercentage | Double |
The percentage value of the discount applied to the reward items. |
| ProductsToAdd | String |
A comma-separated list of product IDs to include in the eligible reward group for the discount. |
| ProductsToRemove | String |
A comma-separated list of product IDs to remove from the eligible reward group. |
| DiscountQuantityToBuy | String |
Specifies the quantity of prerequisite items (the 'X' portion) that must be purchased for the discount to activate. |
| DiscountAmountToBuy | String |
Defines the total value or spending threshold required to qualify for the discount. |
| ProductsBuysToAdd | String |
A comma-separated list of product IDs to include in the qualifying (buy) group for the discount. |
| ProductsBuysToRemove | String |
A comma-separated list of product IDs to remove from the qualifying (buy) group for the discount. |
Tracks app-generated discount codes, including associated price rules and redemption limits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeApp WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeTitle = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeDiscountClass = 'Val1'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers
The following pseudo-columns can be used to create a new record:
Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers
The following pseudo-columns can be used to update a record:
Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the discount code app record. | |
| DiscountId | String | True |
The unique identifier of the parent discount that this code belongs to. | |
| Title | String | False |
The name or label of the discount as displayed in the Shopify admin or storefront. | |
| Status | String | True |
The current operational state of the discount, such as active, scheduled, or expired. | |
| CodesCount | Int | True |
The total number of unique redemption codes generated for this discount. | |
| CodesCountPrecision | String | True |
Indicates the precision of the codes count, showing how exact or estimated the total is. | |
| DiscountClass | String | True |
Defines how this discount interacts with others when combined, such as order-level, product-level, or shipping-level classification. | |
| EndsAt | Datetime | False |
The date and time when the discount expires. Returns 'null' for open-ended or ongoing discounts. | |
| StartsAt | Datetime | False |
The date and time when the discount becomes active and available for use. | |
| UsageLimit | Int | False |
The maximum number of times this discount code can be redeemed across all customers. | |
| AsyncUsageCount | Int | True |
The total number of times the discount has been used. This value is updated asynchronously and may differ from the real-time count. | |
| HasTimelineComment | Bool | True |
Indicates whether any timeline comments or admin notes exist for this discount record. | |
| RecurringCycleLimit | Int | True |
Specifies the number of recurring billing cycles during which the discount remains applicable for subscription purchases. | |
| AppliesOncePerCustomer | Bool | False |
If true, each customer can only redeem this discount code once. | |
| CreatedAt | Datetime | True |
The date and time when the discount code app entry was created in Shopify. | |
| AppDiscountTypeFunctionId | String | False |
The unique identifier of the app function responsible for calculating or managing this discount. | |
| AppDiscountTypeTitle | String | True |
The name or title of the app discount type defining how the discount operates. | |
| AppDiscountTypeDescription | String | True |
A detailed explanation of the logic or purpose behind the app discount type. | |
| AppDiscountTypeAppKey | String | True |
The unique client ID of the app providing the discount type. | |
| AppDiscountTypeDiscountClass | String | True |
Defines the classification of the app discount type, such as order-level, product-level, or shipping-level. | |
| AppDiscountTypeTargetType | String | True |
Specifies what the discount applies to, such as 'SHIPPING_LINE' for shipping costs or 'LINE_ITEM' for products. | |
| CombinesWithOrderDiscounts | Bool | False |
Indicates whether this discount can be combined with other order-level discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Indicates whether this discount can be combined with other product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Indicates whether this discount can be combined with shipping-related discounts. | |
| DiscountCustomerAllAllCustomers | Bool | False |
Specifies whether the discount is available to all customers. This field always returns 'true'. | |
| ErrorHistoryFirstOccurredAt | Datetime | True |
The timestamp of the first error that occurred during discount processing or validation. | |
| ErrorHistoryErrorsFirstOccurredAt | Datetime | True |
The timestamp of the earliest recorded error for this discount record. | |
| ErrorHistoryHasSharedRecentErrors | Bool | True |
Indicates whether the merchant has shared all recent error logs with the app developer. | |
| ErrorHistoryHasBeenSharedSinceLastError | Bool | True |
Indicates whether the merchant has shared the latest error logs since the most recent failure. | |
| TotalSalesAmount | Decimal | True |
The total sales revenue generated through orders that used this discount code. | |
| TotalSalesCurrencyCode | String | True |
The ISO currency code representing the currency of the total sales amount. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The specific discount code string customers can enter to apply the discount. |
| AddAllCustomers | Bool |
If true, the discount will automatically be available to all customers without restriction. |
| CustomersToAdd | String |
A comma-separated list of customer IDs to grant access to this discount. |
| CustomersToRemove | String |
A comma-separated list of customer IDs to revoke access from this discount. |
| CustomerSegmentsToAdd | String |
A comma-separated list of customer segment IDs to include in the eligibility for this discount. |
| CustomerSegmentsToRemove | String |
A comma-separated list of customer segment IDs to exclude from the eligibility for this discount. |
Contains standard discount code data, including percentage or fixed-value discounts and usage metrics.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeBasic WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeBasic WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeBasic WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity
The following pseudo-columns can be used to create a new record:
Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity
The following pseudo-columns can be used to update a record:
Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the discount code record. | |
| Title | String | False |
The display name or title of the discount as shown in the Shopify admin and storefront. | |
| Status | String | True |
The current operational state of the discount, such as active, scheduled, or expired. | |
| Summary | String | True |
A detailed description summarizing the purpose, scope, and conditions of the discount. | |
| CodesCount | Int | True |
The total number of individual redemption codes associated with this discount. | |
| CodesCountPrecision | String | True |
Specifies how precise or approximate the total count of redemption codes is. | |
| DiscountClass | String | True |
Defines the classification of the discount, indicating how it can combine with other discounts (for example, product-level or order-level). | |
| EndsAt | Datetime | False |
The date and time when the discount expires. Returns 'null' for discounts with no defined end date. | |
| ShortSummary | String | True |
A concise summary highlighting the main details of the discount. | |
| StartsAt | Datetime | False |
The date and time when the discount becomes active and available for use. | |
| UsageLimit | Int | False |
The maximum number of times this discount code can be redeemed across all customers. | |
| AsyncUsageCount | Int | True |
The total number of times the discount has been used. This count is updated asynchronously and may not reflect real-time usage. | |
| HasTimelineComment | Bool | True |
Indicates whether any timeline comments or internal notes have been added to this discount record. | |
| RecurringCycleLimit | Int | False |
Specifies the number of billing cycles during which the discount applies for recurring purchases or subscriptions. | |
| AppliesOncePerCustomer | Bool | False |
If true, each customer can redeem the discount code only once. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created within Shopify. | |
| CombinesWithOrderDiscounts | Bool | False |
Indicates whether this discount can be used in combination with other order-level discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Indicates whether this discount can be used in combination with product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Indicates whether this discount can be used in combination with shipping-related discounts. | |
| CustomerGetsAppliesOnSubscription | Bool | False |
Specifies whether the discount applies to subscription-based items that are billed on a recurring schedule. | |
| CustomerGetsAppliesOnOneTimePurchase | Bool | False |
Specifies whether the discount applies to standard one-time purchase items. | |
| DiscountCustomerAllAllCustomers | Bool | False |
Indicates whether all customers are eligible to use this discount. This value is always 'true'. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | False |
The minimum quantity of items required for the discount to be applied. | |
| TotalSalesAmount | Decimal | True |
The total amount of sales revenue associated with orders that used this discount code. | |
| TotalSalesCurrencyCode | String | True |
The ISO currency code representing the currency of the total sales amount. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The alphanumeric discount code that customers enter at checkout to apply the discount. |
| AppliesOnEachItem | Bool |
If true, the discount applies individually to each eligible item; if false, the discount amount is distributed across all eligible items. |
| DiscountAmount | Decimal |
The monetary value or percentage of the discount being applied. |
| ProductsToAdd | String |
A comma-separated list of product IDs to include in the discount's eligibility. |
| ProductsToRemove | String |
A comma-separated list of product IDs to exclude from the discount's eligibility. |
| AddAllCustomers | Bool |
If true, the discount automatically applies to all customers without restrictions. |
| CustomersToAdd | String |
A comma-separated list of customer IDs to grant access to this discount. |
| CustomersToRemove | String |
A comma-separated list of customer IDs to revoke access to this discount. |
| CustomerSegmentsToAdd | String |
A comma-separated list of customer segment IDs to include in the discount's eligibility. |
| CustomerSegmentsToRemove | String |
A comma-separated list of customer segment IDs to exclude from the discount's eligibility. |
Holds 'Buy X Get Y' discount code configurations tied to specific product eligibility conditions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeBxgy WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeBxgy WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeBxgy WHERE StartsAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the discount code record. | |
| Title | String | False |
The display name or title of the Buy X Get Y discount as it appears in the Shopify admin or storefront. | |
| Status | String | True |
The current operational state of the discount, such as active, scheduled, or expired. | |
| Summary | String | True |
A detailed explanation of the discount, describing the conditions under which it applies and the benefits offered. | |
| CodesCount | Int | True |
The total number of redemption codes created for this discount. | |
| CodesCountPrecision | String | True |
Specifies how precise or approximate the total count of redemption codes is. | |
| DiscountClass | String | True |
Defines how this discount interacts with others when combined, such as whether it can be stacked with order, product, or shipping discounts. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. Returns 'null' for discounts with no expiration date. | |
| StartsAt | Datetime | False |
The date and time when the discount becomes active and available for use. | |
| UsageLimit | Int | False |
The maximum number of times this discount can be redeemed across all customers. | |
| AsyncUsageCount | Int | True |
The total number of times the discount has been used. This value is updated asynchronously and may differ slightly from real-time usage. | |
| HasTimelineComment | Bool | True |
Indicates whether any timeline comments or admin notes exist for this discount record. | |
| AppliesOncePerCustomer | Bool | False |
If true, each customer can redeem the discount code only once. | |
| UsesPerOrderLimit | Int | False |
Specifies how many times the discount can be applied within a single order. | |
| CreatedAt | Datetime | True |
The date and time when the discount record was created in Shopify. | |
| CombinesWithOrderDiscounts | Bool | False |
Indicates whether this discount can be combined with order-level discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Indicates whether this discount can be combined with product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Indicates whether this discount can be combined with shipping-related discounts. | |
| CustomerGetsAppliesOnSubscription | Bool | True |
Specifies whether the discount applies to subscription-based products that renew on a recurring schedule. | |
| CustomerGetsAppliesOnOneTimePurchase | Bool | True |
Specifies whether the discount applies to one-time purchase items. | |
| DiscountCustomerAllAllCustomers | Bool | True |
Indicates whether all customers are eligible to use this discount. This value is always 'true'. | |
| TotalSalesAmount | Decimal | True |
The total sales revenue associated with orders that used this discount. | |
| TotalSalesCurrencyCode | String | True |
The ISO currency code representing the currency of the total sales amount. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The alphanumeric discount code customers enter at checkout to redeem the discount. |
| DiscountOnQuantity | String |
The number of free or discounted items given as part of the promotion (the 'Get Y' portion). |
| DiscountPercentage | Double |
The percentage discount applied to the qualifying items (for example, 50% off the free product). |
| ProductsToAdd | String |
A comma-separated list of product IDs to include in the discount's eligible item set. |
| ProductsToRemove | String |
A comma-separated list of product IDs to exclude from the discount's eligible item set. |
| DiscountAmountToBuy | String |
The value threshold customers must reach to qualify for the discount, such as a minimum purchase amount. |
| DiscountQuantityToBuy | Double |
The number of qualifying items customers must purchase to trigger the discount (the 'Buy X' portion). |
| ProductsBuysToAdd | String |
A comma-separated list of product IDs that count toward the qualifying purchase set. |
| ProductsBuysToRemove | String |
A comma-separated list of product IDs to remove from the qualifying purchase set. |
| AddAllCustomers | Bool |
If true, the discount is automatically available to all customers without restriction. |
| CustomersToAdd | String |
A comma-separated list of customer IDs to grant access to this discount. |
| CustomersToRemove | String |
A comma-separated list of customer IDs to revoke access to this discount. |
| CustomerSegmentsToAdd | String |
A comma-separated list of customer segment IDs to include in the discount's eligibility. |
| CustomerSegmentsToRemove | String |
A comma-separated list of customer segment IDs to exclude from the discount's eligibility. |
Stores draft order records created by merchants, allowing manual invoice creation and checkout completion.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DraftOrders WHERE Id = 'Val1'
SELECT * FROM DraftOrders WHERE Status = 'Val1'
SELECT * FROM DraftOrders WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DraftOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM DraftOrders WHERE CustomerId = 'Val1'
The following columns can be used to create a new record:
Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout
| Column Name | Type | Description |
| Title | String | The title of the product or variant. This field only applies to custom line items. |
| Quantity | Int | The number of product variants that are requested in the draft order. |
| Sku | String | The SKU number of the product variant. |
| Taxable | Bool | Whether the variant is taxable. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| AppliedDiscountTitle | String | Name of the order-level discount. |
| AppliedDiscountDescription | String | Description of the order-level discount. |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. |
| AppliedDiscountValueType | String | Type of the order-level discount. |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. |
| VariantId | String | A globally-unique ID. |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. |
| WeightUnit | String | The unit of measurement for 'value'. |
The following columns can be updated:
Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout
| Column Name | Type | Description |
| Title | String | The title of the product or variant. This field only applies to custom line items. |
| Quantity | Int | The number of product variants that are requested in the draft order. |
| Sku | String | The SKU number of the product variant. |
| Taxable | Bool | Whether the variant is taxable. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| AppliedDiscountTitle | String | Name of the order-level discount. |
| AppliedDiscountDescription | String | Description of the order-level discount. |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. |
| AppliedDiscountValueType | String | Type of the order-level discount. |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. |
| VariantId | String | A globally-unique ID. |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. |
| WeightUnit | String | The unit of measurement for 'value'. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the draft order. | |
| LegacyResourceId | String | True |
The corresponding resource ID for this draft order in the REST Admin API. | |
| Name | String | True |
A unique name or identifier for the draft order, such as '#D1223', used to reference it within the store. | |
| MarketName | String | True |
The name of the market associated with the draft order, indicating which market settings and currency apply. | |
| String | False |
The customer's email address used for sending notifications or invoices related to the draft order. | ||
| Note2 | String | True |
An optional note or comment attached to the draft order, typically used by staff for internal context. | |
| Phone | String | True |
The phone number associated with the draft order, usually belonging to the customer or billing contact. | |
| Ready | Bool | True |
Indicates whether the draft order is finalized and ready to be completed. Some asynchronous operations must complete before it can be marked ready. | |
| Status | String | True |
The current processing state of the draft order, such as open, completed, or invoice sent. | |
| Tags | String | True |
A comma-separated list of tags applied to the draft order. Updating this field overwrites existing tags; to add new tags without overwriting, use a mutation. | |
| CompletedAt | Datetime | True |
The date and time when the draft order was converted into a completed order. | |
| CurrencyCode | String | True |
The three-letter ISO code representing the currency of the store at the time of the last update. | |
| DefaultCursor | String | True |
A default pagination cursor that retrieves the next draft order record when sorted ascending by ID. | |
| InvoiceUrl | String | True |
The URL for the draft order checkout page, included in the invoice email sent to the customer. | |
| TaxExempt | Bool | True |
Indicates whether the draft order is exempt from tax calculation. | |
| TaxesIncluded | Bool | True |
Indicates whether line item prices already include taxes. | |
| TotalWeight | String | True |
The combined total weight of all items in the draft order, measured in grams. | |
| HasTimelineComment | Bool | True |
Whether any timeline comments have been added by a merchant to the draft order. | |
| InvoiceSentAt | Datetime | True |
The date and time when the invoice email was last sent to the customer. | |
| PresentmentCurrencyCode | String | True |
The customer's currency used for payment on the draft order. | |
| ReserveInventoryUntil | Datetime | True |
The date and time until which the inventory for this draft order is reserved before being automatically restocked. | |
| VisibleToCustomer | Bool | True |
Whether the draft order is visible to the customer in their self-service portal. | |
| InvoiceEmailTemplateSubject | String | True |
The subject line used for the invoice email sent to the customer. | |
| MarketRegionCountryCode | String | True |
The two-letter country code of the market region associated with this draft order. | |
| BillingAddressMatchesShippingAddress | Bool | True |
Indicates whether the billing and shipping addresses are identical. | |
| CreatedAt | Datetime | True |
The date and time when the draft order was first created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time of the most recent update to the draft order. | |
| OrderId | String | True |
The unique identifier of the order created from this draft order, if applicable. | |
| PurchasingEntityCustomerId | String | True |
The unique ID of the customer entity associated with the draft order. | |
| PurchasingEntityCompanyCompanyId | String | True |
The unique ID of the company associated with the purchasing entity. | |
| CustomerId | String | False |
Customers.Id |
The unique ID of the customer who will receive the draft order invoice. |
| BillingAddressId | String | False |
The unique identifier for the billing address associated with this draft order. | |
| BillingAddressCoordinatesValidated | Bool | True |
Indicates whether the billing address coordinates were successfully validated. | |
| BillingAddressValidationResultSummary | String | True |
A brief summary of the billing address validation result from Shopify Admin's address validation feature. | |
| BillingAddressName | String | True |
The customer's full name as listed in the billing address. | |
| BillingAddressFirstName | String | False |
The customer's first name as listed in the billing address. | |
| BillingAddressLastName | String | False |
The customer's last name as listed in the billing address. | |
| BillingAddressAddress1 | String | False |
The first line of the billing address, typically the street address or P.O. Box. | |
| BillingAddressAddress2 | String | False |
The second line of the billing address, such as apartment, suite, or unit number. | |
| BillingAddressCity | String | False |
The city or town listed on the billing address. | |
| BillingAddressCompany | String | False |
The company name associated with the billing address, if provided. | |
| BillingAddressCountry | String | False |
The full name of the billing address country. | |
| BillingAddressLatitude | Double | True |
The latitude coordinate for the billing address location. | |
| BillingAddressLongitude | Double | True |
The longitude coordinate for the billing address location. | |
| BillingAddressPhone | String | False |
The billing contact's phone number, formatted per the E.164 standard (for example, +16135551111). | |
| BillingAddressProvince | String | False |
The province, state, or region of the billing address. | |
| BillingAddressZip | String | False |
The postal or ZIP code for the billing address. | |
| BillingAddressFormattedArea | String | True |
A formatted combination of city, province, and country for the billing address. | |
| BillingAddressProvinceCode | String | False |
The two-letter code representing the province or state (for example, ON). | |
| BillingAddressCountryCodeV2 | String | False |
The two-letter ISO code for the billing address country (for example, US). | |
| ShippingAddressId | String | False |
The unique identifier for the shipping address associated with this draft order. | |
| ShippingAddressCoordinatesValidated | Bool | True |
Indicates whether the shipping address coordinates were successfully validated. | |
| ShippingAddressValidationResultSummary | String | True |
A summary of the shipping address validation result from Shopify Admin's validation feature. | |
| ShippingAddressName | String | True |
The customer's full name as listed in the shipping address. | |
| ShippingAddressFirstName | String | False |
The customer's first name as listed in the shipping address. | |
| ShippingAddressLastName | String | False |
The customer's last name as listed in the shipping address. | |
| ShippingAddressAddress1 | String | False |
The first line of the shipping address, typically the street address or P.O. Box. | |
| ShippingAddressAddress2 | String | False |
The second line of the shipping address, such as apartment, suite, or unit number. | |
| ShippingAddressCity | String | False |
The city or town listed on the shipping address. | |
| ShippingAddressCompany | String | False |
The company name associated with the shipping address, if provided. | |
| ShippingAddressCountry | String | False |
The full name of the shipping address country. | |
| ShippingAddressLatitude | Double | True |
The latitude coordinate for the shipping address location. | |
| ShippingAddressLongitude | Double | True |
The longitude coordinate for the shipping address location. | |
| ShippingAddressPhone | String | False |
The shipping contact's phone number, formatted per the E.164 standard (for example, +16135551111). | |
| ShippingAddressProvince | String | False |
The province, state, or region of the shipping address. | |
| ShippingAddressZip | String | False |
The postal or ZIP code for the shipping address. | |
| ShippingAddressFormattedArea | String | True |
A formatted combination of city, province, and country for the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter code representing the province or state (for example, ON). | |
| ShippingAddressCountryCodeV2 | String | False |
The two-letter ISO code for the shipping address country (for example, US). | |
| ShippingLineId | String | True |
The unique identifier for the shipping line associated with this draft order. | |
| ShippingLineCarrierIdentifier | String | True |
A reference to the carrier service that provided the shipping rate, if it was computed by a third-party carrier. | |
| ShippingLineTitle | String | True |
The title or display name of the selected shipping method. | |
| ShippingLineCode | String | True |
An internal reference code for the shipping method. | |
| ShippingLineCustom | Bool | True |
Indicates whether the shipping line was manually entered rather than generated automatically. | |
| ShippingLinePhone | String | True |
The phone number associated with the shipping address for the shipping line. | |
| ShippingLineSource | String | True |
The origin of the shipping rate, indicating how it was generated or selected. | |
| ShippingLineDeliveryCategory | String | True |
A high-level classification of the delivery method, such as standard or express. | |
| ShippingLineShippingRateHandle | String | True |
A system-generated unique identifier for the shipping rate, used internally by Shopify. | |
| ShippingLineRequestedFulfillmentServiceId | String | True |
The unique identifier of the fulfillment service responsible for fulfilling this shipping line. | |
| AppliedDiscountTitle | String | False |
The name or label of the applied discount at the order level. | |
| AppliedDiscountDescription | String | False |
A brief explanation of the applied discount. | |
| AppliedDiscountValue | Double | False |
The numeric value of the order-level discount. If the value type is percentage, this represents the percentage value. | |
| AppliedDiscountValueType | String | False |
Specifies the type of discount value, such as fixed amount or percentage. | |
| PaymentTermsId | String | True |
The unique identifier for the payment terms associated with this draft order. | |
| PaymentTermsTranslatedName | String | True |
The translated name of the payment terms as shown in the shop admin's preferred language. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the payment terms template used to define the payment schedule. | |
| PaymentTermsOverdue | Bool | True |
Whether the payment terms are past due based on the template's schedule. | |
| PaymentTermsDueInDays | Int | True |
The number of days between the invoice issue date and due date, based on the applied payment terms. | |
| PaymentTermsPaymentTermsType | String | True |
The type of payment terms used for this draft order, such as net or fixed-date. | |
| PaymentTermsOrderId | String | True |
The unique identifier of the order associated with the payment terms. | |
| AppliedDiscountAmountV2Amount | Decimal | False |
The monetary amount of the applied discount in the store's currency. | |
| AppliedDiscountAmountV2CurrencyCode | String | True |
The ISO currency code for the applied discount amount. | |
| LineItemsSubtotalPricePresentmentMoneyAmount | Decimal | True |
The subtotal price of all line items in the customer's currency before discounts or taxes. | |
| LineItemsSubtotalPricePresentmentMoneyCurrencyCode | String | True |
The ISO currency code of the subtotal in the customer's presentment currency. | |
| LineItemsSubtotalPriceShopMoneyAmount | Decimal | True |
The subtotal price of all line items in the shop's primary currency before discounts or taxes. | |
| LineItemsSubtotalPriceShopMoneyCurrencyCode | String | True |
The ISO currency code of the subtotal in the shop's currency. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
The total price of the draft order's items before taxes and discounts, in the customer's currency. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code for the subtotal in the customer's presentment currency. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | True |
The total price of the draft order's items before taxes and discounts, in the shop's currency. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | True |
The ISO currency code for the subtotal in the shop's currency. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The total discount amount in the customer's currency. | |
| TotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code for total discounts in the customer's currency. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
The total discount amount in the shop's currency. | |
| TotalDiscountsSetShopMoneyCurrencyCode | String | True |
The ISO currency code for total discounts in the shop's currency. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | True |
The total price of all line items before tax, in the customer's currency. | |
| TotalLineItemsPriceSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code for line item totals in the customer's currency. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | True |
The total price of all line items before tax, in the shop's currency. | |
| TotalLineItemsPriceSetShopMoneyCurrencyCode | String | True |
The ISO currency code for line item totals in the shop's currency. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
The overall total for the draft order, including taxes and shipping, in the customer's currency. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code for the total price in the customer's currency. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
The overall total for the draft order, including taxes and shipping, in the shop's currency. | |
| TotalPriceSetShopMoneyCurrencyCode | String | True |
The ISO currency code for the total price in the shop's currency. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
The total shipping cost in the customer's currency. | |
| TotalShippingPriceSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code for the shipping cost in the customer's currency. | |
| TotalShippingPriceSetShopMoneyAmount | Decimal | True |
The total shipping cost in the shop's currency. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
The ISO currency code for the shipping cost in the shop's currency. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
The total tax amount in the customer's currency. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code for the tax total in the customer's currency. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
The total tax amount in the shop's currency. | |
| TotalTaxSetShopMoneyCurrencyCode | String | True |
The ISO currency code for the tax total in the shop's currency. | |
| DraftOrderLineItems | String | False |
A list of all product line items included in the draft order. | |
| DiscountCodes | String | False |
A list of discount codes applied to the draft order. | |
| AcceptAutomaticDiscounts | Bool | False |
Indicates whether automatic discounts should be applied when calculating totals. | |
| AllowDiscountCodesInCheckout | Bool | False |
Whether customers can use discount codes during checkout for this draft order. | |
| Warnings | String | True |
A list of any warnings or validation messages generated during draft order calculation. | |
| PlatformDiscountIds | String | True |
A list of platform-level discount identifiers applied to this draft order. |
Contains metadata for media files uploaded to Shopify, including file name, MIME type, and storage URL.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Files WHERE Id = 'Val1'
SELECT * FROM Files WHERE Status = 'Val1'
SELECT * FROM Files WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Files WHERE UpdatedAt = '2023-01-01 11:10:00'
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier assigned to the file record within Shopify. | |
| Description | String | True |
A descriptive text explaining the file's content or intended purpose. | |
| Status | String | True |
Indicates the current state of the file, such as uploaded, processing, failed, or completed. | |
| FileErrors | String | True |
Details any errors encountered during file upload, processing, or validation. | |
| CreatedAt | Datetime | True |
The timestamp representing when the file was first uploaded or created in Shopify. | |
| UpdatedAt | Datetime | True |
The timestamp representing when the file record or its associated data was most recently updated. |
Records events tied to fulfillments such as shipment creation, in-transit updates, and delivery confirmation.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentEvents WHERE FulfillmentId = 'Val1'
The following columns can be used to create a new record:
FulfillmentId, Status, Address1, City, Country, Latitude, Longitude, Message, Province, Zip, EstimatedDeliveryAt
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the fulfillment event record. | |
| FulfillmentId | String | True |
Fulfillments.Id |
The unique identifier of the fulfillment associated with this event. |
| OrderId | String | True |
Orders.Id |
The unique identifier of the order linked to the fulfillment event. |
| Status | String | True |
The current fulfillment event status, such as in_transit, delivered, or failure. | |
| HappenedAt | Datetime | True |
The timestamp indicating when the fulfillment event actually occurred. | |
| Address1 | String | True |
The primary street address where the fulfillment event took place, such as a shipping or delivery location. | |
| City | String | True |
The city corresponding to the address where the fulfillment event occurred. | |
| Country | String | True |
The country where the fulfillment event took place, represented by its full name or ISO code. | |
| Latitude | Double | True |
The geographic latitude coordinate of the fulfillment event's location. | |
| Longitude | Double | True |
The geographic longitude coordinate of the fulfillment event's location. | |
| Message | String | True |
A text message describing the fulfillment event, such as tracking updates or courier notes. | |
| Province | String | True |
The province, state, or regional subdivision where the fulfillment event occurred. | |
| Zip | String | True |
The postal or ZIP code corresponding to the fulfillment event's location. | |
| EstimatedDeliveryAt | Datetime | True |
The predicted date and time when the fulfillment is expected to reach its destination. | |
| CreatedAt | Datetime | True |
The timestamp representing when the fulfillment event record was created in Shopify. |
Contains records of fulfillment orders, representing groupings of items to be shipped from a specific location.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrders WHERE Id = 'Val1'
SELECT * FROM FulfillmentOrders WHERE Status = 'open'
SELECT * FROM FulfillmentOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM FulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
SELECT * FROM FulfillmentOrders WHERE OrderId = 'Val1'
The following column can be updated:
Status
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the fulfillment order record. | |
| Status | String | False |
The current state of the fulfillment order. The allowed values are open, closed, cancelled, in_progress, incomplete, on_hold, scheduled. | |
| FulfillAt | Datetime | True |
The scheduled date and time when the fulfillment order becomes eligible for fulfillment. For example, a subscription order may have a future fulfill_at date each month, while a standard order is typically fulfillable immediately after creation. | |
| FulfillBy | Datetime | True |
The latest date and time by which all items in the fulfillment order must be fulfilled to meet delivery expectations. | |
| OrderName | String | True |
The unique order reference name displayed on the order page within Shopify Admin. | |
| RequestStatus | String | True |
The current request status of the fulfillment order, such as pending, accepted, rejected, or cancellation_requested. | |
| CreatedAt | Datetime | True |
The timestamp representing when the fulfillment order was initially created in Shopify. | |
| UpdatedAt | Datetime | True |
The timestamp representing the most recent update made to the fulfillment order record. | |
| OrderProcessedAt | Datetime | True |
The date and time when the original order associated with this fulfillment order was processed. | |
| AssignedLocationName | String | True |
The display name of the location assigned to fulfill this order. | |
| AssignedLocationAddress1 | String | True |
The first line of the street address for the assigned fulfillment location. | |
| AssignedLocationAddress2 | String | True |
The second line of the street address for the assigned fulfillment location, if applicable. | |
| AssignedLocationCity | String | True |
The city where the assigned fulfillment location is based. | |
| AssignedLocationPhone | String | True |
The contact phone number of the assigned fulfillment location. | |
| AssignedLocationProvince | String | True |
The province, state, or regional subdivision where the assigned fulfillment location is situated. | |
| AssignedLocationZip | String | True |
The postal or ZIP code of the assigned fulfillment location. | |
| AssignedLocationCountryCode | String | True |
The two-letter ISO country code representing the assigned fulfillment location. | |
| AssignedLocationLocationId | String | True |
A globally unique identifier for the assigned fulfillment location. | |
| AssignedLocationLocationLegacyResourceId | String | True |
The legacy REST Admin API identifier for the assigned location resource. | |
| AssignedLocationLocationName | String | True |
The name of the assigned location as it appears in the store's location list. | |
| AssignedLocationLocationActivatable | Bool | True |
Indicates whether this location can be reactivated after being deactivated. | |
| AssignedLocationLocationDeactivatable | Bool | True |
Indicates whether this location can be deactivated from active use. | |
| AssignedLocationLocationDeletable | Bool | True |
Specifies whether the location can be permanently deleted from the store. | |
| AssignedLocationLocationAddressVerified | Bool | True |
Indicates whether the location's address has been verified for accuracy within Shopify. | |
| AssignedLocationLocationDeactivatedAt | String | True |
The date and time when the location was deactivated, formatted in UTC. For example: '2019-09-07T15:50:00Z'. | |
| AssignedLocationLocationIsActive | Bool | True |
Indicates whether the location is currently active and operational for fulfillment. | |
| AssignedLocationLocationShipsInventory | Bool | True |
Specifies whether this location contributes inventory to shipping rate calculations. Ignored in multi-origin shipping mode. | |
| AssignedLocationLocationFulfillsOnlineOrders | Bool | True |
Indicates whether this location can fulfill online store orders. | |
| AssignedLocationLocationHasActiveInventory | Bool | True |
Shows whether the location currently maintains active inventory for assigned products. | |
| AssignedLocationLocationHasUnfulfilledOrders | Bool | True |
Indicates whether this location currently has pending orders awaiting fulfillment. | |
| DeliveryMethodId | String | True |
A globally unique identifier for the delivery method applied to the fulfillment order. | |
| DeliveryMethodPresentedName | String | True |
The delivery method name displayed to the customer at checkout, such as Standard Shipping or Express Delivery. | |
| DeliveryMethodMethodType | String | True |
The type of delivery method, such as local_delivery, shipping, or pickup. | |
| DeliveryMethodMaxDeliveryDateTime | Datetime | True |
The latest estimated date and time the order is expected to arrive at the customer's location. | |
| DeliveryMethodMinDeliveryDateTime | Datetime | True |
The earliest estimated date and time the order may arrive at the customer's location. | |
| DeliveryMethodServiceCode | String | True |
The carrier service code that identifies the shipping method selected for the order. | |
| DeliveryMethodSourceReference | String | True |
Provider-specific metadata associated with the delivery promise, typically used by shipping or logistics integrations. | |
| DeliveryMethodBrandedPromiseName | String | True |
The name of the branded delivery promise shown to the buyer, such as 'Shop Promise'. | |
| DeliveryMethodBrandedPromiseHandle | String | True |
The internal handle representing the branded delivery promise, such as 'shop_promise'. | |
| DeliveryMethodAdditionalInformationPhone | String | True |
The phone number to contact when executing the delivery or resolving delivery-related issues. | |
| DeliveryMethodAdditionalInformationInstructions | String | True |
Special delivery instructions provided for the carrier or delivery personnel. | |
| DestinationId | String | True |
A globally unique identifier representing the destination record for this fulfillment order. | |
| DestinationFirstName | String | True |
The first name of the recipient at the fulfillment destination. | |
| DestinationLastName | String | True |
The last name of the recipient at the fulfillment destination. | |
| DestinationAddress1 | String | True |
The first line of the destination address, typically the street address. | |
| DestinationAddress2 | String | True |
The second line of the destination address, such as apartment or suite number. | |
| DestinationCity | String | True |
The city where the fulfillment order is being delivered. | |
| DestinationCompany | String | True |
The company name associated with the fulfillment destination, if applicable. | |
| DestinationEmail | String | True |
The email address of the customer or recipient at the destination. | |
| DestinationPhone | String | True |
The contact phone number for the customer or recipient at the destination. | |
| DestinationProvince | String | True |
The province, state, or region of the delivery destination. | |
| DestinationZip | String | True |
The postal or ZIP code of the delivery destination. | |
| DestinationCountryCode | String | True |
The two-letter ISO country code representing the fulfillment destination. | |
| DestinationLocationId | String | True |
A globally unique identifier for the destination location record, if applicable. | |
| InternationalDutiesIncoterm | String | True |
Specifies the incoterm that defines responsibility for duties and taxes, such as 'DDP' (Delivered Duty Paid) or 'DAP' (Delivered at Place). | |
| OrderId | String | True |
A globally unique identifier linking this fulfillment order back to its parent Shopify order. |
Stores shipment data for orders, including tracking details, carrier information, and shipment timestamps.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Fulfillments WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OriginAddressAddress1, OriginAddressAddress2, OriginAddressCity, OriginAddressCountryCode, OriginAddressProvinceCode, OriginAddressZip, TrackingInfoCompany, TrackingInfoNumber, TrackingInfoUrl
The following pseudo-columns can be used to create a new record:
NotifyCustomer, Message, FulfillmentOrderIds
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the fulfillment record. | |
| LegacyResourceId | String | True |
The legacy identifier of the corresponding fulfillment resource in the REST Admin API. | |
| OrderId | String | True |
A globally unique identifier linking this fulfillment to its parent Shopify order. | |
| Name | String | True |
A human-readable reference name or label assigned to this fulfillment. | |
| Status | String | True |
The current state of the fulfillment, such as pending, in_progress, success, or canceled. | |
| DeliveredAt | Datetime | True |
The date when this fulfillment was successfully delivered to the customer. | |
| DisplayStatus | String | True |
A user-friendly representation of the fulfillment's current status, suitable for display in Shopify Admin or reports. | |
| RequiresShipping | Bool | True |
Indicates whether any line items in the fulfillment require physical shipment. | |
| TotalQuantity | Int | True |
The total quantity of all items included in this fulfillment. | |
| EstimatedDeliveryAt | Datetime | True |
The estimated date and time when the fulfillment is expected to be delivered to the customer. | |
| InTransitAt | Datetime | True |
The date and time when the fulfillment shipment was marked as in transit. | |
| CreatedAt | Datetime | True |
The timestamp representing when this fulfillment record was created in Shopify. | |
| UpdatedAt | Datetime | True |
The timestamp representing the most recent update made to this fulfillment record. | |
| LocationId | String | True |
A globally unique identifier for the fulfillment location associated with this record. | |
| ServiceId | String | True |
The unique identifier of the fulfillment service responsible for completing this fulfillment. | |
| OriginAddressAddress1 | String | True |
The primary street address of the fulfillment origin location. | |
| OriginAddressAddress2 | String | True |
An additional address line for the fulfillment origin, such as apartment, suite, or unit number. | |
| OriginAddressCity | String | True |
The city where the fulfillment originated. | |
| OriginAddressCountryCode | String | True |
The two-letter ISO country code of the fulfillment origin location. | |
| OriginAddressProvinceCode | String | True |
The province or state code of the fulfillment origin location. | |
| OriginAddressZip | String | True |
The postal or ZIP code of the fulfillment origin location. | |
| TrackingInfoCompany | String | True |
The name of the shipping or courier company handling this fulfillment. | |
| TrackingInfoNumber | String | True |
The tracking number provided by the shipping carrier for this fulfillment. | |
| TrackingInfoUrl | String | True |
The direct URL provided by the carrier for tracking the shipment status. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| NotifyCustomer | Bool |
Indicates whether the customer should receive a notification when this fulfillment is created. The default value is false. |
| Message | String |
An optional message or note included with the fulfillment request, often used for communication with the customer or carrier. |
| FulfillmentOrderIds | String |
An aggregated list of objects identifying the fulfillment orders linked to this fulfillment. Example: [{'fulfillmentOrderId': 'gid://shopify/FulfillmentOrder/xxx'}]. |
Defines fulfillment services integrated with the shop, including their endpoints and managed locations.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM FulfillmentServices
The following columns can be used to create a new record:
ServiceName, CallbackUrl, InventoryManagement
The following columns can be updated:
ServiceName, CallbackUrl, InventoryManagement
You can delete entries by specifying the following columns:
Id, LocationId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the fulfillment service record. | |
| ServiceName | String | False |
The display name of the fulfillment service as it appears to merchants in Shopify Admin. | |
| Handle | String | True |
A human-readable, unique identifier used to reference this fulfillment service within Shopify or through the API. | |
| Type | String | True |
The classification or category of the fulfillment service, indicating how it operates or integrates with Shopify. | |
| CallbackUrl | String | False |
The registered URL endpoint that receives fulfillment-related callbacks or webhook requests from Shopify. | |
| InventoryManagement | Bool | False |
Indicates whether the fulfillment service actively manages product inventory levels and provides stock updates to Shopify. | |
| PermitsSkuSharing | Bool | True |
Specifies whether this fulfillment service allows SKUs to be shared with other locations or fulfillment providers. | |
| TrackingSupport | Bool | True |
Indicates whether the fulfillment service supports shipment tracking by implementing the /fetch_tracking_numbers endpoint. | |
| LocationId | String | True |
A globally unique identifier for the location associated with this fulfillment service. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| InventoryAction | String |
Specifies the action to perform with the location's inventory when the fulfillment service is deleted, such as retaining or removing stock associations. The allowed values are DELETE, KEEP, TRANSFER. |
Provides tracking details for fulfillments such as carrier name, tracking numbers, and tracking URLs.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentTrackingInfo WHERE FulfillmentId = 'Val1'
The following columns can be updated:
Company, Number, Url
| Name | Type | ReadOnly | References | Description |
| FulfillmentId | String | False |
Fulfillments.Id |
The unique identifier of the fulfillment record to which this tracking information belongs. |
| Company | String | False |
The name of the shipping or courier company responsible for delivering the fulfillment, such as UPS, FedEx, or Canada Post. | |
| Number | String | False |
The tracking number assigned by the carrier, used to identify and trace the shipment's progress. | |
| Url | String | False |
The direct link to the carrier's online tracking page for this shipment. |
Contains issued gift card records, including balances, codes, and issuance dates. Available only for Shopify Plus stores.
Note: Access to the GiftCards table is restricted to Shopify accounts with Shopify Plus membership. If your account does not include this tier, the table may return an empty result set or indicate that the resource is unavailable.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCards WHERE Id = 'Val1'
SELECT * FROM GiftCards WHERE ExpiresOn = '2023-01-01'
SELECT * FROM GiftCards WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM GiftCards WHERE InitialValueAmount = '100.00'
The following columns can be used to create a new record:
Note, ExpiresOn, InitialValueAmount, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt
The following columns can be updated:
Note, ExpiresOn, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt, Enabled
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the gift card record. | |
| Enabled | Bool | True |
Indicates whether the gift card is currently active and available for use. | |
| Note | String | False |
An internal note associated with the gift card, visible only to store staff and not to the customer. | |
| ExpiresOn | Date | False |
The date when the gift card expires and can no longer be redeemed. | |
| LastCharacters | String | True |
The final four visible characters of the gift card code, shown for reference and verification. | |
| MaskedCode | String | True |
The masked version of the full gift card code, hiding all but the last four characters for security purposes. | |
| DeactivatedAt | Datetime | True |
The date and time when the gift card was deactivated and made unusable. | |
| UpdatedAt | Datetime | True |
The timestamp indicating when the gift card record was last updated. | |
| CreatedAt | Datetime | True |
The timestamp indicating when the gift card was first created in Shopify. | |
| BalanceAmount | Decimal | True |
The remaining balance available on the gift card, represented as a decimal value. | |
| BalanceCurrencyCode | String | True |
The ISO currency code for the balance amount of the gift card. | |
| InitialValueAmount | Decimal | True |
The original monetary value of the gift card when it was issued. | |
| InitialValueCurrencyCode | String | True |
The ISO currency code representing the currency of the initial gift card value. | |
| CustomerId | String | False |
A globally unique identifier linking the gift card to the customer who owns or redeemed it. | |
| RecipientAttributesRecipientId | String | False |
A globally unique identifier for the intended gift card recipient, if different from the purchaser. | |
| RecipientAttributesPreferredName | String | False |
The recipient's preferred name as provided for the delivery of the gift card. | |
| RecipientAttributesMessage | String | False |
A personalized message included with the gift card for the recipient. | |
| RecipientAttributesSendNotificationAt | Datetime | False |
The scheduled date and time when the gift card notification will be sent to the recipient. Delivery typically occurs within one hour of this time. | |
| OrderId | String | True |
A globally unique identifier linking the gift card to the order through which it was purchased or issued. |
Logs credit transactions that increase gift card balances, typically due to issuance or adjustment. Available only for Shopify Plus.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCardTransactionsCredit WHERE Id = 'Val1'
SELECT * FROM GiftCardTransactionsCredit WHERE GiftCardId = 'Val1'
The following columns can be used to create a new record:
GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the gift card credit transaction record. | |
| GiftCardId | String | True |
GiftCards.Id |
The unique identifier of the gift card to which this credit transaction applies. |
| Note | String | True |
An internal note describing the purpose or context of the credit transaction, visible only to store staff. | |
| ProcessedAt | Datetime | True |
The date and time when the credit transaction was processed and applied to the gift card balance. | |
| Amount | Decimal | True |
The amount credited to the gift card balance, represented as a decimal monetary value. | |
| AmountCurrencyCode | String | True |
The ISO currency code representing the currency of the credited amount. |
Logs debit transactions that reduce gift card balances, such as redemptions or refunds. Available only for Shopify Plus.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCardTransactionsDebit WHERE Id = 'Val1'
SELECT * FROM GiftCardTransactionsDebit WHERE GiftCardId = 'Val1'
The following columns can be used to create a new record:
GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the gift card debit transaction record. | |
| GiftCardId | String | True |
GiftCards.Id |
The unique identifier of the gift card from which this debit transaction was made. |
| Note | String | True |
An internal note describing the reason or context for the debit transaction, visible only to store staff. | |
| ProcessedAt | Datetime | True |
The date and time when the debit transaction was processed and deducted from the gift card balance. | |
| Amount | Decimal | True |
The amount deducted from the gift card balance, represented as a decimal monetary value. | |
| AmountCurrencyCode | String | True |
The ISO currency code representing the currency of the debited amount. |
Shows overall inventory level details for each item and its stocking locations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemInventoryLevels WHERE InventoryItemId = 'Val1'
The following columns can be used to create a new record:
InventoryItemId, LocationId
The following pseudo-columns can be used to create a new record:
Available, OnHand, StockAtLegacyLocation
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for this inventory level record. | |
| InventoryItemId | String | True |
A unique identifier for the inventory item associated with this level entry. | |
| LocationId | String | True |
A unique identifier for the location where this inventory level is tracked. | |
| CanDeactivate | Bool | True |
Indicates whether the inventory items tied to this level can be safely deactivated without affecting availability or fulfillment operations. | |
| DeactivationAlert | String | True |
Provides information on the consequences of deactivating the inventory level, or explains why deactivation is restricted. | |
| CreatedAt | Datetime | True |
The date and time when the inventory level record was first created. | |
| UpdatedAt | Datetime | True |
The date and time when the inventory level record was most recently modified. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Available | Int |
The current available quantity of the inventory item at the specified location that can be sold or allocated. |
| OnHand | Int |
The total quantity of the inventory item physically on hand at the location, before accounting for reservations or allocations. |
| StockAtLegacyLocation | Bool |
Indicates whether activation is permitted at or away from a fulfillment service location when SKU sharing is disabled. Deactivation removes inventory at all other locations. |
Contains records for individual inventory items, including SKU, cost, and tracking settings.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryItems WHERE Id = 'Val1'
SELECT * FROM InventoryItems WHERE Sku = 'Val1'
SELECT * FROM InventoryItems WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM InventoryItems WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be updated:
Sku, Tracked, RequiresShipping, HarmonizedSystemCode, CountryCodeOfOrigin, ProvinceCodeOfOrigin, MeasurementWeightValue, MeasurementWeightUnit, UnitCostAmount, InventoryItemCountryHarmonizedSystemCodes (references InventoryItemCountryHarmonizedSystemCodes)
| Column Name | Type | Description |
| CountryCode | String | The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. |
| HarmonizedSystemCode | String | The country-specific harmonized system code. These are usually longer than 6 digits. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the inventory item record. | |
| LegacyResourceId | String | True |
The identifier for the corresponding inventory resource in the Shopify REST Admin API, used for backward compatibility. | |
| VariantId | String | True |
A unique identifier linking this inventory item to its associated product variant. | |
| Sku | String | False |
The stock keeping unit (SKU) used to uniquely identify and track this inventory item across systems. | |
| Tracked | Bool | False |
Indicates whether inventory quantities are actively tracked for this item within the system. | |
| LocationsCount | Int | True |
The total number of physical or virtual locations where this inventory item is stocked. | |
| LocationsCountPrecision | String | True |
Specifies how precise or approximate the reported location count is. | |
| RequiresShipping | Bool | False |
Indicates whether the item must be shipped to fulfill orders, as opposed to being a digital or service-based product. | |
| DuplicateSkuCount | Int | True |
The number of other inventory items in the catalog that share the same SKU as this one, often used to identify duplicates. | |
| HarmonizedSystemCode | String | False |
The harmonized system code used for customs classification and international trade reporting. | |
| InventoryHistoryUrl | String | True |
A URL linking to the complete history of quantity and status changes for this inventory item. | |
| CountryCodeOfOrigin | String | False |
The two-letter ISO 3166-1 alpha-2 code representing the country where the item was manufactured or sourced. | |
| ProvinceCodeOfOrigin | String | False |
The two-letter ISO 3166-2 code representing the province, state, or region where the item originated. | |
| CreatedAt | Datetime | True |
The date and time when the inventory item record was initially created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the inventory item record was most recently modified. | |
| TrackedEditableLocked | Bool | True |
Indicates whether the 'Tracked' attribute is locked from manual edits due to system or integration constraints. | |
| TrackedEditableReason | String | True |
Explains why the 'Tracked' attribute cannot currently be edited, such as synchronization restrictions or data policy settings. | |
| MeasurementId | String | True |
A unique identifier linking this inventory item to its associated measurement record. | |
| MeasurementWeightValue | Double | False |
The numeric weight of the item expressed in the specified measurement unit. | |
| MeasurementWeightUnit | String | False |
The unit of measure used for the weight value, such as kilograms, pounds, or grams. | |
| UnitCostAmount | Decimal | False |
The monetary cost per unit of this inventory item, used for valuation and reporting. | |
| UnitCostCurrencyCode | String | True |
The ISO 4217 currency code representing the currency of the unit cost value. | |
| InventoryItemCountryHarmonizedSystemCodes | String | False |
A list of harmonized system codes specific to different countries for this inventory item, used for customs compliance. |
Stores information about physical locations, including address, fulfillment role, and inventory management settings.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Locations WHERE Id = 'Val1'
SELECT * FROM Locations WHERE Name = 'Val1'
SELECT * FROM Locations WHERE IsActive = true
SELECT * FROM Locations WHERE AddressAddress1 = 'Val1'
SELECT * FROM Locations WHERE AddressAddress2 = 'Val1'
SELECT * FROM Locations WHERE AddressCity = 'Val1'
SELECT * FROM Locations WHERE AddressCountry != 'Val1'
SELECT * FROM Locations WHERE AddressProvince = 'Val1'
SELECT * FROM Locations WHERE AddressZip = 'Val1'
SELECT * FROM Locations WHERE IncludeInactive = true
SELECT * FROM Locations WHERE IncludeLegacy = true
The following columns can be used to create a new record:
Name, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode
The following columns can be updated:
Name, IsActive, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the location record. | |
| LegacyResourceId | String | True |
The identifier of the corresponding location resource in the Shopify REST Admin API, used for backward compatibility. | |
| Name | String | False |
The display name of the location, such as a warehouse, store, or fulfillment center. | |
| Activatable | Bool | True |
Indicates whether the location can be reactivated after being deactivated. | |
| Deactivatable | Bool | True |
Indicates whether the location can currently be deactivated within the system. | |
| Deletable | Bool | True |
Indicates whether the location record can be permanently deleted. | |
| AddressVerified | Bool | True |
Specifies whether the location's address has been validated for accuracy. | |
| DeactivatedAt | String | True |
The date and time when the location was deactivated, represented in ISO 8601 format (for example, '2019-09-07T15:50:00Z'). | |
| IsActive | Bool | False |
Indicates whether the location is currently active and available for operations. | |
| ShipsInventory | Bool | True |
Determines whether this location is included in shipping rate calculations. This setting is ignored in multi-origin shipping mode. | |
| IsFulfillmentService | Bool | True |
Indicates whether this location is managed by a fulfillment service. | |
| FulfillsOnlineOrders | Bool | False |
Specifies whether this location can fulfill online orders. | |
| HasActiveInventory | Bool | True |
Indicates whether this location currently has any active inventory items assigned to it. | |
| HasUnfulfilledOrders | Bool | True |
Indicates whether this location has pending or unfulfilled orders requiring fulfillment. | |
| CreatedAt | Datetime | True |
The date and time when the location record was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the location record was last updated. | |
| AddressAddress1 | String | False |
The first line of the street address for the location. | |
| AddressAddress2 | String | False |
The second line of the street address for the location, such as suite or unit number. | |
| AddressCity | String | False |
The city where the location is situated. | |
| AddressCountry | String | True |
The country where the location is situated. | |
| AddressFormatted | String | True |
A formatted version of the full address for display or export. | |
| AddressLatitude | Double | True |
The latitude coordinate of the location for mapping or routing purposes. | |
| AddressLongitude | Double | True |
The longitude coordinate of the location for mapping or routing purposes. | |
| AddressPhone | String | False |
The primary phone number associated with the location. | |
| AddressProvince | String | True |
The province, state, or region where the location is situated. | |
| AddressZip | String | False |
The postal or ZIP code for the location. | |
| AddressCountryCode | String | False |
The two-letter ISO 3166-1 alpha-2 country code of the location. The allowed values are AC, AD, AE, AF, AG, AI, AL, AM, AN, AO, AR, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MK, ML, MM, MN, MO, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PS, PT, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TA, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW, ZZ. | |
| AddressProvinceCode | String | False |
The two-letter ISO 3166-2 province, state, or district code for the location. | |
| FulfillmentServiceId | String | True |
The unique identifier of the fulfillment service associated with the location, if applicable. | |
| LocalPickupSettingsV2Instructions | String | True |
Any additional notes or instructions displayed to customers selecting local pickup from this location. | |
| LocalPickupSettingsV2PickupTime | String | True |
The estimated pickup time shown to customers during checkout for local pickup orders. | |
| IncludeInactive | Bool | True |
If true, includes deactivated locations in the query or operation results. | |
| IncludeLegacy | Bool | True |
If true, includes legacy locations associated with fulfillment services. |
Defines metadata field templates that describe allowed namespaces, keys, and data types for metafields.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM MetafieldDefinitions WHERE Id = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE Namespace = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE Key = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE OwnerType = 'API_PERMISSION'
SELECT * FROM MetafieldDefinitions WHERE PinnedStatus = 'ANY'
SELECT * FROM MetafieldDefinitions WHERE ConstraintStatus = 'CONSTRAINED_AND_UNCONSTRAINED'
SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeKey = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeValue = 'Val1'
The following columns can be used to create a new record:
Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled, TypeName
The following pseudo-column can be used to create a new record:
Pin
The following columns can be updated:
Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled
The following pseudo-column can be used to update a record:
Pin
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the metafield definition record. | |
| Namespace | String | False |
The logical grouping or container that organizes related metafields within the store. | |
| Key | String | False |
The unique key that identifies this metafield definition within its namespace. | |
| Name | String | False |
The human-readable name of the metafield definition, used for display in the admin and APIs. | |
| PinnedPosition | Int | True |
The position of this metafield definition in the list of pinned metafields for easier visibility and access. | |
| Description | String | False |
A descriptive explanation of what data the metafield definition represents or how it is used. | |
| OwnerType | String | False |
The Shopify resource type, such as Product, Order, or Customer, that this metafield definition is attached to. The allowed values are API_PERMISSION, ARTICLE, BLOG, CARTTRANSFORM, COLLECTION, COMPANY, COMPANY_LOCATION, CUSTOMER, DELIVERY_CUSTOMIZATION, DISCOUNT, DRAFTORDER, FULFILLMENT_CONSTRAINT_RULE, GIFT_CARD_TRANSACTION, LOCATION, MARKET, ORDER, ORDER_ROUTING_LOCATION_RULE, PAGE, PAYMENT_CUSTOMIZATION, PRODUCT, PRODUCTVARIANT, SELLING_PLAN, SHOP, VALIDATION, MEDIA_IMAGE. | |
| UseAsCollectionCondition | Bool | True |
Indicates whether this metafield definition can be used as a filtering condition for collections. | |
| ValidationStatus | String | True |
The current validation status for all metafields governed by this definition, showing whether they conform to the defined validation rules. | |
| Validations | String | False |
A list of validation rules applied to the metafields in this definition, such as minimum or maximum values or allowed date ranges. | |
| AccessAdmin | String | False |
Specifies the default access level for admins to view or modify metafields under this definition. | |
| AccessCustomerAccount | String | False |
Specifies the access level granted to customer accounts for viewing metafields associated with this definition. | |
| AccessStorefront | String | False |
Specifies whether and how metafields under this definition are exposed to the storefront or public APIs. | |
| CapabilitiesAdminFilterableEligible | Bool | True |
Indicates whether this metafield definition is eligible to be used as a filter within the Shopify admin. | |
| CapabilitiesAdminFilterableEnabled | Bool | False |
Indicates whether filtering by this metafield definition is currently enabled in the Shopify admin. | |
| CapabilitiesAdminFilterableStatus | String | True |
Specifies the current filter status of this metafield definition for use in admin-based search and filtering. | |
| CapabilitiesSmartCollectionConditionEligible | Bool | True |
Indicates whether this metafield definition is eligible to be used in smart collection conditions. | |
| CapabilitiesSmartCollectionConditionEnabled | Bool | False |
Indicates whether this metafield definition is currently enabled for use in smart collection conditions. | |
| ConstraintsKey | String | True |
The category or type of resource subtypes to which this metafield definition applies. | |
| MetafieldsCount | Int | True |
The total number of metafields currently associated with this definition. | |
| StandardTemplateId | String | True |
A unique identifier linking this metafield definition to a standard template, if applicable. | |
| TypeName | String | True |
The data type name defined for this metafield, such as 'string', 'integer', or 'date'. | |
| PinnedStatus | String | True |
Indicates whether the metafield definition is currently pinned for quick access. The allowed values are ANY, PINNED, UNPINNED. | |
| ConstraintStatus | String | True |
Specifies whether the metafield definition is constrained to certain resource types or subtypes. The allowed values are CONSTRAINED_AND_UNCONSTRAINED, CONSTRAINED_ONLY, UNCONSTRAINED_ONLY. | |
| ConstraintSubtypeKey | String | True |
The subtype category key that defines which specific resource subtypes the metafield definition applies to. | |
| ConstraintSubtypeValue | String | True |
The subtype value identifying the exact resource subtype within the defined subtype category to which the metafield definition applies. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Pin | Bool |
Determines whether the metafield definition should be pinned for prioritized display. |
| DeleteAllAssociatedMetafields | Bool |
Determines whether all metafields associated with this definition should be deleted along with it. |
Stores custom key–value data attached to Shopify resources, enabling extensibility across entities such as products or orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Metafields WHERE Id = 'Val1'
SELECT * FROM Metafields WHERE OwnerId = 'Val1'
SELECT * FROM Metafields WHERE OwnerResource = 'product'
The following columns can be used to create a new record:
Namespace, Key, Value, Type, OwnerId
You can delete entries by specifying the following columns:
Namespace, Key, OwnerId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the metafield record. | |
| LegacyResourceId | Long | True |
The identifier for the corresponding metafield resource in the Shopify REST Admin API, maintained for backward compatibility. | |
| Namespace | String | True |
The logical grouping or container used to organize metafields, ensuring that custom metafields are distinct from those created by other apps or integrations. | |
| Key | String | True |
The specific name of the metafield within its namespace, defining what kind of information it stores. | |
| Value | String | True |
The actual data or content stored in the metafield, representing additional metadata about a resource. | |
| Type | String | True |
The data type of the metafield value, such as string, integer, or date. | |
| Description | String | True |
A descriptive summary explaining the purpose or meaning of the data stored in this metafield. | |
| DefinitionId | String | True |
The unique identifier of the metafield definition that governs this metafield's structure and validation rules, if applicable. | |
| OwnerId | String | True |
The unique identifier of the Shopify resource that this metafield is associated with, such as a product, order, or customer. | |
| OwnerResource | String | True |
The type of Shopify resource that this metafield is attached to, indicating where the metadata applies. The allowed values are product, variant, shop, draft_order, order, customer, collection, media_image, selling_plan, article, blog, page. | |
| CreatedAt | Datetime | True |
The date and time when the metafield was created in the store. | |
| UpdatedAt | Datetime | True |
The date and time when the metafield was last modified or updated. |
Contains fraud risk assessment results for orders, including scores, triggers, and recommendations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRiskAssessments WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OrderId, RiskLevel, Facts (references OrderRiskAssessmentFacts)
| Column Name | Type | Description |
| Description | String | A description of the fact. |
| Sentiment | String | Indicates whether the fact is a negative, neutral or positive contributor with regards to risk. |
| Name | Type | ReadOnly | References | Description |
| OrderId | String | True |
The unique identifier of the order being evaluated by this risk assessment. | |
| RiskLevel | String | True |
Indicates the assessed likelihood that the order is fraudulent, based on data from the risk evaluation process. The allowed values are HIGH, LOW, MEDIUM, NONE, PENDING. | |
| Facts | String | True |
Additional contextual information or factors that influenced the risk evaluation. The specific values depend on the provider's assessment logic. | |
| ProviderId | String | True |
The unique identifier of the service or application that generated this risk assessment. | |
| ProviderTitle | String | True |
The display name of the risk assessment provider application responsible for generating the evaluation. |
Stores comprehensive order data including totals, customer info, fulfillment, payment, and channel sources.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Orders WHERE Id = 'Val1'
SELECT * FROM Orders WHERE Number = 'Val1'
SELECT * FROM Orders WHERE Name = 'Val1'
SELECT * FROM Orders WHERE Email = 'Val1'
SELECT * FROM Orders WHERE Test = true
SELECT * FROM Orders WHERE ConfirmationNumber = 'Val1'
SELECT * FROM Orders WHERE DiscountCode = 'Val1'
SELECT * FROM Orders WHERE ProcessedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE CurrentSubtotalLineItemsQuantity = 123
SELECT * FROM Orders WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE CustomerId = 'Val1'
The following columns can be used to create a new record:
Number, SourceIdentifier, SourceName, Name, Email, Note, Phone, Tags, Test, ClosedAt, CurrencyCode, ProcessedAt, TaxesIncluded, CustomerAcceptsMarketing, DisplayFinancialStatus, DisplayFulfillmentStatus, PresentmentCurrencyCode, CustomerId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressPhone, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressPhone, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2
The following pseudo-columns can be used to create a new record:
PurchasingEntityCompanyLocationId, ReferringSite, SourceUrl, UserId, DiscountCodeFreeShipping, DiscountCodeFixed, DiscountCodeFixedAmountSetPresentmentMoneyAmount, DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode, DiscountCodeFixedAmountSetShopMoneyAmount, DiscountCodeFixedAmountSetShopMoneyCurrencyCode, DiscountCodePercentage, DiscountCodePercentageValue, FulfillmentLocationId, FulfillmentNotifyCustomer, FulfillmentTrackingInfoNumber, FulfillmentTrackingInfoCompany, FulfillmentShipmentStatus, FulfillmentOriginAddressAddress1, FulfillmentOriginAddressAddress2, FulfillmentOriginAddressCity, FulfillmentOriginAddressCountryCode, FulfillmentOriginAddressProvinceCode, FulfillmentOriginAddressZip, OrderLineItems (references OrderLineItems), OrderShippingLines (references OrderShippingLines), OrderTaxLines (references OrderTaxLines), OrderTransactions (references OrderTransactions), OrderCustomAttributes (references OrderCustomAttributes), Metafields (references Metafields), OptionsInventoryBehaviour, OptionsSendFulfillmentRequest, OptionsSendReceipt
| Column Name | Type | Description |
| Title | String | The title of the product at time of order creation. |
| VariantTitle | String | The title of the variant at time of order creation. |
| VariantId | String | A globally-unique ID. |
| ProductId | String | A globally-unique ID. |
| Quantity | Int | The number of variant units ordered. |
| Sku | String | The variant SKU number. |
| Taxable | Bool | Whether the variant is taxable. |
| Vendor | String | The name of the vendor who made the variant. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. |
| FulfillmentService | String | The handle of a fulfillment service that stocks the product variant belonging to a line item. |
| OrderLineItemCustomAttributes (references OrderLineItemCustomAttributes) | String | An array of custom information for the item that has been added to the cart. Often used to provide product customization options. |
| OrderLineItemTaxLines (references OrderLineItemTaxLines) | String | A list of tax line objects, each of which details a tax applied to the item. |
| Column Name | Type | Description |
| Title | String | Returns the title of the shipping line. |
| Code | String | A reference to the shipping method. |
| Source | String | Returns the rate source for the shipping line. |
| OriginalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| OriginalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| OriginalPriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| OriginalPriceSetShopMoneyCurrencyCode | String | Currency of the money. |
| TaxLines | String | A list of tax line objects, each of which details a tax applicable to this shipping line. |
| Column Name | Type | Description |
| Title | String | The name of the tax. |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
| Column Name | Type | Description |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. |
| AuthorizationCode | String | Authorization code associated with the transaction. |
| DeviceId | String | The ID of the device used to process the transaction. |
| GiftCardDetailsId | String | The ID of the gift card used for this transaction. |
| Kind | String | The kind of transaction. |
| LocationId | String | The ID of the location where the transaction was processed. |
| ProcessedAt | Datetime | Date and time when the transaction was processed. |
| ReceiptJson | String | The transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction. |
| Status | String | The status of this transaction. |
| Test | Bool | Whether the transaction is a test transaction. |
| UserId | String | Staff member who was logged into the Shopify POS device when the transaction was processed. (This column is available only with a ShopifyPlus subscription) |
| Column Name | Type | Description |
| Key | String | Key or name of the attribute. |
| Value | String | Value of the attribute. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| Key | String | Key or name of the attribute. |
| Value | String | Value of the attribute. |
| Column Name | Type | Description |
| Title | String | The name of the tax. |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
The following columns can be updated:
Number, Email, Note, Tags, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2
The following pseudo-column can be used to update a record:
OrderCustomAttributes (references OrderCustomAttributes)
| Column Name | Type | Description |
| Key | String | Key or name of the attribute. |
| Value | String | Value of the attribute. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The unique identifier for the order within Shopify. | |
| Number | String | True |
The purchase order number assigned to this order. | |
| Unpaid | Bool | True |
Indicates whether no payments have yet been made for the order. | |
| FullyPaid | Bool | True |
Indicates whether the order has been completely paid in full. | |
| SourceIdentifier | String | True |
A unique identifier for the order from a point-of-sale or external system. Examples include '1234-12-1000' or '111-98567-54'. The 'receipt_number' field for POS orders is derived from this value. | |
| SourceName | String | True |
The name of the system or channel where the order originated, such as an online store, app, or POS location. | |
| LegacyResourceId | String | True |
The identifier of the corresponding order resource in the REST Admin API. | |
| CanMarkAsPaid | Bool | True |
Indicates whether the order can be manually marked as paid by a merchant. | |
| Name | String | True |
The order's display identifier shown in the Shopify Admin and on customer status pages. Examples include '#1001', 'EN1001', or '1001-A'. This value may not be unique across multiple stores. | |
| PaymentGatewayNames | String | True |
A comma-separated list of all payment gateways used for this order. Examples include 'Shopify Payments' or 'Cash on Delivery (COD)'. | |
| Capturable | Bool | True |
Indicates whether payment for the order can still be captured. | |
| Closed | Bool | True |
Indicates whether the order has been closed. | |
| Confirmed | Bool | True |
Indicates whether inventory has been successfully reserved for the order. | |
| Edited | Bool | True |
Indicates whether any modifications have been applied to the order after creation. | |
| String | False |
The email address associated with the customer who placed the order. | ||
| Fulfillable | Bool | True |
Indicates whether there are any line items that remain eligible for fulfillment. Returns 'false' when no items are fulfillable. For item-level fulfillment details, refer to the line item object. | |
| Note | String | False |
Any merchant-entered note or comment associated with the order. | |
| Phone | String | True |
The phone number associated with the customer who placed the order. | |
| Refundable | Bool | True |
Indicates whether the order is eligible to be refunded. | |
| Restockable | Bool | True |
Indicates whether any line item from the order can be restocked if returned or refunded. | |
| Tags | String | True |
A comma-separated list of tags assigned to the order. Updating this field overwrites any existing tags. To add new tags without overwriting existing ones, use the appropriate mutation endpoint. | |
| Test | Bool | True |
Indicates whether the order is a test transaction created using the Shopify Bogus Gateway or a payment provider in test mode. Test orders cannot be converted to real orders and vice versa. | |
| CancelReason | String | True |
The reason provided for canceling the order. Returns 'null' if the order was not canceled. | |
| CancelledAt | Datetime | True |
The date and time when the order was canceled. Returns 'null' if the order remains active. | |
| ClientIp | String | True |
The IP address of the client or API request that created the order. | |
| ClosedAt | Datetime | True |
The date and time when the order was closed. Returns 'null' if the order is still open. | |
| ConfirmationNumber | String | True |
A randomly generated alphanumeric code that may be shown to the customer instead of the sequential order number. Examples include 'XPAV284CT' or '35PKUN0UJ'. This value is not guaranteed to be unique. | |
| CurrencyCode | String | True |
The shop's currency code at the time the order was placed, expressed as an ISO 4217 currency code (for example, USD). | |
| CustomerLocale | String | True |
A two-letter or three-letter language code, optionally followed by a region modifier, that identifies the customer's locale. | |
| DiscountCode | String | True |
The discount code applied to the order, if only one was used. | |
| DiscountCodes | String | True |
A list of all discount codes applied to the order, if multiple codes were used. | |
| EstimatedTaxes | Bool | True |
Indicates whether the taxes on the order are estimated. Returns 'false' when the taxes are finalized and not subject to change. | |
| MerchantEditable | Bool | True |
Indicates whether the order can be edited by the merchant. For example, canceled orders cannot be edited. | |
| ProcessedAt | Datetime | True |
The date and time when the order was processed by Shopify. This may differ from the order creation time. | |
| RequiresShipping | Bool | True |
Indicates whether the order includes any items or lines that require shipping. | |
| RiskRecommendation | String | True |
A recommendation based on fraud risk assessment results, suggesting the appropriate merchant action (for example, 'accept', 'investigate', or 'cancel'). | |
| ReturnStatus | String | True |
The overall return status of the order, used for display or reporting purposes. | |
| TaxesIncluded | Bool | True |
Indicates whether taxes were included in the order's subtotal price. | |
| DutiesIncluded | Bool | True |
Indicates whether duties were included in the order's subtotal price. | |
| TotalWeight | String | True |
The total weight of all items in the order before returns, measured in grams. | |
| CanNotifyCustomer | Bool | True |
Indicates whether the customer has a valid email address on file that allows Shopify to send order notifications. | |
| CurrentTotalWeight | String | True |
The total weight of all items in the order after accounting for returns, measured in grams. | |
| CustomerAcceptsMarketing | Bool | True |
Indicates whether the customer agreed to receive marketing emails or promotional communications. | |
| DisplayFinancialStatus | String | True |
A summarized representation of the order's financial status, suitable for display in merchant-facing views. This field does not reflect all financial details of the order. | |
| DisplayFulfillmentStatus | String | True |
A summarized representation of the order's fulfillment status, suitable for merchant display. For detailed fulfillment tracking, use the fulfillment objects associated with the order. | |
| FulfillmentsCount | Int | True |
The total number of fulfillments created for the order, including any canceled fulfillments. | |
| FulfillmentsCountPrecision | String | True |
Indicates the precision level of the fulfillment count, showing whether the value is exact or approximate. | |
| HasTimelineComment | Bool | True |
Indicates whether a merchant-added timeline comment exists for the order in Shopify Admin. | |
| MerchantEditableErrors | String | True |
A list of validation or business logic reasons preventing the order from being edited. For example, 'Canceled orders can't be edited.' | |
| PresentmentCurrencyCode | String | True |
The ISO currency code representing the customer's payment currency for the order, which may differ from the shop's base currency. | |
| RegisteredSourceUrl | String | True |
The URL identifying the original source where the order originated, if available in the domain registry. | |
| StatusPageUrl | String | True |
The public URL where the customer can view the current status and tracking details of the order. | |
| SubtotalLineItemsQuantity | Int | True |
The total quantity of all line items that contribute to the order's subtotal price, before discounts and taxes. | |
| BillingAddressMatchesShippingAddress | Bool | True |
Indicates whether the billing address and shipping address provided for the order are identical. | |
| CurrentSubtotalLineItemsQuantity | Int | True |
The total quantity of all line items contributing to the order's current subtotal price, after accounting for any returns or edits. | |
| CreatedAt | Datetime | True |
The date and time when the order was originally created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the order was last modified in Shopify. | |
| StaffMemberId | String | True |
The unique identifier of the staff member associated with the order. This field is available only for Shopify Plus stores. | |
| AppId | String | True |
The unique identifier of the application that created or processed the order. | |
| MerchantOfRecordAppId | String | True |
The unique identifier of the application serving as the merchant of record for the order's payment processing. | |
| MerchantBusinessEntityId | String | True |
The unique identifier of the merchant's business entity associated with this order. | |
| PhysicalLocationId | String | True |
The unique identifier of the physical store or location where the order originated or was processed. | |
| ChannelInformationId | String | True |
The unique identifier of the channel information record linked to the order. | |
| ChannelInformationChannelId | String | True |
The unique identifier of the channel where the order was placed, such as an online store, app, or marketplace. | |
| ChannelInformationAppId | String | True |
The unique identifier of the application powering the sales channel where the order was created. | |
| PublicationId | String | True |
The unique identifier of the publication or sales listing through which the order was made. | |
| PurchasingEntityCustomerId | String | True |
The unique identifier of the customer entity that placed the order. | |
| PurchasingEntityCompanyId | String | True |
The unique identifier of the company entity that placed the order, if applicable. | |
| CustomerId | String | True |
The unique identifier of the customer record linked to the order. | |
| CustomerFirstName | String | True |
The first name of the customer who placed the order. | |
| CustomerLastName | String | True |
The last name of the customer who placed the order. | |
| CustomerJourneySummaryReady | Bool | True |
Indicates whether the order's attributed sessions and customer journey data have been fully generated. | |
| CustomerJourneySummaryMomentsCount | Int | True |
The total number of customer engagement moments associated with the order. Returns null if attribution is still processing. | |
| CustomerJourneySummaryMomentsCountPrecision | String | True |
Indicates the precision level of the customer journey moments count, showing whether the value is exact or estimated. | |
| CustomerJourneySummaryCustomerOrderIndex | Int | True |
Indicates the sequence number of this order within the customer's order history. Test orders are excluded from this count. | |
| CustomerJourneySummaryDaysToConversion | Int | True |
The number of days between the customer's first recorded session and the order creation date. The first session is determined by the last order date or a 30-day attribution window, whichever is shorter. | |
| CustomerJourneySummaryFirstVisitId | String | True |
The unique identifier of the customer's first visit session associated with this order. | |
| CustomerJourneySummaryFirstVisitSource | String | True |
The originating source of the customer's first visit, such as a platform (Facebook, Google), direct entry, or marketing channel. | |
| CustomerJourneySummaryFirstVisitLandingPage | String | True |
The URL of the first page that the customer visited during the session that led to the order. | |
| CustomerJourneySummaryFirstVisitOccurredAt | Datetime | True |
The date and time when the customer's first visit session occurred. | |
| CustomerJourneySummaryFirstVisitReferralCode | String | True |
The marketing referral code included in the first visit URL, derived from query parameters such as ref, source, or r. | |
| CustomerJourneySummaryFirstVisitReferrerUrl | String | True |
The URL of the external webpage or app where the customer clicked a link to reach the store, such as 'https://randomblog.com/page1' or 'android-app://com.google.android.gm'. | |
| CustomerJourneySummaryFirstVisitSourceDescription | String | True |
A detailed text description of the customer's first visit source, specifying the platform, campaign, or medium. | |
| CustomerJourneySummaryFirstVisitSourceType | String | True |
The type of marketing tactic used for the first visit, such as email, paid search, or referral. | |
| CustomerJourneySummaryFirstVisitLandingPageHtml | String | True |
The first landing page information rendered as an HTML hyperlink. For example, the URL of the first page visited by the customer. | |
| CustomerJourneySummaryFirstVisitReferralInfoHtml | String | True |
Referral information presented as HTML with clickable URLs that reference the original referral sources. | |
| CustomerJourneySummaryLastVisitId | String | True |
The unique identifier of the customer's last visit session associated with this order. | |
| CustomerJourneySummaryLastVisitSource | String | True |
The originating source of the customer's most recent visit before placing the order, such as an advertising platform, email campaign, or direct link. | |
| CustomerJourneySummaryLastVisitLandingPage | String | True |
The URL of the first page visited during the customer's most recent session prior to placing the order. | |
| CustomerJourneySummaryLastVisitOccurredAt | Datetime | True |
The date and time when the customer's most recent session occurred. | |
| CustomerJourneySummaryLastVisitReferralCode | String | True |
The marketing referral code associated with the customer's last visit session, extracted from parameters such as ref, source, or r. | |
| CustomerJourneySummaryLastVisitReferrerUrl | String | True |
The referring webpage or app that directed the customer to the online store for the last session. | |
| CustomerJourneySummaryLastVisitSourceDescription | String | True |
A descriptive label explaining the source of the last visit session, such as campaign name or advertising channel. | |
| CustomerJourneySummaryLastVisitSourceType | String | True |
The type of marketing channel used in the last visit session, for example, email, paid ad, or organic search. | |
| CustomerJourneySummaryLastVisitLandingPageHtml | String | True |
The last session's landing page represented as an HTML hyperlink, showing the first page viewed by the customer. | |
| CustomerJourneySummaryLastVisitReferralInfoHtml | String | True |
Referral details for the last session, rendered in HTML format with linked URLs to the referring source. | |
| DisplayAddressId | String | True |
The unique identifier for the display address associated with the order. | |
| DisplayAddressCoordinatesValidated | Bool | True |
Indicates whether the geographic coordinates for the display address have been validated. | |
| DisplayAddressValidationResultSummary | String | True |
The validation status result returned by Shopify's address validation feature for the display address. | |
| DisplayAddressName | String | True |
The customer's full name as displayed, derived from the first and last name fields. | |
| DisplayAddressFirstName | String | True |
The customer's first name as displayed in the order summary. | |
| DisplayAddressLastName | String | True |
The customer's last name as displayed in the order summary. | |
| DisplayAddressAddress1 | String | True |
The first line of the address, typically the street address or PO Box number. | |
| DisplayAddressAddress2 | String | True |
The second line of the address, typically an apartment, suite, or unit number. | |
| DisplayAddressCity | String | True |
The name of the city, district, village, or town for the display address. | |
| DisplayAddressCompany | String | True |
The company or organization name associated with the display address. | |
| DisplayAddressCountry | String | True |
The country name for the display address. | |
| DisplayAddressLatitude | Double | True |
The latitude coordinate of the display address location. | |
| DisplayAddressLongitude | Double | True |
The longitude coordinate of the display address location. | |
| DisplayAddressPhone | String | True |
The customer's phone number associated with the display address, formatted using the E.164 international standard (for example, +16135551111). | |
| DisplayAddressProvince | String | True |
The region, province, or state of the display address. | |
| DisplayAddressZip | String | True |
The postal or ZIP code of the display address. | |
| DisplayAddressFormattedArea | String | True |
A comma-separated string combining city, province, and country for display formatting. | |
| DisplayAddressProvinceCode | String | True |
The two-letter province or region code, such as ON or CA. | |
| DisplayAddressCountryCodeV2 | String | True |
The two-letter ISO country code representing the country for the display address, such as US or CA. | |
| BillingAddressId | String | True |
The unique identifier for the billing address associated with the order. | |
| BillingAddressCoordinatesValidated | Bool | True |
Indicates whether the geographic coordinates for the billing address have been validated. | |
| BillingAddressValidationResultSummary | String | True |
The validation result from Shopify's address verification service for the billing address. | |
| BillingAddressName | String | True |
The customer's full name on the billing address, derived from first and last name fields. | |
| BillingAddressFirstName | String | True |
The first name of the customer on the billing address. | |
| BillingAddressLastName | String | True |
The last name of the customer on the billing address. | |
| BillingAddressAddress1 | String | True |
The first line of the billing address, typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | True |
The second line of the billing address, typically an apartment, suite, or unit number. | |
| BillingAddressCity | String | True |
The name of the city, district, village, or town for the billing address. | |
| BillingAddressCompany | String | True |
The company or organization name associated with the billing address. | |
| BillingAddressCountry | String | True |
The country name for the billing address. | |
| BillingAddressLatitude | Double | True |
The latitude coordinate of the billing address location. | |
| BillingAddressLongitude | Double | True |
The longitude coordinate of the billing address location. | |
| BillingAddressPhone | String | True |
The customer's phone number for the billing address, formatted in E.164 standard format (for example, +16135551111). | |
| BillingAddressProvince | String | True |
The region, province, or state of the billing address. | |
| BillingAddressZip | String | True |
The postal or ZIP code of the billing address. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list combining city, province, and country values for the billing address. | |
| BillingAddressProvinceCode | String | True |
The two-letter province or region code for the billing address, such as ON. | |
| BillingAddressCountryCodeV2 | String | True |
The two-letter ISO country code for the billing address, such as US or CA. | |
| ShippingAddressId | String | False |
The unique identifier for the shipping address associated with the order. | |
| ShippingAddressCoordinatesValidated | Bool | True |
Indicates whether the geographic coordinates for the shipping address have been validated. | |
| ShippingAddressValidationResultSummary | String | True |
The validation result from Shopify's address verification service for the shipping address. | |
| ShippingAddressName | String | True |
The customer's full name on the shipping address, derived from first and last name fields. | |
| ShippingAddressFirstName | String | False |
The first name of the customer on the shipping address. | |
| ShippingAddressLastName | String | False |
The last name of the customer on the shipping address. | |
| ShippingAddressAddress1 | String | False |
The first line of the shipping address, typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | False |
The second line of the shipping address, typically an apartment, suite, or unit number. | |
| ShippingAddressCity | String | False |
The name of the city, district, village, or town for the shipping address. | |
| ShippingAddressCompany | String | False |
The company or organization name associated with the shipping address. | |
| ShippingAddressCountry | String | False |
The country name for the shipping address. | |
| ShippingAddressLatitude | Double | True |
The latitude coordinate of the shipping address location. | |
| ShippingAddressLongitude | Double | True |
The longitude coordinate of the shipping address location. | |
| ShippingAddressPhone | String | False |
The customer's phone number for the shipping address, formatted in E.164 standard format (for example, +16135551111). | |
| ShippingAddressProvince | String | False |
The region, province, or state of the shipping address. | |
| ShippingAddressZip | String | False |
The postal or ZIP code of the shipping address. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list combining city, province, and country values for the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter province or region code for the shipping address, such as ON. | |
| ShippingAddressCountryCodeV2 | String | False |
The two-letter ISO country code for the shipping address, such as US or CA. | |
| ShippingLineId | String | True |
The unique identifier of the shipping line associated with the order. | |
| ShippingLineCarrierIdentifier | String | True |
A reference identifier for the carrier service that provided the shipping rate. Present only when the rate was calculated by a third-party carrier. | |
| ShippingLineTitle | String | True |
The title or name of the selected shipping method shown to the customer at checkout. | |
| ShippingLineCode | String | True |
A code reference for the shipping method used, typically corresponding to a specific carrier rate or custom delivery option. | |
| ShippingLineCustom | Bool | True |
Indicates whether the shipping line was manually defined as a custom shipping method rather than being automatically calculated. | |
| ShippingLinePhone | String | True |
The phone number associated with the shipping address for this shipping line. | |
| ShippingLineSource | String | True |
Identifies the rate source for the shipping line, such as a carrier, fulfillment service, or manual entry. | |
| ShippingLineDeliveryCategory | String | True |
Describes the general classification of the delivery method, such as standard, express, or same-day. | |
| ShippingLineShippingRateHandle | String | True |
A unique internal identifier for the shipping rate used to calculate the charge. The format may vary and is not intended for display. | |
| ShippingLineRequestedFulfillmentServiceId | String | True |
The unique identifier of the fulfillment service requested to handle this shipping line. | |
| PaymentTermsId | String | True |
The unique identifier for the payment terms record associated with the order. | |
| PaymentTermsTranslatedName | String | True |
The localized name of the payment terms, translated into the shop administrator's preferred language. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the payment terms template used to define the payment schedule or due date. | |
| PaymentTermsOverdue | Bool | True |
Indicates whether any scheduled payment under the order's payment terms is overdue. | |
| PaymentTermsDueInDays | Int | True |
The number of days from the invoice or order creation date until the payment is due, as defined by the payment terms template. | |
| PaymentTermsPaymentTermsType | String | True |
The type of payment terms template applied to the order, such as 'Net 30', 'Upon Receipt', or 'Installments'. | |
| PaymentTermsDraftOrderId | String | True |
The unique identifier of the draft order associated with the payment terms, if applicable. | |
| CartDiscountAmountSetPresentmentMoneyAmount | Decimal | True |
The total discount amount applied to the cart, expressed in the buyer's presentment currency as a decimal value. | |
| CartDiscountAmountSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the cart discount amount. | |
| CartDiscountAmountSetShopMoneyAmount | Decimal | True |
The total discount amount applied to the cart, expressed in the shop's base currency as a decimal value. | |
| CartDiscountAmountSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the cart discount amount. | |
| ChannelInformationChannelDefinitionId | String | True |
The unique identifier of the channel definition record, representing the sales channel through which the order was placed. | |
| CurrentCartDiscountAmountSetPresentmentMoneyAmount | Decimal | True |
The current total cart-level discount amount, expressed in the buyer's presentment currency as a decimal value. | |
| CurrentCartDiscountAmountSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the current cart-level discount amount. | |
| CurrentCartDiscountAmountSetShopMoneyAmount | Decimal | True |
The current total cart-level discount amount, expressed in the shop's base currency as a decimal value. | |
| CurrentCartDiscountAmountSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the current cart-level discount amount. | |
| CurrentSubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
The current subtotal price of the order, expressed in the buyer's presentment currency as a decimal value. | |
| CurrentSubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the current subtotal price. | |
| CurrentSubtotalPriceSetShopMoneyAmount | Decimal | True |
The current subtotal price of the order, expressed in the shop's base currency as a decimal value. | |
| CurrentSubtotalPriceSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the current subtotal price. | |
| CurrentTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The current total of all additional fees applied to the order, expressed in the buyer's presentment currency as a decimal value. | |
| CurrentTotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for additional fees. | |
| CurrentTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The current total of all additional fees applied to the order, expressed in the shop's base currency as a decimal value. | |
| CurrentTotalAdditionalFeesSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for additional fees. | |
| CurrentTotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The current total discount amount for the order, expressed in the buyer's presentment currency as a decimal value. | |
| CurrentTotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for current total discounts. | |
| CurrentTotalDiscountsSetShopMoneyAmount | Decimal | True |
The current total discount amount for the order, expressed in the shop's base currency as a decimal value. | |
| CurrentTotalDiscountsSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for current total discounts. | |
| CurrentTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The current total duties applied to the order, expressed in the buyer's presentment currency as a decimal value. | |
| CurrentTotalDutiesSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for duties. | |
| CurrentTotalDutiesSetShopMoneyAmount | Decimal | True |
The current total duties applied to the order, expressed in the shop's base currency as a decimal value. | |
| CurrentTotalDutiesSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for duties. | |
| CurrentTotalPriceSetPresentmentMoneyAmount | Decimal | True |
The current total price of the order after taxes, discounts, and fees, expressed in the buyer's presentment currency as a decimal value. | |
| CurrentTotalPriceSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the current total price. | |
| CurrentTotalPriceSetShopMoneyAmount | Decimal | True |
The current total price of the order after taxes, discounts, and fees, expressed in the shop's base currency as a decimal value. | |
| CurrentTotalPriceSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the current total price. | |
| CurrentTotalTaxSetPresentmentMoneyAmount | Decimal | True |
The current total tax amount applied to the order, expressed in the buyer's presentment currency as a decimal value. | |
| CurrentTotalTaxSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the current total tax amount. | |
| CurrentTotalTaxSetShopMoneyAmount | Decimal | True |
The current total tax amount applied to the order, expressed in the shop's base currency as a decimal value. | |
| CurrentTotalTaxSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the current total tax amount. | |
| NetPaymentSetPresentmentMoneyAmount | Decimal | True |
The net total payment amount for the order, expressed in the buyer's presentment currency as a decimal value. | |
| NetPaymentSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the net payment amount. | |
| NetPaymentSetShopMoneyAmount | Decimal | True |
The net total payment amount for the order, expressed in the shop's base currency as a decimal value. | |
| NetPaymentSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the net payment amount. | |
| OriginalTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The original total of all additional fees at the time the order was placed, expressed in the buyer's presentment currency as a decimal value. | |
| OriginalTotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the original additional fees. | |
| OriginalTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The original total of all additional fees at the time the order was placed, expressed in the shop's base currency as a decimal value. | |
| OriginalTotalAdditionalFeesSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the original additional fees. | |
| OriginalTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The original total duties applied to the order at the time of placement, expressed in the buyer's presentment currency as a decimal value. | |
| OriginalTotalDutiesSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the original duties amount. | |
| OriginalTotalDutiesSetShopMoneyAmount | Decimal | True |
The original total duties applied to the order at the time of placement, expressed in the shop's base currency as a decimal value. | |
| OriginalTotalDutiesSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the original duties amount. | |
| OriginalTotalPriceSetPresentmentMoneyAmount | Decimal | True |
The original total order price, including taxes and discounts, expressed in the buyer's presentment currency as a decimal value. | |
| OriginalTotalPriceSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the original total order price. | |
| OriginalTotalPriceSetShopMoneyAmount | Decimal | True |
The original total order price, including taxes and discounts, expressed in the shop's base currency as a decimal value. | |
| OriginalTotalPriceSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the original total order price. | |
| PaymentCollectionDetailsAdditionalPaymentCollectionUrl | String | True |
The URL used to collect an additional payment on the order if the original amount was insufficient. | |
| RefundDiscrepancySetPresentmentMoneyAmount | Decimal | True |
The discrepancy amount between the total refunded and the expected refund, expressed in the buyer's presentment currency as a decimal value. | |
| RefundDiscrepancySetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the refund discrepancy amount. | |
| RefundDiscrepancySetShopMoneyAmount | Decimal | True |
The discrepancy amount between the total refunded and the expected refund, expressed in the shop's base currency as a decimal value. | |
| RefundDiscrepancySetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the refund discrepancy amount. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
The subtotal amount of the order before taxes and discounts, expressed in the buyer's presentment currency as a decimal value. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the order subtotal. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | True |
The subtotal amount of the order before taxes and discounts, expressed in the shop's base currency as a decimal value. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the order subtotal. | |
| TotalCapturableSetPresentmentMoneyAmount | Decimal | True |
The total amount still eligible for payment capture, expressed in the buyer's presentment currency as a decimal value. | |
| TotalCapturableSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the capturable amount. | |
| TotalCapturableSetShopMoneyAmount | Decimal | True |
The total amount still eligible for payment capture, expressed in the shop's base currency as a decimal value. | |
| TotalCapturableSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the capturable amount. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The total value of all discounts applied to the order, expressed in the buyer's presentment currency as a decimal value. | |
| TotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the total discount value. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
The total value of all discounts applied to the order, expressed in the shop's base currency as a decimal value. | |
| TotalDiscountsSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the total discount value. | |
| TotalOutstandingSetPresentmentMoneyAmount | Decimal | True |
The total outstanding amount still due on the order, expressed in the buyer's presentment currency as a decimal value. | |
| TotalOutstandingSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the outstanding order balance. | |
| TotalOutstandingSetShopMoneyAmount | Decimal | True |
The total outstanding amount still due on the order, expressed in the shop's base currency as a decimal value. | |
| TotalOutstandingSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the outstanding order balance. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
The total price of the order, including taxes, duties, and discounts, expressed in the buyer's presentment currency as a decimal value. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the total order price. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
The total price of the order, including taxes, duties, and discounts, expressed in the shop's base currency as a decimal value. | |
| TotalPriceSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the total order price. | |
| TotalReceivedSetPresentmentMoneyAmount | Decimal | True |
The total amount received for the order, expressed in the buyer's presentment currency as a decimal value. | |
| TotalReceivedSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the total received amount. | |
| TotalReceivedSetShopMoneyAmount | Decimal | True |
The total amount received for the order, expressed in the shop's base currency as a decimal value. | |
| TotalReceivedSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the total received amount. | |
| TotalRefundedSetPresentmentMoneyAmount | Decimal | True |
The total amount refunded for the order, expressed in the buyer's presentment currency as a decimal value. | |
| TotalRefundedSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the total refunded amount. | |
| TotalRefundedSetShopMoneyAmount | Decimal | True |
The total amount refunded for the order, expressed in the shop's base currency as a decimal value. | |
| TotalRefundedSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the total refunded amount. | |
| TotalRefundedShippingSetPresentmentMoneyAmount | Decimal | True |
The total amount refunded specifically for shipping charges, expressed in the buyer's presentment currency as a decimal value. | |
| TotalRefundedShippingSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the refunded shipping amount. | |
| TotalRefundedShippingSetShopMoneyAmount | Decimal | True |
The total amount refunded specifically for shipping charges, expressed in the shop's base currency as a decimal value. | |
| TotalRefundedShippingSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the refunded shipping amount. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
The total shipping cost for the order, expressed in the buyer's presentment currency as a decimal value. | |
| TotalShippingPriceSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the total shipping cost. | |
| TotalShippingPriceSetShopMoneyAmount | Decimal | True |
The total shipping cost for the order, expressed in the shop's base currency as a decimal value. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the total shipping cost. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
The total tax amount applied to the order, expressed in the buyer's presentment currency as a decimal value. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the total tax amount. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
The total tax amount applied to the order, expressed in the shop's base currency as a decimal value. | |
| TotalTaxSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the total tax amount. | |
| TotalTipReceivedSetPresentmentMoneyAmount | Decimal | True |
The total value of all tips received for the order, expressed in the buyer's presentment currency as a decimal value. | |
| TotalTipReceivedSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the total tips received. | |
| TotalTipReceivedSetShopMoneyAmount | Decimal | True |
The total value of all tips received for the order, expressed in the shop's base currency as a decimal value. | |
| TotalTipReceivedSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the total tips received. | |
| TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyAmount | Decimal | True |
The payment-side rounding adjustment amount, expressed in the buyer's presentment currency as a decimal value. Used to reconcile cash rounding differences. | |
| TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the payment-side rounding adjustment amount. | |
| TotalCashRoundingAdjustmentPaymentSetShopMoneyAmount | Decimal | True |
The payment-side rounding adjustment amount, expressed in the shop's base currency as a decimal value. Used to reconcile cash rounding differences. | |
| TotalCashRoundingAdjustmentPaymentSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the payment-side rounding adjustment amount. | |
| TotalCashRoundingAdjustmentRefundSetPresentmentMoneyAmount | Decimal | True |
The refund-side rounding adjustment amount, expressed in the buyer's presentment currency as a decimal value. Used to reconcile cash rounding differences when issuing refunds. | |
| TotalCashRoundingAdjustmentRefundSetPresentmentMoneyCurrencyCode | String | True |
The ISO currency code representing the presentment currency for the refund-side rounding adjustment amount. | |
| TotalCashRoundingAdjustmentRefundSetShopMoneyAmount | Decimal | True |
The refund-side rounding adjustment amount, expressed in the shop's base currency as a decimal value. Used to reconcile cash rounding differences when issuing refunds. | |
| TotalCashRoundingAdjustmentRefundSetShopMoneyCurrencyCode | String | True |
The ISO currency code representing the shop's base currency for the refund-side rounding adjustment amount. | |
| RetailLocationId | String | True |
The unique identifier of the retail location associated with the order, if applicable. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| PurchasingEntityCompanyLocationId | String |
The unique identifier of the purchasing company's location tied to the order, when the order originates from a business customer account. |
| ReferringSite | String |
The external website or domain where the customer clicked a link that directed them to the shop. |
| SourceUrl | String |
The original source URL for the order on the originating platform. Displayed to merchants on the Order Details page when valid. |
| UserId | String |
The unique identifier of the user logged into Shopify POS who processed the order, if applicable. |
| DiscountCodeFreeShipping | String |
A discount code providing free shipping applied to the order's shipping charges. |
| DiscountCodeFixed | String |
A discount code applying a fixed monetary amount off the order's line items. |
| DiscountCodeFixedAmountSetPresentmentMoneyAmount | Decimal |
The fixed discount amount applied to the order, expressed in the buyer's presentment currency as a decimal value. |
| DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode | String |
The ISO currency code representing the presentment currency for the fixed discount amount. |
| DiscountCodeFixedAmountSetShopMoneyAmount | Decimal |
The fixed discount amount applied to the order, expressed in the shop's base currency as a decimal value. |
| DiscountCodeFixedAmountSetShopMoneyCurrencyCode | String |
The ISO currency code representing the shop's base currency for the fixed discount amount. |
| DiscountCodePercentage | String |
A discount code applying a percentage-based discount to the order's line items. |
| DiscountCodePercentageValue | Double |
The percentage value deducted from the order total when using a percentage-based discount code. |
| FulfillmentLocationId | String |
The unique identifier of the location from which the order is fulfilled. |
| FulfillmentNotifyCustomer | Bool |
Indicates whether the customer should be notified when fulfillment updates occur. |
| FulfillmentTrackingInfoNumber | String |
The tracking number associated with the order's fulfillment shipment. |
| FulfillmentTrackingInfoCompany | String |
The name of the shipping or courier company managing the fulfillment. |
| FulfillmentShipmentStatus | String |
The current status of the shipment, such as 'in_transit', 'delivered', or 'pending'. |
| FulfillmentOriginAddressAddress1 | String |
The first line of the fulfillment origin address, typically representing the street or warehouse location. |
| FulfillmentOriginAddressAddress2 | String |
The second line of the fulfillment origin address, often representing a suite, unit, or floor number. |
| FulfillmentOriginAddressCity | String |
The city or municipality where the fulfillment origin is located. |
| FulfillmentOriginAddressCountryCode | String |
The two-letter ISO country code representing the country of the fulfillment origin address. |
| FulfillmentOriginAddressProvinceCode | String |
The two-letter province or state code representing the region of the fulfillment origin address. |
| FulfillmentOriginAddressZip | String |
The postal or ZIP code for the fulfillment origin address. |
| OrderLineItems | String |
A collection of line item objects defining the products and quantities included in the order. |
| OrderShippingLines | String |
A list of shipping line objects detailing the shipping methods and rates applied to the order. |
| OrderTaxLines | String |
A list of tax line objects detailing all taxes applied to the order. Taxes can be defined at the order level or line-item level, but not both. |
| OrderTransactions | String |
A list of payment transaction objects recorded for the order, including captures, authorizations, and refunds. |
| OrderCustomAttributes | String |
A list of custom attributes or metadata attached to the order, visible under the 'Additional details' section in Shopify Admin. |
| Metafields | String |
A list of metafield objects used to store custom data or extensions related to the order. |
| OptionsInventoryBehaviour | String |
Specifies how inventory quantities are handled when updating the order. For example, 'decrement_obeying_policy'. The allowed values are BYPASS, DECREMENT_IGNORING_POLICY, DECREMENT_OBEYING_POLICY. |
| OptionsSendFulfillmentRequest | Bool |
Indicates whether a fulfillment request should be sent to the fulfillment service provider when the order is processed. |
| OptionsSendReceipt | Bool |
Indicates whether an order confirmation email or receipt should be automatically sent to the customer after purchase. |
Stores payment transaction records for orders, including authorizations, captures, and refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderTransactions WHERE ResourceId = 'Val1'
The following columns can be used to create a new record:
ResourceId, ParentTransactionId
The following pseudo-columns can be used to create a new record:
Amount, Currency, FinalCapture
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the transaction record. | |
| ResourceId [KEY] | String | True |
Orders.Id |
A globally unique identifier linking this transaction to its associated resource, such as an order or payment. |
| PaymentId | String | True |
The unique identifier for the payment associated with this transaction, as provided by the payment gateway or Shopify Payments. | |
| ParentTransactionId | String | True |
References the parent transaction, such as an authorization related to a subsequent capture or refund. | |
| AccountNumber | String | True |
The masked account number for the payment method used, with sensitive digits redacted for security. | |
| Gateway | String | True |
The payment gateway that processed the transaction, such as Shopify Payments, PayPal, or another provider. | |
| Kind | String | True |
Specifies the type of transaction, such as authorization, capture, sale, or refund. | |
| Status | String | True |
The current processing state of the transaction, such as pending, succeeded, or failed. | |
| Test | Bool | True |
Indicates whether this transaction was processed in test mode rather than live mode. | |
| AuthorizationCode | String | True |
The code returned by the payment provider confirming authorization of the transaction. | |
| ErrorCode | String | True |
A standardized error identifier that represents the reason for a failed transaction, independent of the gateway provider. | |
| FormattedGateway | String | True |
The human-readable name of the payment gateway displayed in Shopify reports or the admin interface. | |
| ManuallyCapturable | Bool | True |
Indicates whether this transaction can be manually captured by a merchant after authorization. | |
| MultiCapturable | Bool | True |
Specifies whether multiple captures can be made from a single authorization. | |
| ProcessedAt | Datetime | True |
The timestamp indicating when the transaction was processed by the payment provider. | |
| ReceiptJson | String | True |
A JSON-formatted receipt containing payment gateway–specific transaction details or metadata. | |
| SettlementCurrency | String | True |
The currency in which the transaction was settled, as determined by the payment processor. | |
| AuthorizationExpiresAt | Datetime | True |
The expiration date and time for the authorization. Available only for Shopify Payments merchants on Shopify Plus. | |
| SettlementCurrencyRate | Decimal | True |
The exchange rate applied when converting the transaction amount into the settlement currency. | |
| CreatedAt | Datetime | True |
The date and time when the transaction record was originally created in Shopify. | |
| CardPaymentDetailsName | String | True |
The name of the cardholder as it appears on the credit card. | |
| CardPaymentDetailsBin | String | True |
The issuer identification number (IIN), formerly known as the bank identification number (BIN), derived from the first few digits of the card number. | |
| CardPaymentDetailsCompany | String | True |
The name of the credit card company or issuing bank associated with the customer's card. | |
| CardPaymentDetailsNumber | String | True |
The customer's credit card number with leading digits redacted for privacy. | |
| CardPaymentDetailsWallet | String | True |
Specifies the digital wallet used for payment, such as Apple Pay or Google Pay. | |
| CardPaymentDetailsExpirationMonth | Int | True |
The expiration month of the credit card used for the transaction. | |
| CardPaymentDetailsExpirationYear | Int | True |
The expiration year of the credit card used for the transaction. | |
| CardPaymentDetailsAvsResultCode | String | True |
A one-letter code indicating the result of the Address Verification System (AVS) check. | |
| CardPaymentDetailsCvvResultCode | String | True |
A one-letter or blank code indicating the result of the CVV (security code) validation performed by the payment provider. | |
| PaymentIconId | String | True |
The unique identifier of the payment method's icon image. | |
| PaymentIconWidth | Int | True |
The width of the payment icon in pixels. Returns null if the image is not hosted by Shopify. | |
| PaymentIconAltText | String | True |
Alternative text describing the image for accessibility or descriptive purposes. | |
| PaymentIconHeight | Int | True |
The height of the payment icon in pixels. Returns null if the image is not hosted by Shopify. | |
| AmountSetPresentmentMoneyAmount | Decimal | True |
The transaction amount shown in the buyer's currency (presentment currency), expressed as a decimal value. | |
| AmountSetPresentmentMoneyCurrencyCode | String | True |
The ISO 4217 currency code for the presentment currency, such as USD or GBP. | |
| AmountSetShopMoneyAmount | Decimal | True |
The transaction amount converted to the shop's base currency for accounting purposes. | |
| AmountSetShopMoneyCurrencyCode | String | True |
The ISO 4217 currency code for the shop's base currency, such as USD or CAD. | |
| MaximumRefundableV2Amount | Decimal | True |
The maximum refundable amount for this transaction, expressed as a decimal value. | |
| MaximumRefundableV2CurrencyCode | String | True |
The ISO 4217 currency code corresponding to the maximum refundable amount. | |
| ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt | Datetime | True |
The expiration time for an extended authorization, after which the merchant cannot capture the payment. | |
| ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt | Datetime | True |
The expiration time for a standard authorization after which additional capture fees may apply. | |
| ShopifyPaymentsSetRefundSetAcquirerReferenceNumber | String | True |
The acquirer reference number (ARN) generated for Visa or Mastercard transactions to trace settlements. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | True |
The portion of funds still unsettled in the presentment currency. | |
| TotalUnsettledSetPresentmentMoneyCurrencyCode | String | True |
The ISO 4217 currency code for the presentment currency of unsettled funds. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | True |
The portion of funds still unsettled in the shop's base currency. | |
| TotalUnsettledSetShopMoneyCurrencyCode | String | True |
The ISO 4217 currency code for the shop's base currency of unsettled funds. | |
| UserId | String | True |
The identifier of the staff member logged into the Shopify POS device that processed the transaction. Available only for Shopify Plus accounts. | |
| AmountRoundingSetPresentmentMoneyAmount | Decimal | True |
The precise tax or rounding adjustment amount in the customer's presentment currency, represented as a decimal (for example, 12.99). | |
| AmountRoundingSetPresentmentMoneyCurrencyCode | String | True |
The ISO 4217 code of the presentment currency related to the rounding adjustment. | |
| AmountRoundingSetShopMoneyAmount | Decimal | True |
The precise tax or rounding adjustment amount in the shop's base currency, represented as a decimal (for example, 12.99). | |
| AmountRoundingSetShopMoneyCurrencyCode | String | True |
The ISO 4217 code of the shop's base currency related to the rounding adjustment. | |
| PaymentDetailsLocalPaymentDescriptor | String | True |
The payment descriptor assigned by the payment provider. Applies to providers such as Amazon Pay or Buy with Prime. | |
| PaymentDetailsLocalPaymentMethodName | String | True |
The specific local payment method used by the buyer, such as Klarna or iDEAL. | |
| PaymentDetailsShopPayInstallmentsPaymentMethodName | String | True |
The name of the installment payment method used through Shop Pay Installments. | |
| PaymentDetailsCardAvsResultCode | String | True |
A one-letter code representing the result of the AVS check for card-based payments. | |
| PaymentDetailsCardBin | String | True |
The issuer identification number (IIN/BIN) from the customer's credit card, composed of the initial digits of the card number. | |
| PaymentDetailsCardCompany | String | True |
The issuing bank or credit card company for the customer's card. | |
| PaymentDetailsCardCvvResultCode | String | True |
A one-letter or blank code indicating whether the card's security code (CVV) was successfully validated. | |
| PaymentDetailsCardExpirationMonth | Int | True |
The expiration month for the customer's card used in the transaction. | |
| PaymentDetailsCardExpirationYear | Int | True |
The expiration year for the customer's card used in the transaction. | |
| PaymentDetailsCardName | String | True |
The full name of the cardholder as printed on the credit card. | |
| PaymentDetailsCardNumber | String | True |
The customer's credit card number with most leading digits redacted. | |
| PaymentDetailsCardPaymentMethodName | String | True |
The payment method name as identified by the payment processor. | |
| PaymentDetailsCardWallet | String | True |
Specifies the digital wallet used for payment, such as Apple Pay or Google Pay. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Amount | Decimal |
The amount to capture during authorization. This value cannot exceed the originally authorized amount. |
| Currency | String |
The ISO 4217 currency code of the transaction amount to capture. |
| FinalCapture | Bool |
Indicates whether this capture is the final one for the authorization. If true, any remaining authorization balance will be voided after capture. |
| DeviceId | String |
The identifier of the POS device or terminal that processed the transaction. |
| GiftCardDetailsId | String |
The identifier of the gift card used to pay for this transaction, if applicable. |
| LocationId | String |
The identifier of the store or location where the transaction occurred. |
Stores static page content for the shop, such as About or FAQ pages, including titles and publication settings.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Pages WHERE Id = 'Val1'
The following columns can be used to create a new record:
Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt
The following pseudo-column can be used to create a new record:
Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt
The following pseudo-columns can be used to update a record:
RedirectNewHandle, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the page record in Shopify. | |
| Title | String | False |
The title of the page as displayed in the online store and administrative interface. | |
| Body | String | False |
The full HTML-formatted content of the page, including text, links, and embedded media. | |
| BodySummary | String | True |
A text preview containing up to the first 150 characters of the page body. Longer content is truncated with an ellipsis for summary display. | |
| Handle | String | False |
A unique, human-readable identifier used to reference the page in Liquid templates and URLs. | |
| TemplateSuffix | String | False |
The optional suffix of the Liquid template file used to render this page, allowing for custom page layouts. | |
| IsPublished | Bool | False |
Indicates whether the page is currently visible to customers on the storefront. | |
| PublishedAt | Datetime | False |
The date and time when the page was or will be published to the storefront. Returns null if the page is unpublished. | |
| UpdatedAt | Datetime | True |
The timestamp of the most recent update to the page's content or metadata. | |
| CreatedAt | Datetime | True |
The timestamp of when the page was first created in Shopify. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| RedirectNewHandle | Bool |
Indicates whether Shopify should automatically redirect visitors from an old page handle to a new one after a handle change. |
| Metafields | String |
A collection of additional metadata fields that extend the page's data model, used for custom attributes or integrations. |
Stores all price lists defined for the shop, including currency, context, and applicable customer groups.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PriceLists WHERE Id = 'Val1'
The following columns can be used to create a new record:
Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode
The following columns can be updated:
Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the price list record. | |
| Currency | String | False |
The ISO 4217 currency code that defines the currency used for all fixed prices within this price list. | |
| FixedPricesCount | Int | True |
The total number of product variant prices explicitly defined as fixed entries on this price list. | |
| Name | String | False |
The descriptive, human-readable name of the price list, often used to distinguish regional or promotional pricing sets. | |
| ParentAdjustmentType | String | False |
Specifies the type of relative adjustment applied to base prices, such as a percentage markup or discount. | |
| ParentAdjustmentValue | Double | False |
The numerical value of the price adjustment. Positive values indicate a price decrease (discount), while negative values indicate a price increase (markup). | |
| ParentSettingsCompareAtMode | String | False |
Defines how the compare-at price is handled in the price list, determining whether it is adjusted, inherited, or left unchanged. |
Stores image media records tied to products, including URLs, alt text, and ordering.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductMediaImages WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, AltText, MediaContentType, Url
The following columns can be updated:
AltText, Url
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier assigned to the media image record within Shopify. | |
| ProductId [KEY] | String | True |
Products.Id |
The globally unique identifier of the product to which this image belongs. |
| AltText | String | False |
A descriptive word or phrase that explains the content or purpose of the image for accessibility and SEO. | |
| MediaContentType | String | True |
Indicates the type of media content represented, such as 'IMAGE' or other supported formats within the product media system. | |
| Height | Int | True |
The original height of the image in pixels. Returns null if the image is not stored or processed by Shopify. | |
| Width | Int | True |
The original width of the image in pixels. Returns null if the image is not stored or processed by Shopify. | |
| Url | String | False |
The direct URL location where the image file is hosted and can be accessed. |
Defines option sets for products, such as Size or Color, along with position ordering.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOptions WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, Name, Position, OptionValues (references ProductOptionValues)
The following pseudo-columns can be used to create a new record:
LinkedMetafieldKey, LinkedMetafieldNamespace, LinkedMetafieldValues, CreateVariantStrategy
| Column Name | Type | Description |
| ProductId | String | A globally-unique ID. |
| ProductOptionId | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| VariantStrategy | String | The strategy defines which behavior is observed regarding variants. The strategy 'LEAVE_AS_IS' is used by default - variants are not created nor deleted. If set to 'MANAGE', variants are created and deleted according to the option values to add and to delete. |
The following columns can be updated:
ProductId, Name, Position
The following pseudo-columns can be used to update a record:
LinkedMetafieldKey, LinkedMetafieldNamespace
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the product option record. | |
| ProductId | String | False |
Products.Id |
The globally unique identifier of the product associated with this option. |
| Name | String | False |
The display name of the product option, such as 'Size', 'Color', or 'Material'. | |
| Position | Int | False |
The numerical order of the option as it appears on the product, determining display sequence for merchants and customers. | |
| Values | String | True |
A comma-separated list of values available for this product option, such as 'Small, Medium, Large'. | |
| OptionValues | String | True |
A complete list of all option value objects linked to this product option, including those not currently assigned to any variants. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| LinkedMetafieldKey | String |
The key of the metafield connected to this product option, used to store or retrieve custom metadata. |
| LinkedMetafieldNamespace | String |
The namespace of the metafield associated with this option, grouping related custom data. |
| LinkedMetafieldValues | String |
A comma-separated list of values drawn from the metafield linked to this option, providing extended attribute data. |
| CreateVariantStrategy | String |
Defines how new product variants are handled when options are added. 'LEAVE_AS_IS' keeps existing variants unchanged and assigns the first value for new options. 'CREATE' updates existing variants and generates new ones for every combination of existing and new option values. The allowed values are CREATE, LEAVE_AS_IS. |
| DeleteVariantStrategy | String |
Defines how variant relationships are managed when an option is deleted. 'DEFAULT' restricts options to a single value. 'NON_DESTRUCTIVE' allows deletion only if no variants are removed. 'POSITION' permits deletion of options with multiple values, removing duplicate variants starting from the highest position. The allowed values are DEFAULT, NON_DESTRUCTIVE, POSITION. |
Lists possible values for each product option, including those not currently assigned to variants.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOptionValues WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, ProductOptionId, Name, LinkedMetafieldValue
The following pseudo-column can be used to create a new record:
VariantStrategy
The following columns can be updated:
ProductId, ProductOptionId, Name, LinkedMetafieldValue
You can delete entries by specifying the following columns:
ProductId, ProductOptionId, Id
| Name | Type | ReadOnly | References | Description |
| ProductId | String | False |
The globally unique identifier of the product associated with this option value. | |
| ProductOptionId | String | False |
The globally unique identifier of the product option to which this value belongs. | |
| ProductOptionName | String | True |
The display name of the product option that this value is part of, such as 'Size' or 'Color'. | |
| Id [KEY] | String | True |
The globally unique identifier for this specific product option value record. | |
| Name | String | False |
The actual value assigned to the option, such as 'Red', 'Large', or 'Cotton'. | |
| LinkedMetafieldValue | String | False |
The value of the metafield associated with this option, used to store additional custom data or attributes. | |
| HasVariants | Bool | True |
Indicates whether this option value is linked to one or more product variants. | |
| SwatchColor | String | True |
The color value used to visually represent this option value as a swatch in the storefront, typically in hexadecimal or RGB format. | |
| SwatchImageId | String | True |
The globally unique identifier of the image used as a swatch representation for this option value. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| VariantStrategy | String |
Defines how Shopify manages product variants when option values are modified. 'LEAVE_AS_IS' prevents automatic variant creation or deletion, while 'MANAGE' synchronizes variants to match added or removed option values. The allowed values are LEAVE_AS_IS, MANAGE. |
Captures product-level feedback or issues reported by apps, used to notify merchants about setup or data concerns.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductResourceFeedbacks WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, FeedbackGeneratedAt, Messages, ProductUpdatedAt, State
| Name | Type | ReadOnly | References | Description |
| ProductId [KEY] | String | True |
Products.Id |
The globally unique identifier of the product associated with this feedback record. |
| FeedbackGeneratedAt | Datetime | True |
The date and time when the feedback was generated, used to determine if new feedback supersedes older entries. | |
| Messages | String | True |
A collection of feedback messages or alerts displayed to the merchant, typically identifying issues or recommendations related to the product. | |
| ProductUpdatedAt | Datetime | True |
The timestamp indicating when the associated product was last updated in Shopify. | |
| State | String | True |
Indicates the current status of the feedback, showing whether it is resolved, pending review, or requires merchant action. The allowed values are ACCEPTED, REQUIRES_ACTION. |
Contains product catalog data including title, description, price, vendor, and publishing details.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Products WHERE Id = 'Val1'
SELECT * FROM Products WHERE Title = 'Val1'
SELECT * FROM Products WHERE Status = 'Val1'
SELECT * FROM Products WHERE Vendor = 'Val1'
SELECT * FROM Products WHERE TotalInventory = 123
SELECT * FROM Products WHERE HasOnlyDefaultVariant = true
SELECT * FROM Products WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Products WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Products WHERE ProductType = 'Val1'
SELECT * FROM Products WHERE PublicationId = 'Val1'
SELECT * FROM Products WHERE VariantId = 'Val1'
SELECT * FROM Products WHERE VariantTitle = 'Val1'
The following columns can be used to create a new record:
DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, IsGiftCard, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan
The following pseudo-columns can be used to create a new record:
Metafields (references Metafields), BundleComponents (references ProductBundleComponents)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| ComponentProductId | String | A globally-unique ID. |
| OptionSelections (references ProductBundleComponentOptionSelections) | String | The options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle. |
| Quantity | Int | The quantity of the component product set for this bundle line. It will be null if there's a quantityOption present. |
| QuantityOptionName | String | The name of the option value. |
| QuantityOptionValues | String | The quantity values of the option. |
| Column Name | Type | Description |
| ParentOptionName | String | The product option’s name. |
| ComponentOptionId | String | A globally-unique ID. |
| Values | String | The component option values that are actively selected for this relationship. |
The following columns can be updated:
DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan
The following pseudo-columns can be used to update a record:
Metafields (references Metafields), BundleComponents (references ProductBundleComponents)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| ComponentProductId | String | A globally-unique ID. |
| OptionSelections (references ProductBundleComponentOptionSelections) | String | The options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle. |
| Quantity | Int | The quantity of the component product set for this bundle line. It will be null if there's a quantityOption present. |
| QuantityOptionName | String | The name of the option value. |
| QuantityOptionValues | String | The quantity values of the option. |
| Column Name | Type | Description |
| ParentOptionName | String | The product option’s name. |
| ComponentOptionId | String | A globally-unique ID. |
| Values | String | The component option values that are actively selected for this relationship. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the product record. | |
| LegacyResourceId | Long | True |
The numeric identifier of the same product in the REST Admin API, used for backward compatibility. | |
| Description | String | True |
The full description of the product, including HTML markup that provides formatted text, images, and layout. | |
| DescriptionHtml | String | False |
The product description rendered in HTML format for display in the storefront or admin. | |
| Title | String | False |
The title of the product as displayed in the Shopify admin and storefront. | |
| Handle | String | False |
A unique, human-readable identifier based on the product title, used in URLs and Liquid templates. | |
| Tags | String | False |
A comma-separated list of descriptive tags assigned to the product. Updating this field replaces any existing tags. | |
| Status | String | False |
Indicates the current publishing state of the product, which determines its visibility across sales channels. | |
| Vendor | String | False |
The name of the product's supplier or manufacturer. | |
| OnlineStorePreviewUrl | String | True |
A temporary preview URL that allows merchants to view unpublished product changes in the online store. | |
| OnlineStoreUrl | String | True |
The live online store URL for the product. Returns null if the product is not published to the Online Store sales channel. | |
| TracksInventory | Bool | True |
Specifies whether inventory tracking is enabled for the product. | |
| TotalInventory | Int | True |
The total quantity of all variants currently available for sale across locations. | |
| HasOnlyDefaultVariant | Bool | True |
Indicates whether the product has a single default variant rather than multiple variations. | |
| HasOutOfStockVariants | Bool | True |
Indicates whether any product variants are currently out of stock. | |
| HasVariantsThatRequiresComponents | Bool | True |
Specifies whether at least one variant in the product requires bundled components for sale or fulfillment. | |
| VariantsCount | Int | True |
The total number of variants associated with this product. | |
| VariantsCountPrecision | String | True |
Indicates the accuracy of the variant count, such as 'exact' or 'estimated'. | |
| TemplateSuffix | String | False |
The name of the theme template file used to render the product page. | |
| GiftCardTemplateSuffix | String | False |
The theme template used when rendering a gift card product page. | |
| IsGiftCard | Bool | True |
Indicates whether the product is a gift card. | |
| PublishedAt | Datetime | True |
The date and time when the product was published to the Online Store. | |
| UpdatedAt | Datetime | True |
The timestamp of the most recent modification to the product record. This can change for actions like inventory updates or price changes. | |
| CreatedAt | Datetime | True |
The timestamp of when the product was initially created in Shopify. | |
| ProductType | String | False |
The merchant-defined type or category of the product, such as 'T-Shirt' or 'Home Decor'. | |
| CategoryId | String | True |
The globally unique identifier of the product's taxonomy category. | |
| CategoryName | String | True |
The display name of the product's taxonomy category, for example, 'Dog Beds'. | |
| CategoryFullName | String | True |
The complete hierarchical taxonomy name, such as 'Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds'. | |
| SeoTitle | String | False |
The search engine–optimized title for the product page. | |
| SeoDescription | String | False |
The search engine–optimized meta description for the product page. | |
| RequiresSellingPlan | Bool | False |
Indicates whether the product can only be purchased through a selling plan, such as a subscription. Subscription-only products are published only to the Online Store. | |
| SellingPlanGroupsCount | Int | True |
The number of selling plan groups associated with this product. | |
| SellingPlanGroupsCountPrecision | String | True |
Indicates the precision of the selling plan group count, such as 'exact' or 'estimated'. | |
| PriceRangeMaxVariantPriceAmount | Decimal | True |
The highest variant price for the product, expressed as a decimal monetary amount. | |
| PriceRangeMaxVariantPriceCurrencyCode | String | True |
The ISO 4217 currency code for the maximum variant price. | |
| PriceRangeMinVariantPriceAmount | Decimal | True |
The lowest variant price for the product, expressed as a decimal monetary amount. | |
| PriceRangeMinVariantPriceCurrencyCode | String | True |
The ISO 4217 currency code for the minimum variant price. | |
| CompareAtPriceRangeMaxVariantCompareAtPriceAmount | Decimal | True |
The highest compare-at price among all variants, used to show discounts. Decimal money amount. | |
| CompareAtPriceRangeMaxVariantCompareAtPriceCurrencyCode | String | True |
The ISO 4217 currency code for the highest compare-at price. | |
| CompareAtPriceRangeMinVariantCompareAtPriceAmount | Decimal | True |
The lowest compare-at price among all variants. Decimal money amount. | |
| CompareAtPriceRangeMinVariantCompareAtPriceCurrencyCode | String | True |
The ISO 4217 currency code for the lowest compare-at price. | |
| MediaCount | Int | True |
The total number of media items, such as images or videos, linked to the product. | |
| MediaCountPrecision | String | True |
Indicates the accuracy of the media count, such as 'exact' or 'estimated'. | |
| FeaturedMediaId | String | True |
The globally unique identifier of the product's featured media item. | |
| FeaturedMediaAlt | String | True |
Alternative text describing the featured media content for accessibility or SEO purposes. | |
| FeaturedMediaContentType | String | True |
The type of media associated with the featured media item, such as 'IMAGE' or 'VIDEO'. | |
| FeaturedMediaStatus | String | True |
Indicates the current processing or publication status of the featured media item. | |
| FeaturedMediaPreviewStatus | String | True |
Shows the current processing status of the preview image associated with the featured media. | |
| FeaturedMediaPreviewImageId | String | True |
The globally unique identifier of the preview image for the featured media. Returns null until the media status is READY. | |
| FeaturedMediaPreviewImageAltText | String | True |
Alternative text describing the preview image for accessibility or descriptive purposes. | |
| FeaturedMediaPreviewImageUrl | String | True |
The public URL where the preview image can be accessed. | |
| FeaturedMediaPreviewImageWidth | Int | True |
The original width of the preview image in pixels. Returns null if the image is not hosted by Shopify. | |
| FeaturedMediaPreviewImageHeight | Int | True |
The original height of the preview image in pixels. Returns null if the image is not hosted by Shopify. | |
| AvailablePublicationsCount | Int | True |
The number of active publications where the product is successfully published without feedback errors. | |
| AvailablePublicationsCountPrecision | String | True |
Indicates the precision of the available publications count, such as 'exact' or 'estimated'. | |
| PublishedOnCurrentPublication | Bool | True |
Indicates whether the product is published on the app's current publication channel, such as the Online Store. | |
| ResourcePublicationOnCurrentPublicationAutoPublish | Bool | True |
Specifies whether new products are automatically published to this publication by default. | |
| ResourcePublicationOnCurrentPublicationIsPublished | Bool | True |
Indicates whether the product's resource publication is currently live on this publication channel. | |
| ResourcePublicationOnCurrentPublicationPublishDate | Datetime | True |
The scheduled or actual date and time when the product was or will be published to the current publication. | |
| ResourcePublicationOnCurrentPublicationPublicationId | String | True |
The globally unique identifier of the publication where the product is or will be published. | |
| ResourcePublicationOnCurrentPublicationPublicationName | String | True |
The display name of the publication channel associated with the product. | |
| ResourcePublicationOnCurrentPublicationPublicationSupportsFuturePublishing | Bool | True |
Indicates whether the publication supports scheduling future publish dates. | |
| ResourcePublicationsCount | Int | True |
The total number of publications where the product is currently published without errors. | |
| ResourcePublicationsCountPrecision | String | True |
Indicates the precision or accuracy of the resource publication count. | |
| FeedbackSummary | String | True |
A concise summary of feedback or system-generated insights related to this product. | |
| FeedbackDetails | String | True |
Detailed feedback records or app-generated issue reports pertaining to this product. | |
| PublicationId | String | True |
Identifies the publication channel associated with the product for filtering or querying. | |
| VariantId | String | True |
Specifies the unique identifier of a product variant used as a filter parameter. | |
| VariantTitle | String | True |
Specifies the title of the product variant used as a filter parameter. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Metafields | String |
Holds custom metadata fields that extend the product with additional attributes or integration data. |
| BundleComponents | String |
Lists the bundle components associated with this product, defining its composite structure if part of a bundle. |
Stores variant-level data for products, including SKU, option values, price, and inventory management fields.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ProductVariants WHERE Id = 'Val1'
SELECT * FROM ProductVariants WHERE ProductId = 'Val1'
SELECT * FROM ProductVariants WHERE Barcode = 'Val1'
SELECT * FROM ProductVariants WHERE Sku = 'Val1'
SELECT * FROM ProductVariants WHERE Title = 'Val1'
SELECT * FROM ProductVariants WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM ProductVariants WHERE Taxable = true
SELECT * FROM ProductVariants WHERE DeliveryProfileId = 'Val1'
SELECT * FROM ProductVariants WHERE LocationInventoryQuantity = 123
The following columns can be used to create a new record:
ProductId, Barcode, Sku, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin
The following pseudo-columns can be used to create a new record:
MediaId, MediaSrc, InventoryQuantities (references InventoryItemInventoryLevelQuantities), OptionValues (references ProductOptionValues), Metafields (references Metafields), Strategy
| Column Name | Type | Description |
| InventoryLevelLocationId | String | A globally-unique ID. |
| Quantity | Int | The quantity for the quantity name. |
| Column Name | Type | Description |
| ProductOptionId | String | A globally-unique ID. |
| ProductOptionName | String | The product option's name. |
| Id | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
ProductId, Barcode, Sku, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin
The following pseudo-columns can be used to update a record:
MediaId, MediaSrc, OptionValues (references ProductOptionValues), Metafields (references Metafields), AllowPartialUpdates
| Column Name | Type | Description |
| ProductOptionId | String | A globally-unique ID. |
| ProductOptionName | String | The product option's name. |
| Id | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the product variant record. | |
| LegacyResourceId | Long | True |
The numeric identifier of the corresponding resource in the REST Admin API, used for backward compatibility. | |
| ProductId | String | False |
Products.Id |
The globally unique identifier of the parent product associated with this variant. |
| Position | Int | True |
The position of the variant in the product's variant list. The first position is numbered 1. | |
| DisplayName | String | True |
The display name of the variant, typically combining the product title with the variant's option values. | |
| Barcode | String | False |
The barcode, UPC, or ISBN value assigned to the product variant for identification and scanning purposes. | |
| Sku | String | False |
The stock keeping unit (SKU) that uniquely identifies the variant in the shop and fulfillment systems. Required for integration with fulfillment services. | |
| Title | String | True |
The title of the product variant, usually representing its distinguishing option values, such as 'Red / Large'. | |
| RequiresComponents | Bool | True |
Indicates whether this variant requires bundle components. If true, the variant can only be purchased as part of a bundle and is excluded from sales channels that don't support bundles. | |
| UpdatedAt | Datetime | True |
The timestamp of the most recent update made to the product variant. | |
| CreatedAt | Datetime | True |
The timestamp indicating when the variant was created in Shopify. | |
| SelectedOptions | String | True |
A list of the product option names and values that define this variant, such as 'Size: Medium, Color: Blue'. | |
| AvailableForSale | Bool | True |
Indicates whether the variant is currently available for sale on any channel. | |
| Price | Decimal | False |
The price of the product variant in the shop's base currency. | |
| CompareAtPrice | Decimal | False |
The original or reference price of the variant, displayed as a compare-at price to indicate a discount. | |
| TaxCode | String | False |
The tax classification code applied to the product variant for compliance and reporting. | |
| Taxable | Bool | False |
Indicates whether sales tax is charged when the product variant is sold. | |
| SellableOnlineQuantity | Int | True |
The total quantity of the variant available for online sales. This does not always represent total stock across all locations. | |
| SellingPlanGroupsCount | Int | True |
The number of selling plan groups (such as subscription plans) associated with this variant. | |
| SellingPlanGroupsCountPrecision | String | True |
Indicates the accuracy of the selling plan group count, such as 'exact' or 'estimated'. | |
| DeliveryProfileId | String | True |
The globally unique identifier of the delivery profile that defines how this variant is shipped. | |
| InventoryPolicy | String | False |
Specifies whether customers can purchase the variant when it is out of stock, following policies like 'deny' or 'continue'. | |
| InventoryQuantity | Int | True |
The total quantity of this variant available for sale across all managed locations. | |
| InventoryItemId | String | True |
The globally unique identifier of the inventory item linked to this variant. | |
| InventoryItemUnitCostAmount | Decimal | False |
The unit cost of the inventory item, representing the merchant's cost price. | |
| InventoryItemUnitCostCurrencyCode | String | True |
The ISO 4217 currency code for the inventory item's unit cost, such as USD or EUR. | |
| InventoryItemHarmonizedSystemCode | String | False |
The harmonized system (HS) code used for international customs classification of the item. | |
| InventoryItemMeasurementWeightValue | Double | False |
The numeric weight value of the item, based on the specified measurement unit. | |
| InventoryItemMeasurementWeightUnit | String | False |
The unit of measurement used for the weight value, such as 'kg' or 'oz'. | |
| InventoryItemRequiresShipping | Bool | False |
Indicates whether the inventory item requires shipping. Digital goods typically return false. | |
| InventoryItemTracked | Bool | False |
Indicates whether inventory tracking is enabled for this item. When true, stock levels are monitored by Shopify. | |
| InventoryItemCountryCodeOfOrigin | String | False |
The ISO 3166-1 alpha-2 country code of where the item originated from. | |
| InventoryItemProvinceCodeOfOrigin | String | False |
The ISO 3166-2 alpha-2 province code of where the item originated from. | |
| ImageId | String | True |
The globally unique identifier of the image associated with this variant. | |
| ImageAltText | String | True |
Alternative text describing the content or purpose of the variant image for accessibility or SEO. | |
| ImageHeight | Int | True |
The height of the variant image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageWidth | Int | True |
The width of the variant image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The URL where the variant image is hosted and accessible. | |
| UnitPriceMeasurementMeasuredType | String | True |
Specifies the type of measurement used for unit pricing, such as 'volume' or 'weight'. | |
| UnitPriceMeasurementQuantityUnit | String | True |
Defines the quantity unit for unit price measurement, such as 'ml', 'g', or 'oz'. | |
| UnitPriceMeasurementQuantityValue | Double | True |
The numeric value representing the measured quantity for the unit price calculation. | |
| UnitPriceMeasurementReferenceUnit | String | True |
The reference unit used to calculate the standardized unit price, such as '100ml' or '1kg'. | |
| UnitPriceMeasurementReferenceValue | Int | True |
The numeric value representing the reference amount for the unit price measurement. | |
| LocationInventoryQuantity | Int | True |
Filters or reports the available inventory quantity for the variant at specific locations. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| MediaId | String |
The identifier of the media file (such as an image or video) to associate with this variant. |
| MediaSrc | String |
The URL of the media file associated with this variant. |
| InventoryQuantities | String |
A list of inventory quantities for this variant at each stocked location. The list size is limited by the merchant's plan. |
| OptionValues | String |
A list of option values defining this variant, representing the specific selections of the parent product's options. |
| Metafields | String |
Holds custom metadata fields used to extend the variant with additional attributes or integration data. |
| Strategy | String |
Defines how variant behavior is handled when new variants are created. 'DEFAULT' retains the single default variant; 'REMOVE_STANDALONE_VARIANT' deletes the default variant when new variants are generated. The allowed values are DEFAULT, REMOVE_STANDALONE_VARIANT. |
| AllowPartialUpdates | Bool |
Determines whether valid variant updates are saved when some variants fail validation. If true, successful updates are applied while invalid ones are skipped; if false, all updates are rolled back on error. |
Defines publication targets, representing sales channels or marketplaces where products and collections are visible.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Publications WHERE Id = 'Val1'
SELECT * FROM Publications WHERE CatalogType = 'Val1'
The following columns can be used to create a new record:
AutoPublish, CatalogId
The following pseudo-column can be used to create a new record:
DefaultState
The following column can be updated:
AutoPublish
The following pseudo-columns can be used to update a record:
PublishablesToAdd, PublishablesToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the publication record. | |
| AutoPublish | Bool | False |
Indicates whether new products are automatically published to this publication when they are created. | |
| SupportsFuturePublishing | Bool | True |
Specifies whether this publication allows scheduling products to be published at a future date. | |
| CatalogId | String | True |
The globally unique identifier of the catalog associated with this publication. | |
| AddAllProductsOperationId | String | True |
The globally unique identifier of the background operation responsible for adding all products to this publication. | |
| AddAllProductsOperationStatus | String | True |
The current processing status of the 'Add All Products' operation, such as 'pending', 'in_progress', or 'completed'. | |
| AddAllProductsOperationProcessedRowCount | Int | True |
The total number of rows processed by the 'Add All Products' operation, including successfully imported, failed, and skipped rows. | |
| AddAllProductsOperationRowCountCount | Int | True |
An estimated count of the total number of rows within the 'Add All Products' background operation. | |
| AddAllProductsOperationRowCountExceedsMax | Bool | True |
Indicates whether the 'Add All Products' operation exceeded the maximum allowable number of reportable rows. | |
| CatalogCsvOperationId | String | True |
The globally unique identifier of the background operation responsible for generating or importing catalog data via CSV. | |
| CatalogCsvOperationStatus | String | True |
The current status of the catalog CSV operation, such as 'queued', 'processing', or 'finished'. | |
| CatalogCsvOperationProcessedRowCount | Int | True |
The total number of rows processed during the catalog CSV operation, summing successful, failed, and skipped entries. | |
| CatalogCsvOperationRowCountCount | Int | True |
An estimated total count of rows included in the catalog CSV operation. | |
| CatalogCsvOperationRowCountExceedsMax | Bool | True |
Indicates whether the catalog CSV operation exceeded the maximum number of rows allowed for reporting. | |
| PublicationResourceOperationId | String | True |
The globally unique identifier of the background operation that manages resource publishing for this publication. | |
| PublicationResourceOperationStatus | String | True |
The current status of the publication resource operation, such as 'pending', 'running', or 'complete'. | |
| PublicationResourceOperationProcessedRowCount | Int | True |
The total number of rows processed in the publication resource operation, including imported, failed, and skipped entries. | |
| PublicationResourceOperationRowCountCount | Int | True |
An estimated total count of rows handled by the publication resource operation. | |
| PublicationResourceOperationRowCountExceedsMax | Bool | True |
Indicates whether the publication resource operation exceeded the limit of reportable rows. | |
| CatalogType | String | True |
Specifies the type of catalog this publication is associated with, such as product, collection, or custom type. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| DefaultState | String |
Defines whether the publication should be created empty or prepopulated with all products by default. The allowed values are ALL_PRODUCTS, EMPTY. |
| PublishablesToAdd | String |
A comma-separated list of publishable resource IDs (such as products or collections) to be added to the publication. Supports up to 50 IDs per update. |
| PublishablesToRemove | String |
A comma-separated list of publishable resource IDs to be removed from the publication. Supports up to 50 IDs per update. |
Represents refund records, including refund reason, associated order, total amounts, and refund transactions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Refunds WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OrderId, Note, RefundLineItems (references RefundLineItems)
| Column Name | Type | Description |
| LineItemId | String | A globally-unique ID. |
| LineItemQuantity | Int | The number of variant units ordered. |
| RestockType | String | The type of restock for the refunded line item. |
| LocationId | String | A globally-unique ID. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the refund record. | |
| LegacyResourceId | String | True |
The identifier of the corresponding refund resource in the REST Admin API, used for backward compatibility. | |
| OrderId | String | True |
Orders.Id |
The globally unique identifier of the order associated with this refund. |
| Note | String | True |
An optional note entered by the merchant to describe or justify the refund. | |
| CreatedAt | Datetime | True |
The date and time when the refund record was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the refund record was last updated. | |
| ReturnId | String | True |
The globally unique identifier of the related return record, if the refund is associated with a product return. | |
| StaffMemberId | String | True |
The globally unique identifier of the staff member who processed the refund. This field is available only to Shopify Plus merchants. | |
| TotalRefundedSetPresentmentMoneyAmount | Decimal | True |
The total refunded amount in the customer's presentment currency, expressed as a decimal money value. | |
| TotalRefundedSetPresentmentMoneyCurrencyCode | String | True |
The ISO 4217 currency code representing the presentment currency of the refund amount. | |
| TotalRefundedSetShopMoneyAmount | Decimal | True |
The total refunded amount converted to the shop's base currency, expressed as a decimal money value. | |
| TotalRefundedSetShopMoneyCurrencyCode | String | True |
The ISO 4217 currency code representing the shop's base currency of the refund amount. | |
| RefundLineItems | String | True |
A list of line items included in this refund, detailing the refunded products, quantities, and associated financial values. |
Stores records of product returns, including reason codes, refund references, and associated order data.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Returns WHERE OrdersId = 'Val1'
The following columns can be used to create a new record:
OrdersId, ReturnLineItems (references ReturnLineItems), ReturnExchangeLineItems (references ReturnExchangeLineItems)
| Column Name | Type | Description |
| Quantity | Int | The quantity being returned. |
| ReturnReason | String | The reason for returning the item. |
| ReturnReasonNote | String | Additional information about the reason for the return. Maximum length: 255 characters. |
| FulfillmentLineItemId | String | A globally-unique ID. |
| Column Name | Type | Description |
| VariantId | String | A globally-unique ID. |
| Quantity | Int | The number of variant units ordered. |
| AppliedDiscountValueAmount | Decimal | The discount to be applied to the exchange line item. The value of the discount as a fixed amount. |
| AppliedDiscountValueAmountCurrencyCode | String | The discount to be applied to the exchange line item. Currency of the money. |
| AppliedDiscountValuePercentage | Double | The discount to be applied to the exchange line item. The value of the discount as a percentage. |
| AppliedDiscountDescription | String | The discount to be applied to the exchange line item. The description of the discount. |
| GiftCardCodes | String | The gift card codes associated with the physical gift cards. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the return record. | |
| OrdersId | String | True |
Orders.Id |
The globally unique identifier of the order associated with this return. |
| Name | String | True |
The system-generated name or reference label used to identify the return. | |
| Status | String | True |
Indicates the current state of the return, such as 'requested', 'approved', 'declined', or 'completed'. | |
| TotalQuantity | Int | True |
The total number of items included in the return, summed across all return line items. | |
| DeclineReason | String | True |
The reason provided by the merchant for declining the customer's return request, if applicable. | |
| DeclineNote | String | True |
A message sent to the customer explaining why their return request was declined. Limited to 500 characters. | |
| ReturnLineItems | String | True |
A list of the original line items that are being returned as part of this return record. | |
| ReturnExchangeLineItems | String | True |
A list of replacement or exchange items being added to the order as part of the return process. |
Contains storefront script tag definitions for embedding custom JavaScript from approved sources.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ScriptTags WHERE Id = 'Val1'
SELECT * FROM ScriptTags WHERE Src = 'Val1'
The following columns can be used to create a new record:
Cache, Src, DisplayScope
The following columns can be updated:
Cache, Src, DisplayScope
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the script tag record. | |
| LegacyResourceId | String | True |
The identifier of the corresponding script tag resource in the REST Admin API, used for backward compatibility. | |
| Cache | Bool | False |
Indicates whether the Shopify CDN is allowed to cache and serve the script tag. If true, the script is cached and served for up to 15 minutes after retrieval; if false, the script is fetched directly from the source on each request. | |
| Src | String | False |
The URL location of the remote JavaScript file to be embedded in the storefront. | |
| DisplayScope | String | False |
Specifies where the script tag is applied on the online store, such as all pages, the home page, or product pages. The allowed values are ONLINE_STORE. | |
| CreatedAt | Datetime | True |
The date and time when the script tag was initially created in the store. | |
| UpdatedAt | Datetime | True |
The date and time when the script tag was last modified or updated. |
Stores definitions for customer segments, including filter logic and dynamic grouping criteria.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Segments WHERE Id = 'Val1'
The following columns can be used to create a new record:
Name, Query
The following columns can be updated:
Name, Query
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the customer segment. | |
| Name | String | False |
The descriptive name of the segment, used to identify it within the admin interface. | |
| Query | String | False |
The query logic that defines the segment, composed of conditional statements and filters based on customer attributes and behaviors. | |
| CreationDate | Datetime | True |
The date and time when the segment was first created and saved in the store. | |
| LastEditDate | Datetime | True |
The date and time when the segment definition was most recently updated or modified. |
Defines selling plan groups that bundle multiple subscription or payment plan options for products.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM SellingPlanGroups WHERE Id = 'Val1'
SELECT * FROM SellingPlanGroups WHERE Name = 'Val1'
SELECT * FROM SellingPlanGroups WHERE CreatedAt < '2023-01-01 11:10:00'
The following columns can be used to create a new record:
AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans)
The following pseudo-columns can be used to create a new record:
ProductIds, ProductVariantIds
| Column Name | Type | Description |
| Id | String | A globally-unique ID. |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. |
| Category | String | The category used to classify the selling plan for reporting purposes. |
| Description | String | Buyer facing string which describes the selling plan commitment. |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. |
| InventoryPolicyReserve | String | When to reserve inventory for the order. |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge. |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due. |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year. |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN. |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
| Metafields (references Metafields) | String | Attaches additional metadata to a store's resources. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans), SellingPlansToUpdate (references SellingPlanGroupSellingPlans)
The following pseudo-column can be used to update a record:
SellingPlansToDelete
| Column Name | Type | Description |
| Id | String | A globally-unique ID. |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. |
| Category | String | The category used to classify the selling plan for reporting purposes. |
| Description | String | Buyer facing string which describes the selling plan commitment. |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. |
| InventoryPolicyReserve | String | When to reserve inventory for the order. |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge. |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due. |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year. |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN. |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
| Metafields (references Metafields) | String | Attaches additional metadata to a store's resources. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the selling plan group. | |
| AppId | String | False |
The identifier of the app that created the selling plan group, exposed in Liquid templates and product JSON for reference in custom storefronts. | |
| Name | String | False |
The buyer-facing title of the selling plan group, shown to customers when selecting subscription or recurring purchase options. | |
| Description | String | False |
The merchant-facing explanation of the selling plan group, describing its purpose or configuration in the admin interface. | |
| Options | String | False |
Lists all option values available within the selling plan group. Selling plans are grouped when they share the same originating app, buyer-facing name, and available option values. | |
| Position | Int | False |
The display order or ranking of the selling plan group, determining how it appears in product or checkout interfaces. | |
| Summary | String | True |
A short overview of the key policies, such as billing frequency or delivery schedule, associated with the selling plan group. | |
| MerchantCode | String | False |
The internal or merchant-facing code used to identify the selling plan group in reports or integrations. | |
| ProductsCount | Int | True |
The number of products currently linked to the selling plan group. | |
| ProductsCountPrecision | String | True |
Indicates the precision of the product count, describing whether the value is exact or estimated. | |
| CreatedAt | Datetime | True |
The date and time when the selling plan group was initially created. | |
| SellingPlansToCreate | String | False |
A list of selling plans that should be created under this group. | |
| SellingPlansToUpdate | String | False |
A list of selling plans within the group that need to be updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| SellingPlansToDelete | String |
A comma-separated list of selling plans that should be deleted from the group. |
| ProductIds | String |
A comma-separated list of product IDs to be associated with the selling plan group. |
| ProductVariantIds | String |
A comma-separated list of product variant IDs to be associated with the selling plan group. |
Logs credit transactions that increase store credit account balances, such as issued refunds or promotions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountCreditTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountCreditTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
The following columns can be used to create a new record:
Amount, AmountCurrencyCode, ExpiresAt, CustomerStoreCreditAccountId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the store credit transaction record. | |
| Amount | Decimal | True |
The total monetary value of the store credit applied in this transaction, represented as a decimal amount. | |
| AmountCurrencyCode | String | True |
The three-letter ISO currency code for the transaction amount (for example, USD or EUR). | |
| RemainingAmount | Decimal | True |
The remaining unspent store credit available from this transaction, represented as a decimal amount. | |
| RemainingAmountCurrencyCode | String | True |
The three-letter ISO currency code corresponding to the remaining balance currency. | |
| ExpiresAt | Datetime | True |
The exact date and time when the store credit transaction expires. Debit transactions automatically consume credits that are closest to expiry first. | |
| BalanceAfterTransactionAmount | Decimal | True |
The customer's total store credit balance immediately after this transaction, expressed as a decimal value. | |
| BalanceAfterTransactionCurrencyCode | String | True |
The three-letter ISO currency code representing the balance currency after this transaction. | |
| CreatedAt | Datetime | True |
The date and time when the store credit transaction was recorded in the system. | |
| CustomerStoreCreditAccountId | String | True |
The globally unique identifier of the customer's store credit account associated with this transaction. |
Records debit transactions that decrease store credit balances, such as purchases or redemptions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountDebitTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountDebitTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
The following columns can be used to create a new record:
Amount, AmountCurrencyCode, CustomerStoreCreditAccountId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the debit transaction record. | |
| Amount | Decimal | True |
The monetary value deducted from the customer's store credit balance, represented as a decimal money amount. | |
| AmountCurrencyCode | String | True |
The three-letter ISO currency code representing the currency of the debit amount (for example, USD or EUR). | |
| BalanceAfterTransactionAmount | Decimal | True |
The customer's remaining store credit balance immediately after this debit transaction, expressed as a decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | True |
The three-letter ISO currency code corresponding to the store credit balance after the debit transaction. | |
| CreatedAt | Datetime | True |
The date and time when the debit transaction was created and recorded in the system. | |
| CustomerStoreCreditAccountId | String | True |
The globally unique identifier of the customer's store credit account associated with this debit transaction. |
Stores API access tokens for private storefront applications, used to authenticate client-side requests with defined scopes.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM StorefrontAccessTokens
The following column can be used to create a new record:
Title
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the storefront access token record. | |
| ShopId | String | True |
Shop.Id |
The globally unique identifier of the shop associated with this storefront access token. |
| Title | String | True |
A descriptive title assigned by the developer to help identify the purpose or usage context of this token. | |
| AccessToken | String | True |
The public access token issued for authenticating requests to the Storefront API. | |
| CreatedAt | Datetime | True |
The date and time when the storefront access token was initially generated. | |
| UpdatedAt | Datetime | True |
The date and time when the storefront access token record was last updated or modified. |
Contains theme metadata, including theme names, roles (main, unpublished), and publication details for storefront design management.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Themes WHERE Id = 'Val1'
SELECT * FROM Themes WHERE Name = 'Val1'
SELECT * FROM Themes WHERE Role = 'Val1'
The following column can be used to create a new record:
Name
The following pseudo-column can be used to create a new record:
Source
The following column can be updated:
Name
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the theme. | |
| ThemeStoreId | Int | True |
The unique identifier of the theme in the Shopify Theme Store, if applicable. | |
| Name | String | False |
The name of the theme as defined by the merchant. | |
| Prefix | String | True |
The prefix assigned to the theme, typically used to distinguish or categorize themes. | |
| Processing | Bool | True |
Indicates whether the theme is currently being processed, such as during upload or compilation. | |
| ProcessingFailed | Bool | True |
Indicates whether the theme processing encountered an error or failed to complete successfully. | |
| Role | String | True |
Specifies the role of the theme, such as 'main', 'unpublished', or 'development'. | |
| UpdatedAt | Datetime | True |
The date and time when the theme was most recently updated. | |
| CreatedAt | Datetime | True |
The date and time when the theme was originally created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Source | String |
An external or staged upload URL used to import the theme into Shopify. |
Defines URL redirects for the shop, mapping legacy or custom URLs to new destinations to maintain navigation and SEO integrity.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM UrlRedirects WHERE Id = 'Val1'
SELECT * FROM UrlRedirects WHERE Path = 'Val1'
SELECT * FROM UrlRedirects WHERE Target = 'Val1'
The following columns can be used to create a new record:
Path, Target
The following columns can be updated:
Path, Target
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier for the URL redirect. | |
| Path | String | False |
The original path on the store that will be redirected. When a user visits this path, Shopify automatically redirects them to the target location. | |
| Target | String | False |
The destination URL or path where the user will be redirected. This can be an internal page, collection, product, or an external URL. |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| AbandonedCheckoutCustomAttributes | Retrieves custom attributes linked to an abandoned checkout, providing additional metadata for recovery workflows. |
| AbandonedCheckoutLineItems | Lists line items included in an abandoned checkout, including product, quantity, and pricing details. |
| AbandonedCheckouts | Displays all checkouts that customers started but didn't complete, supporting cart recovery analytics and remarketing. |
| AbandonedCheckoutTaxLines | Shows individual tax components applied to abandoned checkouts for reporting and calculation consistency. |
| Abandonment | Tracks abandonment sessions that capture customer behavior during incomplete checkouts. |
| AbandonmentProductsAddedToCart | Lists products added to a cart during an abandoned shopping session, helping merchants understand customer intent. |
| AbandonmentProductsViewed | Lists products viewed by a customer during an abandoned visit, providing insight into browsing interest. |
| AppCredits | Retrieves app credit records issued to merchants for future app billing or adjustments. |
| ArticleCommentEvents | Displays events related to article comments, such as creation, approval, or deletion actions. |
| ArticleEvents | Lists activity events associated with blog articles, including publishing, updates, or deletions. |
| AssignedFulfillmentOrders | Retrieves all fulfillment orders assigned to the shop's locations or fulfillment services managed by the app. |
| BlogEvents | Displays event logs tied to blog actions such as creation, publication, and content edits. |
| BusinessEntities | Lists legal or business entities associated with a shop, used for tax or corporate reporting. |
| CollectionProducts | Lists all products contained within a specific collection, including display order and availability. |
| CompanyContactRoles | Lists available role definitions for company contacts, including role names and associated privileges. |
| CompanyEvents | Displays activity events tied to company records, such as creation, updates, and contact modifications. |
| CustomerAddresses | Lists addresses linked to customer accounts, including default shipping and billing details. |
| CustomerEvents | Shows customer-related activity events, such as account creation, updates, or login attempts. |
| CustomerSegmentMembers | Displays members belonging to defined customer segments, supporting segmentation and targeting analysis. |
| CustomerStoreCreditAccounts | Shows store credit account balances and transactions linked to individual customers. |
| DeliveryProfileLocationGroupCountries | Lists countries assigned to location groups within a specific delivery profile. |
| DeliveryProfileLocationGroupCountryProvinces | Displays provinces or regions associated with selected countries in delivery profiles. |
| DeliveryProfileLocationGroups | Lists location groups that belong to a delivery profile, including group identifiers and configuration data. |
| DeliveryProfileLocationGroupZones | Shows shipping zones defined for a given location group within a delivery profile. |
| DeliveryProfileUnassignedLocations | Lists store locations not yet assigned to any location group within a delivery profile, useful for setup and auditing. |
| DiscountEvents | Lists events related to discount creation, modification, or deletion, providing an audit trail for discount activities. |
| DiscountsCodeFreeShipping | Displays free-shipping discount code data, including minimum purchase requirements and applicable regions. |
| Disputes | Shows payment dispute cases raised by customers, including dispute type, amount, and resolution status. |
| DraftOrderCustomAttributes | Lists custom fields and metadata attached to draft orders for workflow or integration purposes. |
| DraftOrderEvents | Tracks events associated with draft orders, such as creation, edits, and completion. |
| DraftOrderLineItemCustomAttributes | Displays custom key–value attributes attached to draft order line items. |
| DraftOrderLineItems | Lists products, variants, and quantities included in draft orders, including applied discounts. |
| DraftOrderLineItemTaxLines | Shows tax line details applied to individual draft order line items. |
| DraftOrderTaxLines | Lists tax components applied to draft orders, including rate and tax jurisdiction. |
| Events | Retrieves general event logs related to store activities such as updates, creation, or deletions across entities. |
| FulfillmentLineItems | Lists line items included within fulfillment records, including quantities, SKUs, and location data. |
| FulfillmentLineItemTaxLines | Displays tax lines applied to fulfillment line items for accurate accounting. |
| FulfillmentOrderLineItems | Retrieves detailed product line information associated with fulfillment orders. |
| FulfillmentOrderLocationForMoveAvailableLineItems | Lists items that can be reassigned to a new fulfillment location during inventory relocation. |
| FulfillmentOrderLocationForMoveUnavailableLineItems | Lists items that cannot be moved to a new fulfillment location, often due to stock or policy restrictions. |
| FulfillmentOrderLocationsForMove | Displays eligible locations to which fulfillment orders can be reassigned. |
| InventoryAdjustmentGroupChanges | Shows sets of changes to inventory quantities that occurred within inventory adjustment events. |
| InventoryAdjustmentGroups | Displays groups of related inventory adjustments created as part of larger inventory operations. |
| InventoryItemCountryHarmonizedSystemCodes | Lists harmonized system codes for inventory items by country, supporting customs and import documentation. |
| InventoryItemInventoryLevelQuantities | Reports current inventory quantities for items across store locations. |
| InventoryItemInventoryLevelScheduledChanges | Displays future or pending adjustments to inventory levels that are scheduled to take effect later. |
| Jobs | Displays job records used to track the status of asynchronous operations such as imports, exports, or bulk edits. |
| LocalizationCountries | Lists countries enabled for localized storefront experiences, including language and currency settings. |
| MarketingEvents | Lists marketing activities and campaigns created by apps, including type, channel, and performance status. |
| MetafieldDefinitionConstraintValues | Lists constraint values that restrict how metafields can be applied to specific object types or contexts. |
| MetafieldDefinitionStandardTemplates | Provides prebuilt metafield templates that define standard configurations for common use cases. |
| MetafieldDefinitionTypes | Lists supported metafield data types, including validation and display properties. |
| MetaobjectDefinitions | Defines the structure of metaobjects, specifying which metafields and types they include. |
| MetaObjects | Displays all metaobject instances created for the shop, each representing a reusable structured content record. |
| OrderAdditionalFees | Lists additional fees applied to an order, such as environmental surcharges or custom service fees. |
| OrderAgreementAdditionalFeeSales | Shows sales data associated with agreements that include additional fee items. |
| OrderAgreementAdjustmentSales | Displays order adjustment sales linked to agreements, such as price corrections or discounts. |
| OrderAgreementDutySales | Shows sales data related to duty charges captured under agreement-based orders. |
| OrderAgreementGiftCardSales | Lists gift card-related sales that are part of an order agreement. |
| OrderAgreementProductSales | Shows product-level sales connected to contractual agreements or subscription orders. |
| OrderAgreements | Displays active order agreements, including terms, conditions, and associated sales data. |
| OrderAgreementShippingLineSales | Shows sales data for shipping lines tied to order agreements. |
| OrderAgreementTipSales | Displays tip-related sales that are part of an agreement, such as service-based transactions. |
| OrderAgreementUnknownSales | Contains unclassified or miscellaneous sales entries linked to an order agreement. |
| OrderCustomAttributes | Lists custom fields and key–value pairs defined at the order level for tracking and analytics. |
| OrderDiscountApplications | Shows all discounts applied to an order, excluding refunds and order edits, including type and allocation data. |
| OrderEditAgreementAdditionalFeeSales | Displays adjusted additional fee sales linked to edited orders. |
| OrderEditAgreementAdjustmentSales | Shows edited order adjustment sales tied to agreements. |
| OrderEditAgreementDutySales | Lists edited duty-related sales data associated with order agreements. |
| OrderEditAgreementGiftCardSales | Shows gift card sales data that changed during an order edit under an agreement. |
| OrderEditAgreementProductSales | Displays product sales adjustments resulting from order edits connected to agreements. |
| OrderEditAgreements | Lists agreements governing edited orders, including revision details and associated transactions. |
| OrderEditAgreementShippingLineSales | Shows edited shipping line sales related to agreements, reflecting updated shipping costs or routes. |
| OrderEditAgreementTipSales | Displays updated tip-related sales resulting from order edits under agreements. |
| OrderEditAgreementUnknownSales | Captures unclassified edited sales entries tied to order agreements. |
| OrderEvents | Logs order lifecycle events such as creation, payment, fulfillment, and cancellation. |
| OrderLineItemCustomAttributes | Lists custom key–value pairs assigned to order line items for personalization or metadata tracking. |
| OrderLineItemDiscountAllocations | Shows how discount amounts are distributed among individual order line items. |
| OrderLineItemDuties | Displays duty charges applied to order line items for customs or import purposes. |
| OrderLineItems | Provides detailed product-level information for all line items included in orders. |
| OrderLineItemTaxLines | Displays tax line information applied to specific order items. |
| OrderNonFulfillableLineItemDuties | Shows duty charges on items that cannot be fulfilled due to restrictions or inventory issues. |
| OrderNonFulfillableLineItems | Lists order line items that are not eligible for fulfillment, typically due to stockouts or fulfillment exceptions. |
| OrderRefundAgreementAdditionalFeeSales | Shows refund-related sales adjustments for agreements involving additional fees. |
| OrderRefundAgreementAdjustmentSales | Displays refund adjustments tied to agreements that modify the order's financials. |
| OrderRefundAgreementDutySales | Shows refunded duty sales data linked to order agreements. |
| OrderRefundAgreementGiftCardSales | Lists refunded gift card sales tied to agreements. |
| OrderRefundAgreementProductSales | Displays product-level refund sales associated with order agreements. |
| OrderRefundAgreements | Shows agreements governing refunded orders, including refund rules and financial references. |
| OrderRefundAgreementShippingLineSales | Shows refunded shipping line sales under order agreements. |
| OrderRefundAgreementTipSales | Displays refunded tip sales tied to order agreements. |
| OrderRefundAgreementUnknownSales | Captures miscellaneous refund transactions associated with order agreements. |
| OrderShippingLines | Lists shipping lines attached to orders, including carrier, rate, and destination data. |
| OrderTaxLines | Displays applied tax lines for orders, detailing title, rate, and tax amount. |
| PageEvents | Tracks events related to page creation, updates, and deletions in the online store. |
| PriceListPrices | Lists pricing entries tied to a specific price list, including product, variant, and region-specific prices. |
| ProductBundleComponentOptionSelections | Links component options to their selected parent options within product bundles. |
| ProductBundleComponents | Lists components that make up product bundles, including associated product and quantity details. |
| ProductEvents | Logs product-related events such as creation, price changes, and publication updates. |
| ProductOperations | Tracks background operations performed on products, such as imports or bulk edits. |
| ProductVariantEvents | Logs lifecycle events for product variants, such as creation, updates, and inventory changes. |
| PublicationCollections | Lists collections published to specific sales channels or publications. |
| PublicationProducts | Lists products published to specific channels or publications. |
| RefundDuties | Displays refunded duty amounts associated with international orders. |
| RefundLineItemDuties | Shows refunded duty charges applied to individual order line items. |
| RefundLineItems | Lists refunded line items from an order, including product, quantity, and refund amount details. |
| RefundOrderAdjustments | Displays order-level adjustments included in refunds, such as discounts or shipping refunds. |
| RefundShippingLines | Lists refunded shipping lines, including refunded shipping cost and related carrier information. |
| RefundTransactionFees | Displays transaction fees refunded to merchants for Shopify Payments transactions. |
| RefundTransactions | Shows transactions created as part of refunds, including payment gateway data and refund amounts. |
| ReturnExchangeLineItems | Lists exchange line items associated with a return, including replacement products, quantities, and values. |
| ReturnLineItems | Displays the line items included in a return request, including refund amounts and restock eligibility. |
| ReturnLineItemsUnverified | Shows return line items pending verification, often awaiting condition or receipt confirmation. |
| ReverseFulfillmentOrderDeliveries | Tracks packages sent from buyers back to merchants as part of reverse fulfillment operations. |
| ReverseFulfillmentOrderDeliveryLineItems | Lists individual items included in reverse deliveries, such as returns or exchanges. |
| ReverseFulfillmentOrderLineItems | Shows detailed item data tied to reverse fulfillment orders, including quantities and statuses. |
| ReverseFulfillmentOrders | Lists fulfillment orders representing inbound return shipments processed by fulfillment services. |
| SegmentFilterParameters | Displays parameters used in defining event-based segment filters, such as field names and conditions. |
| SegmentFilters | Lists available filters applied to customer or event segments. |
| SellingPlanGroupSellingPlans | Lists selling plans associated with a selling plan group, including frequency and pricing options. |
| Shop | Displays overall shop metadata, such as store name, plan type, contact info, and settings. |
| ShopifyPaymentsAccount | Shows Shopify Payments account information, including account ID, currency, and payout configuration. |
| ShopifyPaymentsAccountBalance | Lists current balances in each supported currency for a Shopify Payments account. |
| ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders | Links payout balance transaction adjustments back to the originating orders for reconciliation. |
| ShopifyPaymentsAccountBalanceTransactions | Displays all balance transactions for a Shopify Payments account, including payouts and adjustments. |
| ShopifyPaymentsAccountBankAccounts | Lists connected bank accounts used for Shopify Payments deposits and withdrawals. |
| ShopifyPaymentsAccountDisputes | Displays dispute records tied to a Shopify Payments account, including resolution outcomes and evidence links. |
| ShopifyPaymentsAccountPayouts | Lists all payouts issued from Shopify Payments to linked bank accounts, with dates and statuses. |
| StaffMembers | Lists staff accounts with access to the shop, including roles and permissions. Available only for Shopify Plus stores. |
| StoreCreditAccountDebitRevertTransactions | Displays debit reversal transactions created when a debit entry is voided or corrected. |
| StoreCreditAccountExpirationTransactions | Lists store credit expiration events when unused balances expire after a set duration. |
| TenderTransactions | Lists payment tender transactions processed in the shop, including amounts, payment methods, and timestamps. |
Retrieves custom attributes linked to an abandoned checkout, providing additional metadata for recovery workflows.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A unique identifier for the abandoned checkout record associated with this custom attribute. | |
| Key [KEY] | String | The name of the custom attribute used to store additional data about the abandoned checkout. | |
| Value | String | The content or assigned value of the custom attribute that provides extra context or metadata for the checkout. |
Lists line items included in an abandoned checkout, including product, quantity, and pricing details.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the individual line item associated with an abandoned checkout. | |
| ResourceId | String |
Abandonment.AbandonedCheckoutPayloadId | The unique identifier of the abandoned checkout record this line item belongs to. |
| Title | String | The display name of the product or variant at the time the checkout was abandoned. | |
| ProductId | String | A globally unique identifier for the product associated with this line item. | |
| VariantId | String | A globally unique identifier for the product variant included in the abandoned checkout. | |
| VariantTitle | String | The descriptive title of the product variant at the time of checkout creation. | |
| Quantity | Int | The total number of units for this variant that were added to the checkout. | |
| Sku | String | The SKU code identifying the specific product variant in the merchant's inventory system. | |
| ImageId | String | A unique identifier for the image associated with this line item's product variant. | |
| ImageWidth | Int | The width of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageAltText | String | A descriptive phrase that explains the content or purpose of the product image for accessibility. | |
| ImageHeight | Int | The height of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | The direct URL where the product image is stored or accessed. | |
| DiscountedTotalPriceSetPresentmentMoneyAmount | Decimal | The total discounted price for all units of this line item in the customer's presentment currency. | |
| DiscountedTotalPriceSetPresentmentMoneyCurrencyCode | String | The currency code for the discounted total price in the customer's presentment currency. | |
| DiscountedTotalPriceSetShopMoneyAmount | Decimal | The total discounted price for all units of this line item in the shop's base currency. | |
| DiscountedTotalPriceSetShopMoneyCurrencyCode | String | The currency code for the discounted total price in the shop's base currency. | |
| DiscountedTotalPriceWithCodeDiscountPresentmentMoneyAmount | Decimal | The total price for this line item after applying all discounts, including code-based discounts, in presentment currency. | |
| DiscountedTotalPriceWithCodeDiscountPresentmentMoneyCurrencyCode | String | The currency code for the fully discounted total price in the presentment currency. | |
| DiscountedTotalPriceWithCodeDiscountShopMoneyAmount | Decimal | The total price for this line item after applying all discounts, including code-based discounts, in shop currency. | |
| DiscountedTotalPriceWithCodeDiscountShopMoneyCurrencyCode | String | The currency code for the fully discounted total price in the shop's base currency. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The discounted price for a single unit of this variant in the presentment currency. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The currency code for the discounted unit price in the presentment currency. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The discounted price for a single unit of this variant in the shop's base currency. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The currency code for the discounted unit price in the shop's base currency. | |
| DiscountedUnitPriceWithCodeDiscountPresentmentMoneyAmount | Decimal | The unit price after all discounts, including code-based discounts, in the presentment currency. | |
| DiscountedUnitPriceWithCodeDiscountPresentmentMoneyCurrencyCode | String | The currency code for the fully discounted unit price in the presentment currency. | |
| DiscountedUnitPriceWithCodeDiscountShopMoneyAmount | Decimal | The unit price after all discounts, including code-based discounts, in the shop's base currency. | |
| DiscountedUnitPriceWithCodeDiscountShopMoneyCurrencyCode | String | The currency code for the fully discounted unit price in the shop's base currency. | |
| OriginalTotalPriceSetPresentmentMoneyAmount | Decimal | The total pre-discount price for all units of this line item in the presentment currency. | |
| OriginalTotalPriceSetPresentmentMoneyCurrencyCode | String | The currency code for the original total price in the presentment currency. | |
| OriginalTotalPriceSetShopMoneyAmount | Decimal | The total pre-discount price for all units of this line item in the shop's base currency. | |
| OriginalTotalPriceSetShopMoneyCurrencyCode | String | The currency code for the original total price in the shop's base currency. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | The original, undiscounted price for a single unit in the presentment currency. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | The currency code for the original unit price in the presentment currency. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | The original, undiscounted price for a single unit in the shop's base currency. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | The currency code for the original unit price in the shop's base currency. |
Displays all checkouts that customers started but didn't complete, supporting cart recovery analytics and remarketing.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonedCheckouts WHERE Id = 'Val1'
SELECT * FROM AbandonedCheckouts WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM AbandonedCheckouts WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM AbandonedCheckouts WHERE Status = 'open'
SELECT * FROM AbandonedCheckouts WHERE EmailState = 'sent'
SELECT * FROM AbandonedCheckouts WHERE RecoveryState = 'open'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the abandoned checkout record. | |
| Name | String | The merchant-facing reference name used to identify the checkout in reports or dashboards. | |
| AbandonedCheckoutUrl | String | A recovery link that allows the buyer to return and complete their abandoned checkout. | |
| CustomerId | String | The unique identifier of the customer who initiated the checkout. | |
| DiscountCodes | String | The discount codes that the buyer entered during checkout, separated by commas if multiple were applied. | |
| Note | String | A private note added by the merchant to the checkout, not visible to the buyer. | |
| TaxesIncluded | Bool | Indicates whether tax amounts were included in the item and shipping prices at checkout. | |
| UpdatedAt | Datetime | The timestamp indicating when the checkout record was last modified. | |
| CreatedAt | Datetime | The timestamp for when the checkout session was originally created. | |
| CompletedAt | Datetime | The timestamp for when the checkout was successfully completed, or null if incomplete. | |
| BillingAddressCoordinatesValidated | Bool | Indicates whether the billing address was successfully mapped to valid geographic coordinates. | |
| BillingAddressId | String | A unique identifier for the billing address associated with the checkout. | |
| BillingAddressValidationResultSummary | String | A summary of the billing address validation status as determined by Shopify's address verification process. | |
| BillingAddressFirstName | String | The first name provided in the billing address. | |
| BillingAddressLastName | String | The last name provided in the billing address. | |
| BillingAddressName | String | The full billing name, constructed from the first and last name fields. | |
| BillingAddressAddress1 | String | The first address line, typically including street address or PO Box information. | |
| BillingAddressAddress2 | String | The second address line, such as apartment, suite, or unit number. | |
| BillingAddressCity | String | The name of the city or locality for the billing address. | |
| BillingAddressCompany | String | The name of the company or organization provided in the billing address, if applicable. | |
| BillingAddressCountry | String | The full name of the billing address country. | |
| BillingAddressCountryCode | String | The two-letter country code (ISO 3166-1 alpha-2) for the billing address, such as US or CA. | |
| BillingAddressFormattedArea | String | A formatted list combining city, province, and country values for the billing address. | |
| BillingAddressLatitude | Double | The geographic latitude value of the billing address location. | |
| BillingAddressLongitude | Double | The geographic longitude value of the billing address location. | |
| BillingAddressPhone | String | The phone number associated with the billing contact. | |
| BillingAddressProvince | String | The region, province, or state for the billing address. | |
| BillingAddressProvinceCode | String | The short regional code for the billing province or state, such as ON for Ontario. | |
| BillingAddressZip | String | The postal or zip code of the billing address. | |
| BillingAddressTimeZone | String | The local time zone corresponding to the billing address region. | |
| ShippingAddressCoordinatesValidated | Bool | Indicates whether the shipping address was successfully mapped to valid geographic coordinates. | |
| ShippingAddressId | String | A unique identifier for the shipping address associated with the checkout. | |
| ShippingAddressValidationResultSummary | String | A summary of the shipping address validation status as determined by Shopify's address verification process. | |
| ShippingAddressFirstName | String | The first name provided in the shipping address. | |
| ShippingAddressLastName | String | The last name provided in the shipping address. | |
| ShippingAddressName | String | The full name used for shipping, constructed from the first and last name fields. | |
| ShippingAddressAddress1 | String | The first line of the shipping address, typically including street address or PO Box information. | |
| ShippingAddressAddress2 | String | The second line of the shipping address, such as apartment, suite, or unit number. | |
| ShippingAddressCity | String | The city or locality of the shipping address. | |
| ShippingAddressCompany | String | The company or organization name listed on the shipping address, if provided. | |
| ShippingAddressCountry | String | The full country name for the shipping address. | |
| ShippingAddressCountryCode | String | The two-letter country code (ISO 3166-1 alpha-2) for the shipping address, such as US or GB. | |
| ShippingAddressFormattedArea | String | A formatted list combining city, province, and country values for the shipping address. | |
| ShippingAddressLatitude | Double | The geographic latitude value of the shipping address location. | |
| ShippingAddressLongitude | Double | The geographic longitude value of the shipping address location. | |
| ShippingAddressPhone | String | The phone number associated with the shipping contact. | |
| ShippingAddressProvince | String | The region, province, or state for the shipping address. | |
| ShippingAddressProvinceCode | String | The short regional code for the shipping province or state, such as CA for California. | |
| ShippingAddressZip | String | The postal or zip code of the shipping address. | |
| ShippingAddressTimeZone | String | The local time zone corresponding to the shipping address region. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | The subtotal amount before taxes and discounts in the customer's presentment currency. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | The currency code for the subtotal in the presentment currency. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | The subtotal amount before taxes and discounts in the shop's base currency. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | The currency code for the subtotal in the shop's base currency. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | The total amount of discounts applied in the customer's presentment currency. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | The currency code for the total discounts in the presentment currency. | |
| TotalDiscountSetShopMoneyAmount | Decimal | The total amount of discounts applied in the shop's base currency. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | The currency code for the total discounts in the shop's base currency. | |
| TotalDutiesSetPresentmentMoneyAmount | Decimal | The total value of duties applied to the checkout in the presentment currency. | |
| TotalDutiesSetPresentmentMoneyCurrencyCode | String | The currency code for duties in the presentment currency. | |
| TotalDutiesSetShopMoneyAmount | Decimal | The total value of duties applied to the checkout in the shop's base currency. | |
| TotalDutiesSetShopMoneyCurrencyCode | String | The currency code for duties in the shop's base currency. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | The combined total of all line item prices in the presentment currency before additional fees or discounts. | |
| TotalLineItemsPriceSetPresentmentMoneyCurrencyCode | String | The currency code for line item totals in the presentment currency. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | The combined total of all line item prices in the shop's base currency before additional fees or discounts. | |
| TotalLineItemsPriceSetShopMoneyCurrencyCode | String | The currency code for line item totals in the shop's base currency. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | The final total checkout amount, including taxes, discounts, and duties, in the presentment currency. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | The currency code for the final checkout total in the presentment currency. | |
| TotalPriceSetShopMoneyAmount | Decimal | The final total checkout amount, including taxes, discounts, and duties, in the shop's base currency. | |
| TotalPriceSetShopMoneyCurrencyCode | String | The currency code for the final checkout total in the shop's base currency. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | The total amount of taxes applied in the presentment currency. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | The currency code for taxes in the presentment currency. | |
| TotalTaxSetShopMoneyAmount | Decimal | The total amount of taxes applied in the shop's base currency. | |
| TotalTaxSetShopMoneyCurrencyCode | String | The currency code for taxes in the shop's base currency. | |
| Status | String | The current checkout status.
The allowed values are open, closed. | |
| EmailState | String | The status of email communications related to the checkout, such as sent or unsent.
The allowed values are sent, not_sent, scheduled, suppressed. | |
| RecoveryState | String | The state of recovery for the abandoned checkout.
The allowed values are open, closed. |
Shows individual tax components applied to abandoned checkouts for reporting and calculation consistency.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The display name of the tax applied to the abandoned checkout line item, such as Sales Tax or VAT. | |
| ResourceId [KEY] | String | A unique identifier linking this tax record to its associated abandoned checkout. | |
| Source | String | The origin or system that determined and applied the tax, such as Shopify or an external tax service. | |
| Rate | Double | The tax rate expressed as a decimal fraction of the line item's price. For example, 0.08 for an 8% tax. | |
| ChannelLiable | Bool | Indicates whether the selling channel that created the checkout is responsible for remitting the tax. A null value means liability is unknown. | |
| RatePercentage | Double | The tax rate expressed as a percentage of the line item's price. For example, 8 for an 8% tax. | |
| PriceSetPresentmentMoneyAmount | Decimal | The tax amount for this line item in the customer's presentment currency. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The currency code representing the customer's presentment currency for the tax amount. | |
| PriceSetShopMoneyAmount | Decimal | The tax amount for this line item in the shop's base currency. | |
| PriceSetShopMoneyCurrencyCode | String | The currency code representing the shop's base currency for the tax amount. |
Tracks abandonment sessions that capture customer behavior during incomplete checkouts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Abandonment WHERE Id = 'Val1'
SELECT * FROM Abandonment WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the abandonment record. | |
| AppId | String | The unique identifier of the app or integration that detected or created this abandonment event. | |
| CustomerId | String | The unique identifier for the customer associated with this abandonment instance. | |
| AbandonmentType | String | Specifies the type of abandonment, such as browse, cart, or checkout, based on where the customer left the session. | |
| EmailState | String | Indicates the status of the abandonment recovery email, such as sent or unsent. | |
| InventoryAvailable | Bool | Indicates whether the products involved in the abandonment are still available in inventory. | |
| EmailSentAt | Datetime | The timestamp showing when the abandonment recovery email was sent, if applicable. | |
| MostRecentStep | String | The most recent step the customer reached before abandoning their session, such as viewing a product or adding to cart. | |
| VisitStartedAt | Datetime | The date and time when the customer's browsing session began. | |
| IsFromOnlineStore | Bool | Indicates whether the abandonment originated from the Online Store sales channel. | |
| IsFromShopApp | Bool | Indicates whether the abandonment originated from the Shop app sales channel. | |
| IsFromShopPay | Bool | Indicates whether the abandonment occurred during a checkout using Shop Pay. | |
| IsMostSignificantAbandonment | Bool | Indicates whether this abandonment represents the most significant incomplete interaction, with no subsequent higher-value actions completed. | |
| LastBrowseAbandonmentDate | Datetime | The timestamp of the customer's most recent browse abandonment event. | |
| LastCartAbandonmentDate | Datetime | The timestamp of the customer's most recent cart abandonment event. | |
| LastCheckoutAbandonmentDate | Datetime | The timestamp of the customer's most recent checkout abandonment event. | |
| DaysSinceLastAbandonmentEmail | Int | The number of days since the customer last received an abandonment recovery email. | |
| HoursSinceLastAbandonedCheckout | Double | The number of hours since the customer most recently abandoned a checkout session. | |
| CustomerHasNoOrderSinceAbandonment | Bool | Indicates whether the customer has not completed a purchase since this abandonment event occurred. | |
| CreatedAt | Datetime | The date and time when the abandonment record was created in Shopify. | |
| IsFromCustomStorefront | Bool | Indicates whether the abandonment originated from a custom storefront built through Shopify's Storefront API. | |
| AbandonedCheckoutPayloadId | String | A unique identifier linking to the payload record associated with the abandoned checkout. | |
| AbandonedCheckoutPayloadDefaultCursor | String | A cursor used to sequentially retrieve the next available abandoned checkout record in ascending order by ID. | |
| AbandonedCheckoutPayloadAbandonedCheckoutUrl | String | The recovery URL provided to the buyer to resume and complete their abandoned checkout. |
Lists products added to a cart during an abandoned shopping session, helping merchants understand customer intent.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonmentId = 'Val1'
SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| AbandonmentId | String | The unique identifier of the abandonment record that this product addition is associated with. | |
| AbandonedCheckoutPayloadId [KEY] | String | The unique identifier linking this product addition to its corresponding abandoned checkout payload. | |
| ProductId [KEY] | String | A unique identifier for the product that was added to the cart before the session was abandoned. | |
| VariantId [KEY] | String | A unique identifier for the specific variant of the product that was added to the cart. | |
| Quantity | Int | The number of units of this product variant that the customer added to their cart during the abandoned session. |
Lists products viewed by a customer during an abandoned visit, providing insight into browsing interest.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonmentProductsViewed WHERE AbandonmentId = 'Val1'
SELECT * FROM AbandonmentProductsViewed WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| AbandonmentId | String |
Abandonment.Id | The unique identifier of the abandonment record linked to the viewed product activity. |
| AbandonedCheckoutPayloadId [KEY] | String | The unique identifier connecting this product view to its related abandoned checkout payload. | |
| ProductId [KEY] | String | A unique identifier for the product that the customer viewed during the browsing session. | |
| VariantId [KEY] | String | A unique identifier for the specific variant of the viewed product, if applicable. | |
| Quantity | Int | The number of units of the viewed product variant that the customer expressed interest in or interacted with during the session. |
Retrieves app credit records issued to merchants for future app billing or adjustments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppCredits WHERE AppInstallationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the app credit record. | |
| AppInstallationId | String | The unique identifier of the app installation that issued or received the credit. | |
| Description | String | A human-readable summary explaining the purpose or context of the app credit transaction. | |
| Test | Bool | Indicates whether this app credit is a test transaction used for validation or sandbox purposes. | |
| CreatedAt | Datetime | The date and time when the app credit record was created in Shopify. | |
| Amount | Decimal | The monetary amount of the app credit issued to or from the app. | |
| AmountCurrencyCode | String | The three-letter ISO currency code representing the currency of the credited amount. |
Displays events related to article comments, such as creation, approval, or deletion actions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ArticleCommentEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the article comment event record. | |
| HostId | String | The unique identifier of the resource or system host where the comment event originated. | |
| AppTitle | String | The name of the app that generated or recorded this comment event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app integration rather than a user action. | |
| AttributeToUser | Bool | Indicates whether the event was initiated by an admin user within the Shopify environment. | |
| CreatedAt | Datetime | The timestamp marking when the comment event was created. | |
| CriticalAlert | Bool | Specifies whether this event is flagged as critical and requires immediate attention. | |
| Action | String | The type of action performed that triggered this event, such as creating, editing, or deleting a comment. | |
| Message | String | A human-readable description summarizing what occurred during the event. | |
| BasicEventSubjectId | String | The unique identifier of the primary resource (subject) that generated this event. | |
| BasicEventSubjectType | String | The type or category of resource associated with the event, such as Order, Product, or Article. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event includes supplementary or extended content. | |
| BasicEventAdditionalContent | String | Additional content associated with the event, often displayed in collapsible timelines or detailed views. | |
| BasicEventAdditionalData | String | Structured data accompanying the event, used by apps or API consumers for contextual processing. | |
| BasicEventSecondaryMessage | String | A supporting or secondary message providing further context to the main event message. | |
| BasicEventArguments | String | References or identifiers for related resources or parameters tied to the event. | |
| CommentEventAuthorId | String | The unique identifier of the staff member who authored or triggered the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted by the current user or app. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be modified or edited after creation. | |
| CommentEventEdited | Bool | Specifies whether the comment event has been edited since its original creation. | |
| CommentEventRawMessage | String | The raw, unformatted text content of the comment event as originally submitted. | |
| CommentEventSubjectId | String | The unique identifier of the parent entity or thread to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject contains an associated comment entry. | |
| CommentEventEmbedCustomerId | String | A reference to the customer object linked to this comment event, if applicable. | |
| CommentEventEmbedDraftOrderId | String | A reference to the draft order object linked to this comment event, if applicable. | |
| CommentEventEmbedOrderId | String | A reference to the order object linked to this comment event, if applicable. | |
| CommentEventEmbedProductId | String | A reference to the product object associated with this comment event, if applicable. | |
| CommentEventEmbedProductVariantId | String | A reference to the specific product variant object linked to this comment event, if applicable. |
Lists activity events associated with blog articles, including publishing, updates, or deletions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ArticleEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the article event record. | |
| HostId | String |
Articles.Id | The unique identifier of the resource or system host associated with the article event. |
| AppTitle | String | The name of the app that generated or triggered the event. | |
| AttributeToApp | Bool | Indicates whether the event originated from an app integration rather than a user action. | |
| AttributeToUser | Bool | Indicates whether the event was initiated by an admin user within the Shopify Admin interface. | |
| CreatedAt | Datetime | The timestamp when the article event was created. | |
| CriticalAlert | Bool | Specifies whether the event is marked as critical and may require immediate merchant attention. | |
| Action | String | The specific action that triggered this event, such as article creation, update, or deletion. | |
| Message | String | A human-readable summary describing what occurred during the event. | |
| BasicEventSubjectId | String | The unique identifier of the article or related resource that generated the event. | |
| BasicEventSubjectType | String | The resource type that produced the event, such as Article or Blog. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event includes supplementary information or extended content. | |
| BasicEventAdditionalContent | String | Additional descriptive content associated with the event, often displayed in detailed timeline views. | |
| BasicEventAdditionalData | String | Structured or metadata content accompanying the event, used by integrated systems or APIs. | |
| BasicEventSecondaryMessage | String | An additional explanatory message providing more context for the primary event message. | |
| BasicEventArguments | String | A list of referenced resources or parameters tied to the event and its related data. | |
| CommentEventAuthorId | String | The unique identifier of the staff member who authored or triggered the comment associated with this event. | |
| CommentEventCanDelete | Bool | Indicates whether the related comment event can be deleted by authorized users or apps. | |
| CommentEventCanEdit | Bool | Indicates whether the related comment event can be modified or edited after creation. | |
| CommentEventEdited | Bool | Specifies whether the comment event has been edited since its initial creation. | |
| CommentEventRawMessage | String | The unformatted, raw body content of the comment event. | |
| CommentEventSubjectId | String | The unique identifier of the parent entity or resource that the comment event is linked to. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject includes an associated comment entry. | |
| CommentEventEmbedCustomerId | String | A reference to the customer object connected to this event, if applicable. | |
| CommentEventEmbedDraftOrderId | String | A reference to the draft order object connected to this event, if applicable. | |
| CommentEventEmbedOrderId | String | A reference to the order object connected to this event, if applicable. | |
| CommentEventEmbedProductId | String | A reference to the product object connected to this event, if applicable. | |
| CommentEventEmbedProductVariantId | String | A reference to the product variant object connected to this event, if applicable. |
Retrieves all fulfillment orders assigned to the shop's locations or fulfillment services managed by the app.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AssignedFulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
SELECT * FROM AssignedFulfillmentOrders WHERE AssignmentStatus = 'CANCELLATION_REQUESTED'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the assigned fulfillment order record. | |
| ShopId | String |
Shop.Id | The unique identifier of the Shopify store associated with this fulfillment order. |
| OrderId | String | The unique identifier of the order that this fulfillment order corresponds to. | |
| Status | String | The current lifecycle status of the fulfillment order, such as open, in_progress, or closed. | |
| FulfillAt | Datetime | The scheduled date and time when the fulfillment order becomes eligible for fulfillment. For example, subscription orders may have a future fulfillment date, while standard orders typically use the order creation date. | |
| FulfillBy | Datetime | The latest date and time by which all items in the fulfillment order must be fulfilled. | |
| RequestStatus | String | The current request status of the fulfillment order, indicating processing or completion progress. | |
| CreatedAt | Datetime | The timestamp when the fulfillment order was initially created. | |
| UpdatedAt | Datetime | The timestamp when the fulfillment order record was last modified. | |
| AssignedLocationName | String | The name of the location assigned to fulfill this order. | |
| AssignedLocationAddress1 | String | The first line of the address for the assigned fulfillment location. | |
| AssignedLocationAddress2 | String | The second line of the address for the assigned fulfillment location, such as suite or unit number. | |
| AssignedLocationCity | String | The city where the assigned fulfillment location is situated. | |
| AssignedLocationPhone | String | The contact phone number for the assigned fulfillment location. | |
| AssignedLocationProvince | String | The province, state, or region where the assigned fulfillment location is located. | |
| AssignedLocationZip | String | The postal or ZIP code of the assigned fulfillment location. | |
| AssignedLocationCountryCode | String | The two-letter ISO country code representing the assigned location's country. | |
| AssignedLocationLocationId | String | The unique identifier of the assigned fulfillment location. | |
| AssignedLocationLocationLegacyResourceId | String | The corresponding REST Admin API resource ID for the assigned location. | |
| AssignedLocationLocationName | String | The official name of the assigned location used within Shopify's fulfillment system. | |
| AssignedLocationLocationActivatable | Bool | Indicates whether the location can be reactivated if previously deactivated. | |
| AssignedLocationLocationDeactivatable | Bool | Indicates whether the location can be deactivated by the merchant or system. | |
| AssignedLocationLocationDeletable | Bool | Indicates whether the location record can be permanently deleted. | |
| AssignedLocationLocationAddressVerified | Bool | Specifies whether the address of this location has been verified for accuracy. | |
| AssignedLocationLocationDeactivatedAt | String | The date and time when the location was deactivated, expressed in UTC format (for example, '2019-09-07T15:50:00Z'). | |
| AssignedLocationLocationIsActive | Bool | Indicates whether the location is currently active and available for fulfillment operations. | |
| AssignedLocationLocationShipsInventory | Bool | Indicates whether the location is used for calculating shipping rates. This field is ignored when multi-origin shipping is enabled. | |
| AssignedLocationLocationFulfillsOnlineOrders | Bool | Specifies whether this location is allowed to fulfill online orders. | |
| AssignedLocationLocationHasActiveInventory | Bool | Indicates whether the assigned location currently holds active inventory. | |
| AssignedLocationLocationHasUnfulfilledOrders | Bool | Indicates whether the location has outstanding orders pending fulfillment. | |
| DeliveryMethodId | String | The unique identifier of the delivery method used for this fulfillment order. | |
| DeliveryMethodPresentedName | String | The name of the delivery option displayed to the buyer during checkout, such as 'Standard Shipping' or 'Express Delivery'. | |
| DeliveryMethodMethodType | String | The category or type of delivery method, such as local, shipping, or pickup. | |
| DeliveryMethodMaxDeliveryDateTime | Datetime | The latest estimated delivery date and time for the fulfillment to reach the buyer. | |
| DeliveryMethodMinDeliveryDateTime | Datetime | The earliest estimated delivery date and time for the fulfillment to reach the buyer. | |
| DeliveryMethodServiceCode | String | A reference code representing the shipping service used, such as a carrier or fulfillment type identifier. | |
| DeliveryMethodSourceReference | String | Carrier or promise provider–specific reference data linked to the delivery promise. | |
| DeliveryMethodBrandedPromiseName | String | The name of the branded delivery promise offered to the buyer, such as 'Shop Promise'. | |
| DeliveryMethodBrandedPromiseHandle | String | The internal handle of the branded promise, such as 'shop_promise'. | |
| DeliveryMethodAdditionalInformationPhone | String | A contact phone number for delivery coordination or customer communication. | |
| DeliveryMethodAdditionalInformationInstructions | String | Special delivery instructions provided by the buyer or merchant. | |
| DestinationId | String | The unique identifier of the delivery destination record. | |
| DestinationFirstName | String | The first name of the customer receiving the order at the destination. | |
| DestinationLastName | String | The last name of the customer receiving the order at the destination. | |
| DestinationAddress1 | String | The first line of the destination address, typically the street address or PO box. | |
| DestinationAddress2 | String | The second line of the destination address, such as apartment or suite number. | |
| DestinationCity | String | The city or locality of the delivery destination. | |
| DestinationCompany | String | The company or organization name associated with the destination address, if applicable. | |
| DestinationEmail | String | The email address of the customer associated with the delivery destination. | |
| DestinationPhone | String | The contact phone number for the customer at the destination. | |
| DestinationProvince | String | The region, province, or state of the delivery destination. | |
| DestinationZip | String | The postal or ZIP code for the destination address. | |
| DestinationCountryCode | String | The two-letter ISO country code for the destination address. | |
| DestinationLocationId | String | The unique identifier of the location record representing the shipping destination. | |
| InternationalDutiesIncoterm | String | The incoterm that defines the international duties payment arrangement, such as DDP (Delivered Duty Paid) or DAP (Delivered at Place). | |
| AssignmentStatus | String | The current assignment status of the fulfillment order, such as 'fulfillment accepted' or 'fulfillment unsubmitted'.
The allowed values are CANCELLATION_REQUESTED, FULFILLMENT_ACCEPTED, FULFILLMENT_REQUESTED, FULFILLMENT_UNSUBMITTED. |
Displays event logs tied to blog actions such as creation, publication, and content edits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM BlogEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the blog event record. | |
| HostId | String |
Blogs.Id | The unique identifier of the resource or system host where the blog event originated. |
| AppTitle | String | The name of the app that generated or logged the event. | |
| AttributeToApp | Bool | Indicates whether the event originated from an app integration rather than a user action. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user within the Shopify Admin. | |
| CreatedAt | Datetime | The timestamp marking when the blog event was created. | |
| CriticalAlert | Bool | Specifies whether the event is marked as critical and may require merchant review or action. | |
| Action | String | The specific action that triggered the event, such as blog creation, update, or deletion. | |
| Message | String | A human-readable message summarizing what occurred during the event. | |
| BasicEventSubjectId | String | The unique identifier of the blog or related resource that generated this event. | |
| BasicEventSubjectType | String | The type of resource associated with the event, such as Blog or Article. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event includes additional descriptive or contextual content. | |
| BasicEventAdditionalContent | String | Extended information or narrative content related to the event, often displayed in detailed timeline views. | |
| BasicEventAdditionalData | String | Structured metadata or supplemental data for event consumers, used by integrated apps or APIs. | |
| BasicEventSecondaryMessage | String | An additional explanatory message that provides further context for the main event message. | |
| BasicEventArguments | String | References or identifiers for related resources or parameters connected to the event. | |
| CommentEventAuthorId | String | The unique identifier of the staff member who authored or initiated the comment associated with this event. | |
| CommentEventCanDelete | Bool | Indicates whether the related comment event can be deleted by authorized users or apps. | |
| CommentEventCanEdit | Bool | Indicates whether the related comment event can be modified or edited after creation. | |
| CommentEventEdited | Bool | Specifies whether the comment event has been edited since its initial submission. | |
| CommentEventRawMessage | String | The original, unformatted text content of the comment event as entered by the author. | |
| CommentEventSubjectId | String | The unique identifier of the parent blog or related resource to which this comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject includes an associated comment in its event history. | |
| CommentEventEmbedCustomerId | String | A reference to the customer object associated with this comment event, if applicable. | |
| CommentEventEmbedDraftOrderId | String | A reference to the draft order object linked to this comment event, if applicable. | |
| CommentEventEmbedOrderId | String | A reference to the order object linked to this comment event, if applicable. | |
| CommentEventEmbedProductId | String | A reference to the product object associated with this comment event, if applicable. | |
| CommentEventEmbedProductVariantId | String | A reference to the specific product variant object linked to this comment event, if applicable. |
Lists legal or business entities associated with a shop, used for tax or corporate reporting.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM BusinessEntities WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the business entity record. | |
| CompanyName | String | The registered company name associated with the merchant's business entity. | |
| DisplayName | String | The public or display name of the merchant's business entity, often used for storefront or billing purposes. | |
| Primary | Bool | Indicates whether this business entity is designated as the merchant's primary or default entity. | |
| Address1 | String | The first line of the business entity's address, typically including the street name or PO Box. | |
| Address2 | String | The second line of the business entity's address, such as an apartment, suite, or unit number. | |
| AddressCountryCode | String | The two-letter ISO country code representing the country of the business entity's address. | |
| AddressProvince | String | The province, state, or regional subdivision associated with the business entity's address. | |
| AddressCity | String | The city or locality where the business entity is located. | |
| AddressZip | String | The postal or ZIP code associated with the business entity's address. | |
| ShopifyPaymentsAccountId | String | The unique identifier of the Shopify Payments account linked to this business entity. |
Lists all products contained within a specific collection, including display order and availability.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CollectionProducts WHERE CollectionId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the record linking a product to a collection. | |
| CollectionId [KEY] | String |
Collections.Id | The unique identifier of the collection that contains this product. |
| Title | String | The title of the product as it appears within the collection. | |
| Position | Int | The display order or position of the product within the collection's sorting sequence. |
Lists available role definitions for company contacts, including role names and associated privileges.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyContactRoles WHERE CompanyId = 'Val1'
| Name | Type | References | Description |
| CompanyId | String | The unique identifier of the company that owns or defines this contact role. | |
| Id [KEY] | String | A unique identifier for the company contact role record. | |
| Name | String | The name of the role assigned to company contacts, such as 'Admin', 'Buyer', or 'Manager'. | |
| Note | String | An optional note providing additional details or context about the role's purpose or permissions. |
Displays activity events tied to company records, such as creation, updates, and contact modifications.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the company event record. | |
| HostId | String |
Companies.Id | The unique identifier of the system or resource that hosted or originated the event. |
| AppTitle | String | The name of the app or integration that generated this event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app integration rather than a user action. | |
| AttributeToUser | Bool | Indicates whether the event was initiated by an admin or staff user in the Shopify Admin. | |
| CreatedAt | Datetime | The timestamp marking when the company event was created. | |
| CriticalAlert | Bool | Specifies whether the event is marked as critical and requires merchant attention or action. | |
| Action | String | The type of action that triggered the event, such as company creation, update, or contact assignment. | |
| Message | String | A human-readable summary describing what occurred during the event. | |
| BasicEventSubjectId | String | The unique identifier of the company or related resource that generated this event. | |
| BasicEventSubjectType | String | The resource type that produced the event, such as Company, Contact, or Location. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether this event includes supplemental descriptive or contextual content. | |
| BasicEventAdditionalContent | String | Additional narrative or formatted content related to the event, often shown in detailed timeline views. | |
| BasicEventAdditionalData | String | Structured metadata or key-value data provided for API consumers or integrated apps. | |
| BasicEventSecondaryMessage | String | An additional explanatory message that offers further context or clarification for the primary event message. | |
| BasicEventArguments | String | References to related resources or identifiers tied to the event and its source data. | |
| CommentEventAuthorId | String | The unique identifier of the staff member who created or authored the comment associated with this event. | |
| CommentEventCanDelete | Bool | Indicates whether the related comment event can be deleted by authorized users or apps. | |
| CommentEventCanEdit | Bool | Indicates whether the related comment event can be modified or updated after creation. | |
| CommentEventEdited | Bool | Specifies whether the comment event has been edited since it was originally created. | |
| CommentEventRawMessage | String | The raw, unformatted body content of the comment event as entered by the author. | |
| CommentEventSubjectId | String | The unique identifier of the parent entity, such as the company, to which the comment event is linked. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject includes a visible comment entry in its history. | |
| CommentEventEmbedCustomerId | String | A reference to the customer object associated with this event, if applicable. | |
| CommentEventEmbedDraftOrderId | String | A reference to the draft order object related to this event, if applicable. | |
| CommentEventEmbedOrderId | String | A reference to the order object related to this event, if applicable. | |
| CommentEventEmbedProductId | String | A reference to the product object associated with this event, if applicable. | |
| CommentEventEmbedProductVariantId | String | A reference to the specific product variant object associated with this event, if applicable. |
Lists addresses linked to customer accounts, including default shipping and billing details.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerAddresses WHERE CustomerId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the customer address record. | |
| CustomerId | String | The unique identifier of the customer to whom this address belongs. | |
| CustomerName | String | The full name of the customer, derived from their first and last name fields. | |
| Phone | String | The customer's contact phone number, formatted according to international standards where possible. | |
| Address1 | String | The first line of the address, typically containing the street address or PO Box number. | |
| Address2 | String | The second line of the address, often used for apartment, suite, or unit numbers. | |
| CountryCode | String | The two-letter ISO country code representing the country of the address (for example, US). | |
| Country | String | The full country name for the address. | |
| ProvinceCode | String | The alphanumeric code identifying the state, province, or region (for example, ON). | |
| Province | String | The administrative region for the address, such as the state, province, or district. | |
| City | String | The name of the city, town, or local area for the address. | |
| Company | String | The name of the company or organization associated with the customer address, if applicable. | |
| FormattedArea | String | A comma-separated formatted list combining the city, province, and country for display purposes. | |
| Zip | String | The postal or ZIP code of the address. | |
| Latitude | Double | The latitude coordinate corresponding to the customer's address location. | |
| Longitude | Double | The longitude coordinate corresponding to the customer's address location. | |
| TimeZone | String | The time zone associated with the address location. | |
| CoordinatesValidated | Bool | Indicates whether the address's latitude and longitude have been verified against known geographic data. | |
| ValidationResultSummary | String | A summary of the address validation outcome, as used by Shopify's address validation feature in the Admin interface. |
Shows customer-related activity events, such as account creation, updates, or login attempts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the customer event record. | |
| HostId | String |
Customers.Id | The unique identifier of the system or resource where the event originated. |
| AppTitle | String | The name of the app or integration responsible for creating the event. | |
| AttributeToApp | Bool | Indicates whether the event was triggered by an app integration rather than a direct user action. | |
| AttributeToUser | Bool | Indicates whether the event was initiated by an admin or staff member within the Shopify Admin. | |
| CreatedAt | Datetime | The timestamp marking when the customer event was recorded in Shopify. | |
| CriticalAlert | Bool | Specifies whether the event is considered critical and may require merchant review or intervention. | |
| Action | String | The specific action that caused the event, such as customer creation, update, or tag modification. | |
| Message | String | A human-readable summary describing the nature of the event. | |
| BasicEventSubjectId | String | The unique identifier of the customer or related resource that generated this event. | |
| BasicEventSubjectType | String | The type of resource associated with the event, such as Customer, Order, or DraftOrder. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event includes additional descriptive or contextual content. | |
| BasicEventAdditionalContent | String | Supplemental content or details related to the event, often shown in timeline or activity views. | |
| BasicEventAdditionalData | String | Structured data or metadata provided for programmatic use by APIs or connected apps. | |
| BasicEventSecondaryMessage | String | An additional explanatory message offering more detail about the main event message. | |
| BasicEventArguments | String | References or identifiers for related resources and parameters tied to this event. | |
| CommentEventAuthorId | String | The unique identifier of the staff member who authored the comment related to this customer event. | |
| CommentEventCanDelete | Bool | Indicates whether the associated comment event can be deleted by authorized users or apps. | |
| CommentEventCanEdit | Bool | Indicates whether the associated comment event can be modified after creation. | |
| CommentEventEdited | Bool | Specifies whether the comment event has been edited since it was initially posted. | |
| CommentEventRawMessage | String | The unformatted original body text of the comment event. | |
| CommentEventSubjectId | String | The unique identifier of the parent resource (such as a customer record) to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the resource's activity timeline includes a comment associated with this event. | |
| CommentEventEmbedCustomerId | String | A reference to the customer object linked to this comment event, if applicable. | |
| CommentEventEmbedDraftOrderId | String | A reference to the draft order object associated with this comment event, if applicable. | |
| CommentEventEmbedOrderId | String | A reference to the order object associated with this comment event, if applicable. | |
| CommentEventEmbedProductId | String | A reference to the product object linked to this comment event, if applicable. | |
| CommentEventEmbedProductVariantId | String | A reference to the product variant object linked to this comment event, if applicable. |
Displays members belonging to defined customer segments, supporting segmentation and targeting analysis.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerSegmentMembers WHERE SegmentId = 'Val1'
| Name | Type | References | Description |
| SegmentId [KEY] | String |
Segments.Id | The unique identifier of the customer segment that this member belongs to. |
| Id [KEY] | String | The unique identifier for the segment member record. | |
| DisplayName | String | The full display name of the segment member, derived from their first and last names. If unavailable, the customer's email or phone number is used as a fallback. | |
| FirstName | String | The first name of the segment member. | |
| LastName | String | The last name of the segment member. | |
| Note | String | A merchant-authored note providing additional context or comments about the segment member. | |
| LastOrderId | String | The unique identifier of the most recent order placed by this segment member. | |
| NumberOfOrders | String | The total number of orders the segment member has placed in the store. | |
| AmountSpentAmount | Decimal | The total monetary value of all orders placed by the member, expressed as a decimal amount. | |
| AmountSpentCurrencyCode | String | The three-letter ISO currency code corresponding to the total amount spent. | |
| DefaultAddressId | String | The unique identifier of the member's default address. | |
| DefaultAddressCountry | String | The full country name specified in the default address. | |
| DefaultAddressProvince | String | The administrative region, province, or state specified in the default address. | |
| DefaultAddressCity | String | The city, district, or locality specified in the default address. | |
| DefaultAddressFormattedArea | String | A formatted string combining the city, province, and country values from the default address. | |
| DefaultAddressCompany | String | The company or organization name listed in the default address, if applicable. | |
| DefaultAddressAddress1 | String | The first line of the member's default address, typically the street name or PO Box. | |
| DefaultAddressAddress2 | String | The second line of the member's default address, such as apartment, suite, or unit number. | |
| DefaultAddressName | String | The full name of the customer as listed in the default address, derived from their first and last names. | |
| DefaultAddressFirstName | String | The first name from the member's default address. | |
| DefaultAddressLastName | String | The last name from the member's default address. | |
| DefaultAddressLatitude | Double | The latitude coordinate of the default address location. | |
| DefaultAddressLongitude | Double | The longitude coordinate of the default address location. | |
| DefaultAddressCoordinatesValidated | Bool | Indicates whether the default address coordinates have been successfully validated. | |
| DefaultAddressValidationResultSummary | String | A summary of the address validation result, based on Shopify's built-in validation system. | |
| DefaultAddressPhone | String | The customer's phone number as listed in the default address, formatted in E.164 standard (for example, +16135551111). | |
| DefaultAddressZip | String | The postal or ZIP code for the default address. | |
| DefaultAddressProvinceCode | String | The regional code representing the province or state for the default address (for example, ON). | |
| DefaultAddressCountryCode | String | The two-letter ISO country code for the default address (for example, US). | |
| DefaultAddressTimeZone | String | The time zone associated with the default address location. | |
| DefaultEmailAddressEmailAddress | String | The default email address associated with the segment member. | |
| DefaultEmailAddressMarketingState | String | Indicates the member's current subscription state for email marketing communications. | |
| DefaultEmailAddressMarketingUnsubscribeUrl | String | The URL that allows the member to unsubscribe from all marketing emails. | |
| DefaultEmailAddressOpenTrackingLevel | String | Specifies whether the member has consented to open-tracking in marketing emails. | |
| DefaultEmailAddressOpenTrackingUrl | String | The URL that can be used to update the member's consent status for email open tracking. | |
| DefaultPhoneNumberMarketingState | String | Indicates the member's current subscription state for SMS marketing communications. | |
| DefaultPhoneNumberPhoneNumber | String | The customer's default phone number used for account and marketing communications. | |
| MergeableReason | String | The reason this customer record cannot currently be merged with another customer. | |
| MergeableErrorFields | String | A list of specific fields that are preventing this customer record from being merged. | |
| MergeableIsMergeable | Bool | Indicates whether this customer record can be merged with another record. | |
| MergeableMergeInProgressJobId | String | The unique identifier of the active or pending merge job for this customer. | |
| MergeableMergeInProgressResultingCustomerId | String | The unique identifier of the customer record that will result from the ongoing merge process. | |
| MergeableMergeInProgressStatus | String | The current status of the merge operation, such as pending, running, or completed. |
Shows store credit account balances and transactions linked to individual customers.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CustomerStoreCreditAccounts WHERE Id = 'Val1'
SELECT * FROM CustomerStoreCreditAccounts WHERE CustomerId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the customer store credit account record. | |
| CustomerId | String | The unique identifier of the customer who owns this store credit account. | |
| BalanceAmount | Decimal | The current balance of the customer's store credit, expressed as a decimal monetary amount. | |
| BalanceCurrencyCode | String | The three-letter ISO currency code representing the currency of the store credit balance. |
Lists countries assigned to location groups within a specific delivery profile.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroupCountries
| Name | Type | References | Description |
| CountryId [KEY] | String | A unique identifier for the country associated with this delivery profile location group. | |
| LocationGroupId [KEY] | String | The unique identifier of the location group that this country belongs to within the delivery profile. | |
| DeliveryProfileId | String | The unique identifier of the delivery profile that defines shipping rates and zones for this country. | |
| Zone | String | The name of the shipping zone that includes this country. | |
| CountryName | String | The full name of the country included in the location group. | |
| CountryTranslatedName | String | The localized translation of the country name, returned based on the system's active locale. | |
| CountryCodeCountryCode | String | The two-letter ISO 3166-1 alpha-2 country code representing the country. | |
| CountryCodeRestOfWorld | Bool | Indicates whether the country belongs to the 'Rest of World' shipping zone, which includes all countries not explicitly assigned to another zone. |
Displays provinces or regions associated with selected countries in delivery profiles.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroupCountryProvinces
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the province record within the delivery profile's country group. | |
| CountryId | String | The unique identifier of the country that this province or region belongs to. | |
| Code | String | The standardized code representing the province, state, or region within the country. | |
| Name | String | The full name of the province, state, or regional division. | |
| TranslatedName | String | The localized translation of the province or region name, provided based on the system's active locale settings. |
Lists location groups that belong to a delivery profile, including group identifiers and configuration data.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroups
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the delivery profile location group record. | |
| DeliveryProfileId | String | The unique identifier of the delivery profile that this location group belongs to. | |
| LocationsCount | Int | The total number of locations included in this delivery profile location group. | |
| LocationsCountPrecision | String | Indicates whether the reported location count is exact or an estimated value. |
Shows shipping zones defined for a given location group within a delivery profile.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DeliveryProfileLocationGroupZones WHERE DeliveryProfileId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the delivery profile location group zone record. | |
| LocationGroupId [KEY] | String | The unique identifier of the location group associated with this shipping zone within the delivery profile. | |
| DeliveryProfileId | String | The unique identifier of the delivery profile that defines this shipping zone. | |
| Name | String | The display name of the shipping zone, as defined in the delivery profile. | |
| MethodDefinitionCountsParticipantDefinitionsCount | Int | The total number of carrier-participant shipping method definitions available for this zone. | |
| MethodDefinitionCountsRateDefinitionsCount | Int | The total number of merchant-defined shipping rate method definitions configured for this zone. |
Lists store locations not yet assigned to any location group within a delivery profile, useful for setup and auditing.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DeliveryProfileUnassignedLocations WHERE DeliveryProfileId = 'Val1'
| Name | Type | References | Description |
| DeliveryProfileId [KEY] | String | The unique identifier of the delivery profile that the location is not yet assigned to. | |
| LocationId [KEY] | String |
Locations.Id | The unique identifier of the location that is currently unassigned to any delivery profile. |
Lists events related to discount creation, modification, or deletion, providing an audit trail for discount activities.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DiscountEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the discount event record. | |
| HostId | String | A globally unique identifier for the host system or app associated with the event. | |
| AppTitle | String | The name of the app that triggered or recorded the discount event. | |
| AttributeToApp | Bool | Indicates whether the event was initiated automatically by an app. | |
| AttributeToUser | Bool | Indicates whether the event was performed manually by a store admin user. | |
| CreatedAt | Datetime | The date and time when the discount event was created in the system. | |
| CriticalAlert | Bool | Indicates whether the event represents a critical action or alert that may require attention. | |
| Action | String | Specifies the type of action that occurred, such as creating, modifying, or deleting a discount. | |
| Message | String | A human-readable description summarizing the discount event. | |
| BasicEventSubjectId | String | The unique identifier of the primary resource (such as a discount or order) that generated the event. | |
| BasicEventSubjectType | String | The type of resource that generated the event, such as a discount, order, or customer. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event contains extended details or supporting content. | |
| BasicEventAdditionalContent | String | Provides any supplemental content associated with the event, often used in expanded timeline views. | |
| BasicEventAdditionalData | String | Stores key-value data elements that provide structured context for the event. | |
| BasicEventSecondaryMessage | String | Additional descriptive text that supports or clarifies the main event message. | |
| BasicEventArguments | String | Lists event-specific parameters or identifiers for the resources affected by this discount event. | |
| CommentEventAuthorId | String | The unique identifier of the staff member who authored the related comment or note. | |
| CommentEventCanDelete | Bool | Indicates whether the related comment event can be deleted by the user or system. | |
| CommentEventCanEdit | Bool | Indicates whether the related comment event can be edited by the user or system. | |
| CommentEventEdited | Bool | Specifies whether the related comment event has been modified after creation. | |
| CommentEventRawMessage | String | Contains the raw or unformatted text of the comment event message. | |
| CommentEventSubjectId | String | The unique identifier of the parent subject (such as a discount record) that the comment event belongs to. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the parent record includes a timeline comment associated with the event. | |
| CommentEventEmbedCustomerId | String | References a customer entity linked to this discount event, if applicable. | |
| CommentEventEmbedDraftOrderId | String | References a draft order entity related to this discount event, if applicable. | |
| CommentEventEmbedOrderId | String | References a finalized order associated with the discount event, if applicable. | |
| CommentEventEmbedProductId | String | References the product associated with the discount event, if applicable. | |
| CommentEventEmbedProductVariantId | String | References the specific product variant involved in the discount event, if applicable. |
Displays free-shipping discount code data, including minimum purchase requirements and applicable regions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeFreeShipping WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeFreeShipping WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeFreeShipping WHERE StartsAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the free shipping discount code record. | |
| Title | String | The display name or title of the free shipping discount as shown in the Shopify admin or storefront. | |
| Status | String | The current operational state of the discount, such as active, scheduled, or expired. | |
| Summary | String | A detailed explanation of the free shipping promotion, including its conditions and eligible regions or products. | |
| CodesCount | Int | The total number of redemption codes created for this free shipping discount. | |
| CodesCountPrecision | String | Indicates how precise or approximate the count of redemption codes is. | |
| DiscountClass | String | Defines how this discount can combine with others, such as order-level, product-level, or shipping-level discounts. | |
| EndsAt | Datetime | The date and time when the discount expires. Returns 'null' for ongoing discounts with no end date. | |
| ShortSummary | String | A brief overview of the discount, highlighting its primary benefit (free shipping). | |
| StartsAt | Datetime | The date and time when the free shipping discount becomes active. | |
| UsageLimit | Int | The maximum number of times this discount can be redeemed across all customers. | |
| AppliesOnSubscription | Bool | Specifies whether the free shipping discount applies to subscription-based shipping lines. | |
| AsyncUsageCount | Int | The total number of times the discount has been used. This count is updated asynchronously and may not reflect real-time usage. | |
| HasTimelineComment | Bool | Indicates whether there are any timeline comments or internal notes related to this discount record. | |
| RecurringCycleLimit | Int | Specifies how many recurring billing cycles the free shipping benefit applies to for subscription orders. | |
| AppliesOncePerCustomer | Bool | If true, each customer can redeem this discount code only once. | |
| AppliesOnOneTimePurchase | Bool | Specifies whether the free shipping discount applies to regular, one-time purchase orders. | |
| CreatedAt | Datetime | The date and time when the free shipping discount record was created in Shopify. | |
| CombinesWithOrderDiscounts | Bool | Indicates whether the free shipping discount can be combined with other order-level discounts. | |
| CombinesWithProductDiscounts | Bool | Indicates whether the free shipping discount can be combined with product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | Indicates whether the free shipping discount can be combined with other shipping-related discounts. | |
| DiscountCustomerAllAllCustomers | Bool | Specifies whether all customers are eligible to use this discount. This value is always 'true'. | |
| DiscountCountriesCountries | String | A comma-separated list of ISO country codes specifying where the free shipping discount is valid. | |
| DiscountCountriesIncludeRestOfWorld | Bool | If true, the discount applies to shipping destinations not specifically defined in the shop's configured shipping zones. | |
| DiscountCountryAllAllCountries | Bool | Indicates whether the free shipping discount applies to all countries. This value is always 'true'. | |
| MaximumShippingPriceAmount | Decimal | The maximum shipping cost threshold eligible for free shipping. Orders with a higher shipping cost do not qualify. | |
| MaximumShippingPriceCurrencyCode | String | The ISO currency code representing the currency of the maximum eligible shipping cost. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | The minimum number of items required in the order for the free shipping discount to apply. | |
| TotalSalesAmount | Decimal | The total value of sales generated from orders that used this discount code. | |
| TotalSalesCurrencyCode | String | The ISO currency code representing the currency of the total sales amount. |
Shows payment dispute cases raised by customers, including dispute type, amount, and resolution status.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Disputes WHERE Id = 'Val1'
SELECT * FROM Disputes WHERE Status = 'Val1'
SELECT * FROM Disputes WHERE InitiatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the dispute record. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API, maintained for backward compatibility. | |
| EvidenceDueBy | Date | The deadline date by which the merchant must submit evidence in response to the dispute. | |
| EvidenceSentOn | Date | The date when the merchant submitted evidence to contest the dispute. Returns 'null' if evidence has not yet been provided. | |
| Status | String | The current status of the dispute, such as 'under_review', 'won', 'lost', or 'needs_response'. | |
| Type | String | Indicates the nature of the dispute, specifying whether it is in the inquiry stage or has escalated to a chargeback. | |
| FinalizedOn | Date | The date when the dispute was finalized or closed by the payment network. Returns 'null' if still open or unresolved. | |
| InitiatedAt | Datetime | The timestamp indicating when the dispute was first created or reported by the card network. | |
| Amount | Decimal | The disputed monetary amount being contested in the chargeback or inquiry case. | |
| AmountCurrencyCode | String | The ISO currency code representing the currency of the disputed amount. | |
| OrderId | String | The unique identifier of the Shopify order associated with the disputed transaction. | |
| ReasonDetailsReason | String | The reason provided by the cardholder's bank for initiating the dispute, such as 'fraudulent transaction' or 'product not received'. | |
| ReasonDetailsNetworkReasonCode | String | The specific reason code assigned by the payment network that categorizes the nature of the dispute. |
Lists custom fields and metadata attached to draft orders for workflow or integration purposes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String |
DraftOrders.Id | A globally unique identifier for the draft order associated with these custom attributes. |
| Key [KEY] | String | The name or key of the custom attribute that defines a specific piece of additional data for the draft order. | |
| Value | String | The stored value corresponding to the custom attribute key, representing extra order-specific information. |
Tracks events associated with draft orders, such as creation, edits, and completion.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the draft order event record. | |
| HostId | String |
DraftOrders.Id | A globally unique identifier representing the system or host that originated the event. |
| AppTitle | String | The name of the app that generated or triggered the event associated with the draft order. | |
| AttributeToApp | Bool | Indicates whether the event was created automatically by an app integration rather than a user. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user action within the Shopify admin. | |
| CreatedAt | Datetime | The date and time when the event occurred or was logged in the system. | |
| CriticalAlert | Bool | Specifies whether this event represents a critical issue or requires urgent attention. | |
| Action | String | The type of action performed, such as creation, update, deletion, or status change of the draft order. | |
| Message | String | A human-readable message describing the event and its context in the draft order timeline. | |
| BasicEventSubjectId | String | The unique identifier of the primary resource (such as a draft order) associated with the event. | |
| BasicEventSubjectType | String | The type of resource that generated the event, for example, 'DraftOrder' or 'Customer'. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event contains additional contextual information or related data. | |
| BasicEventAdditionalContent | String | Provides supplementary content displayed in expandable sections of the event timeline. | |
| BasicEventAdditionalData | String | Holds structured or metadata information useful for event consumers and integrations. | |
| BasicEventSecondaryMessage | String | A supporting message providing extra explanation or context for the main event message. | |
| BasicEventArguments | String | Lists specific parameters or references related to the event and its associated resources. | |
| CommentEventAuthorId | String | The unique identifier of the staff member who authored or added a comment related to this event. | |
| CommentEventCanDelete | Bool | Indicates whether the associated comment event can be deleted. Returns true if deletable. | |
| CommentEventCanEdit | Bool | Indicates whether the associated comment event can be edited. Returns true if editable. | |
| CommentEventEdited | Bool | Specifies whether the comment event has been modified after its original creation. | |
| CommentEventRawMessage | String | The unformatted or raw text content of the comment attached to the event. | |
| CommentEventSubjectId | String | The identifier of the parent record (for example, the draft order) that the comment event is linked to. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline entry includes a comment. Returns true if a comment is present. | |
| CommentEventEmbedCustomerId | String | References the related customer object tied to the comment event, if applicable. | |
| CommentEventEmbedDraftOrderId | String | References the related draft order object tied to the comment event, if applicable. | |
| CommentEventEmbedOrderId | String | References the associated order object connected to the comment event, if applicable. | |
| CommentEventEmbedProductId | String | References the associated product object mentioned in the comment event, if applicable. | |
| CommentEventEmbedProductVariantId | String | References the related product variant object mentioned in the comment event, if applicable. |
Displays custom key–value attributes attached to draft order line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItemCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A globally unique identifier for the draft order line item associated with these custom attributes. | |
| Key [KEY] | String | The name or key of the custom attribute that defines a specific piece of additional data for the line item, such as personalization or configuration details. | |
| Value | String | The stored value corresponding to the custom attribute key, representing extra information specific to the draft order line item. |
Lists products, variants, and quantities included in draft orders, including applied discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItems WHERE DraftOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the draft order line item record. | |
| DraftOrderId | String |
DraftOrders.Id | The unique identifier of the draft order that this line item belongs to. |
| Name | String | The display name of the product associated with this line item. | |
| Title | String | The title of the product or variant. For custom line items, this field represents the manually entered item name. | |
| VariantTitle | String | The title or name of the specific product variant associated with the line item. | |
| Custom | Bool | Indicates whether the line item is custom (true) or linked to an existing product variant (false). Custom items are manually defined rather than pulled from the product catalog. | |
| Quantity | Int | The number of product or variant units requested in the draft order. | |
| Sku | String | The stock keeping unit (SKU) identifier of the product variant. | |
| Taxable | Bool | Specifies whether the product variant is subject to tax calculations. | |
| Vendor | String | The name of the vendor or supplier associated with the product variant. | |
| RequiresShipping | Bool | Indicates whether this item requires physical shipping. True for tangible products and false for digital or service-based items. | |
| IsGiftCard | Bool | Specifies whether the line item represents a gift card product. | |
| AppliedDiscountTitle | String | The name of any order-level discount applied to the draft order. | |
| AppliedDiscountDescription | String | A descriptive label explaining the type or reason for the applied discount. | |
| AppliedDiscountValue | Double | The numeric value of the discount. If the value type is 'percentage', this represents the percentage off. | |
| AppliedDiscountValueType | String | The type of discount value applied, such as 'percentage' or 'fixed_amount'. | |
| AppliedDiscountAmountV2Amount | Decimal | The total discounted amount applied to the order, represented as a decimal monetary value. | |
| AppliedDiscountAmountV2CurrencyCode | String | The ISO currency code corresponding to the discount amount. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | The total discounted price for this line item in the customer's presentment currency. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the discounted total in the presentment currency. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | The total discounted price for this line item in the shop's primary currency. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the discounted total in the shop currency. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The per-unit discounted price of the product in the customer's presentment currency. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the discounted per-unit price in the presentment currency. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The per-unit discounted price of the product in the shop's primary currency. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The ISO currency code for the discounted per-unit price in the shop currency. | |
| FulfillmentServiceId | String | The unique identifier of the fulfillment service responsible for fulfilling this line item. | |
| ImageId | String | A unique identifier for the product image associated with this line item. | |
| ImageWidth | Int | The original width of the associated image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A short descriptive phrase conveying the content or purpose of the image for accessibility or SEO. | |
| ImageHeight | Int | The original height of the associated image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The direct URL to the product image associated with this line item. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | The total pre-discount price for this line item in the customer's presentment currency. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the pre-discount total in the presentment currency. | |
| OriginalTotalSetShopMoneyAmount | Decimal | The total pre-discount price for this line item in the shop's primary currency. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the pre-discount total in the shop currency. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | The original per-unit price of the item before discounts in the customer's presentment currency. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the original per-unit price in the presentment currency. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | The original per-unit price of the item before discounts in the shop's primary currency. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | The ISO currency code for the original per-unit price in the shop currency. | |
| ProductId | String | The globally unique identifier of the product associated with this line item. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | The total amount of discount applied to this line item in the customer's presentment currency. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the total discount in the presentment currency. | |
| TotalDiscountSetShopMoneyAmount | Decimal | The total discount applied to this line item in the shop's primary currency. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | The ISO currency code for the total discount in the shop currency. | |
| VariantId | String | The globally unique identifier of the product variant associated with this line item. | |
| WeightValue | Double | The numeric value representing the product's weight, used for shipping and fulfillment calculations. | |
| WeightUnit | String | The unit of measurement for the weight value (for example, 'g', 'kg', 'oz', or 'lb'). |
Shows tax line details applied to individual draft order line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The display name or label of the tax applied to the draft order line item. | |
| ResourceId [KEY] | String | A globally unique identifier referencing the specific draft order line item that this tax line applies to. | |
| Source | String | The origin or system responsible for calculating the tax, such as Shopify or an external tax provider. | |
| Rate | Double | The tax rate expressed as a decimal value representing the portion of the item's price that is taxed. For example, a 5% tax would be represented as 0.05. | |
| ChannelLiable | Bool | Indicates whether the sales channel that submitted the draft order is responsible for remitting this tax. A value of null means the liability is unknown. | |
| RatePercentage | Double | The tax rate expressed as a percentage of the item's price. For example, 5 represents a 5% tax rate. | |
| PriceSetPresentmentMoneyAmount | Decimal | The total tax amount in the customer's presentment currency. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the tax amount in the presentment currency. | |
| PriceSetShopMoneyAmount | Decimal | The total tax amount in the shop's primary currency. | |
| PriceSetShopMoneyCurrencyCode | String | The ISO currency code for the tax amount in the shop's primary currency. |
Lists tax components applied to draft orders, including rate and tax jurisdiction.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The display name of the applied tax, such as 'VAT' or 'Sales Tax'. | |
| ResourceId [KEY] | String |
DraftOrders.Id | A globally unique identifier for the tax record associated with the draft order. |
| Source | String | Indicates the origin or provider of the tax calculation, such as Shopify, a third-party app, or an external tax service. | |
| Rate | Double | The tax rate applied to the line item, expressed as a decimal value (for example, 0.07 for a 7% tax rate). | |
| ChannelLiable | Bool | Specifies whether the sales channel that submitted the draft order is responsible for remitting the tax. A null value indicates that the liability status is unknown. | |
| RatePercentage | Double | The tax rate expressed as a percentage of the line item's price (for example, 7.0 for 7%). | |
| PriceSetPresentmentMoneyAmount | Decimal | The total tax amount for the line item in the customer's presentment currency. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code representing the presentment currency for the calculated tax amount. | |
| PriceSetShopMoneyAmount | Decimal | The total tax amount for the line item in the shop's primary currency. | |
| PriceSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's currency for the calculated tax amount. |
Retrieves general event logs related to store activities such as updates, creation, or deletions across entities.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Events
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the event record. | |
| AppTitle | String | The name of the app that triggered or created this event within the Shopify store. | |
| AttributeToApp | Bool | Indicates whether the event originated from an app integration rather than a Shopify admin or system process. | |
| AttributeToUser | Bool | Indicates whether the event was initiated directly by an admin user action in the Shopify admin. | |
| CreatedAt | Datetime | The timestamp representing when the event was created in the store's history. | |
| CriticalAlert | Bool | Flags whether this event represents a critical issue that may require immediate attention. | |
| Action | String | The specific action or event type that occurred, such as creation, update, or deletion. | |
| Message | String | A human-readable description summarizing the event's details or impact. | |
| BasicEventSubjectId | String | The unique identifier of the Shopify resource (such as order, product, or customer) associated with this event. | |
| BasicEventSubjectType | String | The type of Shopify resource (for example, Order, Product, Customer) that generated or is affected by the event. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event includes extra contextual content that can be displayed in expanded views. | |
| BasicEventAdditionalContent | String | Supplementary content or contextual details shown for expandable or timeline-based events. | |
| BasicEventAdditionalData | String | Structured data provided to enhance event context or support integration with external systems. | |
| BasicEventSecondaryMessage | String | An additional human-readable message that complements the primary event message. | |
| BasicEventArguments | String | Parameters or references that define the specific resources or context tied to this event. | |
| CommentEventAuthorId | String | The unique identifier of the staff member who authored the comment-related event. | |
| CommentEventCanDelete | Bool | Indicates whether this comment event can be deleted by the user. | |
| CommentEventCanEdit | Bool | Indicates whether this comment event is editable after creation. | |
| CommentEventEdited | Bool | Specifies whether the comment event's content has been modified since it was first created. | |
| CommentEventRawMessage | String | The unformatted text body of the comment event as originally entered. | |
| CommentEventSubjectId | String | The unique identifier of the parent resource (such as an order or product) that the comment event is attached to. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the related timeline subject includes a visible timeline comment. | |
| CommentEventEmbedCustomerId | String | The identifier of the associated customer resource referenced by the comment event. | |
| CommentEventEmbedDraftOrderId | String | The identifier of the related draft order resource linked to the comment event. | |
| CommentEventEmbedOrderId | String | The identifier of the order resource connected to the comment event. | |
| CommentEventEmbedProductId | String | The identifier of the product resource referenced by the comment event. | |
| CommentEventEmbedProductVariantId | String | The identifier of the product variant resource referenced by the comment event. |
Lists line items included within fulfillment records, including quantities, SKUs, and location data.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentLineItems WHERE FulfillmentId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the fulfillment line item record. | |
| FulfillmentId | String |
Fulfillments.Id | The unique identifier of the fulfillment associated with this line item. |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | The discounted total amount in the customer's presentment currency. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code representing the customer's presentment currency. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | The discounted total amount in the shop's base currency. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | The original total amount before discounts in the customer's presentment currency. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the customer's presentment currency used in the original total. | |
| OriginalTotalSetShopMoneyAmount | Decimal | The original total amount before discounts in the shop's base currency. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the original total. | |
| Quantity | Int | The total number of item units included in this fulfillment line. | |
| LineItemId | String | The globally unique identifier for the related order line item. | |
| LineItemName | String | The display name of the product, optionally including its variant title. | |
| LineItemTitle | String | The product title as recorded at the time the order was created. | |
| LineItemVariantTitle | String | The variant title as recorded at the time the order was created. | |
| LineItemVariantId | String | The globally unique identifier for the product variant associated with this line item. | |
| LineItemProductId | String | The globally unique identifier for the product linked to this line item. | |
| LineItemSellingPlanSellingPlanId | String | The identifier of the selling plan that applies to this product or variant. | |
| LineItemQuantity | Int | The number of units of the variant that were ordered. | |
| LineItemRestockable | Bool | Indicates whether this line item can be restocked when returned or canceled. | |
| LineItemSku | String | The SKU (stock keeping unit) assigned to the product variant. | |
| LineItemTaxable | Bool | Specifies whether this line item is subject to tax. | |
| LineItemVendor | String | The name of the vendor or brand associated with the product variant. | |
| LineItemCurrentQuantity | Int | The remaining quantity of the item after any removals or adjustments. | |
| LineItemMerchantEditable | Bool | Indicates whether this line item can be modified by the merchant. | |
| LineItemRefundableQuantity | Int | The quantity of items eligible for refund after previous returns or removals. | |
| LineItemRequiresShipping | Bool | Specifies whether the item requires physical shipment. | |
| LineItemUnfulfilledQuantity | Int | The number of units from this line item that have not yet been fulfilled. | |
| LineItemNonFulfillableQuantity | Int | The total number of units that cannot be fulfilled, such as refunded or non-physical items like tips. | |
| LineItemIsGiftCard | Bool | Indicates whether the line item represents a gift card purchase. | |
| LineItemDiscountedTotalSetPresentmentMoneyAmount | Decimal | The total discounted amount for this line item in the customer's presentment currency. | |
| LineItemDiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | The total discounted amount including any discount codes in the presentment currency. | |
| LineItemDiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the discounted total. | |
| LineItemDiscountedTotalSetShopMoneyAmount | Decimal | The total discounted amount for this line item in the shop's base currency. | |
| LineItemDiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | The total discounted amount including any discount codes in the shop's base currency. | |
| LineItemDiscountedTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency of the discounted total. | |
| LineItemDiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The discounted per-unit price in the customer's presentment currency. | |
| LineItemDiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the discounted unit price. | |
| LineItemDiscountedUnitPriceSetShopMoneyAmount | Decimal | The discounted per-unit price in the shop's base currency. | |
| LineItemDiscountedUnitPriceSetShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency of the discounted unit price. | |
| LineItemImageId | String | The unique identifier for the image associated with this product variant. | |
| LineItemImageWidth | Int | The width of the image in pixels, or null if the image is externally hosted. | |
| LineItemImageAltText | String | The alternative text describing the image content for accessibility or SEO purposes. | |
| LineItemImageHeight | Int | The height of the image in pixels, or null if the image is externally hosted. | |
| LineItemImageUrl | String | The direct URL location of the product or variant image. | |
| LineItemOriginalTotalSetPresentmentMoneyAmount | Decimal | The original total amount for this line item in the customer's presentment currency. | |
| LineItemOriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code representing the presentment currency for the original total. | |
| LineItemOriginalTotalSetShopMoneyAmount | Decimal | The original total amount for this line item in the shop's base currency. | |
| LineItemOriginalTotalSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the original total. | |
| LineItemOriginalUnitPriceSetPresentmentMoneyAmount | Decimal | The original per-unit price in the customer's presentment currency before any discounts. | |
| LineItemOriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the original unit price. | |
| LineItemOriginalUnitPriceSetShopMoneyAmount | Decimal | The original per-unit price in the shop's base currency before any discounts. | |
| LineItemOriginalUnitPriceSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency of the original unit price. | |
| LineItemTotalDiscountSetPresentmentMoneyAmount | Decimal | The total amount discounted from the line item in the customer's presentment currency. | |
| LineItemTotalDiscountSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the total discount. | |
| LineItemTotalDiscountSetShopMoneyAmount | Decimal | The total amount discounted from the line item in the shop's base currency. | |
| LineItemTotalDiscountSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency of the total discount. | |
| LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | The discounted total value of all unfulfilled units in the customer's presentment currency. | |
| LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the unfulfilled discounted total. | |
| LineItemUnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | The discounted total value of all unfulfilled units in the shop's base currency. | |
| LineItemUnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency of the unfulfilled discounted total. | |
| LineItemUnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | The original total value of unfulfilled units in the customer's presentment currency. | |
| LineItemUnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the unfulfilled original total. | |
| LineItemUnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | The original total value of unfulfilled units in the shop's base currency. | |
| LineItemUnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the unfulfilled original total. |
Displays tax lines applied to fulfillment line items for accurate accounting.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The display name of the tax applied to the fulfillment line item, such as Sales Tax or VAT. | |
| ResourceId [KEY] | String | A globally unique identifier representing this specific tax line record. | |
| Source | String | Indicates the origin of the tax calculation, such as an external tax service, Shopify, or a third-party app. | |
| Rate | Double | The tax rate expressed as a decimal value, representing the proportion of the line item price that is taxed. | |
| ChannelLiable | Bool | Indicates whether the sales channel that submitted the order is responsible for remitting the collected tax. A null value means the liability is unknown. | |
| RatePercentage | Double | The tax rate expressed as a percentage of the line item's price. | |
| PriceSetPresentmentMoneyAmount | Decimal | The tax amount in the customer's presentment currency. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code corresponding to the customer's presentment currency for the tax amount. | |
| PriceSetShopMoneyAmount | Decimal | The tax amount in the shop's base currency. | |
| PriceSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the tax amount. |
Retrieves detailed product line information associated with fulfillment orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentOrderLineItems WHERE FulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the fulfillment order line item record. | |
| FulfillmentOrderId | String | The unique identifier of the fulfillment order that this line item belongs to. | |
| FulfillmentOrderUpdatedAt | Datetime | The date and time when the fulfillment order was last updated. | |
| ImageId | String | The unique identifier for the image associated with the product or variant in this line item. | |
| ImageWidth | Int | The original width of the image in pixels, or null if the image is externally hosted. | |
| ImageAltText | String | A short descriptive phrase providing context about the image content for accessibility and SEO purposes. | |
| ImageHeight | Int | The original height of the image in pixels, or null if the image is externally hosted. | |
| ImageUrl | String | The direct URL of the product or variant image related to this fulfillment order line item. | |
| InventoryItemId | String | The unique identifier for the inventory item linked to this fulfillment order line item. | |
| Sku | String | The stock keeping unit (SKU) that identifies the product variant associated with this line item. | |
| ProductTitle | String | The title of the product as it appears in the Shopify catalog or at the time of order creation. | |
| VariantId | String | The unique identifier of the product variant associated with this fulfillment order line item. | |
| VariantTitle | String | The name of the product variant as it appears at the time of fulfillment. | |
| Vendor | String | The name of the vendor or brand that supplies the product variant. | |
| RemainingQuantity | Int | The number of units of this line item that have not yet been fulfilled. | |
| TotalQuantity | Int | The total number of units assigned to this fulfillment order line item. | |
| RequiresShipping | Bool | Indicates whether the product requires physical shipment as part of the fulfillment process. | |
| WeightUnit | String | The unit of measurement (such as grams or pounds) used for the line item's weight value. | |
| WeightValue | Double | The numerical weight value of the item, measured using the unit specified in WeightUnit. | |
| Warnings | String | Messages describing potential issues or constraints related to this fulfillment order line item, such as stock limits or location restrictions. | |
| FinancialSummaries | String | A summary of monetary values associated with this line item, including pricing, discounts, and tax details relevant to the fulfillment order. |
Lists items that can be reassigned to a new fulfillment location during inventory relocation.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE FulfillmentOrderId = 'Val1'
SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE LocationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the fulfillment order line item record. | |
| FulfillmentOrderId | String | The unique identifier of the fulfillment order that contains this line item. | |
| ImageId | String | The unique identifier for the image associated with the product or variant linked to this line item. | |
| ImageWidth | Int | The width of the image in pixels, or null if the image is hosted externally. | |
| ImageAltText | String | A short descriptive phrase providing context about the image content for accessibility and SEO purposes. | |
| ImageHeight | Int | The height of the image in pixels, or null if the image is hosted externally. | |
| ImageUrl | String | The direct URL of the product or variant image associated with this fulfillment order line item. | |
| InventoryItemId | String | The unique identifier for the inventory item tied to this fulfillment order line item. | |
| Sku | String | The stock keeping unit (SKU) for the product variant linked to this line item. | |
| ProductTitle | String | The title of the product as recorded in Shopify or at the time of order creation. | |
| VariantId | String | The unique identifier of the product variant associated with this line item. | |
| VariantTitle | String | The name of the product variant as defined in the store catalog or at fulfillment. | |
| Vendor | String | The name of the vendor or supplier providing the product variant. | |
| RemainingQuantity | Int | The number of units of this line item that have not yet been fulfilled or transferred. | |
| TotalQuantity | Int | The total number of units assigned to this fulfillment order line item for movement or fulfillment. | |
| RequiresShipping | Bool | Indicates whether the product requires physical shipping as part of the fulfillment process. | |
| WeightUnit | String | The unit of measurement used for the line item's weight value, such as grams or pounds. | |
| WeightValue | Double | The numerical weight of the line item using the unit specified in WeightUnit. | |
| Warnings | String | Any messages or alerts identifying issues or considerations with moving or fulfilling this line item, such as stock availability. | |
| FinancialSummaries | String | A summary of financial details related to this line item, including pricing, discounts, and tax components. | |
| LocationId [KEY] | String | The unique identifier of the location where the fulfillment order line item can be moved or fulfilled from. |
Displays eligible locations to which fulfillment orders can be reassigned.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrderLocationsForMove WHERE FulfillmentOrderId = 'Val1'
SELECT * FROM FulfillmentOrderLocationsForMove WHERE LocationId = 'Val1'
| Name | Type | References | Description |
| FulfillmentOrderId [KEY] | String | The unique identifier of the fulfillment order being evaluated for possible relocation. | |
| LocationId [KEY] | String | The unique identifier of the target location to which the fulfillment order may be moved. | |
| AvailableLineItemsCount | Int | The total number of line items within the fulfillment order that are eligible to be moved from their current assigned location to this location. | |
| AvailableLineItemsCountPrecision | String | Indicates the precision or reliability of the available line item count, showing whether the value is exact or estimated. | |
| UnavailableLineItemsCount | Int | The total number of line items that cannot be moved from their current assigned location to this location. | |
| UnavailableLineItemsCountPrecision | String | Indicates the precision or reliability of the unavailable line item count, showing whether the value is exact or estimated. | |
| Movable | Bool | Specifies whether the fulfillment order as a whole can be reassigned to the target location based on inventory and fulfillment constraints. | |
| Message | String | A descriptive message explaining why the fulfillment order or specific line items cannot be moved to this location, if applicable. |
Shows sets of changes to inventory quantities that occurred within inventory adjustment events.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND InventoryItemId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND LocationId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND Name = 'Val1'
| Name | Type | References | Description |
| InventoryAdjustmentGroupId [KEY] | String | A globally-unique ID. | |
| InventoryItemId [KEY] | String | A globally-unique ID. | |
| LocationId [KEY] | String | A globally-unique ID. | |
| Name [KEY] | String | The name of the inventory quantity that was changed. | |
| Delta | Int | The amount by which the inventory quantity was changed. | |
| QuantityAfterChange | Int | The quantity of named inventory after the change. | |
| LedgerDocumentUri | String | A URI that represents what the inventory quantity change was applied to. |
Displays groups of related inventory adjustments created as part of larger inventory operations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryAdjustmentGroups WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the inventory adjustment group. | |
| Reason | String | The explanation or cause for this group of inventory adjustments, such as restock, sale, return, or correction. | |
| ReferenceDocumentUri | String | A URI reference that identifies the source or context of the inventory adjustment. This can represent either the system or entity initiating the change (such as an app or staff member) or a related Shopify resource, like an order or draft order. | |
| CreatedAt | Datetime | The date and time when the inventory adjustment group was created. | |
| AppId | String | The unique identifier of the app that initiated or recorded the inventory adjustment, if applicable. | |
| StaffMemberId | String | The unique identifier of the staff member who performed the adjustment. This column is only available for stores on a Shopify Plus plan. |
Lists harmonized system codes for inventory items by country, supporting customs and import documentation.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemCountryHarmonizedSystemCodes WHERE InventoryItemId = 'Val1'
| Name | Type | References | Description |
| InventoryItemId | String | A unique identifier for the inventory item associated with this harmonized system code entry. | |
| CountryCode | String | The two-letter ISO 3166-1 alpha-2 country code identifying the country that assigned the harmonized system code. | |
| HarmonizedSystemCode [KEY] | String | The country-specific harmonized system code used for customs classification, typically extending beyond the standard six-digit base code. |
Reports current inventory quantities for items across store locations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryItemInventoryLevelQuantities WHERE InventoryLevelId = 'Val1'
SELECT * FROM InventoryItemInventoryLevelQuantities WHERE Name = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for this inventory level quantity record. | |
| InventoryItemId | String | A unique identifier for the inventory item associated with this quantity entry. | |
| InventoryLevelId | String | A unique identifier for the inventory level that tracks this item's stock availability. | |
| InventoryLevelLocationId | String | A unique identifier for the location tied to this inventory level, such as a warehouse or fulfillment center. | |
| Name | String | The descriptive name that identifies the inventory quantity being tracked. | |
| Quantity | Int | The current stock quantity recorded for the specified item and location. | |
| UpdatedAt | Datetime | The date and time when the inventory quantity was most recently updated. |
Displays future or pending adjustments to inventory levels that are scheduled to take effect later.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemInventoryLevelScheduledChanges WHERE InventoryLevelId = 'Val1'
| Name | Type | References | Description |
| InventoryItemId | String | A unique identifier for the inventory item associated with the scheduled quantity change. | |
| InventoryLevelId | String | A unique identifier for the inventory level where the scheduled change will occur. | |
| ExpectedAt | Datetime | The date and time when the scheduled quantity transition is expected to take effect. | |
| FromName | String | The current quantity name or state that the inventory will transition from. | |
| ToName | String | The target quantity name or state that the inventory will transition to once the scheduled change is applied. | |
| Quantity | Int | The number of units involved in the scheduled change, representing the quantity currently in the 'FromName' state. | |
| LedgerDocumentUri | String | A reference URI identifying the document, transaction, or process that triggered the scheduled inventory change. |
Displays job records used to track the status of asynchronous operations such as imports, exports, or bulk edits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Jobs WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier assigned to the asynchronous job when it is created, used to track its execution status. | |
| Done | Bool | Indicates whether the asynchronous job has completed execution or is still queued or in progress. |
Lists countries enabled for localized storefront experiences, including language and currency settings.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM LocalizationCountries
| Name | Type | References | Description |
| IsoCode [KEY] | String | The ISO 3166-1 alpha-2 code uniquely identifying the country. | |
| Name | String | The full name of the country as displayed in localization and market data. | |
| UnitSystem | String | The measurement system used in the country, such as metric or imperial. | |
| CurrencyIsoCode | String | The ISO 4217 code representing the country's official currency. | |
| CurrencyName | String | The full name of the currency used in the country, such as 'US Dollar' or 'Euro'. | |
| CurrencySymbol | String | The symbol used to represent the country's currency, such as '$' or '€'. | |
| MarketId | String | A unique identifier linking the country to its corresponding market record in Shopify. | |
| MarketHandle | String | A human-readable unique identifier for the market, automatically generated from its title. | |
| AvailableLanguages | String | A list of languages supported for storefront display and localization in this country. |
Lists marketing activities and campaigns created by apps, including type, channel, and performance status.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM MarketingEvents WHERE Id = 'Val1'
SELECT * FROM MarketingEvents WHERE AppId = 'Val1'
SELECT * FROM MarketingEvents WHERE Type = 'Val1'
SELECT * FROM MarketingEvents WHERE StartedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the marketing event record. | |
| RemoteId | String | An optional identifier used to validate engagement data received from external marketing systems. | |
| LegacyResourceId | String | The identifier for the corresponding marketing event resource in the Shopify REST Admin API, maintained for backward compatibility. | |
| AppId | String | A unique identifier for the app that created or manages this marketing event. | |
| MarketingChannelType | String | The channel or medium through which the marketing activity reached consumers, such as email, social media, or paid search. Used for reporting and aggregation. | |
| Description | String | A human-readable summary describing the purpose or content of the marketing event. | |
| Type | String | The classification of the marketing event, identifying its nature or campaign type (for example, ad campaign or email blast). | |
| EndedAt | Datetime | The date and time when the marketing event concluded or stopped running. | |
| ManageUrl | String | The URL where the marketing event can be managed, such as within the app or platform that created it. | |
| PreviewUrl | String | The URL for previewing the marketing event before or during execution. | |
| StartedAt | Datetime | The date and time when the marketing event began. | |
| UtmCampaign | String | The campaign name used in UTM tracking to associate the marketing event with a specific promotion or initiative. | |
| UtmMedium | String | The UTM parameter indicating the medium used by the campaign, such as 'cpc', 'banner', or 'email'. | |
| UtmSource | String | The UTM parameter identifying the traffic source or referrer of the marketing event, such as 'google' or 'newsletter'. | |
| SourceAndMedium | String | A combined representation of the marketing source and medium, derived from 'marketingChannel', 'referringDomain', and 'type' to standardize cross-app reporting. | |
| ScheduledToEndAt | Datetime | The scheduled date and time when the marketing event is planned to end, if applicable. |
Lists constraint values that restrict how metafields can be applied to specific object types or contexts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM MetafieldDefinitionConstraintValues WHERE DefinitionId = 'Val1'
| Name | Type | References | Description |
| DefinitionId | String | A unique identifier for the metafield definition that the constraint values belong to. | |
| Key | String | The resource category or subtype key that determines which objects the metafield definition can be applied to. | |
| Value | String | The specific subtype or constraint value that limits where or how the metafield definition can be used. |
Provides prebuilt metafield templates that define standard configurations for common use cases.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetafieldDefinitionStandardTemplates
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the standard metafield definition template. | |
| Namespace | String | The namespace automatically assigned to the definition once it is activated, grouping related metafields under a shared context. | |
| Key | String | The key name assigned to the definition after activation, uniquely identifying it within its namespace. | |
| Name | String | The human-readable name of the standard metafield definition, used for display in admin interfaces and API responses. | |
| Description | String | A detailed description explaining the purpose and intended use of the standard metafield definition. | |
| OwnerTypes | String | A list of Shopify resource types, such as Product or Customer, to which the standard metafield definition can be applied. | |
| Validations | String | The configured validation rules that apply to the standard metafield definition, such as character limits, data ranges, or accepted formats. | |
| VisibleToStorefrontApi | Bool | Indicates whether metafields based on this definition are visible by default through the Storefront API. | |
| TypeName | String | The data type name of the metafield definition, specifying what kind of data it stores, such as 'string', 'boolean', or 'date'. | |
| TypeCategory | String | The broader data category associated with the metafield type, used for grouping similar data types in the admin or API. | |
| TypeSupportedValidations | String | The list of validation types supported for this metafield definition, defining what constraints can be applied. | |
| TypeSupportsDefinitionMigrations | Bool | Indicates whether existing metafields without definitions can be migrated to a defined template of this type. |
Lists supported metafield data types, including validation and display properties.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetafieldDefinitionTypes
| Name | Type | References | Description |
| Name [KEY] | String | The display name of the metafield definition type, identifying the kind of data it stores, such as text, integer, or boolean. | |
| Category | String | The data category associated with the metafield type, used to group related types under a broader classification. | |
| SupportsDefinitionMigrations | Bool | Indicates whether existing metafields without a defined schema can be migrated to a definition of this type. | |
| SupportedValidations | String | A list of validation rules supported by this metafield type, specifying allowable constraints such as value ranges, formats, or character limits. |
Defines the structure of metaobjects, specifying which metafields and types they include.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetaobjectDefinitions
| Name | Type | References | Description |
| ID [KEY] | String | A unique identifier for the metaobject definition record. | |
| Name | String | The human-readable name of the metaobject definition, used for display and identification within the admin interface. | |
| MetaobjectsCount | Int | The total number of metaobjects that have been created based on this definition. | |
| Type | String | The type or classification of the metaobject definition, which determines the namespace used by its associated metafields. | |
| Description | String | An administrative description explaining the purpose or usage of this metaobject definition. | |
| DisplayNameKey | String | The key of the field that serves as the display name for each metaobject instance created under this definition. | |
| AccessAdmin | String | The configuration defining how the metaobject definition can be accessed and managed through the Admin API, including GraphQL surfaces. | |
| AccessStorefront | String | The configuration defining how the metaobject definition can be accessed through storefront interfaces, including the Storefront API and Liquid templates. | |
| CapabilitiesPublishableEnabled | Bool | Indicates whether this metaobject definition supports publishing, allowing entries to be made visible in public-facing contexts. | |
| CapabilitiesTranslatableEnabled | Bool | Indicates whether the metaobject definition supports translations for multilingual storefronts. | |
| CapabilitiesOnlineStoreEnabled | Bool | Indicates whether this metaobject definition can be displayed as a dedicated page within the Online Store. | |
| CapabilitiesOnlineStoreDataCanCreateRedirects | Bool | Specifies whether the Online Store capability can create the necessary redirects for all published entries associated with this metaobject type. | |
| CapabilitiesOnlineStoreDataUrlHandle | String | Defines the URL handle pattern for Online Store pages generated from this metaobject type, determining how entries are accessed. | |
| CapabilitiesRenderableEnabled | Bool | Indicates whether the metaobject definition can be rendered and whether it exposes SEO-related data such as titles and descriptions. | |
| CapabilitiesRenderableDataMetaDescriptionKey | String | Specifies the field key used as the source for the SEO meta description when the metaobject is rendered as a page. | |
| CapabilitiesRenderableDataMetaTitleKey | String | Specifies the field key used as the source for the SEO meta title when the metaobject is rendered as a page. |
Displays all metaobject instances created for the shop, each representing a reusable structured content record.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM MetaObjects WHERE Type = 'Val1'
| Name | Type | References | Description |
| ID [KEY] | String | A unique identifier for the metaobject record. | |
| Handle | String | A unique handle used to reference this metaobject, functioning as a custom identifier. | |
| DisplayName | String | The preferred display name value derived from the metaobject's defined display field. | |
| CreatedByDeveloperName | String | The name of the app developer responsible for creating or managing this metaobject. | |
| DefinitionId | String | The identifier of the MetaobjectDefinition that defines the structure and type of this metaobject. | |
| Title | String | The name of the app or entity associated with this metaobject. | |
| Type | String | The data type or category of the metaobject, as defined by its associated MetaobjectDefinition. | |
| Key [KEY] | String | The key identifying a specific field within the metaobject. | |
| Value | String | The value assigned to the field, stored as a string regardless of the original field data type. | |
| TypeField | String | The declared type of the field, such as text, number, or reference. | |
| UpdatedAt | Datetime | The date and time when the metaobject was last modified. | |
| CapabilitiesPublishableStatus | String | Indicates the publication status of this metaobject, determining whether it can be made visible in storefront or app contexts. | |
| CapabilitiesOnlineStoreTemplateSuffix | String | Specifies the theme template used to render this metaobject as a page within the Online Store. | |
| ThumbnailFieldKey | String | Identifies the field recommended to visually represent this metaobject, such as a color or media reference. | |
| ThumbnailFieldThumbnailHex | String | The hexadecimal color code used to visually represent this metaobject when a color field serves as its thumbnail. | |
| ThumbnailFieldFileId | String | The unique identifier of the file used to visually represent this metaobject. | |
| ThumbnailFieldFileAlt | String | The alt text describing the thumbnail file or image for accessibility and SEO purposes. | |
| ThumbnailFieldFileCreatedAt | Datetime | The date and time when the thumbnail file was originally created. | |
| ThumbnailFieldFileUpdatedAt | Datetime | The date and time when the thumbnail file was most recently updated. | |
| ThumbnailFieldFileFileStatus | String | Indicates the current status of the thumbnail file, such as active or processing. | |
| ThumbnailFieldFileFileErrors | String | Lists any errors that occurred while processing or managing the thumbnail file. | |
| ThumbnailFieldFilePreviewStatus | String | Indicates the current status of the preview image associated with the thumbnail file. | |
| ThumbnailFieldFilePreviewImageId | String | A unique identifier for the preview image linked to the thumbnail file. | |
| ThumbnailFieldFilePreviewImageAltText | String | The descriptive alt text for the preview image to convey its content or purpose. | |
| ThumbnailFieldFilePreviewImageHeight | Int | The original height of the preview image in pixels. Returns null if the image isn't hosted by Shopify. | |
| ThumbnailFieldFilePreviewImageWidth | Int | The original width of the preview image in pixels. Returns null if the image isn't hosted by Shopify. | |
| ThumbnailFieldFilePreviewImageUrl | String | The URL of the preview image associated with the thumbnail file, used to retrieve or display the image. |
Lists additional fees applied to an order, such as environmental surcharges or custom service fees.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAdditionalFees WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the additional fee record. | |
| OrderId | String |
Orders.Id | The unique identifier of the order associated with this additional fee. |
| Name | String | The descriptive name of the additional fee, such as a handling charge, customization fee, or service cost. | |
| PricePresentmentMoneyAmount | Decimal | The fee amount presented to the customer, expressed as a decimal value in the presentment currency. | |
| PricePresentmentMoneyCurrencyCode | String | The ISO 4217 currency code representing the presentment currency used for displaying the fee to the customer. | |
| PriceShopMoneyAmount | Decimal | The fee amount expressed as a decimal value in the shop's base currency. | |
| PriceShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for accounting and reporting purposes. |
Shows sales data associated with agreements that include additional fee items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this agreement sale. |
| AgreementId | String | The unique identifier of the agreement that defines the terms under which the sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as a purchase, refund, or return. | |
| LineType | String | The classification of the sale line, indicating the kind of charge or item being processed. | |
| Quantity | Int | The total number of units included in this sale, whether being sold or returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed in the presentment currency as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code for the presentment currency in which the total sale amount is displayed to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed in the shop's base currency as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount applied to the sale, expressed in the presentment currency as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the tax total. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount applied to the sale, expressed in the shop's base currency as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the tax total. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, expressed in the presentment currency as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, expressed in the shop's base currency as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, expressed in the presentment currency as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, expressed in the shop's base currency as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including type, rate, and amount. | |
| AdditionalFeeSaleAdditionalFeeId | String | A unique identifier linking this sale to its associated additional fee charge record. |
Displays order adjustment sales linked to agreements, such as price corrections or discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this agreement sale adjustment. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which the adjustment was applied. | |
| Id [KEY] | String | A unique identifier for the individual sale adjustment record within the agreement. | |
| ActionType | String | The type of order action represented by this sale adjustment, such as refund, correction, or return. | |
| LineType | String | The classification of the sale line for the adjustment, indicating the nature of the change applied to the order. | |
| Quantity | Int | The total number of units affected by this adjustment, representing quantities modified, refunded, or reversed. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total adjusted sale amount after taxes and discounts, expressed in the presentment currency as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code for the presentment currency in which the total adjusted amount is displayed to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total adjusted sale amount after taxes and discounts, expressed in the shop's base currency as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total adjusted amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount applied to the adjusted sale, expressed in the presentment currency as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the tax total on the adjustment. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount applied to the adjusted sale, expressed in the shop's base currency as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the tax total on the adjustment. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes as part of the adjustment, expressed in the presentment currency as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes as part of the adjustment, expressed in the shop's base currency as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes as part of the adjustment, expressed in the presentment currency as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes as part of the adjustment, expressed in the shop's base currency as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale adjustment, including type, rate, and amount. |
Shows sales data related to duty charges captured under agreement-based orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this duty-related agreement sale. |
| AgreementId | String | The unique identifier of the agreement governing this sale and its related duty charges. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as purchase, refund, or return. | |
| LineType | String | The classification of the sale line, indicating the kind of duty-related charge or adjustment applied. | |
| Quantity | Int | The total number of units affected by the sale, representing items ordered, fulfilled, or returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency in which the total sale amount is displayed to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual taxes applied to the sale, including tax type, rate, and amount details. | |
| DutySaleDutyId | String | A unique identifier linking this sale record to its associated duty charge, representing customs or import fees applied to the order. |
Lists gift card-related sales that are part of an order agreement.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this gift card-related agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which the sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as purchase, redemption, or refund. | |
| LineType | String | The classification of the sale line, indicating that it relates to a gift card transaction. | |
| Quantity | Int | The number of gift cards or gift card units involved in this sale or return. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency in which the total sale amount is displayed to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including type, rate, and amount. | |
| GiftCardSaleLineItemId | String | A unique identifier linking this sale record to the associated gift card line item. |
Shows product-level sales connected to contractual agreements or subscription orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this product-related agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which this sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as purchase, fulfillment, or return. | |
| LineType | String | The classification of the sale line, indicating that it pertains to a product item. | |
| Quantity | Int | The total number of product units included in this sale or return transaction. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency in which the total sale amount is displayed to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including type, rate, and amount information. | |
| ProductSaleLineItemId | String | A unique identifier linking this sale record to its associated product line item. |
Displays active order agreements, including terms, conditions, and associated sales data.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this agreement. |
| Id [KEY] | String | A unique identifier for the order agreement record. | |
| HappenedAt | Datetime | The date and time when the agreement was created or executed. | |
| Reason | String | The explanation or purpose for creating the agreement, such as an adjustment, correction, or special authorization. | |
| UserId | String | The unique identifier of the staff member associated with this agreement. Available only for stores on Shopify Plus. | |
| AppApiKey | String | The API key of the application that created or triggered this agreement, identifying the source app responsible for the action. |
Shows sales data for shipping lines tied to order agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this shipping-related agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which the shipping-related sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as fulfillment, adjustment, or refund. | |
| LineType | String | The classification of the sale line, indicating that it pertains to shipping charges or credits. | |
| Quantity | Int | The number of units affected by this sale, typically representing the count of shipments or returned items. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency used to display the total sale amount to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including tax type, rate, and amount breakdowns. | |
| ShippingLineSaleShippingLineId | String | A unique identifier linking this sale record to the associated shipping line item. Not available when the SaleActionType represents a return. |
Displays tip-related sales that are part of an agreement, such as service-based transactions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this tip-related agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which the tip-related sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as payment, refund, or adjustment. | |
| LineType | String | The classification of the sale line, indicating that it pertains to a tip or gratuity charge. | |
| Quantity | Int | The total number of tip-related units or entries included in this sale, typically set to one per transaction. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency used to display the total sale amount to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including tax type, rate, and amount breakdowns. | |
| TipSaleLineItemId | String | A unique identifier linking this sale record to the associated tip line item within the order. |
Contains unclassified or miscellaneous sales entries linked to an order agreement.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which this sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as fulfillment, adjustment, or refund. | |
| LineType | String | The classification of the sale line, indicating that it pertains to an unrecognized or system-generated record type. | |
| Quantity | Int | The total number of units affected by this sale, representing items ordered, returned, or adjusted. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency used to display the total sale amount to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including tax type, rate, and amount information. |
Lists custom fields and key–value pairs defined at the order level for tracking and analytics.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String |
Orders.Id | A unique identifier for the order or resource associated with the custom attribute. |
| Key [KEY] | String | The key or name used to identify the custom attribute, defining what piece of information it represents. | |
| Value | String | The stored value assigned to the custom attribute, providing additional metadata or context for the order. |
Shows all discounts applied to an order, excluding refunds and order edits, including type and allocation data.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderDiscountApplications WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId [KEY] | String |
Orders.Id | The unique identifier of the order associated with this discount application. |
| AllocationMethod | String | Specifies how the discount value is allocated across the eligible items or lines, such as by item or across the entire order. | |
| Index [KEY] | Int | A numerical index representing the order in which this discount application was applied, used to determine precedence in discount calculations. | |
| TargetSelection | String | Indicates how the discount amount is distributed among the applicable items or lines, such as all eligible items or the most expensive item. | |
| TargetType | String | Specifies whether the discount applies to product line items, shipping lines, or other components of the order. | |
| ValueAmount | Decimal | The total monetary value of the discount, expressed as a decimal amount in the applicable currency. | |
| ValueCurrencyCode | String | The ISO 4217 currency code representing the currency in which the discount amount is expressed. | |
| ValuePercentage | Double | The discount value represented as a percentage, where -100 corresponds to a full discount and 0 indicates no discount. | |
| AutomaticDiscountApplicationTitle | String | The display title of the automatic discount that was applied to the order. | |
| DiscountCodeApplicationCode | String | The discount code entered by the customer and applied to the order at checkout. | |
| ManualDiscountApplicationTitle | String | The display title of a manually created discount applied to the order. | |
| ManualDiscountApplicationDescription | String | A brief description of the manually applied discount, providing context or details about its purpose. | |
| ScriptDiscountApplicationTitle | String | The display title of a discount generated by a Shopify Script, typically used in custom discount logic or automation. |
Displays adjusted additional fee sales linked to edited orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this additional fee agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which this sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as addition, adjustment, or refund. | |
| LineType | String | The classification of the sale line, indicating that it pertains to an additional fee. | |
| Quantity | Int | The number of units affected by this sale, typically representing the count of additional fee line items. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency in which the total sale amount is displayed to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including type, rate, and amount. | |
| AdditionalFeeSaleAdditionalFeeId | String | The unique identifier of the additional fee associated with this sale record, linking it to the corresponding fee entry. |
Shows edited order adjustment sales tied to agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this adjustment agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which this adjustment sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as adjustment, modification, or refund. | |
| LineType | String | The classification of the sale line, indicating that it pertains to an order adjustment or correction. | |
| Quantity | Int | The total number of units affected by this adjustment, representing items modified or reversed. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency in which the total sale amount is displayed to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including type, rate, and amount. |
Lists edited duty-related sales data associated with order agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this duty-related agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which this duty-related sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as purchase, adjustment, or refund. | |
| LineType | String | The classification of the sale line, indicating that it pertains to a duty or customs-related charge. | |
| Quantity | Int | The total number of units affected by this duty-related sale, representing items ordered, adjusted, or returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency used to display the total sale amount to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including tax type, rate, and amount information. | |
| DutySaleDutyId | String | A unique identifier linking this sale record to the associated duty charge, representing customs or import duties applied to the order. |
Shows gift card sales data that changed during an order edit under an agreement.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this gift card-related agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which this gift card sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as purchase, issuance, or refund of a gift card. | |
| LineType | String | The classification of the sale line, indicating that it pertains to a gift card transaction. | |
| Quantity | Int | The total number of gift card units included in this sale or return transaction. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency in which the total sale amount is displayed to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including tax type, rate, and amount breakdowns. | |
| GiftCardSaleLineItemId | String | A unique identifier linking this sale record to the associated gift card line item within the order. |
Displays product sales adjustments resulting from order edits connected to agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this product-related agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which this product sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as purchase, fulfillment, or return. | |
| LineType | String | The classification of the sale line, indicating that it pertains to a product item. | |
| Quantity | Int | The total number of product units affected by this sale or return transaction. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency in which the total sale amount is displayed to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including type, rate, and amount breakdowns. | |
| ProductSaleLineItemId | String | A unique identifier linking this sale record to the corresponding product line item within the order. |
Lists agreements governing edited orders, including revision details and associated transactions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this order edit agreement. |
| Id [KEY] | String | A unique identifier for the order edit agreement record. | |
| HappenedAt | Datetime | The date and time when the agreement was created or executed. | |
| Reason | String | The explanation or justification for creating the agreement, such as an adjustment, correction, or authorized change to the order. | |
| UserId | String | The unique identifier of the staff member associated with this agreement. Available only for stores on Shopify Plus. | |
| AppApiKey | String | The API key of the application that created or initiated the agreement, identifying the source app responsible for the edit. |
Shows edited shipping line sales related to agreements, reflecting updated shipping costs or routes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this shipping-related agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which this shipping-related sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as fulfillment, adjustment, or refund. | |
| LineType | String | The classification of the sale line, indicating that it pertains to shipping charges or delivery adjustments. | |
| Quantity | Int | The total number of units affected by this sale, typically representing the count of shipments or returned items. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency used to display the total sale amount to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including type, rate, and amount breakdowns. | |
| ShippingLineSaleShippingLineId | String | A unique identifier linking this sale record to the associated shipping line item. Not available when the SaleActionType represents a return. |
Displays updated tip-related sales resulting from order edits under agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this tip-related agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which this tip-related sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as addition, adjustment, or refund of a tip. | |
| LineType | String | The classification of the sale line, indicating that it pertains to a tip or gratuity charge. | |
| Quantity | Int | The total number of tip entries or transactions included in this sale record, typically one per order. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency in which the total sale amount is displayed to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including type, rate, and amount breakdowns. | |
| TipSaleLineItemId | String | A unique identifier linking this sale record to the corresponding tip line item within the order. |
Captures unclassified edited sales entries tied to order agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this unknown agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which this sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as adjustment, correction, or refund. | |
| LineType | String | The classification of the sale line, indicating that it pertains to an unrecognized or system-generated entry type. | |
| Quantity | Int | The total number of units affected by this sale, representing items ordered, returned, or modified. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency in which the total sale amount is displayed to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including type, rate, and amount breakdowns. |
Logs order lifecycle events such as creation, payment, fulfillment, and cancellation.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the event record. | |
| HostId | String |
Orders.Id | A globally unique identifier for the host system or process that generated the event. |
| AppTitle | String | The name of the application responsible for creating the event. | |
| AttributeToApp | Bool | Indicates whether the event was generated by an app rather than a manual or system action. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user action. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Indicates whether the event represents a critical alert requiring attention. | |
| Action | String | The type of action or operation represented by the event. | |
| Message | String | A human-readable message describing the event. | |
| BasicEventSubjectId | String | The unique identifier of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of resource that generated the event, such as an order, product, or customer. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event includes additional content beyond its main message. | |
| BasicEventAdditionalContent | String | Supplementary content associated with the event, typically displayed in expandable or detailed timeline views. | |
| BasicEventAdditionalData | String | Structured metadata or context information used by event consumers for processing or analytics. | |
| BasicEventSecondaryMessage | String | A secondary descriptive message providing further context for the main event message. | |
| BasicEventArguments | String | References to specific event arguments or linked resources relevant to the event. | |
| CommentEventAuthorId | String | The unique identifier of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted by the author or another authorized user. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited by the author or another authorized user. | |
| CommentEventEdited | Bool | Indicates whether the comment event has been modified after its original creation. | |
| CommentEventRawMessage | String | The raw, unformatted message body of the comment event. | |
| CommentEventSubjectId | String | The unique identifier of the subject or resource to which the comment event is attached. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the subject associated with this event includes timeline comments. | |
| CommentEventEmbedCustomerId | String | The unique identifier of the related customer object embedded in the comment event. | |
| CommentEventEmbedDraftOrderId | String | The unique identifier of the related draft order object embedded in the comment event. | |
| CommentEventEmbedOrderId | String | The unique identifier of the related order object embedded in the comment event. | |
| CommentEventEmbedProductId | String | The unique identifier of the related product object embedded in the comment event. | |
| CommentEventEmbedProductVariantId | String | The unique identifier of the related product variant object embedded in the comment event. |
Lists custom key–value pairs assigned to order line items for personalization or metadata tracking.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A globally unique identifier for the order line item that the custom attribute is associated with. | |
| Key [KEY] | String | The name or key of the custom attribute, identifying the specific piece of metadata attached to the line item. | |
| Value | String | The value assigned to the custom attribute, which stores additional information or customization details for the line item. |
Shows how discount amounts are distributed among individual order line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemDiscountAllocations WHERE OrderLineItemId = 'Val1'
| Name | Type | References | Description |
| OrderLineItemId [KEY] | String | A globally unique identifier for the order line item to which the discount is applied. | |
| DiscountApplicationIndex [KEY] | Decimal | The position of the discount application in the calculation sequence, determining how multiple discounts are prioritized and applied. | |
| AllocatedAmountSetPresentmentMoneyAmount | Decimal | The monetary value of the discount applied to the line item in the customer's presentment currency. | |
| AllocatedAmountSetPresentmentMoneyCurrencyCode | String | The ISO currency code representing the presentment currency for the discount amount. | |
| AllocatedAmountSetShopMoneyAmount | Decimal | The monetary value of the discount applied to the line item in the shop's base currency. | |
| AllocatedAmountSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the discount amount. |
Displays duty charges applied to order line items for customs or import purposes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemDuties WHERE LineItemId = 'Val1'
| Name | Type | References | Description |
| LineItemId | String | A globally unique identifier for the order line item associated with the duty charge. | |
| Id [KEY] | String | A globally unique identifier for the duty record applied to the line item. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code identifying the country where the item originated, used to calculate import duties. | |
| HarmonizedSystemCode | String | The harmonized system (HS) code representing the product category for customs and duty calculation purposes. | |
| PricePresentmentMoneyAmount | Decimal | The duty amount charged for the line item, expressed in the customer's presentment currency. | |
| PricePresentmentMoneyCurrencyCode | String | The ISO currency code representing the presentment currency used for the duty amount. | |
| PriceShopMoneyAmount | Decimal | The duty amount charged for the line item, expressed in the shop's base currency. | |
| PriceShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency used for the duty amount. |
Provides detailed product-level information for all line items included in orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the order line item. | |
| ResourceId | String |
Orders.Id | The globally unique identifier for the resource representing this line item. |
| Name | String | The full display name of the product as shown in the order, typically including both the product title and variant title. | |
| Title | String | The title of the product as it appeared when the order was created. | |
| VariantTitle | String | The title of the specific variant purchased, captured at the time of order creation. | |
| VariantId | String | A globally unique identifier for the purchased product variant. | |
| ProductId | String | A globally unique identifier for the base product associated with this line item. | |
| SellingPlanSellingPlanId | String | The ID of the selling plan (for example, subscription or pre-order) associated with this line item. | |
| Quantity | Int | The total number of units ordered for this product variant. | |
| Restockable | Bool | Indicates whether this item can be returned to inventory if restocked. | |
| Sku | String | The stock keeping unit (SKU) identifier for the purchased variant. | |
| Taxable | Bool | Indicates whether the item is subject to tax based on the shop's tax settings. | |
| Vendor | String | The name of the vendor or manufacturer who supplied the variant. | |
| CurrentQuantity | Int | The remaining quantity for this line item after any cancellations or returns have been applied. | |
| MerchantEditable | Bool | Indicates whether the merchant can edit this line item's details after the order is placed. | |
| RefundableQuantity | Int | The number of units currently eligible for refund. | |
| RequiresShipping | Bool | Whether this product requires physical shipment. False for digital or service items. | |
| UnfulfilledQuantity | Int | The number of units in this line item that have not yet been fulfilled. | |
| NonFulfillableQuantity | Int | The total number of units that cannot be fulfilled due to refunds, cancellations, or non-physical items such as tips. | |
| IsGiftCard | Bool | Indicates whether this line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | The total discounted price for this line item in the customer's presentment currency. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | The total discounted price after applying discount codes, expressed in the presentment currency. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code representing the presentment currency for the discounted total. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | The total discounted price for this line item in the shop's base currency. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | The total discounted price after discount codes, expressed in the shop's base currency. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the discounted total. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The discounted price per unit of the item in the customer's presentment currency. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code representing the presentment currency for the discounted unit price. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The discounted price per unit of the item in the shop's base currency. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the discounted unit price. | |
| ImageId | String | The unique identifier for the image associated with this product variant. | |
| ImageWidth | Int | The original width of the associated product image in pixels, or null if not hosted by Shopify. | |
| ImageAltText | String | A short descriptive phrase providing alternative text for the associated product image. | |
| ImageHeight | Int | The original height of the associated product image in pixels, or null if not hosted by Shopify. | |
| ImageUrl | String | The URL of the product image as hosted by Shopify or an external source. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | The total pre-discount price of this line item in the customer's presentment currency. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the original (undiscounted) total. | |
| OriginalTotalSetShopMoneyAmount | Decimal | The total pre-discount price of this line item in the shop's base currency. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency of the original (undiscounted) total. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | The pre-discount price per unit in the customer's presentment currency. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code representing the presentment currency for the pre-discount unit price. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | The pre-discount price per unit in the shop's base currency. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the pre-discount unit price. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | The total discount value applied to this line item in the customer's presentment currency. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | The ISO currency code representing the presentment currency for the total discount. | |
| TotalDiscountSetShopMoneyAmount | Decimal | The total discount value applied to this line item in the shop's base currency. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the total discount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | The discounted total for all unfulfilled units in presentment currency. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code representing the presentment currency for the unfulfilled discounted total. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | The discounted total for all unfulfilled units in the shop's base currency. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the unfulfilled discounted total. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | The original total before discounts for all unfulfilled units, in presentment currency. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the unfulfilled original total. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | The original total before discounts for all unfulfilled units, in the shop's base currency. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency of the unfulfilled original total. | |
| OrderUpdatedAt | Datetime | The date and time when the order containing this line item was last updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| FulfillmentService | String | The handle of the fulfillment service responsible for stocking or shipping this product variant. | |
| OrderLineItemCustomAttributes | String | Custom metadata fields associated with the line item, often used for personalization or configuration options. | |
| OrderLineItemTaxLines | String | A list of tax line objects, each representing a specific tax applied to this line item. |
Displays tax line information applied to specific order items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The descriptive name of the tax applied to the order line item, such as 'Sales Tax' or 'VAT'. | |
| ResourceId [KEY] | String | A globally unique identifier representing the tax record associated with the specific line item. | |
| Source | String | Identifies where the tax was calculated or applied, such as an external tax service, a channel integration, or Shopify's internal tax engine. | |
| Rate | Double | The decimal representation of the tax rate applied to the line item. For example, a 7% tax rate is stored as 0.07. | |
| ChannelLiable | Bool | Indicates whether the sales channel (for example, a marketplace or external app) is responsible for collecting and remitting this tax. A null value means liability is unknown or not applicable. | |
| RatePercentage | Double | The percentage representation of the tax rate applied to the line item. For example, a value of 7.0 represents a 7% tax. | |
| PriceSetPresentmentMoneyAmount | Decimal | The total tax amount applied to the line item, expressed in the customer's presentment currency. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency in which the tax amount is displayed to the customer. | |
| PriceSetShopMoneyAmount | Decimal | The total tax amount applied to the line item, expressed in the shop's base currency. | |
| PriceSetShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency in which the tax amount is recorded. |
Shows duty charges on items that cannot be fulfilled due to restrictions or inventory issues.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderNonFulfillableLineItemDuties WHERE LineItemId = 'Val1'
| Name | Type | References | Description |
| LineItemId | String | A globally unique identifier for the non-fulfillable order line item associated with the duty charge. | |
| Id [KEY] | String | A globally unique identifier for the duty record applied to the non-fulfillable line item. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code representing the country where the item originated, used for customs and duty calculation. | |
| HarmonizedSystemCode | String | The harmonized system (HS) code categorizing the product for international trade and duty assessment. | |
| PricePresentmentMoneyAmount | Decimal | The total duty amount applied to the non-fulfillable line item, expressed in the customer's presentment currency. | |
| PricePresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency in which the duty amount is displayed to the customer. | |
| PriceShopMoneyAmount | Decimal | The total duty amount applied to the non-fulfillable line item, expressed in the shop's base currency. | |
| PriceShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency in which the duty amount is recorded. |
Lists order line items that are not eligible for fulfillment, typically due to stockouts or fulfillment exceptions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderNonFulfillableLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the non-fulfillable line item. | |
| ResourceId | String |
Orders.Id | A globally unique identifier linking the non-fulfillable item to its corresponding order resource. |
| Name | String | The product title, optionally combined with the variant title if the line item represents a specific product variant. | |
| Title | String | The product title as it appeared at the time of order creation. | |
| VariantTitle | String | The title of the variant at the time the order was created, providing historical context for the purchased item. | |
| VariantId | String | A globally unique identifier for the variant associated with this non-fulfillable item. | |
| ProductId | String | A globally unique identifier for the product to which this non-fulfillable line item belongs. | |
| SellingPlanSellingPlanId | String | The identifier of the selling plan associated with this non-fulfillable item, if part of a subscription or recurring purchase. | |
| Quantity | Int | The total number of variant units ordered for this non-fulfillable item. | |
| Restockable | Bool | Indicates whether the item can be returned to inventory (restocked) after cancellation or refund. | |
| Sku | String | The stock keeping unit (SKU) identifier for the variant. | |
| Taxable | Bool | Indicates whether this variant is subject to sales tax or value-added tax (VAT). | |
| Vendor | String | The name of the vendor or supplier who provides the variant. | |
| CurrentQuantity | Int | The current quantity of this item after accounting for cancellations or removals. | |
| MerchantEditable | Bool | Indicates whether the line item can be modified by the merchant after order creation. | |
| RefundableQuantity | Int | The portion of the ordered quantity still eligible for refund processing. | |
| RequiresShipping | Bool | Indicates whether this item requires physical shipping. | |
| UnfulfilledQuantity | Int | The number of units that have not yet been fulfilled. | |
| NonFulfillableQuantity | Int | The number of units that cannot be fulfilled, such as refunded items, digital goods, or non-shippable charges. | |
| IsGiftCard | Bool | Indicates whether this line item represents a gift card purchase. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | The total price after discounts, expressed in the customer's presentment currency. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | The total price after all discounts, including those from discount codes, expressed in the customer's presentment currency. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the discounted total. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | The total discounted price expressed in the shop's base currency. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | The total discounted price including code-based discounts, expressed in the shop's base currency. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency of the discounted total. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The per-unit discounted price in the customer's presentment currency. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the discounted unit price. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The per-unit discounted price in the shop's base currency. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency of the discounted unit price. | |
| ImageId | String | A unique identifier for the product image associated with this line item. | |
| ImageWidth | Int | The width of the image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageAltText | String | Descriptive text for the image, providing context for accessibility or SEO. | |
| ImageHeight | Int | The height of the image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | The full URL path where the product image is located. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | The original total amount before discounts, expressed in the customer's presentment currency. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the original total. | |
| OriginalTotalSetShopMoneyAmount | Decimal | The original total amount before discounts, expressed in the shop's base currency. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency of the original total. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | The original per-unit price before discounts, in the customer's presentment currency. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the original unit price. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | The original per-unit price before discounts, in the shop's base currency. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency of the original unit price. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | The total discount value applied to the item, expressed in the customer's presentment currency. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the total discount. | |
| TotalDiscountSetShopMoneyAmount | Decimal | The total discount value applied to the item, expressed in the shop's base currency. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency of the total discount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | The total discounted amount for unfulfilled units, expressed in the customer's presentment currency. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the unfulfilled discounted total. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | The total discounted amount for unfulfilled units, expressed in the shop's base currency. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency of the unfulfilled discounted total. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | The original total amount for unfulfilled units before discounts, expressed in the customer's presentment currency. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the unfulfilled original total. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | The original total amount for unfulfilled units before discounts, expressed in the shop's base currency. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency of the unfulfilled original total. |
Shows refund-related sales adjustments for agreements involving additional fees.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the order associated with this refund agreement. |
| AgreementId | String | A globally unique identifier representing the specific refund agreement record. | |
| Id [KEY] | String | A globally unique identifier for the refunded sale associated with the agreement. | |
| ActionType | String | Describes the type of refund-related action performed, such as a full or partial refund. | |
| LineType | String | Specifies the type of line involved in the refund, such as a product, shipping, or additional fee line. | |
| Quantity | Int | The number of units affected by the refund, whether returned, canceled, or otherwise adjusted. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total refunded amount after taxes and discounts, expressed in the customer's presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency used for the refund total. | |
| TotalAmountShopMoneyAmount | Decimal | The total refunded amount after taxes and discounts, expressed in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency used for the refund total. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount refunded for the sale, expressed in the customer's presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency of the refunded tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount refunded for the sale, expressed in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency of the refunded tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total amount of discounts applied before tax on the refunded sale, expressed in the customer's presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency used for discounts before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total amount of discounts applied before tax on the refunded sale, expressed in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency used for discounts before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total amount of discounts applied after tax on the refunded sale, expressed in the customer's presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency used for discounts after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total amount of discounts applied after tax on the refunded sale, expressed in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop's base currency used for discounts after taxes. | |
| Taxes | String | A list of the individual taxes associated with the refunded sale, including details on tax rate, source, and jurisdiction. | |
| AdditionalFeeSaleAdditionalFeeId | String | The unique identifier of the additional fee charge associated with this refund sale. Represents specific refunded fee adjustments. |
Displays refund adjustments tied to agreements that modify the order's financials.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The identifier of the parent order that the agreement adjustment is associated with. |
| AgreementId | String | A unique identifier for the refund agreement linked to this sales adjustment. | |
| Id [KEY] | String | A unique identifier for the individual sale adjustment record within the agreement. | |
| ActionType | String | Indicates the type of order action represented by this sale adjustment, such as refund or compensation. | |
| LineType | String | Specifies the classification of the line item in the sale adjustment, such as product, shipping, or service fee. | |
| Quantity | Int | The number of units being refunded, adjusted, or otherwise affected by this sale action. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total amount of the sale adjustment, including taxes and discounts, expressed in the buyer's presentment currency as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code representing the buyer's presentment currency for the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total amount of the sale adjustment, including taxes and discounts, expressed in the shop's base currency as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount applied to the sale adjustment in the buyer's presentment currency, expressed as a decimal. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency used for tax calculations. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount applied to the sale adjustment in the shop's base currency, expressed as a decimal. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency used for tax calculations. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the sale adjustment before taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the sale adjustment before taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the sale adjustment after taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the sale adjustment after taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A collection of individual tax components associated with the sale adjustment, detailing rates and applied amounts. |
Shows refunded duty sales data linked to order agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The identifier of the parent order that the duty-related agreement adjustment is associated with. |
| AgreementId | String | A unique identifier for the refund agreement connected to this duty-related sale adjustment. | |
| Id [KEY] | String | A unique identifier for the individual duty sale adjustment record within the agreement. | |
| ActionType | String | Indicates the type of order action represented by this duty sale adjustment, such as refund or modification. | |
| LineType | String | Specifies the classification of the line item involved in the duty sale adjustment, such as duty, fee, or surcharge. | |
| Quantity | Int | The number of units affected by the duty sale adjustment, representing items for which duties were applied or refunded. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total amount of the duty sale adjustment, including taxes and discounts, expressed in the buyer's presentment currency as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code representing the buyer's presentment currency for the total duty sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total amount of the duty sale adjustment, including taxes and discounts, expressed in the shop's base currency as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the total duty sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount applied to the duty sale adjustment in the buyer's presentment currency, expressed as a decimal. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency used for tax calculations on duty adjustments. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount applied to the duty sale adjustment in the shop's base currency, expressed as a decimal. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency used for tax calculations on duty adjustments. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the duty sale adjustment before taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied before taxes on the duty sale. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the duty sale adjustment before taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied before taxes on the duty sale. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the duty sale adjustment after taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied after taxes on the duty sale. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the duty sale adjustment after taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied after taxes on the duty sale. | |
| Taxes | String | A collection of individual tax components associated with the duty sale adjustment, detailing rates and applied amounts. | |
| DutySaleDutyId | String | A unique identifier linking the duty sale adjustment to a specific duty charge applied to the order. |
Lists refunded gift card sales tied to agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The identifier of the parent order that the gift card–related agreement adjustment is associated with. |
| AgreementId | String | A unique identifier for the refund agreement connected to this gift card sale adjustment. | |
| Id [KEY] | String | A unique identifier for the individual gift card sale adjustment record within the agreement. | |
| ActionType | String | Indicates the type of order action represented by this gift card sale adjustment, such as refund or redemption. | |
| LineType | String | Specifies the classification of the line item involved in the gift card sale adjustment, such as issuance, redemption, or reversal. | |
| Quantity | Int | The number of gift card units affected by the sale adjustment, representing cards issued, redeemed, or refunded. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total amount of the gift card sale adjustment, including taxes and discounts, expressed in the buyer's presentment currency as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code representing the buyer's presentment currency for the total gift card sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total amount of the gift card sale adjustment, including taxes and discounts, expressed in the shop's base currency as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the total gift card sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount applied to the gift card sale adjustment in the buyer's presentment currency, expressed as a decimal. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency used for tax calculations on the gift card sale. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount applied to the gift card sale adjustment in the shop's base currency, expressed as a decimal. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency used for tax calculations on the gift card sale. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the gift card sale adjustment before taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied before taxes on the gift card sale. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the gift card sale adjustment before taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied before taxes on the gift card sale. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the gift card sale adjustment after taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied after taxes on the gift card sale. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the gift card sale adjustment after taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied after taxes on the gift card sale. | |
| Taxes | String | A collection of individual tax components associated with the gift card sale adjustment, detailing rates and applied amounts. | |
| GiftCardSaleLineItemId | String | A unique identifier linking the gift card sale adjustment to a specific line item representing the associated gift card transaction. |
Displays product-level refund sales associated with order agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The identifier of the parent order that the product-related agreement adjustment is associated with. |
| AgreementId | String | A unique identifier for the refund agreement connected to this product sale adjustment. | |
| Id [KEY] | String | A unique identifier for the individual product sale adjustment record within the agreement. | |
| ActionType | String | Indicates the type of order action represented by this product sale adjustment, such as refund, exchange, or cancellation. | |
| LineType | String | Specifies the classification of the line item involved in the product sale adjustment, such as product, shipping, or fee. | |
| Quantity | Int | The number of product units affected by the sale adjustment, representing items sold, returned, or refunded. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total amount of the product sale adjustment, including taxes and discounts, expressed in the buyer's presentment currency as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code representing the buyer's presentment currency for the total product sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total amount of the product sale adjustment, including taxes and discounts, expressed in the shop's base currency as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the total product sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount applied to the product sale adjustment in the buyer's presentment currency, expressed as a decimal. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency used for tax calculations on the product sale. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount applied to the product sale adjustment in the shop's base currency, expressed as a decimal. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency used for tax calculations on the product sale. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the product sale adjustment before taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied before taxes on the product sale. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the product sale adjustment before taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied before taxes on the product sale. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the product sale adjustment after taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied after taxes on the product sale. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the product sale adjustment after taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied after taxes on the product sale. | |
| Taxes | String | A collection of individual tax components associated with the product sale adjustment, detailing rates and applied amounts. | |
| ProductSaleLineItemId | String | A unique identifier linking the product sale adjustment to a specific line item representing the associated product transaction. |
Shows agreements governing refunded orders, including refund rules and financial references.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The identifier of the parent order that this refund agreement is associated with. |
| Id [KEY] | String | A unique identifier for the refund agreement record within the order. | |
| HappenedAt | Datetime | The date and time when the refund agreement was created or executed. | |
| Reason | String | A brief description of the reason for the refund agreement, such as product return, adjustment, or customer service issue. | |
| UserId | String | The identifier of the staff member who created or authorized the refund agreement. Available only for Shopify Plus stores. Globally unique value. | |
| AppApiKey | String | The API key of the application that initiated or created the refund agreement, identifying the integration source. | |
| RefundId | String |
Refunds.Id | The identifier of the refund transaction associated with this agreement, linking it to related refund records. |
Shows refunded shipping line sales under order agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The identifier of the parent order that the shipping-related agreement adjustment is associated with. |
| AgreementId | String | A unique identifier for the refund agreement connected to this shipping line sale adjustment. | |
| Id [KEY] | String | A unique identifier for the individual shipping sale adjustment record within the agreement. | |
| ActionType | String | Indicates the type of order action represented by this shipping line sale adjustment, such as refund, charge, or adjustment. | |
| LineType | String | Specifies the classification of the line item involved in the shipping line sale adjustment, typically identifying it as a shipping charge. | |
| Quantity | Int | The number of shipping units affected by the sale adjustment, such as shipments charged, refunded, or adjusted. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total amount of the shipping line sale adjustment, including taxes and discounts, expressed in the buyer's presentment currency as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code representing the buyer's presentment currency for the total shipping line sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total amount of the shipping line sale adjustment, including taxes and discounts, expressed in the shop's base currency as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the total shipping line sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount applied to the shipping line sale adjustment in the buyer's presentment currency, expressed as a decimal. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency used for tax calculations on the shipping line sale. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount applied to the shipping line sale adjustment in the shop's base currency, expressed as a decimal. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency used for tax calculations on the shipping line sale. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the shipping line sale adjustment before taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied before taxes on the shipping line sale. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the shipping line sale adjustment before taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied before taxes on the shipping line sale. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the shipping line sale adjustment after taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied after taxes on the shipping line sale. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the shipping line sale adjustment after taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied after taxes on the shipping line sale. | |
| Taxes | String | A collection of individual tax components associated with the shipping line sale adjustment, detailing rates and applied amounts. | |
| ShippingLineSaleShippingLineId | String | A unique identifier linking the shipping line sale adjustment to the corresponding shipping charge line item. Not available when the SaleActionType represents a return. |
Displays refunded tip sales tied to order agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The identifier of the parent order that the tip-related agreement adjustment is associated with. |
| AgreementId | String | A unique identifier for the refund agreement connected to this tip sale adjustment. | |
| Id [KEY] | String | A unique identifier for the individual tip sale adjustment record within the agreement. | |
| ActionType | String | Indicates the type of order action represented by this tip sale adjustment, such as refund, payment, or adjustment. | |
| LineType | String | Specifies the classification of the line item involved in the tip sale adjustment, typically identifying it as a tip charge. | |
| Quantity | Int | The number of tip-related line items affected by the sale adjustment, such as tips applied, refunded, or adjusted. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total amount of the tip sale adjustment, including taxes and discounts, expressed in the buyer's presentment currency as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code representing the buyer's presentment currency for the total tip sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total amount of the tip sale adjustment, including taxes and discounts, expressed in the shop's base currency as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the total tip sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount applied to the tip sale adjustment in the buyer's presentment currency, expressed as a decimal. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency used for tax calculations on the tip sale. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount applied to the tip sale adjustment in the shop's base currency, expressed as a decimal. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency used for tax calculations on the tip sale. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the tip sale adjustment before taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied before taxes on the tip sale. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the tip sale adjustment before taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied before taxes on the tip sale. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the tip sale adjustment after taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied after taxes on the tip sale. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the tip sale adjustment after taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied after taxes on the tip sale. | |
| Taxes | String | A collection of individual tax components associated with the tip sale adjustment, detailing rates and applied amounts. | |
| TipSaleLineItemId | String | A unique identifier linking the tip sale adjustment to the associated tip line item in the order. Represents the tip-related transaction being refunded or modified. |
Captures miscellaneous refund transactions associated with order agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The identifier of the parent order that the unclassified agreement adjustment is associated with. |
| AgreementId | String | A unique identifier for the refund agreement connected to this unclassified sale adjustment. | |
| Id [KEY] | String | A unique identifier for the individual unclassified sale adjustment record within the agreement. | |
| ActionType | String | Indicates the type of order action represented by this unclassified sale adjustment, such as refund or correction. | |
| LineType | String | Specifies the classification of the line item for this sale adjustment, when the type cannot be explicitly determined. | |
| Quantity | Int | The number of units affected by the unclassified sale adjustment, representing items or charges not tied to a defined category. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total amount of the unclassified sale adjustment, including taxes and discounts, expressed in the buyer's presentment currency as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code representing the buyer's presentment currency for the total unclassified sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total amount of the unclassified sale adjustment, including taxes and discounts, expressed in the shop's base currency as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the total unclassified sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount applied to the unclassified sale adjustment in the buyer's presentment currency, expressed as a decimal. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency used for tax calculations on the unclassified sale. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount applied to the unclassified sale adjustment in the shop's base currency, expressed as a decimal. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency used for tax calculations on the unclassified sale. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the unclassified sale adjustment before taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied before taxes on the unclassified sale. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the unclassified sale adjustment before taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied before taxes on the unclassified sale. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total value of discounts applied to the unclassified sale adjustment after taxes, expressed in the buyer's presentment currency as a decimal. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code representing the presentment currency for discounts applied after taxes on the unclassified sale. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total value of discounts applied to the unclassified sale adjustment after taxes, expressed in the shop's base currency as a decimal. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for discounts applied after taxes on the unclassified sale. | |
| Taxes | String | A collection of individual tax components associated with the unclassified sale adjustment, detailing rates and applied amounts. |
Lists shipping lines attached to orders, including carrier, rate, and destination data.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderShippingLines WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The unique identifier of the shipping line record associated with the order. | |
| CarrierIdentifier | String | A reference identifier for the carrier service that provided the shipping rate. Present when the rate was calculated by a third-party carrier integration. | |
| Title | String | The title or name of the shipping line as it appears to the customer during checkout or on the order summary. | |
| Code | String | A reference code representing the specific shipping method selected for the order. | |
| Custom | Bool | Indicates whether the shipping line was created manually as a custom shipping option rather than automatically calculated. | |
| DeliveryCategory | String | Describes the general delivery method classification, such as standard, express, or same-day. | |
| IsRemoved | Bool | Indicates whether the shipping line has been removed or voided from the order record. | |
| Phone | String | The phone number associated with the shipping address for this shipping line. | |
| ShippingRateHandle | String | A unique system-generated identifier for the shipping rate. The format may change and is not intended for display to customers. | |
| Source | String | Specifies the origin or source of the rate for this shipping line, such as a carrier, fulfillment service, or custom entry. | |
| CurrentDiscountedPriceSetPresentmentMoneyAmount | Decimal | The current discounted shipping amount, expressed in the buyer's presentment currency as a decimal value. | |
| CurrentDiscountedPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code representing the presentment currency for the current discounted shipping amount. | |
| CurrentDiscountedPriceSetShopMoneyAmount | Decimal | The current discounted shipping amount, expressed in the shop's base currency as a decimal value. | |
| CurrentDiscountedPriceSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the current discounted shipping amount. | |
| DiscountedPriceAmount | Decimal | The total discounted price for the shipping line, expressed as a decimal value. | |
| DiscountedPriceCurrencyCode | String | The ISO currency code representing the currency for the discounted shipping price. | |
| DiscountedPriceSetPresentmentMoneyAmount | Decimal | The discounted shipping price expressed in the buyer's presentment currency as a decimal value. | |
| DiscountedPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code representing the presentment currency for the discounted shipping price. | |
| DiscountedPriceSetShopMoneyAmount | Decimal | The discounted shipping price expressed in the shop's base currency as a decimal value. | |
| DiscountedPriceSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the discounted shipping price. | |
| OriginalPriceAmount | Decimal | The original shipping price before discounts, expressed as a decimal value. | |
| OriginalPriceCurrencyCode | String | The ISO currency code representing the currency for the original shipping price. | |
| OriginalPriceSetPresentmentMoneyAmount | Decimal | The original shipping price before discounts, expressed in the buyer's presentment currency as a decimal value. | |
| OriginalPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code representing the presentment currency for the original shipping price. | |
| OriginalPriceSetShopMoneyAmount | Decimal | The original shipping price before discounts, expressed in the shop's base currency as a decimal value. | |
| OriginalPriceSetShopMoneyCurrencyCode | String | The ISO currency code representing the shop's base currency for the original shipping price. | |
| RequestedFulfillmentServiceId | String | The unique identifier of the fulfillment service responsible for processing this shipping line. | |
| OrderId | String |
Orders.Id | The unique identifier of the order associated with this shipping line. |
| TaxLines | String | A collection of tax line objects detailing the taxes applied to this shipping line, including rate and amount information. |
Displays applied tax lines for orders, detailing title, rate, and tax amount.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The descriptive name of the tax applied to the order line item, such as 'Sales Tax' or 'VAT'. | |
| ResourceId [KEY] | String |
Orders.Id | A globally unique identifier that references the tax line record. |
| Source | String | Indicates the origin of the tax calculation, such as an app, a manual entry, or a Shopify-managed tax engine. | |
| Rate | Double | The fractional tax rate applied to the line item, expressed as a decimal value. For example, 0.075 for a 7.5% tax rate. | |
| ChannelLiable | Bool | Specifies whether the sales channel that submitted the order is responsible for remitting this tax. A null value indicates that the liability is unknown. | |
| RatePercentage | Double | The tax rate applied to the line item, expressed as a percentage value for easier readability. | |
| PriceSetPresentmentMoneyAmount | Decimal | The monetary amount of the tax in the presentment currency, reflecting how the tax appears to customers. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code that identifies the presentment currency for the tax amount, such as 'USD' or 'EUR'. | |
| PriceSetShopMoneyAmount | Decimal | The monetary amount of the tax in the shop's base currency, used for accounting and reporting purposes. | |
| PriceSetShopMoneyCurrencyCode | String | The ISO 4217 currency code that identifies the shop's base currency for the tax amount. |
Tracks events related to page creation, updates, and deletions in the online store.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PageEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the page event record. | |
| HostId | String |
Pages.Id | The unique identifier of the shop or application instance where the event occurred. |
| AppTitle | String | The display name of the app or integration that generated the event. | |
| AttributeToApp | Bool | Indicates whether the event originated from an installed app rather than a manual action. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user action, such as updating a product or processing an order. | |
| CreatedAt | Datetime | The date and time when the event was created and logged in Shopify. | |
| CriticalAlert | Bool | Specifies whether the event is marked as critical and requires immediate attention or review. | |
| Action | String | Describes the type of action that occurred, such as 'create', 'update', or 'delete'. | |
| Message | String | A human-readable description of the event summarizing what happened or which entity was affected. | |
| BasicEventSubjectId | String | The unique identifier of the primary resource that triggered this event, such as an order or product. | |
| BasicEventSubjectType | String | Specifies the resource type associated with the event, such as 'Order', 'Customer', or 'Product'. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event includes expandable or supplementary content for the timeline view. | |
| BasicEventAdditionalContent | String | Contains additional descriptive content for collapsible or detailed timeline entries. | |
| BasicEventAdditionalData | String | Holds structured data that provides extra context for applications consuming the event. | |
| BasicEventSecondaryMessage | String | A secondary human-readable message offering supporting details for the main event message. | |
| BasicEventArguments | String | Lists related arguments or references that identify specific event context and associated resources. | |
| CommentEventAuthorId | String | The identifier of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted by the user or system. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be modified after creation. | |
| CommentEventEdited | Bool | Specifies whether the comment event has been edited since it was first posted. | |
| CommentEventRawMessage | String | The unprocessed text content of the comment event before formatting or display transformations. | |
| CommentEventSubjectId | String | The identifier of the parent resource to which this comment event belongs, such as an order or customer record. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject currently contains a comment event. | |
| CommentEventEmbedCustomerId | String | References the related customer resource associated with the comment event, if applicable. | |
| CommentEventEmbedDraftOrderId | String | References the related draft order resource associated with the comment event. | |
| CommentEventEmbedOrderId | String | References the related order resource associated with the comment event. | |
| CommentEventEmbedProductId | String | References the related product resource associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | References the related product variant resource associated with the comment event. |
Lists pricing entries tied to a specific price list, including product, variant, and region-specific prices.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PriceListPrices WHERE PriceListId = 'Val1'
| Name | Type | References | Description |
| PriceListId [KEY] | String |
PriceLists.Id | The unique identifier of the price list that defines this pricing entry. |
| ProductVariantId [KEY] | String | The unique identifier of the product variant associated with this specific price list entry. | |
| OriginType | String | Specifies how the price was determined—either as a fixed price manually set on the price list, or as a relative price derived from an adjustment configuration. | |
| PriceAmount | Decimal | The selling price of the product variant defined in this price list, expressed as a decimal money value. | |
| PriceCurrencyCode | String | The ISO 4217 currency code representing the currency of the listed price, such as USD or EUR. | |
| CompareAtPriceAmount | Decimal | The original or reference price of the product variant on this price list, used to show discounts or savings. Expressed as a decimal money value. | |
| CompareAtPriceCurrencyCode | String | The ISO 4217 currency code representing the currency of the compare-at price, such as USD or EUR. |
Links component options to their selected parent options within product bundles.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductBundleComponentOptionSelections WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String | The globally unique identifier of the parent product that includes the bundle component. | |
| ComponentProductId [KEY] | String | The globally unique identifier of the product that serves as a component within the bundle. | |
| ParentOptionId | String | The globally unique identifier of the option on the parent (bundle) product that determines component selection. | |
| ParentOptionName | String | The display name of the parent product option that controls how the component product is configured or chosen. | |
| ComponentOptionId [KEY] | String | The globally unique identifier of the option belonging to the component product. | |
| ComponentOptionName | String | The display name of the component product option associated with this bundle relationship. | |
| Values | String | A comma-separated list of option values currently selected to define the relationship between the parent and component products. |
Lists components that make up product bundles, including associated product and quantity details.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductBundleComponents WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String | The globally unique identifier of the parent product that includes this component as part of its bundle configuration. | |
| ComponentProductId [KEY] | String | The globally unique identifier of the product that acts as a component within the bundle. | |
| ComponentVariantsCount | Int | The number of product variants available for the component within this bundle. | |
| ComponentVariantsCountPrecision | String | Indicates the precision or accuracy level of the component variant count, such as 'exact' or 'estimated'. | |
| OptionSelections | String | Defines the mapping between parent product options and component product options, including selected values that determine the bundle composition. | |
| Quantity | Int | The set quantity of the component product included in this bundle line. Returns null if a quantity option is defined instead. | |
| QuantityOptionName | String | The name of the product option that allows merchants or customers to choose the component quantity dynamically. | |
| QuantityOptionValues | String | A comma-separated list of available quantity values for the defined quantity option. | |
| QuantityOptionParentOptionId | String | The globally unique identifier of the parent option that governs quantity selection for this component. |
Logs product-related events such as creation, price changes, and publication updates.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the product event record. | |
| HostId | String |
Products.Id | The unique identifier of the shop or system instance where the event occurred. |
| AppTitle | String | The name of the app or integration that generated the event. | |
| AttributeToApp | Bool | Indicates whether the event originated from an installed app rather than a manual admin action. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user performing an action on a product. | |
| CreatedAt | Datetime | The date and time when the product event was created and recorded in Shopify. | |
| CriticalAlert | Bool | Specifies whether this event is marked as critical, indicating a potentially significant or time-sensitive change. | |
| Action | String | Describes the type of action that occurred on the product, such as 'created', 'updated', or 'deleted'. | |
| Message | String | A human-readable description of the event that summarizes what happened to the product. | |
| BasicEventSubjectId | String | The unique identifier of the product or related resource that generated this event. | |
| BasicEventSubjectType | String | Specifies the type of resource associated with the event, such as 'Product' or 'ProductVariant'. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event contains expandable or supplemental content for detailed timeline display. | |
| BasicEventAdditionalContent | String | Contains extra descriptive information or metadata for use in collapsible timeline views. | |
| BasicEventAdditionalData | String | Holds structured key-value data providing additional context for event consumers or integrations. | |
| BasicEventSecondaryMessage | String | A secondary, human-readable message that provides further context for the main event message. | |
| BasicEventArguments | String | Lists the parameters or associated entities that provide contextual details about the event. | |
| CommentEventAuthorId | String | The unique identifier of the staff member who created the comment associated with this event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted by authorized users. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited after it has been created. | |
| CommentEventEdited | Bool | Specifies whether the comment event has been modified since its original creation. | |
| CommentEventRawMessage | String | The unformatted text body of the comment event before it is processed for display. | |
| CommentEventSubjectId | String | The identifier of the parent resource to which the comment event is linked, such as a product or product variant. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline for the parent resource contains a comment event. | |
| CommentEventEmbedCustomerId | String | References the related customer record linked to this comment event, if applicable. | |
| CommentEventEmbedDraftOrderId | String | References a related draft order associated with this comment event, if one exists. | |
| CommentEventEmbedOrderId | String | References the related order associated with this comment event, if applicable. | |
| CommentEventEmbedProductId | String | References the specific product associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | References the specific product variant associated with the comment event. |
Tracks background operations performed on products, such as imports or bulk edits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOperations WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The unique identifier of the product operation record being referenced or returned. | |
| ProductId | String | The globally unique identifier of the product associated with this operation. | |
| Status | String | Indicates the current state of the product operation, such as 'pending', 'in_progress', 'completed', or 'failed'. |
Logs lifecycle events for product variants, such as creation, updates, and inventory changes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductVariantEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the product variant event record. | |
| HostId | String | The unique identifier of the shop or environment where the product variant event occurred. | |
| AppTitle | String | The name of the app or integration that generated the event. | |
| AttributeToApp | Bool | Indicates whether the event originated from an installed app rather than a manual admin action. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user performing an action on a product variant. | |
| CreatedAt | Datetime | The date and time when the product variant event was created and logged in Shopify. | |
| CriticalAlert | Bool | Specifies whether the event is considered critical, signaling a potentially important or time-sensitive change. | |
| Action | String | Describes the type of action that occurred on the variant, such as 'created', 'updated', 'deleted', or 'restocked'. | |
| Message | String | A human-readable summary of the event that describes the change made to the product variant. | |
| BasicEventSubjectId | String | The unique identifier of the product variant or related resource that triggered this event. | |
| BasicEventSubjectType | String | Specifies the type of resource associated with the event, such as 'ProductVariant'. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether this event contains additional data or extended details for display in a timeline. | |
| BasicEventAdditionalContent | String | Provides supplementary descriptive information for timeline or activity log displays. | |
| BasicEventAdditionalData | String | Holds structured data or metadata that gives context for event consumers and integrations. | |
| BasicEventSecondaryMessage | String | A supporting human-readable message providing extra context for the main event description. | |
| BasicEventArguments | String | Lists parameters or related identifiers that provide context for the event's subject and its resources. | |
| CommentEventAuthorId | String | The identifier of the staff member who created a comment associated with this event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted by authorized users. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited after creation. | |
| CommentEventEdited | Bool | Specifies whether the comment event has been modified since it was first created. | |
| CommentEventRawMessage | String | The raw, unformatted text of the comment event before it is processed or displayed. | |
| CommentEventSubjectId | String | The identifier of the parent resource associated with this comment event, such as a product variant. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the parent resource's timeline contains a comment event. | |
| CommentEventEmbedCustomerId | String | References a related customer record linked to the comment event, if applicable. | |
| CommentEventEmbedDraftOrderId | String | References a related draft order associated with the comment event. | |
| CommentEventEmbedOrderId | String | References the related order associated with the comment event. | |
| CommentEventEmbedProductId | String | References the related product record linked to this comment event. | |
| CommentEventEmbedProductVariantId | String | References the specific product variant associated with this comment event. |
Lists collections published to specific sales channels or publications.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PublicationCollections WHERE PublicationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the publication collection record. | |
| LegacyResourceId | String | The identifier of the corresponding collection resource in the REST Admin API, used for backward compatibility. | |
| PublicationId [KEY] | String |
Publications.Id | The globally unique identifier of the publication channel where this collection is published, such as the Online Store or Point of Sale. |
Lists products published to specific channels or publications.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PublicationProducts WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String |
Products.Id | The globally unique identifier of the product associated with this publication record. |
| PublishDate | Datetime | The date and time when the product was or is scheduled to be published to the specified publication channel. | |
| IsPublished | Bool | Indicates whether the product is currently published and visible on the associated publication channel. | |
| PublicationId [KEY] | String | The globally unique identifier of the publication, such as an Online Store, Point of Sale, or custom sales channel. | |
| PublicationName | String | The display name of the publication channel to which the product is or will be published. |
Displays refunded duty amounts associated with international orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundDuties WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| OriginalDutyId [KEY] | String | The globally unique identifier of the original duty charge being refunded. | |
| RefundId [KEY] | String |
Refunds.Id | The globally unique identifier of the refund transaction associated with this duty refund. |
| OriginalDutyHarmonizedSystemCode | String | The harmonized system (HS) code used to classify the item for customs and duty calculations. | |
| OriginalDutyCountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code representing the item's country of origin used in duty assessment. | |
| AmountSetPresentmentMoneyAmount | Decimal | The refunded duty amount shown in the customer's presentment currency, represented as a decimal money value. | |
| AmountSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the refunded duty amount. | |
| AmountSetShopMoneyAmount | Decimal | The refunded duty amount converted to the shop's base currency, represented as a decimal money value. | |
| AmountSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the shop's base currency used in the refunded duty calculation. |
Shows refunded duty charges applied to individual order line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundLineItemDuties WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| RefundId | String | The globally unique identifier of the refund transaction associated with this refunded duty line item. | |
| LineItemId | String | The globally unique identifier of the original line item for which duty is being refunded. | |
| Id [KEY] | String | A globally unique identifier for the refunded duty record linked to the refund line item. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code indicating the country of origin used for the duty calculation. | |
| HarmonizedSystemCode | String | The harmonized system (HS) code used to classify the product for customs and duty calculation. | |
| PricePresentmentMoneyAmount | Decimal | The duty refund amount in the customer's presentment currency, expressed as a decimal money value. | |
| PricePresentmentMoneyCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the refunded duty amount. | |
| PriceShopMoneyAmount | Decimal | The duty refund amount in the shop's base currency, represented as a decimal money value. | |
| PriceShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency used for the refunded duty amount. |
Lists refunded line items from an order, including product, quantity, and refund amount details.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundLineItems WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the refund line item record. | |
| LineItemId | String | The globally unique identifier of the original line item being refunded. | |
| RefundId | String |
Refunds.Id | The globally unique identifier of the refund transaction associated with this line item. |
| LineItemName | String | The display name of the refunded item, combining the product title and variant title if applicable. | |
| LineItemTitle | String | The product title as it appeared at the time of the original order creation. | |
| LineItemVariantTitle | String | The variant title as it appeared at the time of the original order creation. | |
| LineItemQuantity | Int | The number of variant units originally ordered for this line item. | |
| LineItemRestockable | Bool | Indicates whether the refunded item can be returned to inventory and restocked. | |
| LineItemSku | String | The stock keeping unit (SKU) code identifying the product variant. | |
| LineItemTaxable | Bool | Indicates whether sales tax was applied to this product variant. | |
| LineItemVendor | String | The name of the vendor or supplier who provided the product variant. | |
| LineItemCurrentQuantity | Int | The remaining quantity of the line item after subtracting refunded or removed units. | |
| LineItemMerchantEditable | Bool | Indicates whether this line item can be modified by the merchant. | |
| LineItemRefundableQuantity | Int | The total number of units eligible to be refunded for this line item after accounting for previous refunds or removals. | |
| LineItemNonFulfillableQuantity | Int | The number of units that cannot be fulfilled. Includes refunded items and non-physical items such as tips or service charges. | |
| LineItemRequiresShipping | Bool | Indicates whether the variant requires physical shipping as part of fulfillment. | |
| LineItemUnfulfilledQuantity | Int | The number of units from this line item that have not yet been fulfilled. | |
| LineItemImageId | String | The globally unique identifier of the image associated with this line item. | |
| LineItemImageWidth | Int | The original width of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| LineItemImageAltText | String | Alternative text describing the content or purpose of the product image for accessibility or SEO. | |
| LineItemImageHeight | Int | The original height of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| LineItemImageUrl | String | The URL where the product image is hosted and accessible. | |
| LineItemProductId | String | The globally unique identifier of the product associated with this line item. | |
| LineItemVariantId | String | The globally unique identifier of the product variant associated with this line item. | |
| LineItemSellingPlanSellingPlanId | String | The identifier of the selling plan linked to this line item, such as a subscription or recurring purchase plan. | |
| LineItemStaffMemberId | String | The unique identifier of the staff member associated with the sale. Available only to Shopify Plus merchants. | |
| Quantity | Int | The number of units refunded for this line item in the current refund transaction. | |
| Restocked | Bool | Indicates whether the refunded quantity was restocked into available inventory. Not used in the context of a SuggestedRefund. | |
| RestockType | String | Specifies the type of restock action performed, such as 'cancel', 'return', or 'no_restock'. | |
| LocationId | String | The globally unique identifier of the location where the restock or refund was processed. | |
| PriceSetPresentmentMoneyAmount | Decimal | The price per unit of the refunded item in the customer's presentment currency, expressed as a decimal money value. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the refunded line item price. | |
| PriceSetShopMoneyAmount | Decimal | The price per unit of the refunded item in the shop's base currency, represented as a decimal money value. | |
| PriceSetShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the refunded line item price. | |
| SubtotalSetPresentmentMoneyAmount | Decimal | The subtotal amount for this refunded line item in the presentment currency, before taxes, represented as a decimal money value. | |
| SubtotalSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the subtotal amount. | |
| SubtotalSetShopMoneyAmount | Decimal | The subtotal amount for this refunded line item in the shop's base currency, before taxes, represented as a decimal money value. | |
| SubtotalSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the shop's base currency of the subtotal amount. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | The total tax amount applied to this refunded line item in the customer's presentment currency, represented as a decimal money value. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the refunded tax amount. | |
| TotalTaxSetShopMoneyAmount | Decimal | The total tax amount applied to this refunded line item in the shop's base currency, represented as a decimal money value. | |
| TotalTaxSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the shop's base currency of the refunded tax amount. | |
| LineItemContractId | String | The globally unique identifier of the related contract, if the refunded item was part of a contractual selling agreement or subscription. |
Displays order-level adjustments included in refunds, such as discounts or shipping refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundOrderAdjustments WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the refund order adjustment record. | |
| RefundId | String | The globally unique identifier of the refund transaction associated with this adjustment. | |
| Reason | String | An optional explanation describing why the refunded amount differs from the originally calculated refund, such as manual adjustments, fees, or rounding differences. | |
| AmountSetPresentmentMoneyAmount | Decimal | The adjustment amount applied to the refund in the customer's presentment currency, represented as a decimal money value. | |
| AmountSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the refund adjustment amount. | |
| AmountSetShopMoneyAmount | Decimal | The adjustment amount converted to the shop's base currency, represented as a decimal money value. | |
| AmountSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the shop's base currency of the refund adjustment amount. | |
| TaxAmountSetPresentmentMoneyAmount | Decimal | The portion of tax included in the refund adjustment, represented in the customer's presentment currency as a decimal money value. | |
| TaxAmountSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the tax component in the refund adjustment. | |
| TaxAmountSetShopMoneyAmount | Decimal | The portion of tax included in the refund adjustment, represented in the shop's base currency as a decimal money value. | |
| TaxAmountSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the shop's base currency of the tax component in the refund adjustment. |
Lists refunded shipping lines, including refunded shipping cost and related carrier information.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundShippingLines WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the refund shipping line record. | |
| RefundId | String |
Refunds.Id | The globally unique identifier of the refund associated with this refunded shipping charge. |
| SubtotalAmountSetPresentmentMoneyAmount | Decimal | The subtotal amount of the refunded shipping charge in the customer's presentment currency, expressed as a decimal money value. | |
| SubtotalAmountSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the refunded shipping subtotal. | |
| SubtotalAmountSetShopMoneyAmount | Decimal | The subtotal amount of the refunded shipping charge in the shop's base currency, expressed as a decimal money value. | |
| SubtotalAmountSetShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the refunded shipping subtotal. | |
| TaxAmountSetPresentmentMoneyAmount | Decimal | The refunded tax amount applied to shipping in the customer's presentment currency, expressed as a decimal money value. | |
| TaxAmountSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the refunded tax on shipping. | |
| TaxAmountSetShopMoneyAmount | Decimal | The refunded tax amount applied to shipping in the shop's base currency, expressed as a decimal money value. | |
| TaxAmountSetShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the refunded tax on shipping. | |
| ShippingLineId | String | The globally unique identifier of the original shipping line being refunded. | |
| ShippingLineCarrierIdentifier | String | A reference to the carrier service that provided the shipping rate, if the rate was computed by a third-party carrier integration. | |
| ShippingLineTitle | String | The display name or label of the shipping line as shown to the customer. | |
| ShippingLineCode | String | A reference or code representing the shipping method used for the order. | |
| ShippingLineCustom | Bool | Indicates whether this shipping line was manually added or customized by the merchant. | |
| ShippingLineDeliveryCategory | String | The general classification of the delivery method, such as standard, express, or local delivery. | |
| ShippingLineIsRemoved | Bool | Indicates whether the original shipping line was removed from the order. | |
| ShippingLinePhone | String | The phone number associated with the shipping address for this shipment. | |
| ShippingLineShippingRateHandle | String | A unique identifier for the shipping rate. Its format may vary and is not intended for display to customers. | |
| ShippingLineSource | String | Indicates the origin or source of the shipping rate, such as the carrier, manual entry, or a third-party app. | |
| ShippingLineCurrentDiscountedPriceSetPresentmentMoneyAmount | Decimal | The current discounted shipping price in the customer's presentment currency, expressed as a decimal money value. | |
| ShippingLineCurrentDiscountedPriceSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the current discounted shipping price. | |
| ShippingLineCurrentDiscountedPriceSetShopMoneyAmount | Decimal | The current discounted shipping price in the shop's base currency, expressed as a decimal money value. | |
| ShippingLineCurrentDiscountedPriceSetShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the current discounted shipping price. | |
| ShippingLineDiscountedPriceAmount | Decimal | The discounted price of the shipping line, represented as a decimal money value. | |
| ShippingLineDiscountedPriceCurrencyCode | String | The ISO 4217 currency code for the discounted shipping line price. | |
| ShippingLineDiscountedPriceSetPresentmentMoneyAmount | Decimal | The discounted shipping price in the customer's presentment currency, expressed as a decimal money value. | |
| ShippingLineDiscountedPriceSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the discounted shipping line. | |
| ShippingLineDiscountedPriceSetShopMoneyAmount | Decimal | The discounted shipping price in the shop's base currency, expressed as a decimal money value. | |
| ShippingLineDiscountedPriceSetShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the discounted shipping line. | |
| ShippingLineOriginalPriceAmount | Decimal | The original pre-discount price of the shipping line, expressed as a decimal money value. | |
| ShippingLineOriginalPriceCurrencyCode | String | The ISO 4217 currency code representing the currency of the original shipping line price. | |
| ShippingLineOriginalPriceSetPresentmentMoneyAmount | Decimal | The original pre-discount shipping line price in the customer's presentment currency, expressed as a decimal money value. | |
| ShippingLineOriginalPriceSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the original shipping line price. | |
| ShippingLineOriginalPriceSetShopMoneyAmount | Decimal | The original pre-discount shipping line price in the shop's base currency, expressed as a decimal money value. | |
| ShippingLineOriginalPriceSetShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the original shipping line price. | |
| ShippingLineRequestedFulfillmentServiceId | String | The globally unique identifier of the fulfillment service responsible for processing the shipment. |
Displays transaction fees refunded to merchants for Shopify Payments transactions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundTransactionFees WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the refund transaction fee record. | |
| TransactionId | String | The globally unique identifier of the original transaction associated with this refunded fee. | |
| RefundId | String |
Refunds.Id | The globally unique identifier of the refund linked to this fee record. |
| RateName | String | The descriptive name of the percentage-based fee rate applied to the original transaction, such as a credit card processing rate. | |
| FlatFeeName | String | The descriptive name of the flat fee applied to the original transaction, typically associated with fixed transaction costs. | |
| Rate | Decimal | The percentage rate charged by the payment provider, expressed as a decimal value. | |
| Type | String | Specifies the type of fee, such as 'processing', 'network', or 'refund adjustment'. | |
| AmountAmount | Decimal | The amount of the percentage-based fee in decimal monetary format. | |
| AmountCurrencyCode | String | The ISO 4217 currency code representing the currency of the percentage-based fee amount. | |
| FlatFeeAmount | Decimal | The flat, fixed amount of the transaction fee charged or refunded, expressed as a decimal monetary value. | |
| FlatFeeCurrencyCode | String | The ISO 4217 currency code representing the currency of the flat fee amount. | |
| TaxAmountAmount | Decimal | The amount of tax applied to the transaction fee, represented as a decimal monetary value. | |
| TaxAmountCurrencyCode | String | The ISO 4217 currency code representing the currency of the tax applied to the transaction fee. |
Shows transactions created as part of refunds, including payment gateway data and refund amounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundTransactions WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the refund transaction record. | |
| ResourceId [KEY] | String |
Refunds.Id | The globally unique identifier of the related resource, such as an order or payment record. |
| PaymentId | String | The unique identifier for the payment associated with this refund transaction. | |
| ParentTransactionId | String | References the parent transaction, such as the original charge or authorization linked to this refund. | |
| AccountNumber | String | The masked account number of the payment method used, with sensitive digits redacted for security. | |
| Gateway | String | The payment gateway responsible for processing this refund, such as Shopify Payments or PayPal. | |
| Kind | String | Specifies the type of transaction, such as 'refund', 'capture', or 'authorization'. | |
| Status | String | Indicates the current state of the refund transaction, such as 'pending', 'completed', or 'failed'. | |
| Test | Bool | Indicates whether the refund transaction was processed in test mode rather than live mode. | |
| AuthorizationCode | String | The authorization code issued by the payment processor for the transaction. | |
| ErrorCode | String | A standardized error identifier that indicates the reason for a failed or declined refund transaction. | |
| FormattedGateway | String | The human-readable name of the payment gateway used to process this refund. | |
| ManuallyCapturable | Bool | Indicates whether this transaction can be manually captured after authorization. | |
| MultiCapturable | Bool | Specifies whether multiple captures are allowed from the same authorization for partial refunds. | |
| ProcessedAt | Datetime | The date and time when the refund transaction was processed by the payment provider. | |
| ReceiptJson | String | A JSON-formatted receipt provided by the payment gateway containing detailed transaction data or metadata. | |
| SettlementCurrency | String | The ISO 4217 currency code representing the currency in which the refund was settled. | |
| AuthorizationExpiresAt | Datetime | The date and time when the authorization for this transaction expires. Available only to Shopify Plus merchants using Shopify Payments. | |
| SettlementCurrencyRate | Decimal | The exchange rate applied when converting the refund amount to the settlement currency. | |
| CreatedAt | Datetime | The date and time when the refund transaction was created in Shopify. | |
| CardPaymentDetailsName | String | The name of the cardholder as displayed on the payment card used for the transaction. | |
| CardPaymentDetailsBin | String | The issuer identification number (IIN/BIN) derived from the first digits of the card number, identifying the issuing bank. | |
| CardPaymentDetailsCompany | String | The name of the financial institution or card network (such as Visa or Mastercard) that issued the customer's credit card. | |
| CardPaymentDetailsNumber | String | The customer's credit card number with most leading digits redacted for security. | |
| CardPaymentDetailsWallet | String | Specifies the digital wallet used for the payment, such as Apple Pay or Google Pay. | |
| CardPaymentDetailsExpirationMonth | Int | The expiration month of the card used for the payment. | |
| CardPaymentDetailsExpirationYear | Int | The expiration year of the card used for the payment. | |
| CardPaymentDetailsAvsResultCode | String | The result code from the Address Verification System (AVS), represented by a single character. | |
| CardPaymentDetailsCvvResultCode | String | The result code from the credit card provider indicating whether the card verification value (CVV) was entered correctly. | |
| PaymentIconId | String | A globally unique identifier for the payment method's icon image. | |
| PaymentIconWidth | Int | The width of the payment method icon in pixels. Returns null if the image is not hosted by Shopify. | |
| PaymentIconAltText | String | Alternative text describing the icon image for accessibility or descriptive purposes. | |
| PaymentIconHeight | Int | The height of the payment method icon in pixels. Returns null if the image is not hosted by Shopify. | |
| AmountSetPresentmentMoneyAmount | Decimal | The refund transaction amount in the customer's presentment currency, expressed as a decimal monetary value. | |
| AmountSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the refund amount. | |
| AmountSetShopMoneyAmount | Decimal | The refund transaction amount converted to the shop's base currency, expressed as a decimal monetary value. | |
| AmountSetShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the refund amount. | |
| MaximumRefundableV2Amount | Decimal | The maximum amount that can still be refunded for this transaction, expressed as a decimal monetary value. | |
| MaximumRefundableV2CurrencyCode | String | The ISO 4217 currency code representing the currency of the maximum refundable amount. | |
| ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt | Datetime | The date and time when the extended authorization for the transaction expires, after which payment capture is no longer possible. | |
| ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt | Datetime | The expiration date for a standard authorization, after which additional capture fees may apply. | |
| ShopifyPaymentsSetRefundSetAcquirerReferenceNumber | String | The acquirer reference number (ARN) generated for card network tracking of Visa or Mastercard refunds. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | The total amount of unsettled funds in the customer's presentment currency, expressed as a decimal monetary value. | |
| TotalUnsettledSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for unsettled funds. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | The total unsettled amount in the shop's base currency, expressed as a decimal monetary value. | |
| TotalUnsettledSetShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for unsettled funds. |
Lists exchange line items associated with a return, including replacement products, quantities, and values.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnExchangeLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the return or exchange line item record. | |
| ResourceId | String |
Returns.Id | The globally unique identifier of the related order line item resource. |
| Name | String | The display name of the product, optionally including the variant title if applicable. | |
| Title | String | The product title as it appeared at the time the original order was created. | |
| VariantTitle | String | The variant title as it appeared at the time the original order was created. | |
| VariantId | String | The globally unique identifier of the variant associated with this return or exchange line item. | |
| ProductId | String | The globally unique identifier of the product associated with this return or exchange line item. | |
| SellingPlanSellingPlanId | String | The unique identifier of the selling plan (such as a subscription or recurring purchase) tied to this line item. | |
| Quantity | Int | The number of variant units being processed as part of the return or exchange. | |
| Restockable | Bool | Indicates whether this returned item can be restocked into inventory. | |
| Sku | String | The stock keeping unit (SKU) assigned to the product variant. | |
| Taxable | Bool | Indicates whether the product variant is subject to sales tax. | |
| Vendor | String | The name of the vendor or supplier associated with the product variant. | |
| CurrentQuantity | Int | The remaining quantity for this line item after accounting for previously fulfilled, refunded, or removed units. | |
| MerchantEditable | Bool | Indicates whether the merchant can modify this line item during the return or exchange process. | |
| RefundableQuantity | Int | The total quantity eligible for refund or exchange after considering prior adjustments. | |
| RequiresShipping | Bool | Indicates whether this line item requires physical shipping to complete the return or exchange. | |
| UnfulfilledQuantity | Int | The number of units for this line item that have not yet been fulfilled or returned. | |
| NonFulfillableQuantity | Int | The number of units that cannot be fulfilled, such as refunded items, or non-physical items like tips. | |
| IsGiftCard | Bool | Indicates whether the line item represents a purchased gift card product. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | The total discounted price of this line item in the customer's presentment currency, expressed as a decimal money value. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | The total discounted price including code-based discounts in the customer's presentment currency, expressed as a decimal money value. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the discounted total amount. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | The total discounted price of this line item in the shop's base currency, expressed as a decimal money value. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | The total discounted price including code-based discounts in the shop's base currency, expressed as a decimal money value. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the shop's base currency of the discounted total amount. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The discounted price per unit in the customer's presentment currency, expressed as a decimal money value. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the discounted unit price. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The discounted price per unit in the shop's base currency, expressed as a decimal money value. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the shop's base currency of the discounted unit price. | |
| ImageId | String | The globally unique identifier for the product image associated with this line item. | |
| ImageWidth | Int | The original width of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageAltText | String | Alternative text describing the product image for accessibility and SEO. | |
| ImageHeight | Int | The original height of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | The URL where the product image is hosted and accessible. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | The original total (before discounts) for this line item in the customer's presentment currency, expressed as a decimal money value. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the original total amount. | |
| OriginalTotalSetShopMoneyAmount | Decimal | The original total (before discounts) for this line item in the shop's base currency, expressed as a decimal money value. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the shop's base currency of the original total amount. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | The original per-unit price (before discounts) in the customer's presentment currency, expressed as a decimal money value. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the original unit price. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | The original per-unit price (before discounts) in the shop's base currency, expressed as a decimal money value. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the shop's base currency of the original unit price. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | The total discount amount applied to this line item in the customer's presentment currency, expressed as a decimal money value. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the total discount amount. | |
| TotalDiscountSetShopMoneyAmount | Decimal | The total discount amount applied to this line item in the shop's base currency, expressed as a decimal money value. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the shop's base currency of the total discount amount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | The discounted total for unfulfilled quantities in the customer's presentment currency, expressed as a decimal money value. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the unfulfilled discounted total. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | The discounted total for unfulfilled quantities in the shop's base currency, expressed as a decimal money value. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the shop's base currency of the unfulfilled discounted total. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | The original total for unfulfilled quantities in the customer's presentment currency, expressed as a decimal money value. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code for the presentment currency of the unfulfilled original total. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | The original total for unfulfilled quantities in the shop's base currency, expressed as a decimal money value. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | The ISO 4217 currency code for the shop's base currency of the unfulfilled original total. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| AppliedDiscountValueAmount | Decimal | The value of the discount applied to this exchange line item, represented as a fixed monetary amount. | |
| AppliedDiscountValueAmountCurrencyCode | String | The ISO 4217 currency code representing the currency of the fixed discount amount. | |
| AppliedDiscountValuePercentage | Double | The value of the discount applied to this exchange line item, represented as a percentage. | |
| AppliedDiscountDescription | String | A description of the discount applied to the exchange line item, such as a promotion or return adjustment. | |
| GiftCardCodes | String | A list of gift card codes associated with physical gift cards included in the return or exchange. |
Displays the line items included in a return request, including refund amounts and restock eligibility.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnLineItems WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the return line item record. | |
| ReturnId [KEY] | String |
Returns.Id | The globally unique identifier of the return associated with this line item. |
| Quantity | Int | The number of units of the product being returned as part of this return record. | |
| CustomerNote | String | An optional message from the customer describing the reason or context for the return. Limited to 300 characters. | |
| RefundableQuantity | Int | The total number of units that are still eligible to be refunded for this return line item. | |
| RefundedQuantity | Int | The number of units that have already been refunded for this return line item. | |
| ReturnReason | String | The primary reason provided for the return, such as 'damaged', 'wrong size', or 'defective'. | |
| ReturnReasonNote | String | Additional merchant or customer notes elaborating on the reason for the return. Limited to 255 characters. | |
| TotalWeightUnit | String | The unit of measurement used for the total returned item weight, such as 'grams' or 'kilograms'. | |
| TotalWeightValue | Double | The numeric weight value of the returned items, measured using the specified unit system. | |
| WithCodeDiscountedTotalPriceSetPresentmentMoneyAmount | Decimal | The total discounted price of the returned item, including discount codes, in the customer's presentment currency, expressed as a decimal money value. | |
| WithCodeDiscountedTotalPriceSetPresentmentMoneyCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the discounted total price. | |
| WithCodeDiscountedTotalPriceSetShopMoneyAmount | Decimal | The total discounted price of the returned item, including discount codes, in the shop's base currency, expressed as a decimal money value. | |
| WithCodeDiscountedTotalPriceSetShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the discounted total price. | |
| FulfillmentLineItemId | String | The globally unique identifier of the fulfillment line item associated with the return. |
Shows return line items pending verification, often awaiting condition or receipt confirmation.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnLineItemsUnverified WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the unverified return line item record. | |
| ReturnId [KEY] | String |
Returns.Id | The globally unique identifier of the return associated with this unverified item. |
| CustomerNote | String | An optional note provided by the customer describing the item being returned. Limited to 300 characters. | |
| Quantity | Int | The number of units being returned for this unverified line item. | |
| RefundableQuantity | Int | The number of units eligible to be refunded once the return is verified. | |
| RefundedQuantity | Int | The number of units that have already been refunded for this unverified return line item. | |
| ReturnReason | String | The stated reason for returning the item, such as 'damaged', 'incorrect item', or 'not as described'. | |
| ReturnReasonNote | String | Additional comments elaborating on the reason for return. Limited to 255 characters. | |
| UnitPriceAmount | Decimal | The per-unit price of the item in monetary format, expressed as a decimal value. | |
| UnitPriceCurrencyCode | String | The ISO 4217 currency code representing the currency of the item's unit price. |
Tracks packages sent from buyers back to merchants as part of reverse fulfillment operations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE Id = 'Val1'
SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE ReverseFulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the reverse fulfillment delivery record. | |
| ReverseFulfillmentOrderId | String | The globally unique identifier of the reverse fulfillment order associated with this delivery. | |
| DeliverableLabelPublicFileUrl | String | A public URL that provides access to download the return shipping label image associated with the reverse delivery. | |
| DeliverableLabelUpdatedAt | Datetime | The date and time when the return shipping label was last updated in the system. | |
| DeliverableLabelCreatedAt | Datetime | The date and time when the return shipping label was originally generated for the reverse delivery. | |
| DeliverableTrackingCarrierName | String | The name of the carrier or courier providing tracking services for the reverse shipment, formatted for display purposes. | |
| DeliverableTrackingNumber | String | The tracking number assigned by the carrier to identify and track the return shipment. | |
| DeliverableTrackingUrl | String | The direct tracking URL provided by the carrier to view shipment status and progress online. |
Lists individual items included in reverse deliveries, such as returns or exchanges.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReverseFulfillmentOrderDeliveryLineItems WHERE ReverseFulfillmentOrderDeliveryId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the reverse fulfillment delivery line item record. | |
| ReverseFulfillmentOrderDeliveryId | String | The globally unique identifier of the reverse fulfillment delivery associated with this line item. | |
| ReverseFulfillmentOrderLineItemId | String | The globally unique identifier of the specific item within the reverse fulfillment order being processed for return or exchange. | |
| Dispositions | String | The disposition status or outcome assigned to the returned item, such as 'restocked', 'damaged', 'disposed', or 'resellable'. | |
| Quantity | Int | The expected quantity of units included in this reverse fulfillment delivery line item. |
Shows detailed item data tied to reverse fulfillment orders, including quantities and statuses.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReverseFulfillmentOrderLineItems WHERE ReverseFulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the reverse fulfillment order line item record. | |
| ReverseFulfillmentOrderId | String | The globally unique identifier of the reverse fulfillment order associated with this line item. | |
| FulfillmentLineItemId | String | The globally unique identifier of the original fulfillment line item being returned or processed. | |
| Dispositions | String | Indicates the assigned outcome or status for the returned item, such as 'restocked', 'damaged', 'disposed', or 'resellable'. | |
| TotalQuantity | Int | The total quantity of units from this line item included in the reverse fulfillment process. |
Lists fulfillment orders representing inbound return shipments processed by fulfillment services.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReverseFulfillmentOrders WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the reverse fulfillment order record. | |
| ReturnId | String |
Returns.Id | The globally unique identifier of the return associated with this reverse fulfillment order. |
| Status | String | Indicates the current state of the reverse fulfillment order, such as 'pending', 'in_transit', 'received', or 'completed'. | |
| ThirdPartyConfirmationStatus | String | Specifies the confirmation status provided by an external or third-party fulfillment service for the reverse fulfillment order, such as 'confirmed', 'awaiting_confirmation', or 'failed'. |
Displays parameters used in defining event-based segment filters, such as field names and conditions.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM SegmentFilterParameters
| Name | Type | References | Description |
| SegmentFilterQueryName [KEY] | String | The name of the filter query that this parameter belongs to, used to identify the filter within a segment definition. | |
| QueryName [KEY] | String | The unique name of the parameter used in the query to define or refine customer segments. | |
| ParameterType | String | Specifies the data type of the parameter, such as 'string', 'integer', or 'date', which determines how the filter value is interpreted. | |
| Optional | Bool | Indicates whether the parameter is optional when applying the segment filter. If true, the filter can be executed without this parameter. | |
| AcceptsMultipleValues | Bool | Indicates whether the parameter supports multiple values, allowing filtering on lists or ranges instead of a single input. | |
| LocalizedName | String | The localized, user-friendly display name of the parameter, translated into the appropriate store language. | |
| LocalizedDescription | String | A localized explanation of the parameter's purpose and usage, shown in the merchant's language within the admin interface. |
Lists available filters applied to customer or event segments.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM SegmentFilters
| Name | Type | References | Description |
| QueryName [KEY] | String | The unique identifier of the filter used in customer segment queries to define or narrow the target audience. | |
| MultiValue | Bool | Indicates whether the filter supports multiple values for a single customer, allowing broader or more flexible matching criteria. | |
| LocalizedName | String | The localized, user-friendly display name of the filter, shown in the merchant's selected language within the admin interface. | |
| ReturnValueType | String | Specifies the data type returned by the filter when applied to an event or customer segment, such as 'string', 'boolean', or 'numeric'. |
Lists selling plans associated with a selling plan group, including frequency and pricing options.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM SellingPlanGroupSellingPlans WHERE SellingPlanGroupId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the selling plan. | |
| SellingPlanGroupId | String | The globally unique identifier of the selling plan group this plan belongs to. | |
| Name | String | The customer-facing name of the selling plan, displayed during checkout or product selection. Avoid including currency-specific text, as the content is not automatically converted for multi-currency stores. | |
| Category | String | The classification of the selling plan, used internally or for reporting, such as subscription or pre-order plans.
The allowed values are OTHER, PRE_ORDER, SUBSCRIPTION, TRY_BEFORE_YOU_BUY. | |
| Description | String | A buyer-facing description that outlines the commitment or conditions of the selling plan, such as frequency or duration. | |
| Options | String | Lists all option values available within the selling plan. Plans are grouped in Liquid templates when they share the same name, originating app, and option structure. | |
| Position | Int | Determines the display order of the selling plan within its group; lower numbers appear first. | |
| CreatedAt | Datetime | The date and time when the selling plan was created. | |
| InventoryPolicyReserve | String | Defines when inventory is reserved for an order within the plan lifecycle, such as at checkout or fulfillment.
The allowed values are ON_FULFILLMENT, ON_SALE. | |
| FixedBillingPolicyCheckoutChargeType | String | Specifies the type of charge applied during checkout, such as a fixed amount or percentage-based charge.
The allowed values are PERCENTAGE, PRICE. | |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The fixed amount charged at checkout. Decimal money amount. | |
| FixedBillingPolicyCheckoutChargeValueCurrencyCode | String | The currency code of the fixed amount charged at checkout. | |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The percentage-based charge applied during checkout, relative to the total price. | |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The precise date and time when the remaining balance should be captured for the selling plan. | |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The duration between checkout and when the remaining balance is captured, represented in ISO8601 duration format. | |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | Specifies when the remaining balance should be captured, such as after checkout or on a specific event.
The allowed values are EXACT_TIME, NO_REMAINING_BALANCE, TIME_AFTER_CHECKOUT. | |
| RecurringBillingPolicyAnchors | String | Anchor dates that determine the recurrence points for billing cycles, represented as an aggregate value. | |
| RecurringBillingPolicyCreatedAt | Datetime | The date and time when the recurring billing policy for this selling plan was created. | |
| RecurringBillingPolicyInterval | String | Defines the frequency of billing.
The allowed values are DAY, MONTH, WEEK, YEAR. | |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billing cycles, defining how often customers are billed. | |
| RecurringBillingPolicyMaxCycles | Int | The maximum number of billing cycles for the selling plan, after which billing stops automatically. | |
| RecurringBillingPolicyMinCycles | Int | The minimum number of billing cycles a customer must complete before cancellation is allowed. | |
| FixedDeliveryPolicyAnchors | String | Anchor dates used to calculate delivery intervals under a fixed delivery schedule. Aggregate value. | |
| FixedDeliveryPolicyCutoff | Int | A cutoff window defining how many days before the next anchor an order must be placed to qualify for the upcoming fulfillment cycle. | |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The specific date and time when fulfillment for the order should be triggered. | |
| FixedDeliveryPolicyFulfillmentTrigger | String | Defines what event triggers the fulfillment.
The allowed values are ANCHOR, ASAP, EXACT_TIME, UNKNOWN. | |
| FixedDeliveryPolicyIntent | String | Indicates whether the delivery policy is merchant-centric or buyer-centric. Merchant-centric defines when fulfillment begins; buyer-centric defines when the customer receives the order. | |
| FixedDeliveryPolicyPreAnchorBehavior | String | Specifies how the first fulfillment behaves if the order is placed before the anchor date. Default behavior is ASAP.
The allowed values are ASAP, NEXT. | |
| RecurringDeliveryPolicyAnchors | String | Anchor dates used to calculate recurring delivery intervals. Aggregate value. | |
| RecurringDeliveryPolicyCreatedAt | Datetime | The date and time when the recurring delivery policy was created. | |
| RecurringDeliveryPolicyCutoff | Int | The number of days before the next anchor that determines whether an order qualifies for that delivery cycle. | |
| RecurringDeliveryPolicyIntent | String | Indicates whether the recurring delivery policy focuses on buyer delivery timing or merchant fulfillment timing. Currently, only merchant-centric delivery is supported.
The allowed values are FULFILLMENT_BEGIN. | |
| RecurringDeliveryPolicyInterval | String | Specifies the delivery frequency, such as day, week, month, or year. | |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between consecutive deliveries in the recurring delivery schedule. | |
| RecurringDeliveryPolicyPreAnchorBehavior | String | Specifies how the first delivery behaves if the order is placed before the anchor date. Default behavior is ASAP.
The allowed values are ASAP, NEXT. | |
| FixedPricingPolicies | String | Lists fixed pricing policies associated with this selling plan, defining static pricing terms. Aggregate value. | |
| RecurringPricingPolicies | String | Lists recurring pricing policies associated with this selling plan, defining ongoing or repeating pricing adjustments. Aggregate value. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Metafields | String | Contains additional metadata attached to the selling plan, allowing apps or merchants to store custom structured information. |
Displays overall shop metadata, such as store name, plan type, contact info, and settings.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Shop
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the shop. | |
| Name | String | The display name of the shop as defined by the merchant. | |
| OwnerName | String | The name of the shop owner registered with Shopify. | |
| RichTextEditorUrl | String | The URL for the rich text editor used to edit content, optimized for mobile compatibility. | |
| Description | String | The shop's meta description, displayed in search engine results for SEO visibility. | |
| String | The shop owner's private contact email address used by Shopify for administrative communication. | ||
| Url | String | The main URL of the shop's online storefront. | |
| ContactEmail | String | The public-facing customer contact email used for general inquiries or support. | |
| CurrencyCode | String | The three-letter ISO currency code representing the shop's default selling currency (for example, USD or CAD). | |
| CustomerAccounts | String | Specifies whether customer accounts are required, optional, or disabled in the store settings. | |
| IanaTimezone | String | The shop's time zone, formatted according to the IANA standard (for example, America/New_York). | |
| MyshopifyDomain | String | The default '.myshopify.com' domain assigned to the shop by Shopify. | |
| PublicationsCount | Int | The total number of active publications available for the shop. | |
| PublicationsCountPrecision | String | Indicates whether the publications count value is exact or estimated. | |
| SetupRequired | Bool | Indicates whether the shop has pending setup or configuration steps to complete. | |
| TaxShipping | Bool | Specifies whether shipping charges are taxable for the shop's orders. | |
| TaxesIncluded | Bool | Indicates whether product prices displayed in the shop include applicable taxes. | |
| TimezoneAbbreviation | String | A short abbreviation for the shop's local time zone (for example, EST or PST). | |
| TimezoneOffset | String | The shop's time zone offset relative to UTC, expressed as a string (for example, -05:00). | |
| UnitSystem | String | Specifies whether the shop uses the metric or imperial system for measurements. | |
| WeightUnit | String | The unit of weight used for product listings and shipping calculations (for example, g or lb). | |
| CheckoutApiSupported | Bool | Indicates whether the shop supports checkout operations via the Checkout API. | |
| EnabledPresentmentCurrencies | String | A list of enabled currencies for displaying localized prices in different regions. | |
| ShipsToCountries | String | A list of countries where the shop can fulfill and ship orders. | |
| TimezoneOffsetMinutes | Int | The shop's UTC offset value expressed in minutes. | |
| TransactionalSmsDisabled | Bool | Indicates whether Shopify transactional SMS notifications are disabled for this shop. | |
| OrderNumberFormatPrefix | String | A custom prefix applied to all order numbers, useful for branding or identification. | |
| OrderNumberFormatSuffix | String | A custom suffix applied to all order numbers, useful for internal tracking or formatting. | |
| BillingAddressId | String | The unique identifier for the shop's billing address record. | |
| BillingAddressCoordinatesValidated | Bool | Indicates whether the latitude and longitude coordinates of the billing address are verified. | |
| BillingAddressAddress1 | String | The first line of the shop's billing address, typically the street address or PO Box. | |
| BillingAddressAddress2 | String | The second line of the shop's billing address, often an apartment, suite, or unit number. | |
| BillingAddressCity | String | The city, district, or town associated with the billing address. | |
| BillingAddressCompany | String | The company or organization name associated with the billing address. | |
| BillingAddressCountry | String | The full country name of the billing address. | |
| BillingAddressLatitude | Double | The latitude coordinate for the billing address. | |
| BillingAddressLongitude | Double | The longitude coordinate for the billing address. | |
| BillingAddressPhone | String | The phone number associated with the billing address, formatted in E.164 standard (for example, +16135551111). | |
| BillingAddressProvince | String | The province, state, or region associated with the billing address. | |
| BillingAddressZip | String | The postal or ZIP code of the billing address. | |
| BillingAddressFormattedArea | String | A comma-separated list combining city, province, and country for display formatting. | |
| BillingAddressProvinceCode | String | The two-letter code representing the province or state (for example, ON). | |
| BillingAddressCountryCodeV2 | String | The two-letter ISO code for the billing country (for example, US). | |
| CountriesInShippingZonesCountryCodes | String | A list of all country codes included across all shipping zones configured for the shop. | |
| CountriesInShippingZonesIncludeRestOfWorld | Bool | Indicates whether a 'Rest of World' zone has been defined in shipping settings. | |
| CurrencyFormatsMoneyFormat | String | HTML display format for money values without a currency symbol. | |
| CurrencyFormatsMoneyInEmailsFormat | String | Email display format for money values without a currency symbol. | |
| CurrencyFormatsMoneyWithCurrencyFormat | String | HTML display format for money values with the currency symbol included. | |
| CurrencyFormatsMoneyWithCurrencyInEmailsFormat | String | Email display format for money values with the currency symbol included. | |
| FeaturesInternationalPriceOverrides | Bool | Indicates whether international price overrides can be configured for products. | |
| FeaturesStorefront | Bool | Specifies whether the shop has an active online storefront. | |
| FeaturesGiftCards | Bool | Indicates whether the shop can issue and manage gift cards. | |
| FeaturesSellsSubscriptions | Bool | Indicates whether the shop currently sells products through subscription plans. | |
| FeaturesEligibleForSubscriptions | Bool | Indicates whether the shop's configuration supports subscription product sales. | |
| FeaturesInternationalPriceRules | Bool | Specifies whether international pricing rules are available for use in this shop. | |
| FeaturesEligibleForSubscriptionMigration | Bool | Indicates whether the shop can migrate to Shopify's subscription management framework. | |
| FeaturesLegacySubscriptionGatewayEnabled | Bool | Specifies whether an older legacy gateway is active for processing subscription payments. | |
| FeaturesPaypalExpressSubscriptionGatewayStatus | String | Describes the configuration status of PayPal Express for handling subscriptions. | |
| PendingOrdersCount | Int | The total number of pending orders awaiting fulfillment or processing. | |
| PendingOrdersPrecision | String | Indicates the accuracy level of the pending order count. | |
| PaymentSettingsSupportedDigitalWallets | String | Lists supported digital wallet options for customer checkout (for example, Apple Pay, Google Pay). | |
| PlanDisplayName | String | The display name of the shop's current billing or subscription plan. | |
| PlanPartnerDevelopment | Bool | Indicates whether the shop is a development store used for testing under a partner account. | |
| PlanShopifyPlus | Bool | Indicates whether the shop is subscribed to the Shopify Plus enterprise plan. | |
| PrimaryDomainId | String | A globally unique identifier for the shop's primary domain. | |
| PrimaryDomainHost | String | The host name portion of the primary domain (for example, example.com). | |
| PrimaryDomainUrl | String | The full HTTPS URL for the shop's primary domain (for example, https://example.com). | |
| PrimaryDomainSslEnabled | Bool | Indicates whether SSL is enabled and active on the primary domain. | |
| PrimaryDomainLocalizationCountry | String | The ISO country code assigned to the primary domain (for example, CA or * for 'Rest of World'). | |
| PrimaryDomainLocalizationAlternateLocales | String | A list of alternate locale ISO codes associated with the domain (for example, ['en']). | |
| PrimaryDomainLocalizationDefaultLocale | String | The default locale code (for example, 'en') used for the shop's main domain. | |
| PrimaryDomainMarketWebPresenceId | String | The unique identifier for the web presence configuration associated with the primary domain. | |
| PrimaryDomainMarketWebPresenceAlternateLocales | String | A list of alternate locale ISO codes that define language-specific subfolders under the primary domain. | |
| PrimaryDomainMarketWebPresenceDefaultLocale | String | The locale ISO code used as the default for the web presence. | |
| PrimaryDomainMarketWebPresenceDefaultLocaleMarketWebPresencesId | String | The unique identifier linking the default locale to its market web presence configuration. | |
| PrimaryDomainMarketWebPresenceDefaultLocaleName | String | The human-readable name of the default locale (for example, English). | |
| PrimaryDomainMarketWebPresenceDefaultLocalePrimary | Bool | Indicates whether this locale is the primary one for the shop's online store. | |
| PrimaryDomainMarketWebPresenceDefaultLocalePublished | Bool | Indicates whether the default locale is published and visible to customers. | |
| PrimaryDomainMarketWebPresenceSubfolderSuffix | String | The suffix used for language-specific subfolders under the market domain (for example, 'us' in '/en-us'). | |
| ResourceLimitsLocationLimit | Int | The maximum number of physical locations allowed for the shop. | |
| ResourceLimitsMaxProductOptions | Int | The maximum number of product options that can be defined per product. | |
| ResourceLimitsMaxProductVariants | Int | The maximum number of product variants allowed per product. | |
| ResourceLimitsRedirectLimitReached | Bool | Indicates whether the shop has reached the maximum limit of URL redirects allowed by Shopify. |
Shows Shopify Payments account information, including account ID, currency, and payout configuration.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccount
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the Shopify Payments account. | |
| Activated | Bool | Indicates whether Shopify Payments setup has been completed and the account is active for processing transactions. | |
| Country | String | The country in which the Shopify Payments account is registered and operates. | |
| Onboardable | Bool | Indicates whether the shop is eligible to complete onboarding for Shopify Payments. | |
| DefaultCurrency | String | The default payout currency used for transactions and deposits to the merchant's connected bank account. | |
| PayoutStatementDescriptor | String | The text descriptor that appears on the merchant's bank statement when a payout is deposited, used to identify Shopify Payments transfers. | |
| PayoutScheduleInterval | String | Defines how frequently Shopify issues payouts to the merchant's bank account, such as daily, weekly, or monthly. | |
| PayoutScheduleMonthlyAnchor | Int | Specifies the day of the month when payouts are sent for monthly payout schedules. For example, '15' sends payouts on the 15th of each month. If the chosen day doesn't exist in a given month, the payout occurs on the last day. | |
| PayoutScheduleWeeklyAnchor | String | Specifies the day of the week when payouts are sent for weekly payout schedules. Accepted values are Monday through Friday. |
Lists current balances in each supported currency for a Shopify Payments account.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalance
| Name | Type | References | Description |
| ShopifyPaymentsAccountId | String | The globally unique identifier of the Shopify Payments account associated with this balance record. | |
| Amount | Decimal | The total amount of funds currently held in the Shopify Payments account balance, expressed as a decimal value. | |
| CurrencyCode [KEY] | String | The three-letter ISO currency code representing the currency of the account balance (for example, USD or GBP). |
Links payout balance transaction adjustments back to the originating orders for reconciliation.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders WHERE ShopifyPaymentsAccountBalanceTransactionId = 'Val1'
| Name | Type | References | Description |
| Link [KEY] | String | The direct link to the order associated with the balance adjustment, allowing reference to the originating transaction in Shopify. | |
| Name | String | The name or identifier of the order that caused the balance adjustment, typically matching the Shopify order number. | |
| Amount | Decimal | The monetary value of the adjustment applied to the order, represented as a decimal amount. | |
| AmountCurrencyCode | String | The three-letter ISO currency code corresponding to the currency of the adjustment amount (for example, USD or EUR). | |
| ShopifyPaymentsAccountBalanceTransactionId [KEY] | String | The globally unique identifier linking this adjustment record to the corresponding Shopify Payments balance transaction. |
Displays all balance transactions for a Shopify Payments account, including payouts and adjustments.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalanceTransactions
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the Shopify Payments balance transaction. | |
| ShopifyPaymentsAccountId | String | The globally unique identifier of the Shopify Payments account associated with this balance transaction. | |
| NetAmount | Decimal | The total net amount that contributes to the merchant's balance after accounting for fees and adjustments, expressed as a decimal value. | |
| NetCurrencyCode | String | The three-letter ISO currency code representing the currency of the net amount (for example, USD or GBP). | |
| TransactionDate | Datetime | The date and time when the balance transaction was processed by Shopify Payments. | |
| SourceId | String | The identifier of the originating resource that triggered the balance transaction, such as an order, payout, or adjustment. | |
| SourceType | String | The type of resource or event that initiated the balance transaction, such as 'Order', 'Payout', or 'FeeAdjustment'. | |
| SourceOrderTransactionId | String | The unique identifier of the order transaction that resulted in this balance transaction, if applicable. | |
| AdjustmentReason | String | The explanation or reason for an adjustment related to this transaction. If the transaction is not an adjustment, the value is null. | |
| Type | String | The classification of the balance transaction, such as 'charge', 'refund', 'fee', or 'payout'. | |
| Test | Bool | Indicates whether this transaction occurred in test mode rather than live payment processing. | |
| Amount | Decimal | The total amount of the transaction before any fees or adjustments, expressed as a decimal value. | |
| AmountCurrencyCode | String | The three-letter ISO currency code representing the transaction's currency (for example, EUR or AUD). | |
| FeeAmount | Decimal | The total amount of fees deducted from the transaction, expressed as a decimal value. | |
| FeeCurrencyCode | String | The three-letter ISO currency code representing the currency in which fees were charged. | |
| AssociatedOrderId | String | The unique identifier of the order associated with this balance transaction. | |
| AssociatedOrderName | String | The name or order number of the associated Shopify order linked to the transaction. | |
| AssociatedPayoutId | String | The unique identifier of the payout linked to this transaction, if applicable. | |
| AssociatedPayoutStatus | String | The current status of the payout associated with the transaction, such as 'scheduled', 'in_transit', or 'paid'. |
Lists connected bank accounts used for Shopify Payments deposits and withdrawals.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBankAccounts
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the Shopify Payments bank account record. | |
| ShopifyPaymentsAccountId | String | The globally unique identifier of the Shopify Payments account linked to this bank account. | |
| BankName | String | The official name of the financial institution where the merchant's payouts are deposited. | |
| Country | String | The country where the bank account is registered and operates. | |
| Currency | String | The three-letter ISO currency code representing the currency in which payouts are made to this bank account. | |
| Status | String | The current status of the bank account, such as 'active', 'pending_verification', or 'disabled'. | |
| AccountNumberLastDigits | String | The last few digits of the merchant's bank account number, displayed for reference while the rest remains securely redacted. | |
| CreatedAt | Datetime | The date and time when the bank account was added or linked to the Shopify Payments account. |
Displays dispute records tied to a Shopify Payments account, including resolution outcomes and evidence links.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Id = 'Val1'
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Status = 'Val1'
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE InitiatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the dispute record within Shopify Payments. | |
| LegacyResourceId | String | The identifier corresponding to the same dispute resource in the REST Admin API for backward compatibility. | |
| ShopifyPaymentsAccountId | String | The globally unique identifier of the Shopify Payments account associated with the dispute. | |
| EvidenceDueBy | Date | The deadline date by which all supporting evidence must be submitted to contest the dispute. | |
| EvidenceSentOn | Date | The date when evidence was submitted to the payment network. Returns null if no evidence has been sent yet. | |
| Status | String | The current state of the dispute, such as 'needs_response', 'under_review', 'won', or 'lost'. | |
| Type | String | Indicates whether the dispute is in the initial inquiry stage or has escalated to a formal chargeback. | |
| FinalizedOn | Date | The date when the dispute was officially closed or resolved. Returns null if the case is still pending. | |
| InitiatedAt | Datetime | The timestamp indicating when the dispute was first opened by the cardholder or issuing bank. | |
| AmountAmount | Decimal | The total disputed amount, represented as a decimal money value. | |
| AmountCurrencyCode | String | The three-letter ISO currency code corresponding to the disputed transaction amount (for example, USD or GBP). | |
| OrderId | String | The globally unique identifier of the Shopify order linked to the disputed transaction. | |
| ReasonDetailsReason | String | The explanation or reason provided by the cardholder's bank for the dispute, such as 'fraudulent' or 'product_not_received'. | |
| ReasonDetailsNetworkReasonCode | String | The network-specific code provided by the payment processor or card network representing the dispute reason. |
Lists all payouts issued from Shopify Payments to linked bank accounts, with dates and statuses.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ShopifyPaymentsAccountPayouts WHERE TransactionType = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the payout record within Shopify Payments. | |
| LegacyResourceId | String | The identifier of the corresponding payout record in the REST Admin API for backward compatibility. | |
| ShopifyPaymentsAccountId | String | The globally unique identifier of the Shopify Payments account associated with this payout. | |
| Status | String | The current transfer status of the payout, such as 'scheduled', 'in_transit', or 'paid'. | |
| IssuedAt | Datetime | The exact date and time when the payout was issued. Only balance transactions available at this time are included in the payout. | |
| TransactionType | String | Indicates the direction of the payout, such as 'credit' (to the merchant) or 'debit' (withdrawal or reversal). | |
| BusinessEntityId | String | The identifier of the business entity associated with this payout record, used for tax and reporting purposes. | |
| BankAccountId | String | The globally unique identifier of the bank account where the payout funds were sent. | |
| NetAmount | Decimal | The total net payout amount after all fees and adjustments, expressed as a decimal value. | |
| NetCurrencyCode | String | The three-letter ISO currency code representing the currency of the payout (for example, USD or EUR). | |
| SummaryAdjustmentsFeeAmount | Decimal | The total adjustment-related fee deducted from the payout, expressed as a decimal money amount. | |
| SummaryAdjustmentsFeeCurrencyCode | String | The currency of the adjustment-related fee using a three-letter ISO code. | |
| SummaryAdjustmentsGrossAmount | Decimal | The total gross adjustment amount before any deductions, expressed as a decimal money value. | |
| SummaryAdjustmentsGrossCurrencyCode | String | The currency of the gross adjustment amount using a three-letter ISO code. | |
| SummaryChargesFeeAmount | Decimal | The total amount of transaction fees deducted for sales charges within this payout. | |
| SummaryChargesFeeCurrencyCode | String | The three-letter ISO currency code for the transaction fees deducted. | |
| SummaryChargesGrossAmount | Decimal | The total gross sales charge amount before any deductions, represented as a decimal money value. | |
| SummaryChargesGrossCurrencyCode | String | The three-letter ISO currency code for the gross charge amount. | |
| SummaryRefundsFeeAmount | Decimal | The total fees deducted from refunds processed within this payout. | |
| SummaryRefundsFeeCurrencyCode | String | The three-letter ISO currency code for refund-related fees. | |
| SummaryRefundsFeeGrossAmount | Decimal | The total gross refund amount before deductions, expressed as a decimal money value. | |
| SummaryRefundsFeeGrossCurrencyCode | String | The three-letter ISO currency code for gross refund amounts. | |
| SummaryReservedFundsFeeAmount | Decimal | The total amount of reserved funds fees deducted from the payout. | |
| SummaryReservedFundsFeeCurrencyCode | String | The currency of the reserved funds fee using a three-letter ISO code. | |
| SummaryReservedFundsGrossAmount | Decimal | The total gross amount of reserved funds held, before any deductions. | |
| SummaryReservedFundsGrossCurrencyCode | String | The currency of the gross reserved funds amount using a three-letter ISO code. | |
| SummaryRetriedPayoutsFeeAmount | Decimal | The total fees deducted from retried payouts included in this payout batch. | |
| SummaryRetriedPayoutsFeeCurrencyCode | String | The currency of the retried payouts fee using a three-letter ISO code. | |
| SummaryRetriedPayoutsGrossAmount | Decimal | The total gross amount for retried payouts, expressed as a decimal value. | |
| SummaryRetriedPayoutsGrossCurrencyCode | String | The currency of the gross retried payout amount using a three-letter ISO code. | |
| SummaryAdvanceFeesAmount | Decimal | The total amount of advance-related fees deducted from the payout, represented as a precise decimal money value (for example, 12.99). | |
| SummaryAdvanceFeesCurrencyCode | String | The three-letter ISO 4217 currency code representing the currency of advance-related fees (for example, USD). | |
| SummaryAdvanceGrossAmount | Decimal | The total gross value of advance-related payouts before any deductions, represented as a precise decimal money value (for example, 12.99). | |
| SummaryAdvanceGrossCurrencyCode | String | The three-letter ISO 4217 currency code representing the currency of advance-related gross payout amounts (for example, USD). |
Lists staff accounts with access to the shop, including roles and permissions. Available only for Shopify Plus stores.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM StaffMembers
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the staff member within the Shopify store. | |
| ShopId | String |
Shop.Id | The globally unique identifier of the shop to which the staff member belongs. |
| Name | String | The full name of the staff member, combining first and last names as displayed in the admin interface. | |
| FirstName | String | The given (first) name of the staff member. | |
| LastName | String | The family (last) name of the staff member. | |
| Active | Bool | Indicates whether the staff member's account is currently active and able to access the store's admin. | |
| String | The email address associated with the staff member's Shopify account, used for login and notifications. | ||
| Exists | Bool | Indicates whether the staff account currently exists in Shopify. False may indicate that the account has been deleted or deactivated. | |
| Initials | String | The abbreviated initials of the staff member's name, typically displayed in admin dashboards or avatars. | |
| Locale | String | The staff member's preferred language and region setting, formatted as 'language' or 'language-COUNTRY' (for example, 'en' or 'en-US'). | |
| Phone | String | The staff member's contact phone number, used for internal communication or security verification. | |
| IsShopOwner | Bool | Indicates whether this staff member is the owner of the shop, granting full administrative privileges. | |
| AccountType | String | Specifies the type of staff account, such as 'standard', 'collaborator', or 'partner'. | |
| PrivateDataAccountSettingsUrl | String | The direct URL to the staff member's account settings page in the Shopify admin, used for profile and security management. | |
| PrivateDataCreatedAt | Datetime | The date and time when the staff member's account was created in the system. |
Displays debit reversal transactions created when a debit entry is voided or corrected.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the debit revert transaction record. | |
| Amount | Decimal | The monetary value of the debit amount being reversed, represented as a decimal money value. | |
| AmountCurrencyCode | String | The three-letter ISO currency code representing the currency of the reversal amount (for example, USD or EUR). | |
| DebitTransactionId | String | The unique identifier of the original debit transaction that this reversal offsets or cancels. | |
| BalanceAfterTransactionAmount | Decimal | The customer's store credit balance immediately following the reversal, expressed as a decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | The three-letter ISO currency code corresponding to the balance currency after the reversal is applied. | |
| CreatedAt | Datetime | The date and time when the debit reversal transaction was created and recorded in the system. | |
| CustomerStoreCreditAccountId | String | The globally unique identifier of the customer's store credit account associated with this reversal transaction. |
Lists store credit expiration events when unused balances expire after a set duration.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM StoreCreditAccountExpirationTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
| Name | Type | References | Description |
| Amount | Decimal | The monetary value of store credit that has expired and is no longer available for use. Decimal money amount. | |
| AmountCurrencyCode | String | The three-letter ISO currency code representing the currency of the expired credit amount (for example, USD or EUR). | |
| CreditTransactionId | String | The globally unique identifier of the original credit transaction that has now expired. | |
| BalanceAfterTransactionAmount | Decimal | The remaining store credit balance after the expiration was processed, expressed as a decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | The three-letter ISO currency code corresponding to the balance remaining after the expiration transaction. | |
| CreatedAt | Datetime | The date and time when the expiration transaction was created and recorded in the system. | |
| CustomerStoreCreditAccountId | String | The globally unique identifier of the customer's store credit account associated with this expiration transaction. |
Lists payment tender transactions processed in the shop, including amounts, payment methods, and timestamps.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM TenderTransactions WHERE Id = 'Val1'
SELECT * FROM TenderTransactions WHERE Test = true
SELECT * FROM TenderTransactions WHERE ProcessedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the tender transaction record. | |
| Test | Bool | Indicates whether the transaction was created in test mode rather than live mode. | |
| PaymentMethod | String | Specifies the payment method used to complete the transaction, such as credit card or cash. | |
| ProcessedAt | Datetime | The date and time when the transaction was processed by the payment system. | |
| RemoteReference | String | The reference identifier returned by the remote payment gateway for this transaction. | |
| AmountAmount | Decimal | The total amount of the transaction in decimal monetary format. | |
| AmountCurrencyCode | String | The three-letter ISO currency code representing the currency of the transaction. | |
| TenderTransactionCreditCardDetailsCreditCardCompany | String | The name of the credit card company that issued the customer's card, for example 'Visa' or 'Mastercard'. | |
| TenderTransactionCreditCardDetailsCreditCardNumber | String | The masked credit card number used for the payment, displaying only the last four digits (for example, '**** **** **** 1234'). | |
| UserId | String | A globally unique identifier for the staff member associated with the transaction. (Available only to Shopify Plus merchants.) | |
| OrderId | String | A globally unique identifier for the order associated with the transaction. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| AcceptCancellationRequest | Approves and processes a cancellation request for a fulfillment order, notifying the related fulfillment service. |
| AcceptFulfillmentRequest | Approves a fulfillment request and instructs the assigned fulfillment service to begin order processing. |
| ApproveComment | Marks a pending blog comment as approved, making it visible on the storefront. |
| CollectionReorder | Reorders products within a specific collection based on the provided order of product IDs. |
| CompanyContactRemoveFromCompany | Removes a contact from a company record, revoking associated company-level permissions. |
| CreateFile | Uploads or registers a file asset in Shopify using an external URL or a staged upload reference. |
| EnableStandardMetafieldDefinition | Activates a standard metafield definition from a predefined template for consistent data structuring. |
| FulfillmentOrderMerge | Merges multiple fulfillment orders into a single order based on specified line item and quantity inputs. |
| FulfillmentOrderSplit | Splits an existing fulfillment order into separate orders according to specified line items and quantities. |
| InventoryAdjustQuantities | Applies relative adjustments to inventory quantities at one or more locations. |
| InventoryBulkToggleActivation | Activates or deactivates inventory items across multiple locations, determining where they can be stocked or sold. |
| InventoryMoveQuantities | Moves available inventory quantities between inventory states or bins within the same location. |
| InventorySetQuantities | Sets absolute inventory quantities for specific items, overwriting existing values. |
| InventorySetScheduledChanges | Schedules future changes to inventory levels, allowing time-based stock updates. |
| MarkCommentNotSpam | Marks a comment as legitimate by removing its spam designation. |
| MarkCommentSpam | Flags a comment as spam, preventing it from appearing on the storefront. |
| OrderCancel | Cancels an order, reversing associated fulfillments and triggering applicable refunds. |
| PublishTheme | Publishes a selected theme as the active storefront theme. |
| RejectCancellationRequest | Rejects a cancellation request for a fulfillment order, instructing the fulfillment service to proceed with shipping. |
| RejectFulfillmentRequest | Rejects a pending fulfillment request sent to the fulfillment service, optionally including a rejection message. |
| SendCancellationRequest | Submits a cancellation request for a fulfillment order to its corresponding fulfillment service. |
| SendFulfillmentRequest | Sends a fulfillment initiation request to the designated fulfillment service. |
| TransactionVoid | Voids an uncaptured authorization transaction before settlement. |
| UpdateFile | Updates metadata or attributes of an existing uploaded file asset within Shopify. |
Approves and processes a cancellation request for a fulfillment order, notifying the related fulfillment service.
| Name | Type | Description |
| Id | String | The unique identifier of the fulfillment order for which the cancellation request is being accepted. |
| Message | String | An optional message provided with the request, typically used to record context or a note about the cancellation. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the cancellation request was successfully processed. |
| Details | String | Provides additional information or diagnostic details about the outcome of the cancellation operation. |
| FulfillmentOrderID | String | The unique identifier of the fulfillment order affected by the cancellation request. |
| RequestStatus | String | The final status of the stored procedure execution, reflecting whether the request was accepted, rejected, or encountered an error. |
Approves a fulfillment request and instructs the assigned fulfillment service to begin order processing.
| Name | Type | Description |
| Id | String | The unique identifier of the fulfillment order that is being accepted for processing. |
| Message | String | An optional message included with the fulfillment acceptance, often used for notes or confirmation context. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the fulfillment acceptance operation completed successfully. |
| Details | String | Additional contextual information or diagnostic details about how the fulfillment request was processed. |
| FulfillmentOrderID | String | The unique identifier of the fulfillment order that was successfully accepted or processed. |
| RequestStatus | String | The resulting status of the stored procedure, showing whether the fulfillment request was accepted, declined, or encountered an error. |
Marks a pending blog comment as approved, making it visible on the storefront.
| Name | Type | Description |
| Id | String | The unique identifier of the comment that is being approved. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the comment approval process completed successfully. |
| Details | String | Provides additional information or diagnostic feedback about how the comment approval operation was executed. |
| Id | String | The unique identifier of the comment record that was processed by the stored procedure. |
| Status | String | The resulting status of the comment after the approval request, such as approved, rejected, or unchanged. |
Reorders products within a specific collection based on the provided order of product IDs.
| Name | Type | Description |
| CollectionID | String | The unique identifier of the collection whose product order is being updated. |
| ProductIDs | String | A comma-separated list of product IDs representing the products to be reordered within the collection. |
| NewPositions | String | A comma-separated list of the new display positions corresponding to the provided product IDs. |
| WaitJob | String | Specifies whether the stored procedure should wait until the reordering job is fully completed before returning a result.
The default value is true. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the product reordering operation completed successfully. |
| Details | String | Additional information or diagnostic output about how the reordering operation was processed. |
| JobID | String | The unique identifier assigned to the background job handling the product reordering. |
| Status | String | The current status of the reordering job, such as pending, running, or completed. |
Removes a contact from a company record, revoking associated company-level permissions.
| Name | Type | Description |
| CompanyContactId | String | The ID of the company contact to remove from the Company. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| RemovedCompanyContactId | String | The ID of the removed company contact. |
Uploads or registers a file asset in Shopify using an external URL or a staged upload reference.
| Name | Type | Description |
| OriginalSource | String | The external or staged upload URL for the file. For images, this can be a direct external URL; for other file types, a staged upload URL is required. |
| FileName | String | Specifies the desired filename for the created file. If not provided, the filename from the original source will be used automatically. |
| Description | String | An optional text description or alternative text used to describe the file's contents for accessibility and SEO purposes. |
| ContentType | String | The MIME type of the file, such as 'image/png' or 'application/pdf'. If not provided, Shopify will attempt to detect the content type automatically during upload. |
| DuplicateResolutionMode | String | Defines how Shopify should handle file creation if another file with the same name already exists.
The allowed values are APPEND_UUID, RAISE_ERROR, REPLACE. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the file creation operation completed successfully. |
| Details | String | Provides additional diagnostic information or context about the file creation process. |
| Id | String | The unique identifier assigned to the newly created file record. |
| Status | String | The current status of the file after processing, such as 'UPLOADED', 'PROCESSING', or 'FAILED'. |
Activates a standard metafield definition from a predefined template for consistent data structuring.
| Name | Type | Description |
| Id | String | The unique identifier of the standard metafield definition template to activate within the store. |
| Namespace | String | The namespace grouping for the standard metafield being enabled. Combined with Key to form a unique metafield identifier. |
| Key | String | The specific key that identifies the metafield within its namespace. Combined with Namespace to determine the exact metafield to enable. |
| OwnerType | String | Specifies which Shopify resource type (such as product, collection, or order) the metafield definition applies to. |
| UseAsCollectionCondition | Boolean | Indicates whether this metafield definition can be used as a filter condition when building automated collections. |
| Pin | Boolean | Determines whether the metafield definition should be pinned for easy access in the admin interface. |
| AccessAdmin | String | Defines the level of visibility and access to the metafields under this definition in the Shopify Admin API. |
| AccessCustomerAccount | String | Defines how metafields under this definition can be accessed through the Customer Account API. |
| AccessStorefront | String | Specifies whether and how metafields under this definition can be accessed via the Storefront API. |
| Name | Type | Description |
| Success | Boolean | Returns true if the standard metafield definition was successfully enabled, otherwise false. |
| Details | String | Provides additional diagnostic or informational details about the execution of the enable operation. |
| Id | String | A globally unique identifier assigned to the enabled standard metafield definition. |
Merges multiple fulfillment orders into a single order based on specified line item and quantity inputs.
| Name | Type | Description |
| MergeIntents | String | A structured collection (table or JSON/XML array) containing the fulfillment orders and their associated line items to merge. Each entry includes fulfillmentOrderId, fulfillmentOrderLineItemId, and fulfillmentOrderLineItemQuantity to define which orders and quantities are being combined. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the merge operation completed successfully. |
| Details | String | Provides additional information or diagnostic details about how the merge operation was executed. |
| FulfillmentOrderId | String | The unique identifier of the newly created fulfillment order that results from merging the specified fulfillment orders. |
Splits an existing fulfillment order into separate orders according to specified line items and quantities.
| Name | Type | Description |
| FulfillmentOrderId | String | The unique identifier of the fulfillment order to be split into multiple fulfillment orders. |
| FulfillmentOrderLineItemIDs | String | A comma-separated list of identifiers for the FulfillmentOrderLineItems to be separated from the original fulfillment order. |
| FulfillmentOrderLineItemQuantities | String | A comma-separated list of quantities corresponding to each line item being split from the original fulfillment order. The list order must align with FulfillmentOrderLineItemIDs. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the fulfillment order split operation completed successfully. |
| Details | String | Provides additional context, diagnostic messages, or error information about how the split operation was executed. |
| FulfillmentOrderId | String | The identifier of the original fulfillment order after the split operation. |
| RemainingFulfillmentOrderId | String | The identifier of the remaining fulfillment order that retains the unaltered or untransferred items after the split. |
| ReplacementFulfillmentOrderId | String | The identifier of a newly created fulfillment order that replaces the original one when it could not be directly split due to its current state. |
Applies relative adjustments to inventory quantities at one or more locations.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| InventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| Delta | Int | The amount by which the inventory quantity will be changed. |
| Name | Type | Description |
| Name | String | The name identifying the inventory quantity or item being adjusted.
The allowed values are available, damaged, quality_control, reserved, safety_stock. |
| Reason | String | The explanation or justification for performing the inventory adjustment, such as correction, damage, or reconciliation.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A reference URI linking to the document or record that initiated the inventory adjustment, such as an order or return. |
| InventoryAdjustChanges | String | A structured list of quantity changes to apply across specific items and locations. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the inventory adjustment completed successfully without errors. |
| Details | String | Provides additional information or messages describing the outcome of the adjustment operation. |
| Id | String | The unique identifier assigned to the group of inventory changes processed in this operation. |
Activates or deactivates inventory items across multiple locations, determining where they can be stocked or sold.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| Activate | Bool | Whether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location. |
| LocationId | String | The ID of the location to modify the inventory item's stocked status. |
| Name | Type | Description |
| InventoryItemId | String | The unique identifier of the inventory item whose activation status will be updated across one or more locations. |
| InventoryItemUpdates | String | A collection of location and activation status pairs specifying where the inventory item should be activated or deactivated. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the bulk activation or deactivation process completed successfully. |
| Details | String | Provides additional information or messages describing the results of the activation update operation. |
| InventoryItemId | String | The unique identifier of the inventory item that was processed during the activation update. |
| InventoryLevelIds | String | A list of inventory level identifiers that were activated or deactivated as part of the operation. |
Moves available inventory quantities between inventory states or bins within the same location.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| Quantity | Int | The amount by which the inventory quantity will be changed. |
| FromName | String | The quantity name to be moved. |
| FromInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| FromLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| ToName | String | The quantity name to be moved. |
| ToInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| ToLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| Name | Type | Description |
| Reason | String | The explanation or purpose for moving inventory quantities, such as correction or restock.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A reference URI linking to the document or transaction that initiated the inventory movement, such as an order or adjustment record. |
| InventoryMoveChanges | String | A structured list describing the specific quantity movements for items across source and destination locations. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the inventory movement operation completed successfully without errors. |
| Details | String | Provides additional information or messages summarizing the outcome of the inventory movement process. |
| Id | String | The unique identifier assigned to the group of inventory changes created by this movement operation. |
Sets absolute inventory quantities for specific items, overwriting existing values.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the quantity will be set. |
| InventoryLevelLocationId | String | Specifies the location at which the quantity will be set. |
| CompareQuantity | Int | The current quantity to be compared against the persisted quantity. |
| Quantity | Int | The quantity to which the inventory quantity will be set. |
| Name | Type | Description |
| Name | String | The name of the inventory quantity being modified.
The allowed values are available, on_hand. |
| Reason | String | The explanation for why the quantity is being changed, such as correction or restock.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A URI reference indicating the source or context of the inventory change. This may represent an app, a staff action, or a related Shopify resource such as an order or adjustment document. |
| IgnoreCompareQuantity | Boolean | Indicates whether to skip the comparison check between the current and target quantities before applying the update. |
| InventorySetChanges | String | A structured list of inventory quantities and the new values to which each should be set. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the quantity update operation completed successfully. |
| Details | String | Provides additional information or messages about the execution of the operation. |
| Id | String | The unique identifier of the inventory adjustment group created by this operation. |
Schedules future changes to inventory levels, allowing time-based stock updates.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| InventoryLevelLocationId | String | The ID of the location. |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| InventorySetScheduledItemChanges (references InventorySetScheduledItemChanges) | String | An array of all the scheduled changes for the item. |
| Column Name | Type | Description |
| FromName | String | The quantity name to transition from. |
| ToName | String | The quantity name to transition to. |
| ExpectedAt | Datetime | The date and time that the scheduled change is expected to happen. |
| Name | Type | Description |
| Reason | String | The explanation or justification for creating the scheduled inventory changes, such as planned restocking.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A reference URI linking to the document, transaction, or process that triggered the scheduled inventory updates. |
| InventorySetScheduledItems | String | A detailed list of inventory items for which scheduled quantity changes will be created or modified. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation to create or update scheduled changes completed successfully. |
| Details | String | Provides additional information or context about the execution of the scheduled change operation, including errors or warnings if applicable. |
| ScheduledChanges | String | A collection of the scheduled inventory changes that were successfully created or updated during the operation. |
Marks a comment as legitimate by removing its spam designation.
| Name | Type | Description |
| Id | String | The unique identifier of the comment to be marked as not spam. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation to mark the comment as not spam completed successfully. |
| Details | String | Provides additional information or messages about the outcome of the operation. |
| Id | String | The unique identifier of the comment that was updated by the operation. |
| Status | String | The updated moderation status of the comment after being marked as not spam. |
Flags a comment as spam, preventing it from appearing on the storefront.
| Name | Type | Description |
| Id | String | The unique identifier of the comment to be marked as spam. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation to flag the comment as spam completed successfully. |
| Details | String | Provides additional context or messages describing the result of the spam-marking operation. |
| Id | String | The unique identifier of the comment that was updated by the operation. |
| Status | String | The updated moderation status of the comment after being marked as spam. |
Cancels an order, reversing associated fulfillments and triggering applicable refunds.
| Name | Type | Description |
| NotifyCustomer | Bool | Indicates whether a notification should be sent to the customer informing them of the order cancellation. |
| OrderId | String | The unique identifier of the order to be canceled. |
| Reason | String | The explanation or justification for canceling the order.
The allowed values are CUSTOMER, DECLINED, FRAUD, INVENTORY, OTHER, STAFF. |
| Refund | Bool | Specifies whether the customer should be refunded for payments made toward the canceled order. |
| Restock | Bool | Indicates whether items from the canceled order should be returned to available inventory. |
| StaffNote | String | An internal note visible only to staff members, providing context or remarks about the cancellation. |
| WaitJob | Bool | Determines whether the stored procedure should wait until the cancellation job is fully completed before returning results.
The default value is true. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the order cancellation process completed successfully without errors. |
| Details | String | Provides additional information or messages describing the outcome of the cancellation operation. |
| JobID | String | A unique identifier assigned to the background job handling the order cancellation process. |
| Status | String | The current status of the background job, such as pending, completed, or failed. |
Publishes a selected theme as the active storefront theme.
| Name | Type | Description |
| Id | String | The unique identifier of the theme to be published to the store. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the theme publishing operation completed successfully. |
| Details | String | Provides additional information or status details about the outcome of the theme publishing process. |
| Id | String | The globally unique identifier of the published theme returned upon successful completion of the operation. |
Rejects a cancellation request for a fulfillment order, instructing the fulfillment service to proceed with shipping.
| Name | Type | Description |
| Id | String | The unique identifier of the fulfillment order tied to the cancellation request being rejected. |
| Message | String | An optional message providing context or justification for rejecting the fulfillment cancellation request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the rejection operation completed successfully without errors. |
| Details | String | Additional details returned by Shopify describing the outcome of the cancellation rejection process. |
| FulfillmentOrderID | String | The globally unique identifier of the fulfillment order associated with the rejected cancellation request. |
| RequestStatus | String | The final status of the stored procedure after execution, such as 'completed', 'failed', or 'pending'. |
Rejects a pending fulfillment request sent to the fulfillment service, optionally including a rejection message.
| Name | Type | Description |
| Id | String | The unique identifier of the fulfillment order associated with the fulfillment request being rejected. |
| Message | String | An optional message providing context or an explanation for rejecting the fulfillment request. |
| Reason | String | Specifies the reason for rejection, such as an incorrect address or an item being out of stock.
The allowed values are INCORRECT_ADDRESS, INELIGIBLE_PRODUCT, INVENTORY_OUT_OF_STOCK, OTHER, UNDELIVERABLE_DESTINATION. |
| LineItems | String | An optional array of line item rejection details. If not provided, all line items are assumed to be unfulfillable. Example: [{fulfillmentOrderLineItemId: 'xxx', message: 'xx'}]. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the fulfillment rejection operation completed successfully. |
| Details | String | Additional information or diagnostic details describing the outcome of the fulfillment rejection process. |
| FulfillmentOrderID | String | The globally unique identifier of the fulfillment order associated with the rejected fulfillment request. |
| RequestStatus | String | The final status of the stored procedure after execution, such as 'completed', 'failed', or 'pending'. |
Submits a cancellation request for a fulfillment order to its corresponding fulfillment service.
| Name | Type | Description |
| Id | String | The unique identifier of the fulfillment order for which the cancellation request is being submitted. |
| Message | String | An optional note or message that provides additional context or reasoning for the cancellation request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the cancellation request operation completed successfully. |
| Details | String | Provides supplemental details or diagnostic information about the outcome of the cancellation request. |
| FulfillmentOrderID | String | The globally unique identifier of the fulfillment order affected by the cancellation request. |
| RequestStatus | String | The current status of the stored procedure execution, showing whether the request was accepted, rejected, or encountered an error. |
Sends a fulfillment initiation request to the designated fulfillment service.
| Name | Type | Description |
| Id | String | The unique identifier of the fulfillment order for which the fulfillment request is being created. |
| Message | String | An optional note that provides additional details or context for the fulfillment request, visible to fulfillment service providers. |
| NotifyCustomer | String | Indicates whether the customer should automatically receive a notification when fulfillments are created for this order. |
| FulfillmentOrderLineItems | String | A JSON-formatted list of fulfillment order line items included in the request. If omitted, all line items in the fulfillment order are included. Example: [{id: 'xxx', quantity: 1}]. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the fulfillment request operation completed successfully. |
| Details | String | Additional information describing the outcome or status details of the fulfillment request execution. |
| FulfillmentOrderID | String | The globally unique identifier of the fulfillment order associated with this fulfillment request. |
| RequestStatus | String | The execution status of the stored procedure, showing whether the request was accepted, rejected, or encountered an error. |
Voids an uncaptured authorization transaction before settlement.
| Name | Type | Description |
| ParentTransactionId | String | The ID of the authorization transaction to be voided before capture. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the void operation completed successfully. |
| Details | String | Additional information or context about the execution of the void operation. |
| TransactionId | String | The unique identifier of the newly created void transaction. |
Updates metadata or attributes of an existing uploaded file asset within Shopify.
| Name | Type | Description |
| Id | String | The unique ID of the file that will be updated. |
| FileName | String | The full name of the file, including its extension (for example, 'product_image.png'). |
| Description | String | An alternate text description of the file, often used for accessibility or SEO purposes. |
| OriginalSource | String | The source to use for updating a media image or generic file. Accepts an external URL (for images only) or a staged upload URL. |
| PreviewImageSource | String | The source for updating the media preview image. Can be an external or staged upload URL. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the update operation completed successfully. |
| Details | String | Additional details or diagnostic information about the execution of the update operation. |
| Id | String | The globally unique ID of the updated file. |
| Status | String | The current processing or availability status of the file after the update. |
The CData Cloud models entities in the Shopify API as an easy-to-use SQL database, using tables, views, and stored procedures. These are defined in schema files, which are simple, easy-to-read text files that define the structure and organization of data.
Note: Shopify typically releases new API versions quarterly. If a stable API version is no longer supported, Shopify automatically defaults to the oldest supported stable version to respond to your API request. For more information on Shopify's API versioning, click this link.
See REST Data Model for the available entities in the REST API.
See GRAPHQL Data Model for the available entities in the GraphQL API.
The CData Cloud models the Shopify API as relational tables, views, and stored procedures.
To use the REST Data Model, simply set Schema to REST.
Note: As of October 1, 2024, Shopify has designated the REST API as legacy.
The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.
Common tables include:
| Table | Description |
| Shop | Contains general settings and information about the shop. |
| Customers | Create, update, delete, and query customers. |
| CustomerAddresses | Create, update, delete, and query customer addresses. |
| Orders | Create, update, delete, and query orders. |
| OrdersItems | Query order items. |
| OrderTransactions | Create, update, delete, and query transactions. |
| Refunds | Create, update, delete, and query refunds. |
| RefundsItems | Get data on OrdersItems that have been refunded. |
| Redirects | Create, update, delete, and query redirects. |
| Collects | Query, insert, or delete information regarding different collects. |
| DiscountCodes | Create, select, update, and delete information regarding discount codes. |
| PriceRules | Create, update, delete, and query price rules. |
| DraftOrders | Create, update, delete, and query draft orders. |
| DraftOrderItems | Query draft order items. |
| Fulfillments | Create, update, and query fulfillments. |
| FulfillmentOrders | Query fulfillment orders. |
| FulfillmentEvents | Create, delete, and query information regarding fulfillment events. |
| Locations | Retrieve information regarding store locations. |
| TaxItems | Query order taxes. |
| Users | Query Users. |
Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing order cancellations and fulfillments, sending invoices, and handling authentication flows.
The Cloud models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.
| Name | Description |
| ApplicationCharges | Create or view Application Charges for Billing. |
| ApplicationCredit | Create or view Application Credit for Billing. |
| Articles | Create, read, update or delete articles |
| Assets | Create, read, update or delete assets. CUD support is no longer accessible for public apps. |
| Blogs | Create, read, update or delete blogs |
| CarrierServices | Returns a list of resource feedback objects.. |
| CollectionListings | Query and delete information regarding different collects. |
| Collects | Query, insert, or delete information regarding different collects. |
| Comments | Create, read, update and delete the comments. |
| CustomCollections | Query, insert, update, or delete information regarding different custom collections. |
| CustomerAddresses | Create, update, delete, and query customer addresses. |
| Customers | Create, update, delete, and query customers. |
| DiscountCodes | Create, select, update, and delete information regarding discount codes. |
| DraftOrders | Create, update, delete, and query draft orders. |
| FulfillmentEvents | Create, delete, and query information regarding fulfillment events. |
| Fulfillments | Create, update, and query fulfillments. |
| FulfillmentServices | Query, create, update, and delete information regarding different fulfillment services. |
| GiftCards | Create, update, delete, and query gift cards. |
| MarketingEvents | Create, update, delete, and query marketing events. |
| Metafields | Retrieves a list of metafields that belong to a resource. |
| Orders | Create, update, delete, and query orders. |
| OrderTransactions | Create and query transactions. |
| Pages | Create, read, update or delete pages |
| PriceRules | Create, update, delete, and query price rules. |
| RecurringApplicationCharges | Create, update, delete, and query Recurring Application Charges. |
| Redirects | Create, read, update or delete redirects. |
| Refunds | Create and query refunds. |
| ResourceFeedbacks | Returns a list of resource feedback objects.. |
| ScriptTags | Create, read, update or delete script tags. |
| SmartCollections | Query, insert, update, or delete information regarding different smart collections. |
| Themes | Create, read, update or delete themes |
| UsageCharges | Create or view Usage Charges for Recurring Application Charges. |
Create or view Application Charges for Billing.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The Unique Identifier of the Application Charge | |
| Name | String | False |
The Order Number | |
| ApiClientId | Long | True |
The API Client ID | |
| Price | Decimal | False |
The price of the application charge | |
| Status | String | True |
The status of the application charge. Valid Values are: pending, active, declined, expired | |
| ReturnUrl | String | False |
The URL where the merchant is redirected after accepting a charge. | |
| Test | String | False |
Whether the application charge is a test transaction. Valid values:true,null | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the application charge was created. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the application charge was last updated. | |
| ChargeType | String | True |
The type of the application charge | |
| DecoratedReturnUrl | String | True |
The decorated return url |
Create or view Application Credit for Billing.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the application credit. | |
| Amount | Decimal | False |
The amount refunded by the application credit. | |
| Description | String | False |
The description of the application credit. | |
| Test | String | False |
Whether the application credit is a test transaction. Valid values: true,null |
Create, read, update or delete articles
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the article. | |
| BlogId [KEY] | Long | False |
Blogs.Id |
The ID of the blog containing the article. |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Author | String | False |
The name of the author of the article. | |
| BodyHtml | String | False |
The text of the body of the article, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the article was created. | |
| Handle | String | False |
A human-friendly unique string for the article that's automatically generated from the article's title. The handle is used in the article's URL. | |
| ImageAlt | String | False |
Alternative text that describes the image. | |
| ImageCreatedAt | Datetime | True |
The date and time when image is created. | |
| ImageHeight | Int | False |
Height of the image. | |
| ImageSrc | String | False |
A source URL that specifies the location of the image. | |
| ImageWidth | Int | False |
Width of the image. | |
| ImageAttachment | String | False |
An image attached to article returned as Base64-encoded binary data. | |
| PublishedAt | Datetime | False |
The date and time (ISO 8601 format) when the article was published. | |
| SummaryHtml | String | False |
A summary of the article, complete with HTML markup. | |
| Tags | String | False |
Tags are additional short descriptors formatted as a string of comma-separated values. | |
| TemplateSuffix | String | False |
The name of the template an article is using if it's using an alternate template. If an article is using the default article.liquid template, then the value returned is null. | |
| Title | String | False |
The title of the article. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the article was last updated. | |
| UserId | Long | True |
A unique numeric identifier for the author of the article. | |
| PublishedStatus | String | False |
Filter articles by their publish status. The allowed values are published, unpublished, any. |
Create, read, update or delete assets. CUD support is no longer accessible for public apps.
| Name | Type | ReadOnly | References | Description |
| Key [KEY] | String | False |
The path to the asset within a theme. | |
| ThemeId [KEY] | Long | True |
Themes.Id |
The ID for the theme that an asset belongs to. |
| Attachment | String | False |
A base64-encoded image. | |
| Checksum | String | True |
The MD5 representation of the content, consisting of a string of 32 hexadecimal digits. May be null if an asset has not been updated recently. | |
| ContentType | String | True |
The MIME representation of the content, consisting of the type and subtype of the asset. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the asset was created. | |
| PublicUrl | String | True |
The public-facing URL of the asset. | |
| Size | Int | True |
The asset size in bytes. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when an asset was last updated. | |
| Value | String | False |
The text content of the asset, such as the HTML and Liquid markup of a template file. |
Create, read, update or delete blogs
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the blog. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Commentable | String | False |
Indicates whether readers can post comments to the blog and if comments are moderated or not. The allowed values are no, yes, moderate. | |
| CreatedAt | Datetime | True |
The date and time when the blog was created. | |
| Feedburner | String | False |
Feedburner is a web feed management provider and can be enabled to provide custom RSS feeds for Shopify bloggers. This property will default to blank or null unless feedburner is enabled through the shop admin. | |
| FeedburnerLocation | String | False |
URL to the feedburner location for blogs that have enabled feedburner through their store admin. This property will default to blank or null unless feedburner is enabled through the shop admin. | |
| Handle | String | False |
A human-friendly unique string for a blog automatically generated from its title. | |
| Metafields | String | False |
Attaches additional metadata to a store's resources. | |
| Tags | String | False |
Tags are additional short descriptors formatted as a string of comma-separated values. | |
| TemplateSuffix | String | False |
States the name of the template a blog is using if it is using an alternate template. If a blog is using the default blog.liquid template, the value returned is null. | |
| Title | String | False |
The title of the blog. | |
| UpdatedAt | Datetime | True |
The date and time when changes were last made to the blog's properties. |
Returns a list of resource feedback objects..
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the carrier service. | |
| Active | Bool | False |
Whether this carrier service is active. If true, then the service will be available to serve rates in checkout. | |
| Name | String | False |
The name of the shipping service as seen by merchants and their customers. | |
| CallbackUrl | String | False |
The URL endpoint that Shopify needs to retrieve shipping rates. This must be a public URL. | |
| Type | String | False |
Distinguishes between API or legacy carrier services. | |
| Format | String | False |
The format of the data returned by the URL endpoint. json is the only valid value. | |
| ServiceDiscovery | String | False |
Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples. | |
| AdminGraphqlApiId | String | False |
The GraphQL GID for this carrier service. |
Query and delete information regarding different collects.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The Id of the collection this listing belongs to. | |
| Title | String | True |
The titke of the collection listing. | |
| BodyHtml | String | True |
The HTML body/description for this listing. | |
| DefaultProductImage | String | True |
The default product image in this listing. | |
| ImageCreatedAt | String | True |
The date and time the image for this listing was created at. | |
| ImageSource | String | True |
The source/link of the image for this listing. | |
| Handle | String | True |
The handle of this listing. | |
| UpdatedAt | Datetime | True |
The date and time when the collection listing was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the collection listing was created. |
Query, insert, or delete information regarding different collects.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the collect. | |
| CollectionId | Long | False |
The Id of the collection this collection is linked with. | |
| ProductId | Long | False |
The Id of the product this collection is linked with. | |
| Position | Int | True |
The position of this product in a manually sorted custom collection. The first position is 1. This value is applied only when the custom collection is sorted manually. | |
| SortValue | String | True |
This is the same value as position but padded with leading zeroes to make it alphanumeric-sortable. | |
| CreatedAt | Datetime | True |
The date and time when the collect was created. | |
| UpdatedAt | Datetime | True |
The date and time when the collect was last modified. |
Create, read, update and delete the comments.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the comment. | |
| BlogId | Long | False |
Blogs.Id |
A unique numeric identifier for the blog containing the article that the comment belongs to. |
| ArticleId | Long | False |
Articles.Id |
A unique numeric identifier for the article that the comment belongs to. |
| Author | String | False |
The name of the author of the comment. | |
| Body | String | False |
The basic Textile markup of a comment. | |
| BodyHtml | String | False |
The text of the comment, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the comment was created. | |
| String | False |
The email address of the author of the comment. | ||
| Ip | String | False |
The IP address from which the comment was posted. | |
| PublishedAt | String | False |
The date and time (ISO 8601 format) when the comment was published. | |
| Status | String | True |
The status of the comment. The allowed values are pending, approved, unapproved, spam, published, removed. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the comment was last modified. | |
| UserAgent | String | False |
The user agent string provided by the software used to create the comment. | |
| PublishedStatus | String | False |
Filter comments by their publish status. The allowed values are published, unpublished, any. |
Query, insert, update, or delete information regarding different custom collections.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the custom collection. | |
| Title | String | False |
The title of the custom collection. | |
| BodyHtml | String | False |
The body/description of the custom collection. | |
| Image | String | False |
A JSON aggregate with information regarding the image of custom collection. | |
| Metafields | String | False |
Attaches additional metadata to a shop's resources: key: An identifier for the metafield. (maximum: 30 characters), namespace: A container for a set of metadata. Namespaces help distinguish between metadata created by different apps. (maximum: 20 characters), value: Information to be stored as metadata, value_type: The information type being stored. Valid values: string or integer, description (optional): Additional information about the metafield . | |
| Handle | String | False |
A human-friendly unique string for the custom collection automatically generated from its title. | |
| SortOrder | String | False |
The order in which products in the custom collection appear. | |
| TemplateSuffix | String | False |
The suffix of the liquid template being used. | |
| PublishedScope | String | False |
The sales channels in which the custom collection is visible. | |
| UpdatedAt | Datetime | True |
The date and time when the custom collection was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the custom collection was published to the Online Store channel. | |
| ProductId | String | False |
Show custom collections that include a given product. | |
| PublishedStatus | String | False |
Show custom collection with a given published status: published: show only published custom collections, unpublished: show only unpublished custom collections, any: show custom collections of any published status. (default: any). The allowed values are published, unpublished, any. |
Create, update, delete, and query customer addresses.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the address. | |
| CustomerId [KEY] | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| CustomerUpdatedAt | Datetime | True |
The date and time when the customer information was last updated. | |
| Name | String | False |
The customer's name. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| Company | String | False |
The customer's company. | |
| Address1 | String | False |
The customer's mailing address. | |
| Address2 | String | False |
An additional field for the customer's mailing address. | |
| City | String | False |
The customer's city. | |
| Province | String | False |
The customer's province or state name. | |
| Country | String | False |
The customer's country. | |
| Zip | String | False |
The customer's zip or postal code. | |
| Phone | String | False |
The customer's phone number for this mailing address. | |
| ProvinceCode | String | False |
The two-letter pcode for the customer's province or state. | |
| CountryCode | String | False |
The two-letter country code corresponding to the customer's country. | |
| CountryName | String | False |
The customer's normalized country name. | |
| Default | Bool | True |
Indicates whether this address is the default address for the customer. |
Create, update, delete, and query customers.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the customer. | |
| LastOrderId | Long | True |
Orders.Id |
The id of the customer's last order. |
| LastOrderName | String | True |
The name of the customer's last order. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| String | False |
The unique email address of the customer. | ||
| Phone | String | False |
The unique phone number for this customer. | |
| TaxExempt | Bool | False |
Indicates whether the customer should be charged taxes when placing orders. | |
| TotalSpent | Decimal | True |
The total amount of money that the customer has spent at the shop. | |
| OrdersCount | Int | True |
The number of orders associated with this customer. | |
| MultipassIdentifier | String | True |
The customer's identifier used with Multipass login. | |
| Note | String | False |
A note about the customer. | |
| EmailMarketingState | String | False |
The current email marketing state for the customer. | |
| EmailMarketingLevel | String | False |
The marketing subscription opt-in level. | |
| EmailMarketingUpdatedAt | Datetime | False |
The date and time when the customer consented to receive marketing material by email. | |
| State | String | True |
The state of the customer's account in a shop. | |
| Tags | String | False |
The tags for this customer. Separate with comma for multiple tags. | |
| VerifiedEmail | Bool | True |
States whether or not the email address has been verified. | |
| CreatedAt | Datetime | True |
The date and time when the customer was created. | |
| UpdatedAt | Datetime | True |
The date and time when the customer information was updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Password | String |
Password of the customer. |
| PasswordConfirmation | String |
Password confirmation of the customer. |
| SendEmailWelcome | Bool |
Whether to send a welcome email to the customer or not. |
| SendEmailInvite | Bool |
Whether to send an invite email to the customer or not. |
Create, select, update, and delete information regarding discount codes.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the discount code. | |
| PriceRuleId [KEY] | Long | False |
PriceRules.Id |
The Id for the price rule that this discount code belongs to. |
| Code | String | False |
The case-insensitive discount code that customers use at checkout. | |
| UsageCount | Int | True |
The number of times that the discount code has been redeemed. | |
| CreatedAt | Datetime | True |
The date and time when the discount code was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount code was last modified. |
Create, update, delete, and query draft orders.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the order. | |
| CustomerId | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| String | False |
The customer's email address. | ||
| Name | String | True |
The customer's order name as represented by a number. | |
| TotalPrice | Decimal | True |
The sum of all the prices of all the items in the order, taxes and discounts included. | |
| SubtotalPrice | Decimal | True |
Price of the order before shipping and taxes. | |
| TotalTax | Decimal | False |
The sum of all the taxes applied to the order. | |
| TaxesIncluded | Bool | False |
States whether or not taxes are included in the order subtotal. | |
| InvoiceSentAt | Datetime | True |
This auto-generated property is the date and time when the invoice was emailed to the customer. Only available for draft orders. | |
| Note | String | False |
The text of an optional note that a shop owner can attach to the order. | |
| Tags | String | False |
Additional short descriptors. | |
| InvoiceUrl | String | True |
The URL for the invoice. Only available for draft orders. | |
| TaxExempt | Bool | True |
States whether or not taxes are exempt for this order. Only available for draft orders. | |
| Status | String | True |
The status of the order. Valid values are: open (all open orders), invoice_sent (only closed orders), and completed (cancelled orders). Defaults to 'open'. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the draft order. | |
| BillingAddressFirstName | String | False |
The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | False |
The last name of the person associated with the payment method. | |
| BillingAddressAddress1 | String | False |
The street address of the billing address. | |
| BillingAddressAddress2 | String | False |
An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | False |
The phone number at the billing address. | |
| BillingAddressCity | String | False |
The city of the billing address. | |
| BillingAddressCompany | String | False |
The company of the person associated with the billing address. | |
| BillingAddressZip | String | False |
The zip or postal code of the billing address. | |
| BillingAddressProvince | String | False |
The name of the state or province of the billing address. | |
| BillingAddressCountry | String | False |
The name of the country of the billing address. | |
| BillingAddressLatitude | Double | False |
The latitude of the billing address. | |
| BillingAddressLongitude | Double | False |
The longitude of the billing address. | |
| BillingAddressName | String | False |
The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | False |
The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | False |
The first name of the person associated with the shipping method. | |
| ShippingAddressLastName | String | False |
The last name of the person associated with the shipping method. | |
| ShippingAddressAddress1 | String | False |
The street address of the shipping address. | |
| ShippingAddressAddress2 | String | False |
An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | False |
The phone number at the shipping address. | |
| ShippingAddressCity | String | False |
The city of the shipping address. | |
| ShippingAddressCompany | String | False |
The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | False |
The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | False |
The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | False |
The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | False |
The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | False |
The longitude of the shipping address. | |
| ShippingAddressName | String | False |
The full name of the person associated with the shipping method. | |
| ShippingAddressCountryCode | String | False |
The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| AppliedDiscountTitle | String | False |
The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | False |
The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | False |
The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | False |
The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | False |
The amount of the applied discount for this order. Only available for draft orders. | |
| CreatedAt | Datetime | True |
The date and time when the order was created. | |
| UpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| CompletedAt | Datetime | True |
The date and time when the order was completed at. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| UseCustomerDefaultAddress | Bool |
Optional boolean that you can send as part of a draft order object to load customer shipping information. Valid values: true or false. |
Create, delete, and query information regarding fulfillment events.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A numeric unique identifier for the fulfillment event. | |
| OrderId [KEY] | Long | False |
Orders.Id |
The id of the order the fulfillment event belongs to. |
| FulfillmentId [KEY] | Long | False |
Fulfillments.Id |
A numeric unique identifier for the fulfillment to which the fulfillment event belongs. |
| ShopId | Long | True |
Shop.Id |
A numeric unique identifier for the shop to which the fulfillment event belongs. |
| Status | String | False |
The status of the fulfillment event. Valid values are: confirmed, in_transit, out_for_delivery, delivered, failure. | |
| EstimatedDeliveryAt | Datetime | False |
The status of the fulfillment event. Valid values are: confirmed, in_transit, out_for_delivery, delivered, failure. | |
| Message | String | False |
An arbitrary message describing the status. Can be provided by a shipping carrier. | |
| City | String | False |
The city in which the fulfillment event occurred. | |
| Province | String | False |
The province in which the fulfillment event occurred. | |
| Zip | String | False |
The zip code in the location in which the fulfillment event occurred. | |
| Country | String | False |
The country in which the fulfillment event occurred. | |
| Address1 | String | False |
The fulfillment event's street address. | |
| Latitude | Double | False |
Geographic coordinate specifying the north/south location of a fulfillment event. | |
| Longitude | Double | False |
Geographic coordinate specifying the east/west location of a fulfillment event. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment event was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment event was updated. | |
| HappenedAt | Datetime | True |
The date and time when the fulfillment event occurred. |
Create, update, and query fulfillments.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the fulfillment. | |
| OrderId | Long | False |
Orders.Id |
A unique numeric identifier for the order. |
| LocationId [KEY] | Long | False |
A unique numeric identifier for the Location. | |
| NotifyCustomer | Bool | False |
A flag indicating whether the customer should be notified | |
| Status | String | False |
The status of the fulfillment. | |
| Receipt | String | True |
Provides information about the receipt of this fulfillment. | |
| TrackingCompany | String | False |
The name of the tracking company. | |
| TrackingNumbers | String | False |
A list of comma-separated tracking numbers, provided by the shipping company. | |
| TrackingUrls | String | False |
The sum of all the prices of all the items in the fulfillment. | |
| VariantInventoryManagement | String | True |
States the name of the inventory management service. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment was last modified. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the fulfillment. | |
| OrderUpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| OrderCreatedAt | Datetime | True |
The date and time when the order was last created. | |
| FulfillmentOrderId | Long | False |
The ID of the fulfillment order that is associated with the fulfillments. |
Query, create, update, and delete information regarding different fulfillment services.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the fulfillment service. | |
| LocationId | Long | True |
Locations.Id |
The unique identifier of the location tied to the fulfillment service. |
| ProviderId | String | True |
A unique identifier for the fulfillment service provider. | |
| Name | String | False |
The name of the fulfillment service as seen by merchants and their customers. | |
| Handle | String | True |
A human-friendly unique string for the fulfillment service generated from its title. | |
| ServiceName | String | True |
The name of the fulfillment service. | |
| String | False |
The email of the fulfillment service. | ||
| IncludePendingStock | Bool | False |
States if the fulfillment service includes a pending stock. | |
| RequiresShippingMethod | Bool | False |
States if the fulfillment service requires products to be physically shipped. Valid values are 'true' and 'false'. | |
| TrackingSupport | Bool | False |
States if the fulfillment service provides tracking numbers for packages. | |
| InventoryManagement | Bool | False |
States if the fulfillment service tracks product inventory and provides updates to Shopify. | |
| FulfillmentOrdersOptIn | Bool | False |
States if the fulfillment orders is opt in. | |
| CallbackUrl | String | False |
States the URL endpoint that Shopify needs to retrieve inventory and tracking updates. This field is necessary if either inventory_management or tracking_support is set to | |
| Format | String | False |
Specifies the format of the API output. Valid values are json and xml. |
Create, update, delete, and query gift cards.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the gift card. | |
| APIClientId | Long | True |
The ID of the client that issued the gift card. | |
| Balance | Decimal | True |
The balance of the gift card. | |
| Code | String | False |
The gift card code, which is a string of alphanumeric characters. For security reasons, this is available only upon creation of the gift card. (minimum: 8 characters, maximum: 20 characters) | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was created. | |
| Currency | String | True |
The currency of the gift card. | |
| CustomerId | Long | True |
Customers.Id |
The ID of the customer associated with this gift card. |
| DisabledAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was disabled. | |
| ExpiresOn | Date | False |
The date (YYYY-MM-DD format) when the gift card expires. Returns null if the gift card doesn't have an expiration date. | |
| InitialValue | Decimal | False |
The initial value of the gift card when it was created. | |
| LastCharacters | String | True |
The last four characters of the gift card code. Because gift cards are alternative payment methods, the full code cannot be retrieved. | |
| LineItemId | Long | True |
OrdersItems.ItemId |
The ID of the line item that initiated the creation of this gift card, if it was created by an order. |
| Note | String | False |
An optional note that a merchant can attach to the gift card that isn't visible to customers. | |
| OrderId | Long | True |
Orders.Id |
The ID of the order that initiated the creation of this gift card, if it was created by an order. |
| TemplateSuffix | String | False |
The suffix of the Liquid template that's used to render the gift card online. For example, if the value is birthday, then the gift card is rendered using the template gift_card.birthday.liquid. When the value is null, the default gift_card.liquid template is used. | |
| UserId | Long | True |
Users.Id |
The ID of the user that issued the gift card, if it was issued by a user. |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was last modified. |
Create, update, delete, and query marketing events.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the marketing event. | |
| RemoteId | String | False |
An optional remote identifier for a marketing event. | |
| BreadcrumbId | String | True |
An optional identifier for the breadcrumb of a marketing event. | |
| UTMCampaign | String | True |
A unique name for the UTM campaign. | |
| UTMSource | String | True |
The source of the UTM campaign. | |
| UTMMedium | String | True |
The medium of the UTM campaign. | |
| UTMContent | String | True |
The content of the UTM campaign. | |
| UTMTerm | String | True |
The term of the UTM campaign. | |
| EventTarget | String | True |
The target of the event. | |
| Description | String | True |
A description for the marketing event. | |
| MarketingChannel | String | False |
A broader marketing event type that is focused only on the channel. Must be one of the allowed values (`search`, `display`, `social`, `email`, `referral`). | |
| EventType | String | False |
The specific type of marketing event. Must be one of the allowed values (`ad`, `post`, `message`, `retargeting`, `transactional`, `affiliate`, `loyalty`, `newsletter`, `abandoned_cart`, `receipt`). | |
| Budget | Decimal | False |
The budget of the ad campaign. | |
| Paid | Bool | False |
A boolean field to specify whether this event is paid or organic. | |
| BudgetType | String | False |
The type of the budget; must be either `daily` or `lifetime`. | |
| Currency | String | False |
The currency for the budget. | |
| ManageUrl | String | True |
A link to manage the marketing event, generally in the Shopify app's interface. | |
| PreviewUrl | String | True |
A link to view the live version of the post/ad, or to view a rendered preview of the post/ad/email in the Shopify app. | |
| ReferringDomain | String | False |
The destination domain of the marketing event. Required unless MarketingChannel is one of email/referral/display. | |
| MarketedResources | String | True |
A list of the items that were marketed in the marketing event. It's a list of dictionaries with type keys and id keys. Valid values for type are: (`product`, `collection`, `price_rule`, `page`, `article`, `homepage`). All types, other than homepage, also require an id. | |
| StartedAt | Datetime | False |
The timestamp when the marketing action was started, or when the email was sent, or when the Facebook post was made live, etc. | |
| EndedAt | Datetime | False |
For events with a duration, when the event actually ended. This may differ from ScheduledToEndAt, if the ad was stopped early, etc. | |
| ScheduledToEndAt | Datetime | False |
For events with a duration, when the event was supposed to end. |
Retrieves a list of metafields that belong to a resource.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique ID of the metafield. | |
| Namespace | String | False |
A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. | |
| Key | String | False |
The name of the metafield. | |
| Value | String | False |
The information to be stored as metadata. | |
| Type | String | False |
The metafield's information type. | |
| Description | String | False |
A description of the information that the metafield contains. | |
| OwnerId | Long | False |
The unique ID of the resource that the metafield is attached to. | |
| OwnerResource | String | False |
The type of resource that the metafield is attached to. The allowed values are shop, draft_order, page, article, order, customer, collection, blog. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the metafield was created. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the metafield was last updated. | |
| AdminGraphqlApiId | String | True |
The admin graphql api id |
Create, update, delete, and query orders.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the order. | |
| Number | Long | True |
A unique identifier for the order, used by the shop owner and customer. | |
| CustomerId | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| CustomerFirstName | String | False |
The first name of the customer. | |
| CustomerLastName | String | False |
The last name of the customer. | |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| String | False |
The customer's email address. | ||
| Name | String | True |
The customer's order name as represented by a number. | |
| TotalDiscounts | Decimal | True |
The total amount of the discounts to be applied to the price of the order. | |
| TotalOrderItemsPrice | Decimal | True |
The sum of all the prices of all the items in the order. | |
| TotalPrice | Decimal | True |
The sum of all the prices of all the items in the order, taxes and discounts included. | |
| SubtotalPrice | Decimal | True |
Price of the order before shipping and taxes. | |
| TotalTax | Decimal | False |
The sum of all the taxes applied to the order. | |
| TotalWeight | Int | True |
The sum of all the weights of the line items in the order, in grams. | |
| BrowserIp | String | True |
The IP address of the browser used by the customer when placing the order. | |
| MerchantBusinessEntityId | String | True |
The ID of the business entity associated with the order. | |
| BuyerAcceptsMarketing | Bool | False |
Indicates whether or not the person who placed the order would like to receive email updates from the shop. | |
| CancelReason | String | True |
The reason why the order was canceled. | |
| CartToken | String | True |
Unique identifier for a particular cart that is attached to a particular order. | |
| OrderStatusUrl | String | True |
The URL pointing to the order status web page. | |
| Token | String | True |
Unique identifier for a particular order. | |
| TaxesIncluded | Bool | False |
States whether or not taxes are included in the order subtotal. | |
| SourceName | String | True |
Where the order originated. | |
| ReferringSite | String | True |
The website that the customer clicked on to come to the shop. | |
| Phone | String | False |
The customer's phone number. | |
| Note | String | False |
The text of an optional note that a shop owner can attach to the order. | |
| LocationId | Long | True |
The unique numeric identifier for the physical location at which the order was processed. | |
| LandingSite | String | True |
The URL for the page where the buyer landed when entering the shop. | |
| Tags | String | False |
Additional short descriptors. | |
| FulfillmentStatus | String | False |
The fulfillment status of the order. Valid values during SELECT: shipped, partial, unshipped, any, unfulfilled. Valid values during INSERT: fulfilled, null, partial, restocked. The allowed values are shipped, partial, unshipped, any, unfulfilled, fulfilled, null, restocked. | |
| FinancialStatus | String | False |
The financial status of the order. Valid values during SELECT: authorized, pending, paid, partially_paid, refunded, voided, partially_refunded, any, unpaid. Valid values during INSERT: authorized, pending, paid, partially_paid, refunded, voided, partially_refunded. The allowed values are authorized, pending, paid, partially_paid, refunded, voided, partially_refunded, any, unpaid. | |
| CustomerLocale | String | True |
The customer locale of the order. | |
| InvoiceSentAt | Datetime | True |
This auto-generated property is the date and time when the invoice was emailed to the customer. Only available for draft orders. | |
| InvoiceUrl | String | True |
The URL for the invoice. Only available for draft orders. | |
| TaxExempt | Bool | True |
States whether or not taxes are exempt for this order. Only available for draft orders. | |
| DiscountCodes | String | True |
Applicable discount codes that can be applied to the order. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the order. | |
| TaxAggregate | String | False |
A JSON aggregate of tax line items associated with the order. Note, these taxes are applied on the order, not on individual items. If you want them to be applied on individual items, use them in LineAggregate. Tax lines must be associated with either order or line item but not both. | |
| ShippingAggregate | String | False |
A JSON aggregate of shipping line items associated with the order. | |
| NoteAttributesAggregate | String | False |
A JSON aggregate of note attributes associated with the order. | |
| DiscountApplicationsAggregate | String | True |
An ordered list of stacked discount applications. | |
| BillingAddressFirstName | String | False |
The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | False |
The last name of the person associated with the payment method. | |
| BillingAddressAddress1 | String | False |
The street address of the billing address. | |
| BillingAddressAddress2 | String | False |
An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | False |
The phone number at the billing address. | |
| BillingAddressCity | String | False |
The city of the billing address. | |
| BillingAddressCompany | String | False |
The company of the person associated with the billing address. | |
| BillingAddressZip | String | False |
The zip or postal code of the billing address. | |
| BillingAddressProvince | String | False |
The name of the state or province of the billing address. | |
| BillingAddressCountry | String | False |
The name of the country of the billing address. | |
| BillingAddressLatitude | Double | False |
The latitude of the billing address. | |
| BillingAddressLongitude | Double | False |
The longitude of the billing address. | |
| BillingAddressName | String | False |
The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | False |
The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | False |
The first name of the person associated with the shipping method. | |
| ShippingAddressLastName | String | False |
The last name of the person associated with the shipping method. | |
| ShippingAddressAddress1 | String | False |
The street address of the shipping address. | |
| ShippingAddressAddress2 | String | False |
An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | False |
The phone number at the shipping address. | |
| ShippingAddressCity | String | False |
The city of the shipping address. | |
| ShippingAddressCompany | String | False |
The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | False |
The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | False |
The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | False |
The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | False |
The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | False |
The longitude of the shipping address. | |
| ShippingAddressName | String | False |
The full name of the person associated with the shipping method. | |
| ShippingAddressCountryCode | String | False |
The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| AppliedDiscountTitle | String | False |
The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | False |
The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | False |
The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | False |
The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | False |
The amount of the applied discount for this order. Only available for draft orders. | |
| PaymentTermsAmount | Long | True |
The amount that is owed according to the payment terms. | |
| PaymentTermsCurrency | String | True |
The presentment currency for the payment. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the selected payment terms template for the order. | |
| PaymentTermsPaymentTermsType | String | True |
The type of selected payment terms template for the order. | |
| PaymentTermsDueInDays | Int | True |
The number of days between the invoice date and due date that is defined in the selected payment terms template. | |
| PaymentTermsPaymentSchedules | String | True |
An array of schedules associated to the payment terms. | |
| ProcessedAt | Datetime | True |
The date and time when the order was imported, in ISO 8601 format. | |
| CreatedAt | Datetime | True |
The date and time when the order was created. | |
| ClosedAt | Datetime | True |
The date and time when the order was closed. | |
| CancelledAt | Datetime | True |
The date and time when the order was canceled. | |
| UpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| SendReceipt | Bool | False |
Determines whether an order confirmation will be sent to the customer. | |
| SendFulfillmentReceipt | Bool | False |
Determines whether a fulfillment confirmation will be sent to the customer. | |
| InventoryBehaviour | String | False |
Determines which inventory updating behavior is used. The following values are available: default, decrement_ignoring_policy, decrementobeying_policy The allowed values are default, decrement_ignoring_policy, decrementobeying_policy. | |
| Operation | String | False |
An operation to apply to the Order. Valid values for order: Close, Open, or Cancel. The allowed values are Close, Open, Cancel. | |
| TotalShippingPriceSetShopMoneyAmount | Double | True |
The amount of the shop money in the total shipping price set. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
The currency code of the shop money in the total shipping price set. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total shipping price set. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total price set. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total price set. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total tax set. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total tax set. | |
| CheckoutId | Long | True |
The checkout id. | |
| CheckoutToken | String | True |
A unique value when referencing the checkout that's associated with the order. | |
| EstimatedTaxes | Bool | True |
Estimated taxes of the order. | |
| Test | Bool | True |
Test boolean for the order. | |
| TotalOutstanding | Decimal | True |
The outstanding sum of all the items in the order. | |
| TotalTipReceived | Decimal | True |
The total tip for the order. | |
| PresentmentCurrency | String | True |
The currency code of the presentment money. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total line items price set. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total line items price set. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the discounts set. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the discounts set. | |
| TotalSubtotalSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the subtotal. | |
| TotalSubtotalSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the subtotal. | |
| OrigTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the original total additional fees set. | |
| OrigTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the original total additional fees set. | |
| CurTotalDiscountsSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total discounts set. | |
| CurTotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total discounts set. | |
| CurSubtotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current subtotal price set. | |
| CurSubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current subtotal price set. | |
| CurrentTotalTaxSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total tax set. | |
| CurrentTotalTaxSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total tax set. | |
| CurTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total additional fees set. | |
| CurTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total additional fees set. | |
| CurrentTotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total price set. | |
| CurrentTotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total price set. | |
| OriginalTotalDutiesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the original total duties set. | |
| OriginalTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the original total duties set. | |
| CurrentTotalDutiesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total duties set. | |
| CurrentTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total duties set. | |
| PaymentGatewayNames | String | True |
The list of payment gateway names | |
| FulfillmentAggregate | String | True |
A JSON aggregate of fulfillments associated with the order. Note, these fulfillments are applied on the order, not on individual items. | |
| RefundAggregate | String | True |
A JSON aggregate of refunds associated with the order. Note, these refunds are applied on the order, not on individual items. | |
| ConfirmationNumber | String | True |
A randomly generated alpha-numeric identifier for the order that may be shown to the customer instead of the sequential order name. This value isn't guaranteed to be unique. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Status | String |
Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Create and query transactions.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the transaction. | |
| OrderId | Long | False |
Orders.Id |
A unique numeric identifier for the order. |
| UserId | Long | True |
The unique identifier for the user. | |
| LocationId | Long | True |
The ID of the physical location where the transaction was processed. | |
| Amount | Decimal | False |
The amount of money that the transaction was for. | |
| AmountRounding | Decimal | True |
The rounding adjustment for cash payments, to be applied on the amount to get a rounded amount. | |
| Authorization | String | False |
The authorization code associated with the transaction. | |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| DeviceId | String | True |
The unique identifier for the device. | |
| Gateway | String | False |
The name of the gateway the transaction was issued through. | |
| SourceName | String | True |
The origin of the transaction. | |
| Kind | String | False |
The kind of transaction. Can be any of the following: Authorization, Capture, Sale, Void, Refund. The allowed values are authorization, capture, sale, void, refund. | |
| Message | String | True |
The message associated with this transaction. | |
| ErrorCode | String | True |
A standardized error code, independent of the payment provider. | |
| Status | String | False |
The status of the transaction. | |
| Test | Bool | True |
The option to use the transaction for testing purposes. | |
| AVSResultCode | String | True |
The Response code from the address verification system. | |
| CreditCardBin | String | True |
The issuer identification number (IIN). | |
| CVVResultCode | String | True |
The Response code from the credit card company. | |
| CreditCardNumber | String | True |
The customer's credit card number, with most of the leading digits redacted with Xs. | |
| CreditCardCompany | String | True |
The name of the company who issued the customer's credit card. | |
| CreatedAt | Datetime | True |
The date and time when the customer was created. | |
| PaymentsRefundsAttributesStatus | String | True |
The current status of the refund The allowed values are pending, failure, success, error. | |
| PaymentsRefundsAttributesAcquirerReferenceNumber | String | True |
A unique number associated with the transaction that can be used to track the refund. | |
| PaymentId | String | True |
The unique identifier for the payment. | |
| ProcessedAt | Datetime | True |
The date and time when the transaction was processed. | |
| CreditCardName | String | True |
The name on the customer's credit card. | |
| CreditCardWallet | String | True |
The wallet of the customer's credit card. | |
| CreditCardExpMonth | Long | True |
The expiration month of the customer's credit card. | |
| CreditCardExpYear | Long | True |
The expiration year of the customer's credit card. | |
| Receipt | String | True |
A JSON aggregate of the order receipt. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total unsettled set. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total unsettled set. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| TransactionItemAmount | Decimal |
The amount of money that the transaction was for. Use this when inserting transactions into an order or refund. |
| TransactionItemGateway | String |
The name of the gateway the transaction was issued through. Use this when inserting transactions into an order or refund. |
| TransActionItemKind | String |
The kind of transaction. Can be any of the following: Authorization, Capture, Sale, Void, Refund. Use this when inserting transactions into an order or refund. The allowed values are authorization, capture, sale, void, refund. |
| TransactionItemStatus | String |
The status of the transaction. Use this when inserting transactions into an order or refund. |
| TransactionItemParentId | String |
The parent id of the transaction. Use this when inserting transactions into a refund. |
| TransactionItemSource | String |
The status of the transaction. |
| UpdatedAt | Datetime |
The last time the order is updated. |
Create, read, update or delete pages
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique numeric identifier for the page. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Author | String | False |
The name of the person who created the page. | |
| BodyHtml | String | False |
The text content of the page, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the page was created. | |
| Handle | String | False |
A unique, human-friendly string for the page, generated automatically from its title. In online store themes, the Liquid templating language refers to a page by its handle. | |
| Metafields | String | False |
Additional information attached to the Page object. | |
| PublishedAt | Datetime | False |
The date and time (ISO 8601 format) when the page was published. Returns null when the page is hidden. | |
| ShopId | Long | True |
The ID of the shop to which the page belongs. | |
| TemplateSuffix | String | False |
The suffix of the Liquid template being used. | |
| Title | String | False |
The page's title. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the page was last updated. | |
| PublishedStatus | String | False |
Filter comments by their publish status. The allowed values are published, unpublished, any. |
Create, update, delete, and query price rules.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the price rule. | |
| AllocationMethod | String | False |
The allocation method of the price rule. Valid values: each: The discount is applied to each of the entitled items. across: The calculated discount amount will be applied across the entitled items. The allowed values are each, across. | |
| CustomerSelection | String | False |
The customer selection for the price rule. Valid values: all: The price rule is valid for all customers. prerequisite: The customer must either belong to one of the customer saved searches specified by PrerequisiteSavedSearchIds. The allowed values are all, prerequisite. | |
| EntitledCollectionIds | String | False |
A list of Ids of collections whose products will be eligible to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. It can't be used in combination with EntitledProductIds or EntitledVariantIds. | |
| EntitledCountryIds | String | False |
A list of Ids of shipping countries that will be entitled to the discount. It can be used only with TargetType set to shipping_line and TargetSelection set to entitled. | |
| EntitledProductIds | String | False |
A list of Ids of products that will be entitled to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. | |
| EntitledVariantIds | String | False |
A list of Ids of product variants that will be entitled to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. | |
| OncePerCustomer | Bool | False |
Whether the generated discount code will be valid only for a single use per customer. This is tracked using customer Id. | |
| PrerequisiteCustomerIds | String | False |
A list of customer Ids which for the price rule to be applicable, the customer must match one of the specified customers. If PrerequisiteCustomerIds is populated, then PrerequisiteSavedSearchIds must be empty. | |
| PrerequisiteQuantityRange | String | False |
The minimum number of items for the price rule to be applicable. It has the following property: greater_than_or_equal_to: The quantity of an entitled cart item must be greater than or equal to this value. | |
| PrerequisiteSavedSearchIds | String | False |
A list of customer saved search Ids. For the price rule to be applicable, the customer must be in the group of customers matching a customer saved search. If PrerequisiteSavedSearchIds is populated, then PrerequisiteCustomerIds must be empty. | |
| PrerequisiteShippingPriceRange | String | False |
The maximum shipping price for the price rule to be applicable. It has the following property: less_than_or_equal_to: The shipping price must be less than or equal to this value. | |
| PrerequisiteSubtotalRange | String | False |
The minimum subtotal for the price rule to be applicable. It has the following property: greater_than_or_equal_to: The subtotal of the entitled cart items must be greater than or equal to this value for the discount to apply. | |
| TargetSelection | String | False |
The target selection method of the price rule. Valid values: all: The price rule applies the discount to all line items in the checkout, entitled: The price rule applies the discount to selected entitlements only. | |
| TargetType | String | False |
The target type that the price rule applies to. Valid values: line_item: The price rule applies to the cart's line items, shipping_line: The price rule applies to the cart's shipping lines. | |
| UsageLimit | Int | False |
The maximum number of times the price rule can be used, per discount code. | |
| PrerequisiteProductIds | String | False |
List of product ids that will be a prerequisites for a Buy X Get Y type discount. The PrerequisiteProductIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Caution: If a product variant is included in PrerequisiteVariantIds, then PrerequisiteProductIds can't include the ID of the product associated with that variant. | |
| PrerequisiteVariantIds | String | False |
List of variant ids that will be a prerequisites for a Buy X Get Y type discount. The EntitledVariantIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Caution: If a product is included in PrerequisiteProductIds, then PrerequisiteVariantIds can't include the ID of any variants associated with that product. | |
| PrerequisiteCollectionIds | String | False |
List of collection ids that will be a prerequisites for a Buy X Get Y discount. The EntitledCollectionIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Cannot be used in combination with PrerequisiteProductIds or PrerequisiteVariantIds. | |
| Value | Decimal | False |
The value of the price rule. If if the value of target_type is shipping_line, then only -100 is accepted. The value must be negative. | |
| ValueType | String | False |
The value type of the price rule. Valid values: fixed_amount: Applies a discount of value as a unit of the store's currency. For example, if value is -30 and the store's currency is USD, then $30 USD is deducted when the discount is applied, percentage: Applies a percentage discount of value. For example, if value is -30, then 30% will be deducted when the discount is applied. If TargetType is shipping_line, then only percentage is accepted. | |
| PrerequisiteToEntitlementQuantityRatio | String | False |
Buy/Get ratio for a Buy X Get Y discount. prerequisite_quantity defines the necessary 'buy' quantity and entitled_quantity the offered 'get' quantity. The PrerequisiteToEntitlementQuantityRatio can be used only with: ValueType set to percentage, TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each, PrerequisiteProductIds or PrerequisiteVariantIds or PrerequisiteCollectionIds defined and EntitledProductIds or EntitledVariantIds or EntitledCollectionIds defined. | |
| Images | String | False |
A list of image objects. | |
| ProductType | String | False |
A categorization that a product can be tagged with, commonly used for filtering and searching. | |
| Options | String | True |
Custom product property names. | |
| PublishedScope | String | False |
Indicates whether the product is published to the Point of Sale channel. | |
| Tags | String | False |
A categorization that a product can be tagged with. Use commas to separate categories. | |
| TemplateSuffix | String | True |
The suffix of the liquid template being used. | |
| Title | String | False |
The name of the product. | |
| Vendor | String | False |
The name of the vendor of the product. | |
| StartsAt | Datetime | False |
The date and time when the price rule starts. | |
| EndsAt | Datetime | False |
The date and time when the price rule ends. Must be after StartsAt. | |
| PublishedAt | Datetime | True |
The date and time when the product was published to the Online Store channel. | |
| CreatedAt | Datetime | True |
The date and time when the price rule was created. | |
| UpdatedAt | Datetime | True |
The date and time when the price rule was last modified. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Published | Bool |
Set to true to publish the product or to false to not publish it |
| MetafieldsGlobalTitleTag | String |
The name of the product, to be used for SEO purposes. |
| MetafieldsGlobalDescriptionTag | String |
The description of the product, to be used for SEO purposes. |
Create, update, delete, and query Recurring Application Charges.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the recurring application charge. | |
| Name | String | False |
The name of the recurring application charge. | |
| ApiClientId | String | False |
The API Client Id | |
| Price | Decimal | False |
The price of the recurring application charge. The maximum price is 10,000. | |
| Status | String | False |
The status of the recurring charge | |
| ReturnUrl | String | False |
The URL where the merchant is redirected after accepting the charge. | |
| BillingOn | Date | False |
The date and time (ISO 8601 format) when the customer was billed. | |
| Test | String | False |
Whether the application charge is a test transaction. | |
| CreatedAt | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was created. | |
| UpdatedAt | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was last updated. | |
| ActivatedOn | Datetime | False |
The date and time (ISO 8601 format) when the customer activated the recurring application charge. | |
| CancelledOn | Datetime | False |
The date and time (ISO 8601 format) when the merchant canceled their recurring application charge. | |
| TrialDays | Int | False |
The number of days that the customer is eligible for a free trial. | |
| TrialEndsOn | Datetime | False |
The date and time (ISO 8601 format) when the free trial ends. | |
| DecoratedReturnUrl | String | False |
The decorated return url. | |
| CappedAmount | String | False |
The limit a customer can be charged for usage based billing. If this property is provided, then you must also provide the terms property. | |
| ConfirmationUrl | String | False |
The URL where the merchant accepts or declines the recurring application charge. | |
| Terms | String | False |
The terms and conditions of usage based billing charges. Must be present in order to create usage charges, |
Create, read, update or delete redirects.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID for the redirect. | |
| Path | String | False |
The old path to be redirected. | |
| Target | String | False |
The target location where the user will be redirected. |
Create and query refunds.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique identifier for the refund. | |
| OrderId | Long | False |
Orders.Id |
The id of the order. |
| OrderUpdatedAt | Datetime | True |
Orders.UpdatedAt |
The date and time when the order was last modified. |
| Note | String | False |
The optional note attached to a refund. | |
| Restock | Bool | True |
Whether or not the line items were added back to the store inventory. | |
| UserId | Long | True |
The unique identifier of the user who performed the refund. | |
| CreatedAt | Datetime | True |
The date and time when the refund was created. | |
| ProcessedAt | Datetime | True |
The date and time when the refund was imported. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the refund. | |
| OrderTransactionAggregate | String | False |
A JSON aggregate of transactions associated with the refund. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Notify | Bool |
Whether or not to send a refund notification to the customer. |
| DiscrepancyReason | String |
An optional comment, used if there is a discrepancy between calculated and actual refund amounts (one of: restock, damage, customer, other) |
| ShippingAmount | Decimal |
Set specific amount of shipping to refund. Takes precedence over FullRefund. |
| ShippingFullRefund | Bool |
Whether or not to to refund all remaining shipping. |
Returns a list of resource feedback objects..
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
Unique id of the resource. | |
| Type | String | False |
TType of resource for which feedback is returned. eg. Shop, Product. | |
| State | String | False |
Indicates the state that the Shop or resource is in, from the perspective of your app. The allowed values are requires_action, success. | |
| Messages | String | False |
The name of the report. | |
| CreatedAt | Datetime | False |
DateTime when the resource feedback record was stored by Shopify. Type: ISO 8601 UTC DateTime as string with year, month (or week), day, hour, minute, second, time zone. | |
| UpdatedAt | Datetime | False |
DateTime when the resource feedback record was last updated by Shopify. Type: ISO 8601 UTC DateTime as string with year, month (or week), day, hour, minute, second, time zone. | |
| ResourceUpdatedAt | Datetime | False |
The date and time (ISO 8601) when the report was last modified. | |
| FeedbackGeneratedAt | Datetime | False |
The time at which the payload is constructed. Used to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival. Type: ISO 8601 UTC datetime as string with year, month [or week], day, hour, minute, second, millisecond, and time zone. |
Create, read, update or delete script tags.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID for the script tag. | |
| Cache | Bool | False |
Whether the Shopify CDN can cache and serve the script tag. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601) when the script tag was created. | |
| DisplayScope | String | False |
The page or pages on the online store where the script should be included. The allowed values are online_store, order_status, all. | |
| Event | String | False |
The DOM event that triggers the loading of the script. Valid values: onload. | |
| Src | String | False |
The URL of the remote script. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601) when the script tag was last updated. |
Query, insert, update, or delete information regarding different smart collections.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the smart collection. | |
| Title | String | False |
The name of the smart collection. Maximum length: 255 characters. | |
| BodyHtml | String | False |
The description of the smart collection. Includes HTML markup. Many shop themes display this on the smart collection page. | |
| Image | String | False |
A JSON aggregate with information regarding the image of smart collection. | |
| Rules | String | False |
A JSON aggregate with the list of rules that define what products go into the smart collection. Valid values for each rule field: column: tag, title, type, vendor, variant_price, variant_compare_at_price, variant_weight, variant_inventory, variant_title; relation: equals, greater_than, less_than, starts_with, ends_with, contains; condition: any string | |
| Handle | String | False |
A human-friendly unique string for the smart collection. Automatically generated from the title. Used in shop themes by the Liquid templating language to refer to the smart collection. (maximum: 255 characters) | |
| Disjunctive | Bool | False |
Whether the product must match all the rules to be included in the smart collection. Valid values: true: products only need to match one or more of the rules to be included in the smart collection, false: products must match all of the rules to be included in the smart collection. | |
| SortOrder | String | False |
The order in which products in the smart collection appear. | |
| TemplateSuffix | String | False |
The suffix of the Liquid template that the shop uses. By default, the original template is called product.liquid, and additional templates are called product.suffix.liquid. | |
| PublishedScope | String | False |
Whether the smart collection is published to Point of Sale. Valid values: web: The smart collection is published to the shop's online channels and not published to the Point of Sale channel, global: The smart collection is published to both the online channels and the Point of Sale channel. | |
| UpdatedAt | Datetime | True |
The date and time when the smart collection was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the smart collection was published. Returns null when the collection is hidden. | |
| ProductId | String | True |
Show smart collections that include a given product. | |
| PublishedStatus | String | True |
Show smart collection with a given published status: published: show only published smart collections, unpublished: show only unpublished smart collections, any: show all smart collections. (default: any). The allowed values are published, unpublished, any. |
Create, read, update or delete themes
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the theme. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the theme was created. | |
| Name | String | False |
The name of the theme. | |
| Previewable | Bool | True |
Whether the theme can currently be previewed. | |
| Processing | Bool | True |
Whether files are still being copied into place for this theme. | |
| Role | String | False |
Specifies how the theme is being used within the shop. The allowed values are main, published, demo. | |
| ThemeStoreId | Long | True |
A unique identifier applied to Shopify-made themes that are installed from the Shopify Theme Store Theme Store. | |
| UpdatedAt | Datetime | True |
The date and time ( ISO 8601 format) when the theme was last updated. |
Create or view Usage Charges for Recurring Application Charges.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the usage charge. | |
| Description | String | False |
The name of the usage charge. | |
| Price | Decimal | False |
The price of the usage charge. | |
| CreatedAt | Datetime | False |
The date and time (ISO 8601 format) when the usage charge was created. | |
| BalanceUsed | Decimal | False |
The used balance | |
| BalanceRemaining | Decimal | False |
The remaining balance | |
| RiskLevel | Int | False |
The risk Level | |
| RecurringApplicationId | Long | False |
The Id of the RecurringApplication Charge |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| AbandonedCheckouts | Query abandoned checkouts. |
| AbandonedCheckoutsItems | Query abandoned checkouts items. |
| AssignedFulfillmentOrders | The AssignedFulfillmentOrder resource allows you to retrieve all the fulfillment orders that are assigned to an app at the shop level. |
| DiscountApplications | Query note attributes belonging to an order or draft order. |
| DraftOrderItemProperties | Query order item properties. |
| DraftOrderItems | Query draft order items. |
| DraftOrderItemTaxLines | Query draft order items tax lines. |
| Events | Retrieve events which have happened in your shop. |
| FulfillmentOrderLineItems | Query fulfillment order line items. |
| FulfillmentOrders | Query fulfillment orders. |
| Locations | Retrieve information regarding store locations. |
| NoteAttributes | Query note attributes belonging to an order or draft order. |
| OrderDiscountCodes | Query note attributes belonging to an order or draft order. |
| OrderItemDiscountAllocations | Query order item discount allocations. |
| OrderItemProperties | Query order item properties. |
| OrdersItems | Query order items. |
| Payouts | Retrieves a list of all payouts ordered by payout date, with the most recent being first. |
| PayoutTransactions | Retrieves a list of all balance transactions ordered by processing time, with the most recent being first. |
| PayoutTransactionsAdjustmentOrderTransactions | Retrieves associated order transactions that resulted in a balance transaction. |
| RefundAdjustments | Create and query transactions. |
| RefundsItems | Get data on OrdersItems that have been refunded. |
| RefundTransactions | Query transactions for Refund Object. |
| ShippingItemDiscountAllocations | Query Shipping item discount allocations. |
| ShippingItems | Query order shipping. |
| ShippingZones | Retrieve information regarding shipping zones. |
| Shop | Contains general settings and information about the shop. |
| TaxItems | Query order taxes. |
| Users | Query Users. |
Query abandoned checkouts.
| Name | Type | References | Description |
| Id [KEY] | Long | The unique numeric identifier for the order. | |
| AbandonedCheckoutUrl | String | The full recovery URL to be sent to a customer to recover their abandoned checkout. | |
| BuyerAcceptsMarketing | Bool | Indicates whether or not the person who placed the order would like to receive email updates from the shop. | |
| CancelReason | String | The reason why the order was cancelled. | |
| CustomerId | Long |
Customers.Id | A unique numeric identifier for the customer. |
| DiscountCodes | String | Applicable discount codes that can be applied to the order. | |
| String | The customer's email address. | ||
| Note | String | The text of an optional note that a shop owner can attach to the order. | |
| SubtotalPrice | Decimal | Price of the order before shipping and taxes. | |
| TotalDiscounts | Decimal | The total amount of the discounts to be applied to the price of the order. | |
| TotalLineItemsPrice | Decimal | The sum of all the prices of all the items in the order. | |
| TotalPrice | Decimal | The sum of all the prices of all the items in the order, taxes and discounts included. | |
| TotalTax | Decimal | The sum of all the taxes applied to the order. | |
| TaxesIncluded | Bool | States whether or not taxes are included in the order subtotal. | |
| BillingAddressFirstName | String | The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | The last name of the person associated with the payment method. | |
| BillingAddressAdress1 | String | The street address of the billing address. | |
| BillingAddressAdress2 | String | An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | The phone number at the billing address. | |
| BillingAddressCity | String | The city of the billing address. | |
| BillingAddressCompany | String | The company of the person associated with the billing address. | |
| BillingAddressZip | String | The zip or postal code of the billing address. | |
| BillingAddressProvince | String | The name of the state or province of the billing address. | |
| BillingAddressCountry | String | The name of the country of the billing address. | |
| BillingAddressLatitude | Double | The latitude of the billing address. | |
| BillingAddressLongitude | Double | The longitude of the billing address. | |
| BillingAddressName | String | The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | The first name of the person associated with the shipping address. | |
| ShippingAddressLastName | String | The last name of the person associated with the shipping address. | |
| ShippingAddressAdress1 | String | The street address of the shipping address. | |
| ShippingAddressAdress2 | String | An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | The phone number at the shipping address. | |
| ShippingAddressCity | String | The city of the shipping address. | |
| ShippingAddressCompany | String | The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | The longitude of the shipping address. | |
| ShippingAddressName | String | The full name of the person associated with the shipping address. | |
| ShippingAddressCountryCode | String | The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | Whether this address is the default one or not. | |
| CompletedAt | Datetime | The date and time when the order was completed. | |
| CreatedAt | Datetime | The date and time when the order was created. | |
| UpdatedAt | Datetime | The date and time when the order was last modified. |
Query abandoned checkouts items.
| Name | Type | References | Description |
| AbandonedCheckoutId [KEY] | Long | The unique numeric identifier for the order. | |
| ProductId [KEY] | Long | The product ID od the item. | |
| ItemVariantId [KEY] | Long | The product variant ID of item. | |
| ItemTitle | String | The title of the product. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item in presentment currency. | |
| SKU | String | A unique identifier for the item in the shop. | |
| VariantTitle | String | The title of the product variant. | |
| Vendor | String | The name of the item's supplier. | |
| CreatedAt | Datetime | The date and time when the order was created. | |
| UpdatedAt | Datetime | The date and time when the order was last modified. |
The AssignedFulfillmentOrder resource allows you to retrieve all the fulfillment orders that are assigned to an app at the shop level.
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the fulfillment order. | |
| ShopId | Long |
Shop.Id | The ID of the shop that's associated with the fulfillment order. |
| OrderId | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| AssignedLocationId | Long | The ID of the location that has been assigned to do the work. | |
| FulfillmentServiceHandle | String | A unique numeric identifier for the order. | |
| RequestStatus | String | The status of the fulfillment. | |
| DestinationId | String | The ID of the fulfillment order destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| LineItems | String | Represents line items belonging to a fulfillment order. | |
| Status | String | The status of the fulfillment order. | |
| Operation | String | An operation to apply to the fulfillment.
The allowed values are Complete, Open, Cancel. | |
| DeliveryMethodId | Long | The ID of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodPresentedName | String | The name of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodType | String | The type of the delivery option that was presented to the buyer during checkout. |
Query note attributes belonging to an order or draft order.
| Name | Type | References | Description |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Type | String | The name of the note attribute. | |
| Title | String | The value of the note attribute. | |
| Description | String | The value of the note attribute. | |
| Value | String | The value of the note attribute. | |
| ValueType | String | The value of the note attribute. | |
| AllocationMethod | String | The value of the note attribute. | |
| TargetSelection | String | The value of the note attribute. | |
| TargetType | String | The value of the note attribute. |
Query order item properties.
| Name | Type | References | Description |
| ItemId | Long |
DraftOrderItems.ItemId | The id of the order item. |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| Name | String | The name of the item property. | |
| Value | String | The value of the item property. |
Query draft order items.
| Name | Type | References | Description |
| ItemId [KEY] | Long | The id of the line item. | |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| ProductId | Long | The ID of the product corresponding to the line item product variant. | |
| Custom | Bool | States whether this is a custom line item or a product variant line item | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| FulFillmentsService | String | Service provider responsible for fulfillment. | |
| ItemGrams | Int | The weight of the item in grams. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| ItemTitle | String | The title of the product or variant. | |
| ItemVariantId | Long | The id of the product variant. | |
| VariantTitle | String | The title of the product variant. | |
| Vendor | String | The name of the supplier of the item. | |
| Name | String | The name of the product variant. | |
| GiftCard | Bool | States whether or not the product is a gift card. | |
| Properties | String | Shows custom properties for this order item. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| TaxLines | String | Shows tax lines for this order item. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Query draft order items tax lines.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
DraftOrderItems.ItemId | The id of the draft line item. |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| TaxTitle | String | The name of the tax. | |
| TaxRate | Decimal | The rate of tax to be applied. | |
| TaxPrice | Decimal | The amount of tax to be charged. |
Retrieve events which have happened in your shop.
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the event. | |
| Description | String | A human readable description of the event. | |
| Message | String | A human readable description of the event. Can contain some HTML formatting. | |
| Body | String | A text field containing information about the event. | |
| Path | String | A relative URL to the resource the event is for, if applicable. | |
| SubjectId | Long | The ID of the resource that generated the event. | |
| SubjectType | String | he type of the resource that generated the event. Valid values: Article, Blog, Collection, Comment, Order, Page, Product, ApiPermission. | |
| Verb | String | The type of event that occurred. Different resources generate different types of event. | |
| Author | String | The author of the event. | |
| Arguments | String | Refers to a certain event and its resources. | |
| CreatedAt | Datetime | The date and time when the event was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| OrderId | Long | The ID of the Order to retrieve events from. |
Query fulfillment order line items.
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the fulfillment order line item. | |
| ShopId | Long |
Shop.Id | The ID of the shop associated with the fulfillment order line item. |
| FulfillmentOrderId | Long | The ID of the fulfillment order associated with this line item. | |
| OrderId | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| LineItemId | Long |
OrdersItems.ItemId | The ID of the line item associated with this fulfillment order line item. |
| InventoryItemId | Long | The ID of the inventory item associated with this fulfillment order line item. | |
| Quantity | Int | The total number of units to be fulfilled. | |
| FulfillableQuantity | Int | The number of units remaining to be fulfilled. | |
| VariantId | Long | The ID of the variant associated with this fulfillment order line item. | |
| FinancialSummaries | String | The financial summary data for the line item. |
Query fulfillment orders.
| Name | Type | References | Description |
| Id [KEY] | Long | An ID for the fulfillment order. | |
| ShopId | Long |
Shop.Id | The ID of the shop that's associated with the fulfillment order. |
| OrderId [KEY] | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| AssignedLocationId | Long | The ID of the location that has been assigned to do the work. | |
| DestinationId | String | The ID of the fulfillment order destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| FullfillAt | Datetime | The datetime (in UTC) when the fulfillment order is ready for fulfillment. | |
| LineItems | String | Represents line items belonging to a fulfillment order. | |
| RequestStatus | String | The status of the fulfillment. | |
| Status | String | The status of the fulfillment order. | |
| SupportedActions | String | The actions that can be performed on this fulfillment order. | |
| MerchantRequests | String | A list of requests sent by the merchant to the fulfillment service for this fulfillment order.. | |
| FulfillmentHolds | String | Represents the fulfillment holds applied on the fulfillment order. | |
| InternationalDuties | String | The international duties relevant to the fulfillment order. | |
| AssignedLocationAddress1 | String | The street address of the assigned location | |
| AssignedLocationAddress2 | String | An optional additional field for the street address of the assigned location. | |
| AssignedLocationCity | String | The city of the assigned location. | |
| AssignedLocationCountryCode | String | The two-letter code for the country of the assigned location | |
| AssignedLocationName | String | The name of the assigned location. | |
| AssignedLocationPhone | String | The phone number of the assigned location. | |
| DeliveryMethodId | Long | The ID of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodPresentedName | String | The name of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodType | String | The type of the delivery option that was presented to the buyer during checkout. |
Retrieve information regarding store locations.
| Name | Type | References | Description |
| Id [KEY] | Long | The ID for the location. | |
| Name | String | The name of the location. | |
| Legacy | Bool | Whether this is a fulfillment service location. If true, then the location is a fulfillment service location. If false, then the location was created by the merchant and isn't tied to a fulfillment service. | |
| Address1 | String | The first line of the address. | |
| Address2 | String | The second line of the address. | |
| City | String | The city the location is in. | |
| Zip | String | The zip or postal code. | |
| Province | String | The province the location is in. | |
| Country | String | The country the location is in. | |
| Phone | String | The phone number of the location. This value can contain special characters like - and +. | |
| CountryCode | String | The two-letter code (ISO 3166-1 alpha-2 format) corresponding to country the location is in. | |
| CountryName | String | The name of the country the location is in. | |
| CreatedAt | Datetime | The date and time when the location was created. | |
| UpdatedAt | Datetime | The date and time when the location was last updated. | |
| DeletedAt | Datetime | The date and time when the location was deleted. |
Query note attributes belonging to an order or draft order.
| Name | Type | References | Description |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Name | String | The name of the note attribute. | |
| Value | String | The value of the note attribute. |
Query note attributes belonging to an order or draft order.
| Name | Type | References | Description |
| OrderId [KEY] | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Code [KEY] | String | The name of the note attribute. | |
| Amount | String | The value of the note attribute. | |
| Type | String | The value of the note attribute. |
Query order item discount allocations.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| amount | String | The Amount of the item discount allocations. | |
| ApplicationIndex | Int | The ApplicationIndex of the item discount allocations. | |
| ShopMoneyAmount | Decimal | The ShopMoneyAmount of the item discount allocations. | |
| ShopMoneyCurrencyCode | String | The ShopMoneyCurrencyCode of the item discount allocations. | |
| PresentmentMoneyAmount | Decimal | The PresentmentMoneyAmount of the item discount allocations. | |
| PresentmentMoneyCurrencyCode | String | The PresentmentMoneyCurrencyCode of the item discount allocations. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order item properties.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| Name | String | The name of the item property. | |
| Value | String | The value of the item property. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order items.
| Name | Type | References | Description |
| ItemId [KEY] | Long | The id of the order item. Only available for orders. | |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| ProductId | Long | The id of the of the product beloning to the order item. | |
| ItemVariantId | Long | The id of the product variant. | |
| ItemTitle | String | The title of the product. | |
| Name | String | The name of the product variant. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemGrams | Int | The weight of the item in grams. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| VariantTitle | String | The title of the product variant. | |
| Properties | String | Shows custom properties for this order item. | |
| Vendor | String | The name of the supplier of the item. | |
| FulFillmentsService | String | Service provider who is doing the fulfillment. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| GiftCard | Bool | States whether or not the order item is a gift card. | |
| CurrentQuantity | Int | The line item's current quantity after removals. | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| TotalDiscount | Decimal | The total discount amount applied to this order item. | |
| FulfillmentStatus | String | How far along an order is in terms order items fulfilled. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Type | String | The type of order item, can be one of the following(Order, DraftOrder, AbandonedCheckout).
The allowed values are Order, DraftOrder, AbandonedCheckout. | |
| Status | String | Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Retrieves a list of all payouts ordered by payout date, with the most recent being first.
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the payout. | |
| Status | String | The transfer status of the payout. | |
| Currency | String | The ISO 4217 currency code of the payout. | |
| Amount | Decimal | The total amount of the payout, in a decimal formatted string. | |
| Date | Datetime | The date the payout was issued. |
Retrieves a list of all balance transactions ordered by processing time, with the most recent being first.
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the transaction. | |
| Type | String | The type of the balance transaction. | |
| Test | Bool | If the transaction was created for a test mode Order or payment. | |
| PayoutId | Long |
Payouts.Id | The id of the payout the transaction was paid out in. |
| PayoutStatus | String | The status of the payout the transaction was paid out in, or pending if the transaction has not yet been included in a payout. | |
| Currency | String | The ISO 4217 currency code of the transaction. | |
| Amount | Decimal | The gross amount of the transaction, in a decimal formatted string. | |
| Fee | Decimal | The total amount of fees deducted from the transaction amount. | |
| Net | Decimal | The net amount of the transaction. | |
| SourceId | Long | The id of the resource leading to the transaction. | |
| SourceType | String | The type of the resource leading to the transaction. | |
| SourceOrderTransactionId | String | The id of the Order Transaction that resulted in this balance transaction. | |
| SourceOrderId | String | The id of the Order that this transaction ultimately originated from. | |
| ProcessedAt | Datetime | The time the transaction was processed. | |
| AdjustmentReason | String | The reason why an adjustment was made. |
Retrieves associated order transactions that resulted in a balance transaction.
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the order transaction. | |
| PayoutTransactionId | Long | The unique identifier of the transaction. | |
| Amount | Decimal | Amount that is adjusted in this order transaction. | |
| Fee | Decimal | The total amount of fees deducted from the transaction amount. | |
| Net | Decimal | The net amount of the transaction. | |
| OrderId | Long | The order details for the order transaction. Order id. | |
| OrderName | String | The order details for the order transaction. Order name. |
Create and query transactions.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the refund adjustment. | |
| OrderId | Long |
Orders.Id | The unique identifier for the order that the order adjustment is associated with. |
| RefundId | Long |
Refunds.Id | The unique identifier for the refund that the order adjustment is associated with. |
| Amount | Decimal | The value of the discrepancy between the calculated refund and the actual refund. | |
| TaxAmount | Decimal | The taxes that are added to amount, such as applicable shipping taxes added to a shipping refund. | |
| Kind | String | The order adjustment type. | |
| Reason | String | The reason for the order adjustment. | |
| AmountShopMoney | Decimal | The amount of the order adjustment in shop. | |
| AmountShopCurrency | String | The currency of the order adjustment in shop. | |
| AmountPresentmentMoney | Decimal | The amount of the order adjustment in presentment. | |
| AmountPresentmentCurrency | String | The currency of the order adjustment in presentment. | |
| TaxAmountShopMoney | Decimal | The tax amount of the order adjustment in shop. | |
| TaxAmountShopCurrency | String | The tax currency of the order adjustment in shop. | |
| TaxAmountPresentmentMoney | Decimal | The tax amount of the order adjustment in presentment. | |
| TaxAmountPresentmentCurrency | String | The tax currency of the order adjustment in presentment. |
Get data on OrdersItems that have been refunded.
| Name | Type | References | Description |
| ItemId [KEY] | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderID [KEY] | Long |
Orders.Id | The id of the refund this refunded item belongs to. |
| RefundId [KEY] | Long |
Refunds.Id | The id of the refund this refunded item belongs to. |
| LocationId | Long | The unique identifier of the location tied to the refund item | |
| ProductId | Long | The id of the of the product beloning to the order item. | |
| ItemVariantId | Long | The id of the product variant. | |
| ItemTitle | String | The title of the product. | |
| Name | String | The name of the product variant. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemGrams | Int | The weight of the item in grams. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| VariantTitle | String | The title of the product variant. | |
| Properties | String | Shows custom properties for this order item. | |
| Vendor | String | The name of the supplier of the item. | |
| FulFillmentsService | String | Service provider who is doing the fulfillment. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| GiftCard | Bool | States whether or not the order item is a gift card. | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| TotalDiscount | Decimal | The total discount amount applied to this order item. | |
| FulfillmentStatus | String | How far along an order is in terms order items fulfilled. | |
| RefundSubtotal | Decimal | The refunded amount for this item. This is calculated by multiplying ItemPrice with RefundQuantity. | |
| RefundQuantity | Int | The quantity of the item refunded. | |
| RefundRestockType | String | The type of the restock action. | |
| RefundSubtotalPresentmentAmount | Decimal | The total amount of the presentment money. | |
| RefundSubtotalPresentmentCurrencyCode | String | The currency code of the presentment money. | |
| RefundSubtotalShopAmount | Decimal | The total amount of the shop money. | |
| RefundSubtotalShopCurrencyCode | String | The currency code of the shop money. | |
| RefundTotalTax | Decimal | Total tax for the refunded item. | |
| RefundTotalTaxPresentmentAmount | Decimal | Total tax amount for the presentment money. | |
| RefundTotalTaxPresentmentCurrencyCode | String | Currency code for the tax on presentment money. | |
| RefundTotalTaxShopAmount | Decimal | Total tax amount for the shop money. | |
| RefundTotalTaxShopCurrencyCode | String | Currency code for the tax on shop money. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Status | String | Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Query transactions for Refund Object.
| Name | Type | References | Description |
| TransactionsId [KEY] | Long | The ID for the refund transaction. | |
| OrderId | Long |
Orders.Id | The ID for the order that the transaction is associated with. |
| RefundId | Long |
Refunds.Id | The unique identifier for the refund associated with. |
| Amount | Decimal | The amount of money included in the transaction. | |
| Authorization | String | The authorization code associated with the transaction.. | |
| CreatedAt | Datetime | The date and time (ISO 8601 format) when the transaction was created. | |
| Currency | String | The three-letter code (ISO 4217 format) for the currency used for the payment. | |
| DeviceId | String | The ID for the device. | |
| ErrorCode | String | A standardized error code, independent of the payment provider. | |
| GraphqlAPIId | String | The order adjustment type. | |
| Gateway | String | The name of the gateway the transaction was issued through. | |
| Kind | String | The transaction's type. | |
| LocationId | String | The ID of the physical location where the transaction was processed. | |
| Message | String | A string generated by the payment provider with additional information about why the transaction succeeded or failed. | |
| ParentId | Long | The ID of an associated transaction.. | |
| ProcessedAt | Datetime | The date and time (ISO 8601 format) when a transaction was processed. | |
| Status | String | The status of the transaction. | |
| SourceName | String | The origin of the transaction. | |
| Test | Bool | Whether the transaction is a test transaction. | |
| UserId | String | The ID for the user who was logged into the Shopify POS device when the order was processed, if applicable. |
Query Shipping item discount allocations.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
ShippingItems.ItemId | The id of the shipping item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| Amount | String | The Amount of the item discount allocations. | |
| ShopMoneyAmount | Decimal | The ShopMoneyAmount of the item discount allocations. | |
| ShopMoneyCurrencyCode | String | The ShopMoneyCurrencyCode of the item discount allocations. | |
| PresentmentMoneyAmount | Decimal | The PresentmentMoneyAmount of the item discount allocations. | |
| PresentmentMoneyCurrencyCode | String | The PresentmentMoneyCurrencyCode of the item discount allocations. | |
| DiscountApplicationIndex | Int | The Discount application index for an order. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order shipping.
| Name | Type | References | Description |
| Id [KEY] | Long | The id of the shipping item. | |
| OrderId [KEY] | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Price | Decimal | The price of this shipping method. | |
| Code | String | A reference to the shipping method. | |
| Title | String | The title of the shipping method. | |
| Source | String | The source of the shipping method. | |
| CarrierIdentifier | String | A reference to the carrier service that provided the rate. | |
| RequestedFulfillmentServiceId | String | A reference to the fulfillment service that is being requested for the shipping method. |
Retrieve information regarding shipping zones.
| Name | Type | References | Description |
| Id [KEY] | Long | The unique numeric identifier for the shipping zone. | |
| Name | String | The name of the shipping zone, specified by the user. | |
| ProfileId | String | The ID of the shipping zone's delivery profile. Shipping profiles allow merchants to create product-based or location-based shipping rates. | |
| LocationGroupId | String | The ID of the shipping zone's location group. Location groups allow merchants to create shipping rates that apply only to the specific locations in the group. | |
| Countries | String | A list of countries that belong to the shipping zone. | |
| CarrierShippingRateProviders | String | Information about carrier shipping providers and the rates used. | |
| PriceBasedShippingRates | String | Information about price based shipping rates used. | |
| WeightBasedShippingRates | String | Information about weight based shipping rates used. |
Contains general settings and information about the shop.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the shop. | |
| Name | String | The name of the shop. | |
| String | The contact email address for the shop. | ||
| Address1 | String | The shop's street address. | |
| Address2 | String | The shop's additional street address (apt, suite, etc.). | |
| City | String | The city in which the shop is located. | |
| Country | String | The shop's country (by default equal to the two-letter country code). | |
| CountryCode | String | The two-letter country code corresponding to the shop's country. | |
| CountryName | String | The shop's normalized country name. | |
| CustomerEmail | String | The customer's email. | |
| Currency | String | The three-letter code for the currency that the shop accepts. | |
| Domain | String | The shop's domain. | |
| GoogleAppsDomain | String | The URL of the domain if the shop has a google apps domain. | |
| GoogleAppsLoginEnabled | String | Indicated whether the shop has google apps login enabled. | |
| Latitude | Double | Geographic coordinate specifying the north/south location of a shop. | |
| Longitude | Double | Geographic coordinate specifying the east/west location of a shop. | |
| MoneyFormat | String | A string representing the way currency is formatted when the currency isn't specified. | |
| MoneyWithCurrencyFormat | String | A string representing the way currency is formatted when the currency is specified. | |
| WeightUnit | String | A string representing the default unit of weight measurement for the shop. | |
| MyshopifyDomain | String | The shop's 'myshopify.com' domain. | |
| PlanName | String | The name of the Shopify plan the shop is on. | |
| HasDiscounts | Bool | Indicates if any active discounts exist for the shop. | |
| HasGiftCards | Bool | Indicates if any active gift cards exist for the shop. | |
| PlanDisplayName | String | The display name of the Shopify plan the shop is on. | |
| PasswordEnabled | Bool | Indicates whether the Storefront password protection is enabled. | |
| Phone | String | The contact phone number for the shop. | |
| PrimaryLocale | String | The shop's primary locale. | |
| Province | String | The shop's normalized province or state name. | |
| ProvinceCode | String | The two-letter code for the shop's province or state. | |
| ShopOwner | String | The username of the shop owner. | |
| Source | String | The handle of the partner account that referred the merchant to Shopify, if applicable. | |
| TaxShipping | Bool | Specifies whether or not taxes were charged for shipping. | |
| TaxesIncluding | Bool | The setting for whether applicable taxes are included in product prices. | |
| CountryTaxes | Bool | The setting for whether the shop is applying taxes on a per-county basis or not (US-only). | |
| Timezone | String | The name of the timezone the shop is in. | |
| IANATimezone | String | The named timezone assigned by the IANA. | |
| Zip | String | The zip or postal code of the shop's address. | |
| HasStorefront | Bool | Indicates whether the shop has web-based storefront or not. | |
| CreatedAt | Datetime | The date and time when the shop was created. | |
| UpdatedAt | Datetime | The date and time when the shop was last updated. | |
| SetupRequired | Bool | Indicates whether the shop has any outstanding setup steps or not. |
Query order taxes.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. | |
| TaxItemPrice | Decimal | The amount of tax to be charged. | |
| TaxItemRate | Decimal | The rate of tax to be applied. | |
| TaxItemTitle | String | The name of the tax. |
Query Users.
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the user. | |
| FirstName | String | The first name of the user. | |
| String | The email of the user. | ||
| Url | String | The url of the user. | |
| IM | String | The IM of the user. | |
| ScreenName | String | The screen name of the user. | |
| Phone | String | The phone number of the of the user. | |
| LastName | String | The last name of the user. | |
| AccountOwner | Bool | If the user is the account owner. | |
| ReceiveAnnouncements | Bool | If the user receives announcements. | |
| Bio | String | The bio of the user. | |
| Permissions | String | The list of permissions of the user. | |
| Locale | String | The Locale of the user. | |
| UserType | String | The type of the user. | |
| AdminGraphQLAPIId | String | The Admin GraphQL API Id of the user. | |
| TFAEnabled | Bool | If TFA is enabled. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| AcceptCancellationRequest | Accepts a cancellation request sent to a fulfillment service for a fulfillment order. |
| AcceptFulfillmentRequest | Accepts a fulfillment request sent to a fulfillment service for a fulfillment order. |
| ApproveComment | Approves a comment |
| AssignDefaultAddress | Assign a default address to a customer. |
| CalculateRefund | Calculates refund transactions based on line items and shipping. |
| ChangeSpamStatus | Changes spam status of a comment |
| CompleteDraftOrder | Complete a draft order. |
| CreateAccountActivationUrl | Creates an account activation URL for the specified customer. |
| RejectCancellationRequest | Rejects a cancellation request sent to a fulfillment service for a fulfillment order. |
| RejectFulfillmentRequest | Rejects a fulfillment request sent to a fulfillment service for a fulfillment order. |
| RestoreComment | Restores a previously removed comment |
| SendCancellationRequest | Sends a cancellation request to the fulfillment service of a fulfillment order. |
| SendFulfillmentRequest | Sends a fulfillment request to the fulfillment service of a fulfillment order. |
| SendInvite | Send a default or customized invite to a customer. |
| SendInvoice | Send a default or customized invoice to a customer. |
| UpdateQuantity | Update the available quantity of inventory items for a product variant in a specific location. |
Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for accepting the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for accepting the fulfillment request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Approves a comment
| Name | Type | Description |
| Id | String | The id of the comment that needs to be approved. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Assign a default address to a customer.
| Name | Type | Description |
| CustomerId | String | The id of the customer. |
| CustomerAddressId | String | The id of the address you are setting as default. This address must belong to the customer specified in CustomerId. You cannot use the address of a different customer. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Calculates refund transactions based on line items and shipping.
| Name | Type | Description |
| OrderId | String | The id of the order. |
| Currency | String | The ISO format for the currency used to refund. Required when the ShippingAmount is provided. |
| RefundLineItems | String | A list of line item IDs, quantities to refund, and restock instructions. |
| ShippingFullRefund | String | Specify whether to refund all remaining shipping. |
| ShippingAmount | Double | Specify a specific amount to refund for shipping. Takes precedence over ShippingFullRefund. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| AdditionalFees | String | A JSON aggregate for additional fees. |
| Currency | String | The ISO format for the currency used to refund. |
| Duties | String | A JSON aggregate of the refunded duties as part of this refund. |
| RefundLineItems | String | A JSON aggregate of line item IDs, quantities to refund, and restock instructions. |
| Return | String | The items that will be returned to the merchant. |
| ShippingAmount | Decimal | The decimal amount for shipping. |
| ShippingMaximumRefundable | Decimal | The maximum amount that can be refunded for shipping. |
| ShippingTax | Decimal | The tax amount for the shipping. |
| TotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | The decimal amount for additional fees presentment money. |
| TotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | The currency for additional fees presentment money. |
| TotalAdditionalFeesSetShopMoneyAmount | Decimal | The decimal amount for additional fees shop money. |
| TotalAdditionalFeesSetShopMoneyCurrencyCode | String | The currency for additional fees shop money. |
| TotalDutiesSetPresentmentMoneyAmount | Decimal | The decimal amount for duties presentment money. |
| TotalDutiesSetPresentmentMoneyCurrencyCode | String | The currency for for duties presentment money. |
| TotalDutiesSetShopMoneyAmount | Decimal | The decimal amount for duties shop money. |
| TotalDutiesSetShopMoneyCurrencyCode | String | The currency for duties shop money. |
| TransactionsOrderId | Long | The id of the transaction order. |
| TransactionsKind | String | The kind of transaction. Indicates whether the refund will be accepted. |
| TransactionsGateway | String | The gateway of the transaction. |
| TransactionsParentId | Long | The parent ID for the transaction. |
| TransactionsAmount | Decimal | The decimal amount for the transaction. |
| TransactionsCurrencyCode | String | The currency for the transaction. |
| TransactionsMaximumRefundable | Decimal | The maximum amount that can be refunded for transaction. |
Changes spam status of a comment
| Name | Type | Description |
| Id | String | The id of the comment whose status needs to be changed |
| Spam | String | Value of spam status
The allowed values are yes, no. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Complete a draft order.
| Name | Type | Description |
| Id | String | The id of the draft order. |
| PaymentPending | String | Sets payment pending to true.
The default value is false. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Creates an account activation URL for the specified customer.
| Name | Type | Description |
| CustomerId | String | The id of the customer. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| AccountActivationUrl | String | The URL the customer needs to access to activate his account. |
Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for rejecting the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| LineItems | String | An optional array of line item rejection details. If none are provided, all line items will be assumed to be unfulfillable. |
| Message | String | An optional message for rejecting the fulfillment request. |
| Reason | String | An optional reason for the fulfillment request rejection.
The allowed values are incorrect_address, inventory_out_of_stock, ineligible_product, undeliverable_destination, other. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Restores a previously removed comment
| Name | Type | Description |
| Id | String | The id of the comment that needs to be restored. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Sends a cancellation request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Sends a fulfillment request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| FulfillmentOrderLineItems | String | The fulfillment order line items to be requested for fulfillment. If left blank, all line items of the fulfillment order are requested for fulfillment. |
| Message | String | An optional message for the fulfillment request. |
| NotifyCustomer | Boolean | Whether to notify the customer about the fulfillment request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Send a default or customized invite to a customer.
| Name | Type | Description |
| Id | String | The customer id to whom the invite will be sent. |
| To | String | The email address of whom to send the invite. |
| From | String | The email address of the person who sent the invite. |
| BCC | String | A comma separated list of email addresses to whom a blind carbon copy of the email will be sent. |
| Subject | String | The subject of the email. |
| CustomMessage | String | A custom message to be sent. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Send a default or customized invoice to a customer.
| Name | Type | Description |
| Id | String | The id of the draft order invoice which will be sent. |
| To | String | The email address of whom to send the invoice. |
| From | String | The email address of the person who sent the invoice. |
| BCC | String | A comma separated list of email addresses to whom a blind carbon copy of the email will be sent. |
| Subject | String | The subject of the email. |
| CustomMessage | String | A custom message to be sent. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Update the available quantity of inventory items for a product variant in a specific location.
| Name | Type | Description |
| Id | String | A unique numeric identifier for the product variant. |
| InventoryQuantity | String | The quantity of inventory items available for sale to set. |
| LocationId | String | The ID of the location where the available quantity of items for sale is to be set. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
The CData Cloud models the Shopify API as relational tables, views, and stored procedures.
To use the GraphQL Data Model, simply set Schema to GraphQL.
The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.
Common tables include:
| Table | Description |
| Shop | Contains general settings and information about the shop. |
| Customers | Lists customers with core profile data, marketing preferences, and tags. |
| Catalogs | Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use. |
| Orders | Lists orders with customer, payment, fulfillment, duty, and tax details. |
| DeliveryProfiles | Lists saved delivery profiles that define shipping logic by product and location. |
| OrderTransactions | Lists payment transactions associated with orders (authorization, capture, refund). |
| Refunds | Represents refunds of items or transactions on an order, with amounts and reasons. |
| RefundLineItems | Lists refund line item records that specify quantities and amounts refunded. |
| Products | Lists products with titles, status, variants, media, and publishing details. |
| ProductVariants | Lists product variants with pricing, inventory tracking, and option values. |
| Collections | Returns manual and automated collections with titles, rules, and publication state. |
| CollectionProducts | Lists products contained within a specified collection. |
| DraftOrders | Lists saved draft orders for manual checkout or invoicing workflows. |
| DraftOrderLineItems | Lists the line items included in a draft order with quantities and prices. |
| Fulfillments | Represents shipments created for orders, including tracking and delivery status. |
| FulfillmentOrders | Lists merchant-managed and third-party fulfillment orders with statuses and assignments. |
| FulfillmentEvents | Lists status events (in transit, delivered) associated with fulfillments. |
| Locations | Lists active inventory locations used for stock, fulfillment, and pickup. |
| InventoryItems | Lists inventory items (SKU-level records) with tracking and cost data. |
| Metafields | Lists metafields attached to one or more resource Ids. |
Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing fulfillment orders, adjusting inventory across locations, and administering store configuration and content.
See UseBulkAPI for a more in-depth look at how the driver performs Shopify Bulk Operations.
The Cloud models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.
| Name | Description |
| AppFeedbacks | The system surfaces app feedback items that notify merchants about setup requirements or issues in the Admin. |
| AppSubscriptionLineItems | Lists the plan components and recurring line items that comprise an app subscription. |
| AppSubscriptions | Lists all subscriptions created for the shop's installed app, including status and billing cycles. |
| ArticleComments | Lists comments on blog articles with author details, content, and moderation status. |
| Articles | Lists the shop's articles with titles, content, authorship, and publication state. |
| Blogs | Lists the shop's blogs with titles, handles, and metadata. |
| CarrierServices | Lists activated carrier services and the shop locations that support them for live rate calculation. |
| Catalogs | Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use. |
| Collections | Returns manual and automated collections with titles, rules, and publication state. |
| Companies | Lists business-to-business (B2B) companies configured in the shop. |
| CompanyContactRoleAssignments | Lists role assignments mapping company contacts to their permissions. |
| CompanyContacts | Lists contacts for companies, including identifiers, email, and role. |
| CompanyLocations | Lists locations defined under a company, including addresses and identifiers. |
| CompanyLocationStaffMemberAssignments | Lists staff members assigned to a company location. Actions are scoped to that location (Shopify Plus only). |
| CustomerAddresses | List addresses associated with customers. |
| Customers | Lists customers with core profile data, marketing preferences, and tags. |
| DeliveryProfiles | Lists saved delivery profiles that define shipping logic by product and location. |
| DiscountsAutomaticApp | Lists automatic discounts defined and managed by apps. |
| DiscountsAutomaticBasic | Lists basic automatic discounts (for example, percentage or amount off). |
| DiscountsAutomaticBxgy | Lists automatic buy-X-get-Y discounts. |
| DiscountsCodeApp | Lists discount codes managed by apps. |
| DiscountsCodeBasic | Lists basic code discounts (fixed/percentage off, minimums). |
| DiscountsCodeBxgy | Lists buy-X-get-Y discount codes. |
| DraftOrders | Lists saved draft orders for manual checkout or invoicing workflows. |
| Files | Lists files uploaded to Shopify (images, PDFs, media) with metadata and URLs. |
| FulfillmentEvents | Lists status events (in transit, delivered) associated with fulfillments. |
| FulfillmentOrders | Lists merchant-managed and third-party fulfillment orders with statuses and assignments. |
| Fulfillments | Represents shipments created for orders, including tracking and delivery status. |
| FulfillmentServices | Lists fulfillment services that prepare and ship orders on behalf of the merchant. |
| FulfillmentTrackingInfo | Lists tracking details for fulfillments, including company, number, and tracking URL. |
| GiftCards | Lists gift cards and balances (requires read_gift_cards; available for Shopify Plus/private or custom application). |
| GiftCardTransactionsCredit | Lists credit transactions that increase a gift card balance (Shopify Plus only). |
| GiftCardTransactionsDebit | Lists debit transactions that decrease a gift card balance (Shopify Plus only). |
| InventoryItemInventoryLevels | Shows per-location inventory level summaries for an inventory item. |
| InventoryItems | Lists inventory items (SKU-level records) with tracking and cost data. |
| Locations | Lists active inventory locations used for stock, fulfillment, and pickup. |
| Menus | Lists navigation menus used on the storefront. |
| MetafieldDefinitions | Lists metafield definitions, including validation and presentation details. |
| Metafields | Lists metafields attached to one or more resource Ids. |
| OrderRiskAssessments | Lists fraud risk assessments attached to orders with scores and reasons. |
| Orders | Lists orders with customer, payment, fulfillment, duty, and tax details. |
| OrderTransactions | Lists payment transactions associated with orders (authorization, capture, refund). |
| Pages | Lists the shop's informational pages used on the storefront. |
| PriceLists | Lists price lists configured for the shop (for example, business-to-business (B2B) tiers, or markets). |
| ProductMediaImages | Lists image media attached to products with alt text and ordering. |
| ProductOptions | Lists product options (Size or Color). Limited by Shop.resourceLimits.maxProductOptions. |
| ProductOptionValues | Lists all possible option values for a given product option, even if not used by a variant. |
| ProductResourceFeedbacks | Lists product resource feedback items visible to the current application. |
| Products | Lists products with titles, status, variants, media, and publishing details. |
| ProductVariants | Lists product variants with pricing, inventory tracking, and option values. |
| Publications | Lists sales channel publications configured for the shop. |
| Refunds | Represents refunds of items or transactions on an order, with amounts and reasons. |
| Returns | Lists returns associated with orders, including statuses and dispositions. |
| ScriptTags | Lists script tags that inject JavaScript into storefront pages. |
| Segments | Lists customer segments defined in the shop. |
| SellingPlanGroups | Lists selling plan groups used for subscriptions and prepaid options. |
| StoreCreditAccountCreditTransactions | Lists transactions that credit (increase) a store credit account. |
| StoreCreditAccountDebitTransactions | Lists transactions that debit (decrease) a store credit account. |
| StorefrontAccessTokens | Lists storefront access tokens for private applications, scoped per application. |
| Themes | Lists the shop's themes with role and preview data. |
| UrlRedirects | Lists URL redirects configured for the shop to preserve search engine optimization (SEO) and navigation. |
The system surfaces app feedback items that notify merchants about setup requirements or issues in the Admin.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM AppFeedbacks
The following columns can be used to create a new record:
Message, State, FeedbackGeneratedAt
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the app feedback record. | |
| Title | String | True |
The name of the app that generated the feedback. | |
| Message | String | True |
The feedback message provided to the merchant by the app. | |
| Url | String | True |
The link URL included with the feedback, directing the merchant to additional details or actions. | |
| Label | String | True |
A context-sensitive label that describes the purpose of the link. | |
| State | String | True |
The current state of the feedback, indicating whether merchant action is required. The allowed values are ACCEPTED, REQUIRES_ACTION. | |
| FeedbackGeneratedAt | Datetime | True |
The date and time when the feedback was generated, used to determine whether new feedback is more recent than existing records. |
Lists the plan components and recurring line items that comprise an app subscription.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppSubscriptionLineItems WHERE AppInstallationId = 'Val1'
The following columns can be updated:
UsagePricingPlanCappedAmount, UsagePricingPlanCappedAmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the app subscription line item. | |
| AppSubscriptionId | String | True |
The globally unique identifier of the app subscription that this line item belongs to. | |
| AppInstallationId | String | True |
The globally unique identifier of the app installation linked to this subscription line item. | |
| RecurringPricingPlanDiscountDurationLimitInIntervals | Int | True |
The total number of billing intervals during which the discount is applied. If blank, the discount applies indefinitely. | |
| RecurringPricingPlanDiscountPriceAfterDiscountAmount | Decimal | True |
The subscription price after discounts are applied, expressed as a decimal money amount. | |
| RecurringPricingPlanDiscountPriceAfterDiscountCurrencyCode | String | True |
The currency code for the subscription price after discounts are applied. | |
| RecurringPricingPlanDiscountRemainingDurationInIntervals | Int | True |
The number of billing intervals remaining in which the discount is applied. | |
| RecurringPricingPlanValueAmount | Decimal | True |
The value of the recurring discount applied to each billing interval, expressed as a decimal money amount. | |
| RecurringPricingPlanValueAmountCurrencyCode | String | True |
The currency code for the recurring discount value applied each billing interval. | |
| RecurringPricingPlanValuePercentage | Double | True |
The discount rate applied to each billing interval, expressed as a percentage. | |
| RecurringPricingPlanInterval | String | True |
The frequency at which the merchant is billed for the app subscription, such as monthly or yearly. | |
| RecurringPricingPlanHandle | String | True |
The handle (unique identifier) of the app store pricing plan for the subscription. | |
| RecurringPricingPlanPriceAmount | Decimal | True |
The amount billed to the merchant for the subscription at each interval, expressed as a decimal money amount. | |
| RecurringPricingPlanPriceCurrencyCode | String | True |
The currency code for the recurring subscription price billed to the merchant. | |
| UsagePricingPlanBalanceUsedAmount | Decimal | True |
The total usage charges accumulated during the billing interval, expressed as a decimal money amount. | |
| UsagePricingPlanBalanceUsedCurrencyCode | String | True |
The currency code for the usage charges accumulated during the billing interval. | |
| UsagePricingPlanCappedAmount | Decimal | False |
The capped amount that limits how much a merchant can be billed for usage within a billing period. If usage exceeds this cap, the merchant must approve a new usage charge to continue using the app. Expressed as a decimal money amount. | |
| UsagePricingPlanCappedAmountCurrencyCode | String | False |
The currency code for the capped usage charge amount. | |
| UsagePricingPlanInterval | String | True |
The frequency at which usage charges for the app are billed, such as daily, monthly, or yearly. | |
| UsagePricingPlanTerms | String | True |
The terms and conditions governing app usage pricing. These must be provided to create usage charges and are shown to the merchant when they approve usage billing. |
Lists all subscriptions created for the shop's installed app, including status and billing cycles.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppSubscriptions WHERE AppInstallationId = 'Val1'
The following columns can be used to create a new record:
Name, Test, ReturnUrl, TrialDays, LineItem (references AppSubscriptionLineItems)
| Column Name | Type | Description |
| RecurringPricingPlanDiscountPriceAfterDiscountAmount | Decimal | The price of the subscription after the discount is applied. Decimal money amount. |
| RecurringPricingPlanDiscountRemainingDurationInIntervals | Int | The remaining number of billing intervals to which the discount will be applied. |
| RecurringPricingPlanValuePercentage | Double | The value of the discount applied every billing interval. The percentage value of a discount. |
| RecurringPricingPlanInterval | String | The frequency at which the subscribing shop is billed for an app subscription. |
| RecurringPricingPlanPriceAmount | Decimal | The amount to be charged to the subscribing shop every billing interval. Decimal money amount. |
| RecurringPricingPlanPriceCurrencyCode | String | The currency to be charged to the subscribing shop every billing interval. Currency of the money. |
| UsagePricingPlanCappedAmount | Decimal | The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount. |
| UsagePricingPlanCappedAmountCurrencyCode | String | The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money. |
| UsagePricingPlanTerms | String | The terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the app subscription. | |
| AppInstallationId | String | True |
The globally unique identifier of the app installation linked to this subscription. | |
| Name | String | True |
The display name of the app subscription. | |
| Status | String | True |
The current status of the app subscription, such as active, expired, or pending. | |
| Test | Bool | True |
Indicates whether the app subscription is a test transaction rather than a live subscription. | |
| ReturnUrl | String | True |
The URL where the merchant is redirected after approving the subscription. | |
| TrialDays | Int | True |
The number of trial days provided before billing begins, starting from the subscription's creation date. | |
| CurrentPeriodEnd | Datetime | True |
The date and time when the current billing period of the subscription ends. Returns null if the subscription is not active. | |
| CreatedAt | Datetime | True |
The date and time when the app subscription was created. | |
| LineItemIds | String | True |
The identifiers of the subscription plans attached to this app subscription. | |
| LineItem | String | True |
The details of the subscription plans attached to this app subscription. |
Lists comments on blog articles with author details, content, and moderation status.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ArticleComments WHERE Id = 'Val1'
SELECT * FROM ArticleComments WHERE ArticleId = 'Val1'
SELECT * FROM ArticleComments WHERE PublishedAt = '2023-01-01 11:10:00'
SELECT * FROM ArticleComments WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM ArticleComments WHERE CreatedAt = '2023-01-01 11:10:00'
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the comment. | |
| ArticleId | String | True |
The globally unique identifier of the article associated with the comment. | |
| ArticleTitle | String | True |
The title of the article that the comment is attached to. | |
| Body | String | True |
The plain text content of the comment. | |
| BodyHtml | String | True |
The comment content with HTML formatting included. | |
| Status | String | True |
The current status of the comment, such as approved, pending, or spam. | |
| Ip | String | True |
The IP address from which the commenter submitted the comment. | |
| UserAgent | String | True |
The user agent string of the commenter's browser or application. | |
| AuthorName | String | True |
The display name of the commenter. | |
| AuthorEmail | String | True |
The email address of the commenter. | |
| IsPublished | Bool | True |
Indicates whether the comment has been published. | |
| PublishedAt | Datetime | True |
The date and time when the comment was published. | |
| UpdatedAt | Datetime | True |
The date and time when the comment was most recently updated. | |
| CreatedAt | Datetime | True |
The date and time when the comment was originally created. |
Lists the shop's articles with titles, content, authorship, and publication state.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Articles WHERE Id = 'Val1'
SELECT * FROM Articles WHERE Handle = 'Val1'
SELECT * FROM Articles WHERE AuthorName = 'Val1'
SELECT * FROM Articles WHERE BlogId = 'Val1'
SELECT * FROM Articles WHERE BlogTitle = 'Val1'
SELECT * FROM Articles WHERE IsPublished = true
SELECT * FROM Articles WHERE PublishedAt = '2023-01-01 11:10:00'
SELECT * FROM Articles WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Articles WHERE CreatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, PublishedAt
The following pseudo-columns can be used to create a new record:
AuthorUserId, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, IsPublished, PublishedAt
The following pseudo-columns can be used to update a record:
AuthorUserId, RedirectNewHandle, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the article. | |
| Title | String | False |
The title of the article as displayed in the blog. | |
| Body | String | False |
The full body content of the article, including HTML markup. | |
| Handle | String | False |
A unique, human-readable string generated from the article title and used in the article's URL. | |
| Summary | String | False |
A short summary of the article, which can include HTML markup. The summary is displayed by the online store theme on pages such as the home page or main blog page. | |
| Tags | String | False |
Short descriptive tags associated with the article for categorization and search. | |
| TemplateSuffix | String | False |
The name of the alternate template applied to the article. Returns null if the default 'article.liquid' template is used. | |
| AuthorName | String | False |
The full name of the article's author. | |
| BlogId | String | False |
The globally unique identifier of the blog that contains this article. | |
| BlogTitle | String | False |
The title of the blog that contains this article. | |
| ImageId | String | True |
The unique identifier of the image associated with the article. | |
| ImageAltText | String | False |
Alternative text describing the content or purpose of the article's image. | |
| ImageUrl | String | False |
The URL of the article's image. | |
| ImageWidth | Int | True |
The original width of the article's image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageHeight | Int | True |
The original height of the article's image in pixels. Returns null if the image is not hosted by Shopify. | |
| CommentsCount | Int | True |
The total number of comments posted on the article. | |
| CommentPrecision | String | True |
The level of precision applied to the comment count value. | |
| IsPublished | Bool | False |
Indicates whether the article is currently published and visible. | |
| PublishedAt | Datetime | False |
The date and time when the article became visible. Returns null if the article is not published. | |
| UpdatedAt | Datetime | True |
The date and time when the article was last updated. | |
| CreatedAt | Datetime | True |
The date and time when the article was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| AuthorUserId | String |
The identifier of the staff account associated with the article's author. |
| RedirectNewHandle | Bool |
Indicates whether a redirect is automatically created when the article handle changes. If true, the old handle redirects to the new one. |
| Metafields | String |
The metafield input values used to create or update additional metadata for the article. |
Lists the shop's blogs with titles, handles, and metadata.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Blogs WHERE Id = 'Val1'
SELECT * FROM Blogs WHERE Title = 'Val1'
SELECT * FROM Blogs WHERE Handle = 'Val1'
SELECT * FROM Blogs WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Blogs WHERE CreatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, Handle, TemplateSuffix, CommentPolicy
The following pseudo-column can be used to create a new record:
Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
Title, Handle, TemplateSuffix, CommentPolicy
The following pseudo-columns can be used to update a record:
RedirectArticles, RedirectNewHandle, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the blog. | |
| Title | String | False |
The display title of the blog. | |
| Handle | String | False |
A unique, human-readable string for the blog. If not provided, the handle is automatically generated from the blog title. The handle can be customized and is used in the Liquid templating language to reference the blog. | |
| Tags | String | True |
A list of tags applied to the 200 most recent articles in the blog. | |
| TemplateSuffix | String | False |
The name of the alternate template applied to the blog. Returns null if the default 'blog.liquid' template is used. | |
| ArticlesCount | Int | True |
The number of articles in the blog. | |
| ArticlesCountPrecision | String | True |
The level of precision applied to the article count value. | |
| CommentPolicy | String | False |
Indicates whether readers can post comments on the blog and whether comments require moderation. | |
| FeedLocation | String | True |
The URL of the blog's feed provider. | |
| FeedPath | String | True |
The path to the blog's feed provider. | |
| UpdatedAt | Datetime | True |
The date and time when the blog was most recently updated. | |
| CreatedAt | Datetime | True |
The date and time when the blog was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| RedirectArticles | Bool |
Indicates whether blog articles are automatically redirected. |
| RedirectNewHandle | Bool |
Indicates whether a redirect is automatically created when the blog handle changes. If true, the old handle redirects to the new one. |
| Metafields | String |
Additional metadata fields attached to the blog resource. |
Lists activated carrier services and the shop locations that support them for live rate calculation.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM CarrierServices
The following columns can be used to create a new record:
Name, Active, SupportsServiceDiscovery, CallbackUrl
The following columns can be updated:
Name, Active, SupportsServiceDiscovery, CallbackUrl
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the carrier service. | |
| Name | String | False |
The name of the shipping service provider. | |
| FormattedName | String | True |
The display-ready, formatted name of the shipping service provider. | |
| IconAltText | String | True |
Alternative text that describes the content or purpose of the carrier service's image. | |
| IconHeight | Int | True |
The original height of the carrier service image in pixels. Returns null if the image is not hosted by Shopify. | |
| IconId | String | True |
The unique identifier of the carrier service image. | |
| IconWidth | Int | True |
The original width of the carrier service image in pixels. Returns null if the image is not hosted by Shopify. | |
| Active | Bool | False |
Indicates whether the carrier service is active and available to use. | |
| SupportsServiceDiscovery | Bool | False |
Indicates whether merchants can send test data to the carrier service through the Shopify Admin to preview shipping rate examples. | |
| CallbackUrl | String | False |
The callback URL endpoint that Shopify uses to request shipping rates from the carrier service. |
Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Catalogs
The following columns can be used to create a new record:
Status, Title, PriceListId, PublicationId
The following pseudo-column can be used to create a new record:
CompanyLocationIds
The following columns can be updated:
Status, Title, PriceListId, PublicationId
The following pseudo-column can be used to update a record:
CompanyLocationIds
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the catalog. | |
| Status | String | False |
The current status of the catalog, such as active or inactive. | |
| Title | String | False |
The display name of the catalog. | |
| PriceListId | String | False |
The globally unique identifier of the price list associated with the catalog. | |
| PublicationId | String | False |
The globally unique identifier of the publication linked to the catalog. | |
| OperationId | String | True |
The globally unique identifier of the operation that created or last modified the catalog. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| CompanyLocationIds | String |
The identifiers of the company locations associated with the catalog. |
Returns manual and automated collections with titles, rules, and publication state.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Collections WHERE Id = 'Val1'
SELECT * FROM Collections WHERE Title = 'Val1'
SELECT * FROM Collections WHERE Handle = 'Val1'
SELECT * FROM Collections WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Collections WHERE Namespace = 'Val1'
SELECT * FROM Collections WHERE Key = 'Val1'
SELECT * FROM Collections WHERE Value = 'Val1'
The following column can be updated:
SortOrder
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the collection. | |
| LegacyResourceId | String | True |
The legacy identifier of the collection in the REST Admin API. | |
| Title | String | True |
The display name of the collection, shown in the Shopify Admin and in sales channels such as the online store. | |
| Handle | String | True |
A unique, human-readable string that identifies the collection. If not specified at creation, the handle is automatically generated from the collection title using hyphens between words. For example, a collection titled 'Summer Catalog 2022' might generate the handle 'summer-catalog-2022'. The handle does not automatically change if the title changes. In themes, the handle can be referenced with Liquid, though the collection Id is preferred because it never changes. | |
| DescriptionHtml | String | True |
The description of the collection, including HTML formatting. This content is typically shown to customers in sales channels, depending on the theme. | |
| ProductsCount | Int | True |
The number of products included in the collection. | |
| ProductsCountPrecision | String | True |
The level of precision applied to the product count value. | |
| SortOrder | String | False |
The default order in which products in the collection are displayed in the Shopify Admin and in sales channels such as the online store. | |
| TemplateSuffix | String | True |
The suffix of the Liquid template used to render the collection in an online store. For example, if the value is 'custom', the 'collection.custom.liquid' template is used. If null, the default 'collection.liquid' template is used. | |
| AvailablePublicationsCount | Int | True |
The number of publications where the collection is published without feedback errors. | |
| AvailablePublicationsCountPrecision | String | True |
The level of precision applied to the available publications count. | |
| PublishedOnCurrentPublication | Bool | True |
Indicates whether the collection is published to the calling app's publication. | |
| UpdatedAt | Datetime | True |
The date and time when the collection was last updated. | |
| FeedbackSummary | String | True |
A summary of feedback associated with the collection. | |
| ImageId | String | True |
The unique identifier of the image associated with the collection. | |
| ImageWidth | Int | True |
The original width of the collection image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageAltText | String | True |
Alternative text describing the content or purpose of the collection image. | |
| ImageHeight | Int | True |
The original height of the collection image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The URL of the collection image. | |
| RuleSetAppliedDisjunctively | Bool | True |
Specifies whether products must match any or all rules to be included in the collection. If true, products must match at least one rule. If false, products must match all rules. | |
| SeoTitle | String | True |
The search engine optimization (SEO) title of the collection, used in search engine results. | |
| SeoDescription | String | True |
The SEO description of the collection, used in search engine results. | |
| Namespace | String | True |
The container the metafield belongs to. If not specified, the app-reserved namespace will be used. | |
| Key | String | True |
The unique key that identifies the metafield within its namespace for the collection. | |
| Value | String | True |
The stored data of the metafield for the collection. |
Lists business-to-business (B2B) companies configured in the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Companies WHERE Id = 'Val1'
SELECT * FROM Companies WHERE ExternalId = 'Val1'
SELECT * FROM Companies WHERE Name = 'Val1'
SELECT * FROM Companies WHERE CustomerSince = '2023-01-01 11:10:00'
SELECT * FROM Companies WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Companies WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
ExternalId, Name, Note, CustomerSince
The following columns can be updated:
ExternalId, Name, Note, MainContactId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the company. | |
| ExternalId | String | False |
An externally supplied identifier used to uniquely reference the company outside of Shopify. | |
| Name | String | False |
The name of the company. | |
| Note | String | False |
A merchant-facing note about the company. | |
| ContactsCount | Int | True |
The number of contacts associated with the company. | |
| ContactsCountPrecision | String | True |
The level of precision applied to the contact count value. | |
| CustomerSince | Datetime | True |
The date and time when the company became a customer. | |
| DefaultCursor | String | True |
A default cursor used to retrieve the next company record in ascending ID order. | |
| LifetimeDuration | String | True |
The duration of time since the company became a customer, expressed as a readable interval such as '2 days', '3 months', or '1 year'. | |
| LocationsCount | Int | True |
The number of locations linked to the company. | |
| LocationsCountPrecision | String | True |
The level of precision applied to the location count value. | |
| OrdersCount | Int | True |
The total number of orders placed by the company across all of its locations. | |
| OrdersCountPrecision | String | True |
The level of precision applied to the order count value. | |
| HasTimelineComment | Bool | True |
Indicates whether a timeline comment has been added to the company record by the merchant. | |
| CreatedAt | Datetime | True |
The date and time when the company was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the company record was last updated. | |
| DefaultRoleId | String | True |
The globally unique identifier of the company's default role. | |
| DefaultRoleName | String | True |
The name of the company's default role, such as 'admin' or 'buyer'. | |
| DefaultRoleNote | String | True |
A note associated with the company's default role. | |
| MainContactId | String | True |
The globally unique identifier of the company's main contact. | |
| TotalSpentAmount | Decimal | True |
The total amount spent by the company, expressed as a decimal money value. | |
| TotalSpentCurrencyCode | String | True |
The currency code for the company's total spent amount. |
Lists role assignments mapping company contacts to their permissions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyContactRoleAssignments WHERE CompanyContactId = 'Val1'
The following columns can be used to create a new record:
CompanyLocationId, CompanyContactId, RoleId
You can delete entries by specifying the following columns:
Id, CompanyContactId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the company contact role assignment. | |
| CompanyId | String | True |
The globally unique identifier of the company that this role assignment belongs to. | |
| CompanyLocationId | String | True |
The globally unique identifier of the company location where the role is assigned. | |
| CompanyContactId | String | True |
The globally unique identifier of the company contact associated with this role assignment. | |
| CreatedAt | Datetime | True |
The date and time when the role assignment record was created. | |
| UpdatedAt | Datetime | True |
The date and time when the role assignment record was last updated. | |
| RoleId | String | True |
The globally unique identifier of the assigned role. | |
| RoleName | String | True |
The name of the assigned role, such as 'admin' or 'buyer'. | |
| RoleNote | String | True |
A note associated with the assigned role. |
Lists contacts for companies, including identifiers, email, and role.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CompanyContacts WHERE CompanyId = 'Val1'
SELECT * FROM CompanyContacts WHERE Id = 'Val1'
The following columns can be used to create a new record:
CompanyId, Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone, CustomerId
The following columns can be updated:
Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| CompanyId | String | True |
The globally unique identifier of the company that the contact belongs to. | |
| Id [KEY] | String | True |
The globally unique identifier of the company contact. | |
| IsMainContact | Bool | True |
Indicates whether this contact is the main contact for the company. | |
| Title | String | False |
The job title of the company contact. | |
| Locale | String | False |
The locale (language) preference of the company contact. | |
| LifetimeDuration | String | True |
The duration of time since the company contact was created in Shopify, expressed as a readable interval such as '1 year', '2 months', or '3 days'. | |
| CreatedAt | Datetime | True |
The date and time when the company contact was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the company contact record was last updated. | |
| CustomerId | String | True |
The globally unique identifier of the customer linked to this contact. | |
| CustomerFirstName | String | False |
The first name of the customer associated with this contact. | |
| CustomerLastName | String | False |
The last name of the customer associated with this contact. | |
| CustomerEmail | String | False |
The email address of the customer associated with this contact. | |
| CustomerPhone | String | False |
The phone number of the customer associated with this contact. |
Lists locations defined under a company, including addresses and identifiers.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyLocations WHERE CompanyId = 'Val1'
The following columns can be used to create a new record:
CompanyId, ExternalId, TaxRegistrationId, Name, Locale, Note, Phone, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressPhone, BillingAddressRecipient, BillingAddressZip, BillingAddressCountryCode, BillingAddressZoneCode, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressPhone, ShippingAddressRecipient, ShippingAddressZip, ShippingAddressCountryCode, ShippingAddressZoneCode
The following columns can be updated:
ExternalId, Name, Locale, Note, Phone, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the company location. | |
| CompanyId | String | True |
Companies.Id |
The globally unique identifier of the company that this location belongs to. |
| ExternalId | String | False |
An externally supplied identifier used to uniquely reference the company location outside of Shopify. | |
| TaxRegistrationId | String | True |
The tax registration identifier of the company location. | |
| Name | String | False |
The display name of the company location. | |
| Currency | String | True |
The currency of the company location, based on the shipping address. If no shipping address is provided, the value defaults to the shop's primary market currency. | |
| Locale | String | False |
The preferred locale (language) of the company location. | |
| Note | String | False |
A merchant-facing note about the company location. | |
| Phone | String | False |
The phone number of the company location. | |
| DefaultCursor | String | True |
A default cursor used to retrieve the next company location record in ascending ID order. | |
| OrdersCount | Int | True |
The total number of orders placed for the company location. | |
| OrdersCountPrecision | String | True |
The level of precision applied to the order count value. | |
| TaxExemptions | String | True |
A list of tax exemptions applied to the company location. | |
| HasTimelineComment | Bool | True |
Indicates whether a timeline comment has been added to the company location by the merchant. | |
| CreatedAt | Datetime | True |
The date and time when the company location was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the company location record was last updated. | |
| BillingAddressId | String | True |
The globally unique identifier of the billing address for this company location. | |
| BillingAddressCompanyName | String | True |
The company name listed on the billing address. | |
| BillingAddressFirstName | String | True |
The first name of the billing address recipient. | |
| BillingAddressLastName | String | True |
The last name of the billing address recipient. | |
| BillingAddressAddress1 | String | True |
The first line of the billing address, typically a street address or PO Box. | |
| BillingAddressAddress2 | String | True |
The second line of the billing address, typically an apartment, suite, or unit number. | |
| BillingAddressCity | String | True |
The city, town, district, or village of the billing address. | |
| BillingAddressCountry | String | True |
The country of the billing address. | |
| BillingAddressPhone | String | True |
The phone number associated with the billing address, formatted using the E.164 standard (for example, +16135551111). | |
| BillingAddressProvince | String | True |
The province, state, or district of the billing address. | |
| BillingAddressRecipient | String | True |
The name of the recipient for the billing address, such as 'Receiving Department'. | |
| BillingAddressZip | String | True |
The postal or ZIP code of the billing address. | |
| BillingAddressCountryCode | String | True |
The two-letter country code of the billing address, such as US. | |
| BillingAddressFormattedArea | String | True |
A comma-separated string combining the city, province, and country of the billing address. | |
| BillingAddressZoneCode | String | True |
The two-letter code for the region of the billing address, such as 'ON' for Ontario, Canada. | |
| BillingAddressCreatedAt | Datetime | True |
The date and time when the billing address record was created. | |
| BillingAddressUpdatedAt | Datetime | True |
The date and time when the billing address record was last updated. | |
| BuyerExperienceConfigurationCheckoutToDraft | Bool | False |
Indicates whether checkouts are converted into draft orders for merchant review. | |
| BuyerExperienceConfigurationPayNowOnly | Bool | True |
Indicates whether buyers must pay immediately at checkout, or if they can also pay later using net terms. | |
| BuyerExperienceConfigurationEditableShippingAddress | Bool | False |
Indicates whether buyers can edit their shipping address during checkout. | |
| BuyerExperienceConfigurationDepositPercentage | Double | False |
The percentage of the order total that must be paid as a deposit at checkout. | |
| BuyerExperienceConfigurationPaymentTermsTemplateId | String | False |
The globally unique identifier of the payment terms template applied to this location. | |
| BuyerExperienceConfigurationPaymentTermsTemplateName | String | True |
The display name of the payment terms template. | |
| BuyerExperienceConfigurationPaymentTermsTemplateTranslatedName | String | True |
The translated display name of the payment terms template. | |
| BuyerExperienceConfigurationPaymentTermsTemplateDescription | String | True |
The description of the payment terms template. | |
| BuyerExperienceConfigurationPaymentTermsTemplateDueInDays | Int | True |
The number of days between the issue date and due date when using net payment terms. | |
| BuyerExperienceConfigurationPaymentTermsTemplatePaymentTermsType | String | True |
The type of payment terms defined by the template. | |
| MarketId | String | True |
The globally unique identifier of the market associated with this company location. | |
| ShippingAddressId | String | True |
The globally unique identifier of the shipping address for this company location. | |
| ShippingAddressCompanyName | String | True |
The company name listed on the shipping address. | |
| ShippingAddressFirstName | String | True |
The first name of the shipping address recipient. | |
| ShippingAddressLastName | String | True |
The last name of the shipping address recipient. | |
| ShippingAddressAddress1 | String | True |
The first line of the shipping address, typically a street address or PO Box. | |
| ShippingAddressAddress2 | String | True |
The second line of the shipping address, typically an apartment, suite, or unit number. | |
| ShippingAddressCity | String | True |
The city, town, district, or village of the shipping address. | |
| ShippingAddressCountry | String | True |
The country of the shipping address. | |
| ShippingAddressPhone | String | True |
The phone number associated with the shipping address, formatted using the E.164 standard (for example, +16135551111). | |
| ShippingAddressProvince | String | True |
The province, state, or district of the shipping address. | |
| ShippingAddressRecipient | String | True |
The name of the recipient for the shipping address, such as 'Receiving Department'. | |
| ShippingAddressZip | String | True |
The postal or ZIP code of the shipping address. | |
| ShippingAddressCountryCode | String | True |
The two-letter country code of the shipping address, such as US. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated string combining the city, province, and country of the shipping address. | |
| ShippingAddressZoneCode | String | True |
The two-letter code for the region of the shipping address, such as ON. | |
| ShippingAddressCreatedAt | Datetime | True |
The date and time when the shipping address record was created. | |
| ShippingAddressUpdatedAt | Datetime | True |
The date and time when the shipping address record was last updated. | |
| TotalSpentAmount | Decimal | True |
The total amount spent through this company location, expressed as a decimal money value. | |
| TotalSpentCurrencyCode | String | True |
The currency code for the total amount spent through this company location. |
Lists staff members assigned to a company location. Actions are scoped to that location (Shopify Plus only).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CompanyLocationStaffMemberAssignments WHERE Id = 'Val1'
SELECT * FROM CompanyLocationStaffMemberAssignments WHERE CompanyLocationId = 'Val1'
The following columns can be used to create a new record:
CompanyLocationId, StaffMemberId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the company location staff member assignment. | |
| CompanyId | String | True |
The globally unique identifier of the company associated with the assignment. | |
| CompanyName | String | True |
The display name of the company associated with the assignment. | |
| CompanyLocationId | String | True |
The globally unique identifier of the company location where the staff member is assigned. | |
| CompanyLocationName | String | True |
The display name of the company location where the staff member is assigned. | |
| StaffMemberId | String | True |
The globally unique identifier of the assigned staff member. | |
| StaffMemberName | String | True |
The full name of the assigned staff member. |
List addresses associated with customers.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerAddresses WHERE CustomerId = 'Val1'
The following columns can be used to create a new record:
CustomerId, CustomerFirstName, CustomerLastName, Phone, Address1, Address2, CountryCode, ProvinceCode, City, Company, Zip
The following pseudo-column can be used to create a new record:
SetAsDefault
The following columns can be updated:
CustomerId, CustomerFirstName, CustomerLastName, Phone, Address1, Address2, CountryCode, ProvinceCode, City, Company, Zip
The following pseudo-column can be used to update a record:
SetAsDefault
You can delete entries by specifying the following columns:
Id, CustomerId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the customer address. | |
| CustomerId | String | False |
The globally unique identifier of the customer associated with this address. | |
| CustomerFirstName | String | False |
The first name of the customer. | |
| CustomerLastName | String | False |
The last name of the customer. | |
| CustomerName | String | True |
The full name of the customer, based on the first name and last name. | |
| Phone | String | False |
The customer's phone number associated with the address. | |
| Address1 | String | False |
The first line of the address, typically the street address or PO Box number. | |
| Address2 | String | False |
The second line of the address, typically the number of the apartment, suite, or unit. | |
| CountryCode | String | False |
The two-letter code for the country of the address (for example, US). | |
| Country | String | True |
The name of the country for the address. | |
| ProvinceCode | String | False |
The alphanumeric code for the province, state, or district of the address, such as 'ON', for Ontario. | |
| Province | String | True |
The region of the address, such as the province, state, or district. | |
| City | String | False |
The name of the city, district, village, or town. | |
| Company | String | False |
The name of the customer's company or organization. | |
| FormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| Zip | String | False |
The zip or postal code of the address. | |
| Latitude | Double | True |
The latitude coordinate of the customer address. | |
| Longitude | Double | True |
The longitude coordinate of the customer address. | |
| TimeZone | String | True |
The time zone associated with the customer address. | |
| CoordinatesValidated | Bool | True |
Indicates whether the address corresponds to recognized latitude and longitude values. | |
| ValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| SetAsDefault | Bool |
Indicates whether to set the address as the customer's default address. |
Lists customers with core profile data, marketing preferences, and tags.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Customers WHERE Id = 'Val1'
SELECT * FROM Customers WHERE Email = 'Val1'
SELECT * FROM Customers WHERE Phone = 'Val1'
SELECT * FROM Customers WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Customers WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, EmailMarketingConsentMarketingState, EmailMarketingConsentMarketingOptInLevel, EmailMarketingConsentConsentUpdatedAt, EmailMarketingConsentSourceLocationId, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt, SmsMarketingConsentSourceLocationId
The following columns can be updated:
FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, EmailMarketingConsentMarketingState, EmailMarketingConsentMarketingOptInLevel, EmailMarketingConsentConsentUpdatedAt, EmailMarketingConsentSourceLocationId, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt, SmsMarketingConsentSourceLocationId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the customer. | |
| MultipassIdentifier | String | True |
A unique identifier for the customer used with Multipass login. | |
| LegacyResourceId | String | True |
The legacy identifier of the customer in the REST Admin API. | |
| ValidEmailAddress | Bool | True |
Indicates whether the customer's email address is correctly formatted and belongs to an existing domain. This does not guarantee the email address actually exists. | |
| DisplayName | String | True |
The display name of the customer, derived from first and last name. Falls back to the customer's email, or if unavailable, their phone number. | |
| FirstName | String | False |
The first name of the customer. | |
| LastName | String | False |
The last name of the customer. | |
| String | False |
The email address of the customer. | ||
| Locale | String | False |
The preferred locale (language) of the customer. | |
| Note | String | False |
A merchant-facing note about the customer. | |
| Phone | String | False |
The phone number of the customer. | |
| State | String | True |
The current state of the customer's account with the shop. | |
| Tags | String | False |
A comma-separated list of tags assigned to the customer. | |
| CanDelete | Bool | True |
Indicates whether the customer can be deleted from the store. Customers cannot be deleted if they have placed at least one order. | |
| LifetimeDuration | String | True |
The length of time since the customer was first added to the store, expressed in a readable format such as 'about 12 years'. | |
| TaxExempt | Bool | False |
Indicates whether the customer is exempt from being charged taxes on their orders. | |
| TaxExemptions | String | False |
A list of tax exemptions applied to the customer. | |
| UnsubscribeUrl | String | True |
The URL where the customer can unsubscribe from the store's mailing list. | |
| VerifiedEmail | Bool | True |
Indicates whether the customer has verified their email address. Defaults to true if the customer is created through the Shopify Admin or API. | |
| NumberOfOrders | String | True |
The total number of orders the customer has placed with the store. | |
| ProductSubscriberStatus | String | True |
The current subscription status of the customer, defined by their subscription contracts. | |
| CreatedAt | Datetime | True |
The date and time when the customer was created in the store. | |
| UpdatedAt | Datetime | True |
The date and time when the customer record was last updated. | |
| AmountSpentAmount | Decimal | True |
The total amount the customer has spent, expressed as a decimal money value. | |
| AmountSpentCurrencyCode | String | True |
The currency code for the customer's total spent amount. | |
| DefaultAddressId | String | True |
The globally unique identifier of the customer's default address. | |
| DefaultAddressCoordinatesValidated | Bool | True |
Indicates whether the default address coordinates are valid. | |
| DefaultAddressValidationResultSummary | String | True |
The validation status of the default address, as determined by the Shopify Admin address validation feature. | |
| DefaultAddressName | String | True |
The full name of the customer on the default address, based on first and last name. | |
| DefaultAddressFirstName | String | False |
The first name on the customer's default address. | |
| DefaultAddressLastName | String | False |
The last name on the customer's default address. | |
| DefaultAddressAddress1 | String | False |
The first line of the customer's default address, typically a street address or PO Box. | |
| DefaultAddressAddress2 | String | False |
The second line of the customer's default address, typically an apartment, suite, or unit number. | |
| DefaultAddressCity | String | False |
The city, town, district, or village of the customer's default address. | |
| DefaultAddressCompany | String | False |
The company or organization name listed on the customer's default address. | |
| DefaultAddressCountry | String | False |
The country of the customer's default address. | |
| DefaultAddressLatitude | Double | True |
The latitude coordinate of the customer's default address. | |
| DefaultAddressLongitude | Double | True |
The longitude coordinate of the customer's default address. | |
| DefaultAddressPhone | String | False |
The phone number associated with the default address, formatted using the E.164 standard (for example, +16135551111). | |
| DefaultAddressProvince | String | False |
The province, state, or district of the customer's default address. | |
| DefaultAddressZip | String | False |
The postal or ZIP code of the customer's default address. | |
| DefaultAddressFormattedArea | String | True |
A comma-separated string combining the city, province, and country of the default address. | |
| DefaultAddressProvinceCode | String | False |
The two-letter code for the province, state, or district of the default address, such as 'ON', for Ontario. | |
| DefaultAddressCountryCodeV2 | String | False |
The two-letter country code of the customer's default address, such as US. | |
| EmailMarketingConsentMarketingState | String | False |
The current email marketing consent state of the customer. | |
| EmailMarketingConsentMarketingOptInLevel | String | False |
The email marketing opt-in level set by the customer when consenting, based on M3AAWG best practice guidelines. | |
| EmailMarketingConsentConsentUpdatedAt | Datetime | False |
The date and time when the customer last updated their email marketing consent. If not provided, defaults to when the consent information was originally sent. | |
| EmailMarketingConsentSourceLocationId | String | False |
The identifier of the location where the customer provided email marketing consent. | |
| ImageId | String | True |
The globally unique identifier of the customer's image. | |
| ImageWidth | Int | True |
The original width of the customer image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageAltText | String | True |
Alternative text describing the content or purpose of the customer image. | |
| ImageHeight | Int | True |
The original height of the customer image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The URL of the customer image. | |
| LastOrderId | String | True |
The globally unique identifier of the customer's most recent order. | |
| MarketId | String | True |
The globally unique identifier of the market associated with the customer. | |
| MergeableReason | String | True |
The reason why the customer cannot be merged with another customer. | |
| MergeableErrorFields | String | True |
A list of fields preventing the customer from being merged. | |
| MergeableIsMergeable | Bool | True |
Indicates whether the customer can be merged with another customer. | |
| MergeableMergeInProgressJobId | String | True |
The identifier of the merge job in progress. | |
| MergeableMergeInProgressResultingCustomerId | String | True |
The identifier of the resulting customer after the merge. | |
| MergeableMergeInProgressStatus | String | True |
The current status of the customer merge request. | |
| SmsMarketingConsentMarketingState | String | False |
The current SMS marketing consent state of the customer. | |
| SmsMarketingConsentConsentCollectedFrom | String | True |
The source from which the customer's SMS marketing consent was collected. | |
| SmsMarketingConsentMarketingOptInLevel | String | False |
The SMS marketing opt-in level set by the customer when consenting to receive SMS communications. | |
| SmsMarketingConsentConsentUpdatedAt | Datetime | False |
The date and time when the customer last updated their SMS marketing consent. If not provided, defaults to when the consent information was originally sent. | |
| SmsMarketingConsentSourceLocationId | String | False |
The identifier of the location where the customer provided SMS marketing consent. | |
| StatisticsPredictedSpendTier | String | True |
The predicted spend tier of the customer in the shop. | |
| StatisticsRFMGroup | String | True |
The RFM (Recency, Frequency, Monetary) group classification of the customer. |
Lists saved delivery profiles that define shipping logic by product and location.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DeliveryProfiles WHERE Id = 'Val1'
SELECT * FROM DeliveryProfiles WHERE MerchantOwnedOnly = true
The following column can be used to create a new record:
Name
The following column can be updated:
Name
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the delivery profile. | |
| Name | String | False |
The display name of the delivery profile. | |
| Default | Bool | True |
Indicates whether this is the default delivery profile. | |
| LegacyMode | Bool | True |
Indicates whether legacy compatibility mode is enabled for this shop's delivery profiles. | |
| OriginLocationCount | Int | True |
The number of active origin locations included in this delivery profile. | |
| ZoneCountryCount | Int | True |
The number of countries with active delivery rates in this profile. | |
| ActiveMethodDefinitionsCount | Int | True |
The number of active shipping rate definitions in this delivery profile. | |
| LocationsWithoutRatesCount | Int | True |
The number of locations in this profile that do not have rates defined. | |
| ProductVariantsCount | Int | True |
The number of product variants assigned to this delivery profile. | |
| ProductVariantsCountPrecision | String | True |
The level of precision applied to the product variant count value. | |
| MerchantOwnedOnly | Bool | True |
Indicates whether the profile is restricted to delivery profiles created by the merchant. |
Lists automatic discounts defined and managed by apps.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticApp WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE Status = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticApp WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticApp WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticApp WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeTitle = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeDiscountClass = 'Val1'
The following columns can be used to create a new record:
Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following columns can be updated:
Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the automatic app discount. | |
| DiscountId | String | True |
The globally unique identifier of the discount associated with this app discount. | |
| Title | String | False |
The display title of the discount. | |
| Status | String | True |
The current status of the discount, such as active or expired. | |
| DiscountClass | String | True |
The classification of the discount, used for determining compatibility with other discounts. | |
| AppliesOnSubscription | Bool | False |
Indicates whether the discount applies to subscription items. Subscriptions allow customers to purchase products on a recurring basis. | |
| RecurringCycleLimit | Int | False |
The maximum number of billing cycles during which the discount can be applied for subscriptions. For example, a value of 3 applies the discount to the first three billing cycles, while 0 applies it indefinitely. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. Returns null for open-ended discounts. | |
| StartsAt | Datetime | False |
The date and time when the discount becomes active. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count. | |
| CreatedAt | Datetime | True |
The date and time when the discount record was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount record was last updated. | |
| AppDiscountTypeFunctionId | String | False |
The globally unique identifier of the function that provides the app discount type. | |
| AppDiscountTypeTitle | String | True |
The display title of the app discount type. | |
| AppDiscountTypeDescription | String | True |
The description of the app discount type. | |
| AppDiscountTypeAppKey | String | True |
The client identifier of the app that provides the app discount type. | |
| AppDiscountTypeDiscountClass | String | True |
The classification of the app discount type, used for combining logic. | |
| AppDiscountTypeTargetType | String | True |
The target type of the app discount type. Possible values include 'SHIPPING_LINE' and 'LINE_ITEM'. | |
| CombinesWithOrderDiscounts | Bool | False |
Indicates whether the discount can be combined with order-level discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Indicates whether the discount can be combined with product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Indicates whether the discount can be combined with shipping-level discounts. | |
| ErrorHistoryFirstOccurredAt | Datetime | True |
The date and time when the first error related to this discount occurred. | |
| ErrorHistoryErrorsFirstOccurredAt | Datetime | True |
The date and time when the first error entry was recorded in the error history. | |
| ErrorHistoryHasSharedRecentErrors | Bool | True |
Indicates whether the merchant has shared recent errors with the app developer. | |
| ErrorHistoryHasBeenSharedSinceLastError | Bool | True |
Indicates whether the merchant has shared errors with the app developer since the most recent error occurred. |
Lists basic automatic discounts (for example, percentage or amount off).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticBasic WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticBasic WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticBasic WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticBasic WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticBasic WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticBasic WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, MinimumQuantity, MinimumSubtotal
The following columns can be updated:
Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the automatic discount. | |
| Title | String | False |
The display title of the discount. | |
| Status | String | True |
The current status of the discount, such as active or expired. | |
| Summary | String | True |
A detailed summary of the discount and how it is applied. | |
| DiscountClass | String | True |
The classification of the discount, used for determining compatibility with other discounts. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. Returns null for open-ended discounts. | |
| ShortSummary | String | True |
A short summary of the automatic basic discount (for example, '10% off all orders' or '$20 off orders over $100, applied automatically at checkout'). | |
| StartsAt | Datetime | False |
The date and time when the discount becomes active. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count. | |
| CreatedAt | Datetime | True |
The date and time when the discount record was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was updated. | |
| CombinesWithOrderDiscounts | Bool | False |
Indicates whether the discount can be combined with order-level discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Indicates whether the discount can be combined with product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Indicates whether the discount can be combined with shipping-level discounts. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | True |
The minimum number of items required for the discount to apply. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| AppliesOnEachItem | Bool |
Indicates how the discount is applied. If true, it applies to each entitled item individually. If false, the discount amount is split across all entitled items. |
| DiscountAmount | Decimal |
The value of the discount, expressed as a decimal money amount. |
| ProductsToAdd | String |
A comma-separated list of product Ids to include in the discount. |
| ProductsToRemove | String |
A comma-separated list of product Ids to exclude from the discount. |
| MinimumQuantity | String |
The minimum number of items required for the discount to apply. |
| MinimumSubtotal | String |
The minimum subtotal required for the discount to apply. |
Lists automatic buy-X-get-Y discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticBxgy WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE Status = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticBxgy WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticBxgy WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticBxgy WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the automatic Buy X, Get Y discount. | |
| Title | String | False |
The display title of the discount. | |
| Status | String | True |
The current status of the discount, such as active or expired. | |
| Summary | String | True |
A detailed summary of the discount and how it is applied. | |
| DiscountClass | String | True |
The classification of the discount, used for determining compatibility with other discounts. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. Returns null for open-ended discounts. | |
| StartsAt | Datetime | False |
The date and time when the discount becomes active. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count. | |
| UsesPerOrderLimit | Int | False |
The maximum number of times this discount can be applied to a single order. | |
| CreatedAt | Datetime | True |
The date and time when the discount record was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was updated. | |
| CombinesWithOrderDiscounts | Bool | False |
Indicates whether the discount can be combined with order-level discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Indicates whether the discount can be combined with product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Indicates whether the discount can be combined with shipping-level discounts. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| DiscountOnQuantity | String |
The number of items discounted as part of the Buy X, Get Y promotion. |
| DiscountPercentage | Double |
The percentage value of the discount applied to eligible items. |
| ProductsToAdd | String |
A comma-separated list of product Ids to include in the discount. |
| ProductsToRemove | String |
A comma-separated list of product Ids to exclude from the discount. |
| DiscountQuantityToBuy | String |
The quantity of prerequisite items that must be purchased for the discount to apply. |
| DiscountAmountToBuy | String |
The amount or value associated with the prerequisite purchase for the discount. |
| ProductsBuysToAdd | String |
A comma-separated list of product IDs to add as eligible prerequisites for the discount. |
| ProductsBuysToRemove | String |
A comma-separated list of product IDs to remove from eligible prerequisites for the discount. |
Lists discount codes managed by apps.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeApp WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeApp WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeApp WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeApp WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeTitle = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeDiscountClass = 'Val1'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers
The following pseudo-columns can be used to create a new record:
Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers
The following pseudo-columns can be used to update a record:
Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the discount code app record. | |
| DiscountId | String | True |
The globally unique identifier of the discount associated with this app discount. | |
| Title | String | False |
The display title of the discount. | |
| Status | String | True |
The current status of the discount, such as active or expired. | |
| CodesCount | Int | True |
The number of unique discount codes generated for this discount. | |
| CodesCountPrecision | String | True |
The level of precision applied to the discount code count value. | |
| DiscountClass | String | True |
The classification of the discount, used for determining compatibility with other discounts. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. Returns null for open-ended discounts. | |
| StartsAt | Datetime | False |
The date and time when the discount becomes active. | |
| UsageLimit | Int | False |
The maximum number of times this discount can be used across all customers. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count. | |
| HasTimelineComment | Bool | True |
Indicates whether timeline comments have been added to the discount record. | |
| RecurringCycleLimit | Int | True |
The maximum number of billing cycles in which this discount can apply to subscriptions. | |
| AppliesOncePerCustomer | Bool | False |
Indicates whether the discount can be redeemed only once per customer. | |
| CreatedAt | Datetime | True |
The date and time when the discount record was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was last updated. | |
| AppDiscountTypeFunctionId | String | False |
The globally unique identifier of the function providing the app discount type. | |
| AppDiscountTypeTitle | String | True |
The display title of the app discount type. | |
| AppDiscountTypeDescription | String | True |
The description of the app discount type. | |
| AppDiscountTypeAppKey | String | True |
The client identifier of the app providing the app discount type. | |
| AppDiscountTypeDiscountClass | String | True |
The classification of the app discount type, used for combining logic. | |
| AppDiscountTypeTargetType | String | True |
The target type of the app discount type. Possible values include 'SHIPPING_LINE' and 'LINE_ITEM'. | |
| CombinesWithOrderDiscounts | Bool | False |
Indicates whether the discount can be combined with order-level discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Indicates whether the discount can be combined with product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Indicates whether the discount can be combined with shipping-level discounts. | |
| DiscountCustomerAllAllCustomers | Bool | False |
Indicates whether the discount can be applied by all customers. This value is always true. | |
| ErrorHistoryFirstOccurredAt | Datetime | True |
The date and time when the first error related to this discount occurred. | |
| ErrorHistoryErrorsFirstOccurredAt | Datetime | True |
The date and time when the first error entry was recorded in the error history. | |
| ErrorHistoryHasSharedRecentErrors | Bool | True |
Indicates whether the merchant has shared recent errors with the app developer. | |
| ErrorHistoryHasBeenSharedSinceLastError | Bool | True |
Indicates whether the merchant has shared errors with the app developer since the most recent error occurred. | |
| TotalSalesAmount | Decimal | True |
The total sales amount attributed to this discount, expressed as a decimal money value. | |
| TotalSalesCurrencyCode | String | True |
The currency code of the total sales amount attributed to this discount. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code customers must enter to redeem the discount. |
| AddAllCustomers | Bool |
Indicates whether the discount should apply to all customers automatically. |
| CustomersToAdd | String |
A comma-separated list of customer Ids to include as eligible for the discount. |
| CustomersToRemove | String |
A comma-separated list of customer Ids to remove from discount eligibility. |
| CustomerSegmentsToAdd | String |
A comma-separated list of customer segment Ids to include as eligible for the discount. |
| CustomerSegmentsToRemove | String |
A comma-separated list of customer segment Ids to remove from discount eligibility. |
Lists basic code discounts (fixed/percentage off, minimums).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeBasic WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeBasic WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeBasic WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeBasic WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeBasic WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeBasic WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity
The following pseudo-columns can be used to create a new record:
Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity
The following pseudo-columns can be used to update a record:
Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the discount code record. | |
| Title | String | False |
The display title of the discount. | |
| Status | String | True |
The current status of the discount, such as active or expired. | |
| Summary | String | True |
A detailed summary of the discount and how it is applied. | |
| CodesCount | Int | True |
The number of unique discount codes generated for this discount. | |
| CodesCountPrecision | String | True |
The level of precision applied to the discount code count value. | |
| DiscountClass | String | True |
The classification of the discount, used for determining compatibility with other discounts. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. Returns null for open-ended discounts. | |
| ShortSummary | String | True |
A short summary of the basic discount code (for example, '10% off all products' or '$5 off orders over $25'). | |
| StartsAt | Datetime | False |
The date and time when the discount becomes active. | |
| UsageLimit | Int | False |
The maximum number of times this discount can be used across all customers. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count. | |
| HasTimelineComment | Bool | True |
Indicates whether timeline comments have been added to the discount record. | |
| RecurringCycleLimit | Int | False |
The maximum number of billing cycles in which this discount can apply to subscriptions. | |
| AppliesOncePerCustomer | Bool | False |
Indicates whether the discount can be redeemed only once per customer. | |
| CreatedAt | Datetime | True |
The date and time when the discount record was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was last updated. | |
| CombinesWithOrderDiscounts | Bool | False |
Indicates whether the discount can be combined with order-level discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Indicates whether the discount can be combined with product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Indicates whether the discount can be combined with shipping-level discounts. | |
| CustomerGetsAppliesOnSubscription | Bool | False |
Indicates whether the discount applies to subscription items. | |
| CustomerGetsAppliesOnOneTimePurchase | Bool | False |
Indicates whether the discount applies to regular one-time purchase items. | |
| DiscountCustomerAllAllCustomers | Bool | False |
Indicates whether the discount can be applied by all customers. This value is always true. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | False |
The minimum number of items required for the discount to apply. | |
| TotalSalesAmount | Decimal | True |
The total sales amount attributed to this discount, expressed as a decimal money value. | |
| TotalSalesCurrencyCode | String | True |
The currency code of the total sales amount attributed to this discount. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code customers must enter to redeem the discount. |
| AppliesOnEachItem | Bool |
Indicates how the discount is applied. If true, it applies to each entitled item individually. If false, the discount amount is split across all entitled items. |
| DiscountAmount | Decimal |
The value of the discount, expressed as a decimal money amount. |
| ProductsToAdd | String |
A comma-separated list of product Ids to include in the discount. |
| ProductsToRemove | String |
A comma-separated list of product Ids to exclude from the discount. |
| AddAllCustomers | Bool |
Indicates whether all customers are automatically eligible for the discount. |
| CustomersToAdd | String |
A comma-separated list of customer Ids to include as eligible for the discount. |
| CustomersToRemove | String |
A comma-separated list of customer Ids to remove from discount eligibility. |
| CustomerSegmentsToAdd | String |
A comma-separated list of customer segment Ids to include as eligible for the discount. |
| CustomerSegmentsToRemove | String |
A comma-separated list of customer segment Ids to remove from discount eligibility. |
Lists buy-X-get-Y discount codes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeBxgy WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeBxgy WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeBxgy WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeBxgy WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeBxgy WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeBxgy WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the discount code record. | |
| Title | String | False |
The display title of the discount. | |
| Status | String | True |
The current status of the discount, such as active or expired. | |
| Summary | String | True |
A detailed summary of the discount and how it is applied. | |
| CodesCount | Int | True |
The number of unique discount codes generated for this discount. | |
| CodesCountPrecision | String | True |
The level of precision applied to the discount code count value. | |
| DiscountClass | String | True |
The classification of the discount, used for determining compatibility with other discounts. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. Returns null for open-ended discounts. | |
| StartsAt | Datetime | False |
The date and time when the discount becomes active. | |
| UsageLimit | Int | False |
The maximum number of times this discount can be used across all customers. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count. | |
| HasTimelineComment | Bool | True |
Indicates whether timeline comments have been added to the discount record. | |
| AppliesOncePerCustomer | Bool | False |
Indicates whether the discount can be redeemed only once per customer. | |
| UsesPerOrderLimit | Int | False |
The maximum number of times this discount can be applied within a single order. | |
| CreatedAt | Datetime | True |
The date and time when the discount record was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was last updated. | |
| CombinesWithOrderDiscounts | Bool | False |
Indicates whether the discount can be combined with order-level discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Indicates whether the discount can be combined with product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Indicates whether the discount can be combined with shipping-level discounts. | |
| CustomerGetsAppliesOnSubscription | Bool | True |
Indicates whether the discount applies to subscription items. | |
| CustomerGetsAppliesOnOneTimePurchase | Bool | True |
Indicates whether the discount applies to regular one-time purchase items. | |
| DiscountCustomerAllAllCustomers | Bool | True |
Indicates whether the discount can be applied by all customers. This value is always true. | |
| TotalSalesAmount | Decimal | True |
The total sales amount attributed to this discount, expressed as a decimal money value. | |
| TotalSalesCurrencyCode | String | True |
The currency code of the total sales amount attributed to this discount. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code customers must enter to redeem the discount. |
| DiscountOnQuantity | String |
The number of items discounted as part of the Buy X, Get Y promotion. |
| DiscountPercentage | Double |
The percentage value of the discount applied to eligible items. |
| ProductsToAdd | String |
A comma-separated list of product Ids to include in the discount. |
| ProductsToRemove | String |
A comma-separated list of product Ids to exclude from the discount. |
| DiscountAmountToBuy | String |
The amount or value associated with the prerequisite purchase for the discount. |
| DiscountQuantityToBuy | Double |
The quantity of prerequisite items that must be purchased for the discount to apply. |
| ProductsBuysToAdd | String |
A comma-separated list of product Ids to add as eligible prerequisites for the discount. |
| ProductsBuysToRemove | String |
A comma-separated list of product Ids to remove from eligible prerequisites for the discount. |
| AddAllCustomers | Bool |
Indicates whether all customers are automatically eligible for the discount. |
| CustomersToAdd | String |
A comma-separated list of customer Ids to include as eligible for the discount. |
| CustomersToRemove | String |
A comma-separated list of customer Ids to remove from discount eligibility. |
| CustomerSegmentsToAdd | String |
A comma-separated list of customer segment Ids to include as eligible for the discount. |
| CustomerSegmentsToRemove | String |
A comma-separated list of customer segment Ids to remove from discount eligibility. |
Lists saved draft orders for manual checkout or invoicing workflows.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DraftOrders WHERE Id = 'Val1'
SELECT * FROM DraftOrders WHERE Status = 'Val1'
SELECT * FROM DraftOrders WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DraftOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM DraftOrders WHERE CustomerId = 'Val1'
The following columns can be used to create a new record:
Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout
| Column Name | Type | Description |
| Title | String | The title of the product or variant. This field only applies to custom line items. |
| Quantity | Int | The number of product variants that are requested in the draft order. |
| Sku | String | The SKU number of the product variant. |
| Taxable | Bool | Whether the variant is taxable. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| AppliedDiscountTitle | String | Name of the order-level discount. |
| AppliedDiscountDescription | String | Description of the order-level discount. |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. |
| AppliedDiscountValueType | String | Type of the order-level discount. |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. |
| VariantId | String | A globally-unique ID. |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. |
| WeightUnit | String | The unit of measurement for 'value'. |
The following columns can be updated:
Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout
| Column Name | Type | Description |
| Title | String | The title of the product or variant. This field only applies to custom line items. |
| Quantity | Int | The number of product variants that are requested in the draft order. |
| Sku | String | The SKU number of the product variant. |
| Taxable | Bool | Whether the variant is taxable. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| AppliedDiscountTitle | String | Name of the order-level discount. |
| AppliedDiscountDescription | String | Description of the order-level discount. |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. |
| AppliedDiscountValueType | String | Type of the order-level discount. |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. |
| VariantId | String | A globally-unique ID. |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. |
| WeightUnit | String | The unit of measurement for 'value'. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the draft order. | |
| LegacyResourceId | String | True |
The legacy identifier of the draft order in the REST Admin API. | |
| Name | String | True |
The unique identifier for the draft order within the store, typically shown with a prefix such as '#D1223'. | |
| MarketName | String | True |
The name of the market selected for the draft order. | |
| String | False |
The email address of the customer associated with the draft order, used for notifications. | ||
| Note2 | String | True |
Optional merchant-facing notes attached to the draft order. | |
| Phone | String | True |
The phone number associated with the draft order. | |
| Ready | Bool | True |
Indicates whether the draft order is complete and ready to be finalized. Draft orders might require asynchronous processing before this value becomes true. | |
| Status | String | True |
The current status of the draft order. | |
| Tags | String | True |
A comma-separated list of tags applied to the draft order. Updating this field overwrites all existing tags. | |
| CompletedAt | Datetime | True |
The date and time when the draft order was converted into a completed order. | |
| CurrencyCode | String | True |
The three-letter currency code of the shop at the time of the most recent update to the draft order. | |
| DefaultCursor | String | True |
A default cursor used to fetch the next record in ascending Id order. | |
| InvoiceUrl | String | True |
The URL to the checkout page, sent to the customer in the draft order invoice email. | |
| TaxExempt | Bool | True |
Indicates whether the draft order is exempt from taxes. | |
| TaxesIncluded | Bool | True |
Indicates whether taxes are included in the line item prices. | |
| TotalWeight | String | True |
The total weight of all items in the draft order, measured in grams. | |
| HasTimelineComment | Bool | True |
Indicates whether the merchant has added a timeline comment to the draft order. | |
| InvoiceSentAt | Datetime | True |
The date and time when the invoice was last sent to the customer. | |
| PresentmentCurrencyCode | String | True |
The currency code in which the customer is expected to pay for this draft order. | |
| ReserveInventoryUntil | Datetime | True |
The date and time after which reserved inventory for this draft order is released. | |
| VisibleToCustomer | Bool | True |
Indicates whether the draft order is visible to the customer in the self-serve portal. | |
| InvoiceEmailTemplateSubject | String | True |
The subject line defined in the draft invoice email template. | |
| MarketRegionCountryCode | String | True |
The country code of the selected market region for the draft order. | |
| BillingAddressMatchesShippingAddress | Bool | True |
Indicates whether the billing address matches the shipping address. | |
| CreatedAt | Datetime | True |
The date and time when the draft order was created. | |
| UpdatedAt | Datetime | True |
The date and time when the draft order was last updated. | |
| OrderId | String | True |
The globally unique identifier of the order created from the draft order, if completed. | |
| PurchasingEntityCustomerId | String | True |
The globally unique identifier of the purchasing customer. | |
| PurchasingEntityCompanyCompanyId | String | True |
The globally unique identifier of the purchasing company, if applicable. | |
| CustomerId | String | False |
Customers.Id |
The globally unique identifier of the customer to whom the draft order invoice was sent. |
| BillingAddressId | String | False |
The globally unique identifier of the billing address. | |
| BillingAddressCoordinatesValidated | Bool | True |
Indicates whether the billing address includes valid latitude and longitude coordinates. | |
| BillingAddressValidationResultSummary | String | True |
The validation status of the billing address, as determined by Shopify Admin's address validation feature. | |
| BillingAddressName | String | True |
The full name of the customer on the billing address. | |
| BillingAddressFirstName | String | False |
The first name of the customer on the billing address. | |
| BillingAddressLastName | String | False |
The last name of the customer on the billing address. | |
| BillingAddressAddress1 | String | False |
The first line of the billing address, usually the street address or PO Box. | |
| BillingAddressAddress2 | String | False |
The second line of the billing address, often an apartment, suite, or unit number. | |
| BillingAddressCity | String | False |
The city, district, village, or town of the billing address. | |
| BillingAddressCompany | String | False |
The company name on the billing address, if provided. | |
| BillingAddressCountry | String | False |
The country of the billing address. | |
| BillingAddressLatitude | Double | True |
The latitude coordinate of the billing address. | |
| BillingAddressLongitude | Double | True |
The longitude coordinate of the billing address. | |
| BillingAddressPhone | String | False |
The phone number associated with the billing address, formatted in E.164 (for example, +16135551111). | |
| BillingAddressProvince | String | False |
The region of the billing address, such as province, state, or district. | |
| BillingAddressZip | String | False |
The ZIP or postal code of the billing address. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of the billing address components: city, province, and country. | |
| BillingAddressProvinceCode | String | False |
The two-letter region code for the billing address (for example, ON). | |
| BillingAddressCountryCodeV2 | String | False |
The two-letter country code for the billing address (for example, US). | |
| ShippingAddressId | String | False |
The globally unique identifier of the shipping address. | |
| ShippingAddressCoordinatesValidated | Bool | True |
Indicates whether the shipping address includes valid latitude and longitude coordinates. | |
| ShippingAddressValidationResultSummary | String | True |
The validation status of the shipping address, as determined by Shopify Admin's address validation feature. | |
| ShippingAddressName | String | True |
The full name of the recipient on the shipping address. | |
| ShippingAddressFirstName | String | False |
The first name of the recipient on the shipping address. | |
| ShippingAddressLastName | String | False |
The last name of the recipient on the shipping address. | |
| ShippingAddressAddress1 | String | False |
The first line of the shipping address, usually the street address or PO Box. | |
| ShippingAddressAddress2 | String | False |
The second line of the shipping address, often an apartment, suite, or unit number. | |
| ShippingAddressCity | String | False |
The city, district, village, or town of the shipping address. | |
| ShippingAddressCompany | String | False |
The company name on the shipping address, if provided. | |
| ShippingAddressCountry | String | False |
The country of the shipping address. | |
| ShippingAddressLatitude | Double | True |
The latitude coordinate of the shipping address. | |
| ShippingAddressLongitude | Double | True |
The longitude coordinate of the shipping address. | |
| ShippingAddressPhone | String | False |
The phone number associated with the shipping address, formatted in E.164 (for example, +16135551111). | |
| ShippingAddressProvince | String | False |
The region of the shipping address, such as province, state, or district. | |
| ShippingAddressZip | String | False |
The ZIP or postal code of the shipping address. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of the shipping address components: city, province, and country. | |
| ShippingAddressProvinceCode | String | False |
The two-letter region code for the shipping address (for example, ON). | |
| ShippingAddressCountryCodeV2 | String | False |
The two-letter country code for the shipping address (for example, US). | |
| ShippingLineId | String | True |
The globally unique identifier of the shipping line. | |
| ShippingLineCarrierIdentifier | String | True |
A reference to the carrier service that provided the shipping rate, when calculated by a third-party service. | |
| ShippingLineTitle | String | True |
The title of the shipping line. | |
| ShippingLineCode | String | True |
A reference to the shipping method used. | |
| ShippingLineCustom | Bool | True |
Indicates whether the shipping line is custom. | |
| ShippingLinePhone | String | True |
The phone number associated with the shipping address for the shipping line. | |
| ShippingLineSource | String | True |
The source system or rate provider of the shipping line. | |
| ShippingLineDeliveryCategory | String | True |
The classification of the shipping method applied to the draft order. | |
| ShippingLineShippingRateHandle | String | True |
A system-generated identifier for the shipping rate. Not stable and not intended for display. | |
| ShippingLineRequestedFulfillmentServiceId | String | True |
The globally unique identifier of the fulfillment service requested for this shipping line. | |
| AppliedDiscountTitle | String | False |
The name of the order-level discount applied to the draft order. | |
| AppliedDiscountDescription | String | False |
The description of the order-level discount. | |
| AppliedDiscountValue | Double | False |
The amount of the order-level discount. If the value type is 'percentage', this is the percentage discount applied. | |
| AppliedDiscountValueType | String | False |
The type of the order-level discount (for example, percentage or fixed amount). | |
| PaymentTermsId | String | True |
The globally unique identifier of the payment terms template used. | |
| PaymentTermsTranslatedName | String | True |
The translated name of the payment terms template in the shop admin's language. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the payment terms template applied to the draft order. | |
| PaymentTermsOverdue | Bool | True |
Indicates whether any scheduled payments are overdue for the draft order. | |
| PaymentTermsDueInDays | Int | True |
The number of days between the issue date and due date, based on the applied payment terms template. | |
| PaymentTermsPaymentTermsType | String | True |
The type of payment terms template applied to the draft order. | |
| PaymentTermsOrderId | String | True |
The globally unique identifier of the order associated with the payment terms. | |
| AppliedDiscountAmountV2Amount | Decimal | False |
The monetary value of the applied discount, expressed as a decimal. | |
| AppliedDiscountAmountV2CurrencyCode | String | True |
The currency code of the applied discount. | |
| LineItemsSubtotalPricePresentmentMoneyAmount | Decimal | True |
The subtotal of draft order line items in the presentment currency, expressed as a decimal. | |
| LineItemsSubtotalPricePresentmentMoneyCurrencyCode | String | True |
The currency code of the line item subtotal in the presentment currency. | |
| LineItemsSubtotalPriceShopMoneyAmount | Decimal | True |
The subtotal of draft order line items in the shop currency, expressed as a decimal. | |
| LineItemsSubtotalPriceShopMoneyCurrencyCode | String | True |
The currency code of the line item subtotal in the shop currency. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
The subtotal of the draft order in the presentment currency, expressed as a decimal. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
The currency code of the draft order subtotal in the presentment currency. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | True |
The subtotal of the draft order in the shop currency, expressed as a decimal. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | True |
The currency code of the draft order subtotal in the shop currency. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The total discounts applied to the draft order in the presentment currency, expressed as a decimal. | |
| TotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
The currency code of the total discounts in the presentment currency. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
The total discounts applied to the draft order in the shop currency, expressed as a decimal. | |
| TotalDiscountsSetShopMoneyCurrencyCode | String | True |
The currency code of the total discounts in the shop currency. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | True |
The total price of all line items in the presentment currency, expressed as a decimal. | |
| TotalLineItemsPriceSetPresentmentMoneyCurrencyCode | String | True |
The currency code of the total line item price in the presentment currency. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | True |
The total price of all line items in the shop currency, expressed as a decimal. | |
| TotalLineItemsPriceSetShopMoneyCurrencyCode | String | True |
The currency code of the total line item price in the shop currency. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
The total price of the draft order in the presentment currency, expressed as a decimal. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | True |
The currency code of the draft order total in the presentment currency. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
The total price of the draft order in the shop currency, expressed as a decimal. | |
| TotalPriceSetShopMoneyCurrencyCode | String | True |
The currency code of the draft order total in the shop currency. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
The total shipping price in the presentment currency, expressed as a decimal. | |
| TotalShippingPriceSetPresentmentMoneyCurrencyCode | String | True |
The currency code of the total shipping price in the presentment currency. | |
| TotalShippingPriceSetShopMoneyAmount | Decimal | True |
The total shipping price in the shop currency, expressed as a decimal. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
The currency code of the total shipping price in the shop currency. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
The total tax amount in the presentment currency, expressed as a decimal. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | True |
The currency code of the total tax amount in the presentment currency. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
The total tax amount in the shop currency, expressed as a decimal. | |
| TotalTaxSetShopMoneyCurrencyCode | String | True |
The currency code of the total tax amount in the shop currency. | |
| DraftOrderLineItems | String | False |
The list of line items included in the draft order. | |
| DiscountCodes | String | False |
The discount codes applied to the draft order. | |
| AcceptAutomaticDiscounts | Bool | False |
Indicates whether automatic discounts should be applied to the draft order during calculation. | |
| AllowDiscountCodesInCheckout | Bool | False |
Indicates whether discount codes are allowed during checkout of the draft order. | |
| Warnings | String | True |
A list of warnings raised during draft order calculation. | |
| PlatformDiscountIds | String | True |
The list of platform-level discounts applied to the draft order. |
Lists files uploaded to Shopify (images, PDFs, media) with metadata and URLs.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Files WHERE Id = 'Val1'
SELECT * FROM Files WHERE Status = 'Val1'
SELECT * FROM Files WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Files WHERE UpdatedAt = '2023-01-01 11:10:00'
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the file. | |
| Description | String | True |
The descriptive text or alternative information associated with the file. | |
| Status | String | True |
The current processing or availability status of the file. | |
| FileErrors | String | True |
Details about any errors that occurred during file upload, processing, or use. | |
| CreatedAt | Datetime | True |
The date and time when the file was first created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the file was most recently updated in Shopify. |
Lists status events (in transit, delivered) associated with fulfillments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentEvents WHERE FulfillmentId = 'Val1'
The following columns can be used to create a new record:
FulfillmentId, Status, Address1, City, Country, Latitude, Longitude, Message, Province, Zip, EstimatedDeliveryAt
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the fulfillment event. | |
| FulfillmentId | String | True |
Fulfillments.Id |
The globally unique identifier of the fulfillment associated with this event. |
| OrderId | String | True |
Orders.Id |
The globally unique identifier of the order linked to this fulfillment event. |
| Status | String | True |
The current status of the fulfillment event, such as in transit or delivered. | |
| HappenedAt | Datetime | True |
The exact date and time when the fulfillment event occurred. | |
| Address1 | String | True |
The first line of the street address where the fulfillment event took place. | |
| City | String | True |
The city where the fulfillment event occurred. | |
| Country | String | True |
The country where the fulfillment event occurred. | |
| Latitude | Double | True |
The latitude coordinate of the location where the fulfillment event occurred. | |
| Longitude | Double | True |
The longitude coordinate of the location where the fulfillment event occurred. | |
| Message | String | True |
Any message or note provided with the fulfillment event, often used for delivery updates. | |
| Province | String | True |
The province, state, or region where the fulfillment event occurred. | |
| Zip | String | True |
The postal or ZIP code of the location where the fulfillment event occurred. | |
| EstimatedDeliveryAt | Datetime | True |
The projected delivery date and time for the shipment related to this fulfillment event. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment event record was created in Shopify. |
Lists merchant-managed and third-party fulfillment orders with statuses and assignments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrders WHERE Id = 'Val1'
SELECT * FROM FulfillmentOrders WHERE Status = 'open'
SELECT * FROM FulfillmentOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM FulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
SELECT * FROM FulfillmentOrders WHERE OrderId = 'Val1'
The following column can be updated:
Status
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the fulfillment order. | |
| Status | String | False |
The current status of the fulfillment order. The allowed values are open, closed, cancelled, in_progress, incomplete, on_hold, scheduled. | |
| FulfillAt | Datetime | True |
The date and time when the fulfillment order becomes fulfillable. At this time, a scheduled fulfillment order automatically transitions to 'open'. For example, subscription orders might have a monthly fulfill_at date, pre-orders might be null, and standard orders typically use the order creation date. | |
| FulfillBy | Datetime | True |
The latest date and time by which all items in the fulfillment order must be fulfilled. | |
| OrderName | String | True |
The unique order identifier displayed on the order page. | |
| RequestStatus | String | True |
The current request status of the fulfillment order. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment order was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment order was last updated. | |
| OrderProcessedAt | Datetime | True |
The date and time when the fulfillment order was processed. | |
| AssignedLocationName | String | True |
The name of the assigned fulfillment location. | |
| AssignedLocationAddress1 | String | True |
The first line of the assigned location's address. | |
| AssignedLocationAddress2 | String | True |
The second line of the assigned location's address. | |
| AssignedLocationCity | String | True |
The city of the assigned location. | |
| AssignedLocationPhone | String | True |
The phone number of the assigned location. | |
| AssignedLocationProvince | String | True |
The province or region of the assigned location. | |
| AssignedLocationZip | String | True |
The ZIP or postal code of the assigned location. | |
| AssignedLocationCountryCode | String | True |
The two-letter ISO country code of the assigned location. | |
| AssignedLocationLocationId | String | True |
The globally unique identifier of the assigned location. | |
| AssignedLocationLocationLegacyResourceId | String | True |
The legacy identifier of the assigned location in the REST Admin API. | |
| AssignedLocationLocationName | String | True |
The display name of the assigned location. | |
| AssignedLocationLocationActivatable | Bool | True |
Indicates whether the location can be reactivated. | |
| AssignedLocationLocationDeactivatable | Bool | True |
Indicates whether the location can be deactivated. | |
| AssignedLocationLocationDeletable | Bool | True |
Indicates whether the location can be deleted. | |
| AssignedLocationLocationAddressVerified | Bool | True |
Indicates whether the location's address has been verified. | |
| AssignedLocationLocationDeactivatedAt | String | True |
The date and time when the location was deactivated, in UTC. Example: '2019-09-07T15:50:00Z'. | |
| AssignedLocationLocationIsActive | Bool | True |
Indicates whether the location is active. | |
| AssignedLocationLocationShipsInventory | Bool | True |
Indicates whether this location is used to calculate shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| AssignedLocationLocationFulfillsOnlineOrders | Bool | True |
Indicates whether this location can fulfill online orders. | |
| AssignedLocationLocationHasActiveInventory | Bool | True |
Indicates whether this location has active inventory. | |
| AssignedLocationLocationHasUnfulfilledOrders | Bool | True |
Indicates whether this location has unfulfilled orders. | |
| DeliveryMethodId | String | True |
The globally unique identifier of the delivery method. | |
| DeliveryMethodPresentedName | String | True |
The name of the delivery option presented to the buyer at checkout. | |
| DeliveryMethodMethodType | String | True |
The type of delivery method for the fulfillment order, such as shipping, local delivery, or pickup. | |
| DeliveryMethodMaxDeliveryDateTime | Datetime | True |
The latest date and time when the fulfillment is expected to arrive at the destination. | |
| DeliveryMethodMinDeliveryDateTime | Datetime | True |
The earliest date and time when the fulfillment is expected to arrive at the destination. | |
| DeliveryMethodServiceCode | String | True |
The reference code of the shipping method. | |
| DeliveryMethodSourceReference | String | True |
Provider-specific data associated with the delivery promise. | |
| DeliveryMethodBrandedPromiseName | String | True |
The display name of the branded delivery promise. For example: 'Shop Promise'. | |
| DeliveryMethodBrandedPromiseHandle | String | True |
The handle identifier of the branded delivery promise. For example: 'shop_promise'. | |
| DeliveryMethodAdditionalInformationPhone | String | True |
The phone number to contact regarding delivery. | |
| DeliveryMethodAdditionalInformationInstructions | String | True |
Special delivery instructions for the carrier. | |
| DestinationId | String | True |
The globally unique identifier of the destination address. | |
| DestinationFirstName | String | True |
The first name of the recipient at the destination. | |
| DestinationLastName | String | True |
The last name of the recipient at the destination. | |
| DestinationAddress1 | String | True |
The first line of the destination address. | |
| DestinationAddress2 | String | True |
The second line of the destination address. | |
| DestinationCity | String | True |
The city of the destination address. | |
| DestinationCompany | String | True |
The company name associated with the destination address. | |
| DestinationEmail | String | True |
The email address of the recipient at the destination. | |
| DestinationPhone | String | True |
The phone number of the recipient at the destination. | |
| DestinationProvince | String | True |
The province or region of the destination address. | |
| DestinationZip | String | True |
The ZIP or postal code of the destination address. | |
| DestinationCountryCode | String | True |
The two-letter ISO country code of the destination address. | |
| DestinationLocationId | String | True |
The globally unique identifier of the destination location. | |
| InternationalDutiesIncoterm | String | True |
The duties payment method for international shipments. Example values: 'DDP' (Delivered Duty Paid), 'DAP' (Delivered At Place). | |
| OrderId | String | True |
The globally unique identifier of the related order. |
Represents shipments created for orders, including tracking and delivery status.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Fulfillments WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OriginAddressAddress1, OriginAddressAddress2, OriginAddressCity, OriginAddressCountryCode, OriginAddressProvinceCode, OriginAddressZip, TrackingInfoCompany, TrackingInfoNumber, TrackingInfoUrl
The following pseudo-columns can be used to create a new record:
NotifyCustomer, Message, FulfillmentOrderIds
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the fulfillment. | |
| LegacyResourceId | String | True |
The legacy identifier of the corresponding resource in the REST Admin API. | |
| OrderId | String | True |
The globally unique identifier of the order associated with the fulfillment. | |
| Name | String | True |
A human-readable reference identifier for the fulfillment. | |
| Status | String | True |
The current status of the fulfillment. | |
| DeliveredAt | Datetime | True |
The date when the fulfillment was delivered. | |
| DisplayStatus | String | True |
A human-readable display status for the fulfillment. | |
| RequiresShipping | Bool | True |
Indicates whether any of the line items in the fulfillment require shipping. | |
| TotalQuantity | Int | True |
The total quantity of all line items in the fulfillment. | |
| EstimatedDeliveryAt | Datetime | True |
The estimated date when the fulfillment is expected to arrive. | |
| InTransitAt | Datetime | True |
The date and time when the fulfillment was marked as in transit. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment was last updated. | |
| LocationId | String | True |
The globally unique identifier of the fulfillment location. | |
| ServiceId | String | True |
The identifier of the fulfillment service. | |
| OriginAddressAddress1 | String | True |
The first line of the fulfillment location's address. | |
| OriginAddressAddress2 | String | True |
The second line of the fulfillment location's address, typically an apartment, suite, or unit number. | |
| OriginAddressCity | String | True |
The city where the fulfillment location is situated. | |
| OriginAddressCountryCode | String | True |
The two-letter country code of the fulfillment location. | |
| OriginAddressProvinceCode | String | True |
The province or state code of the fulfillment location. | |
| OriginAddressZip | String | True |
The postal or ZIP code of the fulfillment location. | |
| TrackingInfoCompany | String | True |
The name of the shipping company handling the fulfillment. | |
| TrackingInfoNumber | String | True |
The tracking number assigned to the fulfillment. | |
| TrackingInfoUrl | String | True |
The URL used to track the fulfillment shipment. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| NotifyCustomer | Bool |
Indicates whether the customer is notified. If true, a notification is sent when the fulfillment is created. Defaults to false. |
| Message | String |
An optional message included with the fulfillment request. |
| FulfillmentOrderIds | String |
An aggregated object containing the fulfillment order IDs. For example: [{'fulfillmentOrderId': 'gid://shopify/FulfillmentOrder/xxx'}]. |
Lists fulfillment services that prepare and ship orders on behalf of the merchant.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM FulfillmentServices
The following columns can be used to create a new record:
ServiceName, CallbackUrl, InventoryManagement, RequiresShippingMethod
The following columns can be updated:
ServiceName, CallbackUrl, InventoryManagement, RequiresShippingMethod
You can delete entries by specifying the following columns:
Id, LocationId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the fulfillment service. | |
| ServiceName | String | False |
The name of the fulfillment service as displayed to merchants. | |
| Handle | String | True |
A human-readable, unique string that identifies the fulfillment service. | |
| Type | String | True |
The type of the fulfillment service. | |
| CallbackUrl | String | False |
The callback URL that the fulfillment service registers to receive requests from Shopify. | |
| InventoryManagement | Bool | False |
Indicates whether the fulfillment service tracks product inventory and provides updates to Shopify. | |
| PermitsSkuSharing | Bool | True |
Indicates whether the fulfillment service can stock inventory alongside other locations. | |
| RequiresShippingMethod | Bool | False |
Indicates whether the fulfillment service requires products to be physically shipped. | |
| TrackingSupport | Bool | True |
Indicates whether the fulfillment service supports tracking numbers through the /fetch_tracking_numbers endpoint. | |
| LocationId | String | True |
The globally unique identifier of the location associated with the fulfillment service. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| InventoryAction | String |
Specifies the action to take with the location after the fulfillment service is deleted. The allowed values are DELETE, KEEP, TRANSFER. |
Lists tracking details for fulfillments, including company, number, and tracking URL.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentTrackingInfo WHERE FulfillmentId = 'Val1'
The following columns can be updated:
Company, Number, Url
| Name | Type | ReadOnly | References | Description |
| FulfillmentId | String | False |
Fulfillments.Id |
The globally unique identifier of the fulfillment associated with the tracking information. |
| Company | String | False |
The name of the shipping or tracking company handling the fulfillment. | |
| Number | String | False |
The tracking number assigned to the fulfillment. | |
| Url | String | False |
The URL used to track the fulfillment's shipping status. |
Lists gift cards and balances (requires read_gift_cards; available for Shopify Plus/private or custom application).
Note: Access to the GiftCards table is restricted to Shopify accounts with Shopify Plus membership. If your account does not include this tier, the table may return an empty result set or indicate that the resource is unavailable.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCards WHERE Id = 'Val1'
SELECT * FROM GiftCards WHERE ExpiresOn = '2023-01-01'
SELECT * FROM GiftCards WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM GiftCards WHERE InitialValueAmount = '100.00'
The following columns can be used to create a new record:
Note, ExpiresOn, InitialValueAmount, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt
The following columns can be updated:
Note, ExpiresOn, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt, Enabled
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the gift card. | |
| Enabled | Bool | True |
Indicates whether the gift card is active and can be used. | |
| Note | String | False |
An internal note associated with the gift card, not visible to the customer. | |
| ExpiresOn | Date | False |
The expiration date of the gift card. | |
| LastCharacters | String | True |
The last four characters of the gift card code. | |
| MaskedCode | String | True |
The masked gift card code, showing only the last four characters. | |
| DeactivatedAt | Datetime | True |
The date and time when the gift card was deactivated. | |
| UpdatedAt | Datetime | True |
The date and time when the gift card was last updated. | |
| CreatedAt | Datetime | True |
The date and time when the gift card was created. | |
| BalanceAmount | Decimal | True |
The current balance of the gift card as a decimal value. | |
| BalanceCurrencyCode | String | True |
The currency of the gift card balance. | |
| InitialValueAmount | Decimal | True |
The original value of the gift card as a decimal amount. | |
| InitialValueCurrencyCode | String | True |
The currency of the original gift card value. | |
| CustomerId | String | False |
The unique identifier of the customer associated with the gift card. | |
| RecipientAttributesRecipientId | String | False |
The unique identifier of the gift card recipient. | |
| RecipientAttributesPreferredName | String | False |
The preferred name of the recipient of the gift card. | |
| RecipientAttributesMessage | String | False |
The custom message included with the gift card. | |
| RecipientAttributesSendNotificationAt | Datetime | False |
The scheduled date and time when the gift card notification is sent to the recipient. The message is sent within one hour of the scheduled time. | |
| OrderId | String | True |
The unique identifier of the order that generated the gift card. |
Lists credit transactions that increase a gift card balance (Shopify Plus only).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCardTransactionsCredit WHERE Id = 'Val1'
SELECT * FROM GiftCardTransactionsCredit WHERE GiftCardId = 'Val1'
The following columns can be used to create a new record:
GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the credit transaction. | |
| GiftCardId | String | True |
GiftCards.Id |
The globally unique identifier of the gift card associated with the transaction. |
| Note | String | True |
An internal note describing the transaction. | |
| ProcessedAt | Datetime | True |
The date and time when the credit transaction was processed. | |
| Amount | Decimal | True |
The credited amount in decimal format. | |
| AmountCurrencyCode | String | True |
The currency of the credited amount. |
Lists debit transactions that decrease a gift card balance (Shopify Plus only).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCardTransactionsDebit WHERE Id = 'Val1'
SELECT * FROM GiftCardTransactionsDebit WHERE GiftCardId = 'Val1'
The following columns can be used to create a new record:
GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the debit transaction. | |
| GiftCardId | String | True |
GiftCards.Id |
The globally unique identifier of the associated gift card. |
| Note | String | True |
A merchant-provided note about the debit transaction. | |
| ProcessedAt | Datetime | True |
The date and time when the debit transaction was processed. | |
| Amount | Decimal | True |
The debited amount. | |
| AmountCurrencyCode | String | True |
The currency of the debited amount. |
Shows per-location inventory level summaries for an inventory item.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemInventoryLevels WHERE InventoryItemId = 'Val1'
The following columns can be used to create a new record:
InventoryItemId, LocationId
The following pseudo-columns can be used to create a new record:
Available, OnHand, StockAtLegacyLocation
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the inventory level. | |
| InventoryItemId | String | True |
The globally unique identifier of the inventory item associated with this level. | |
| LocationId | String | True |
The globally unique identifier of the location tied to the inventory level. | |
| CanDeactivate | Bool | True |
Indicates whether the inventory level can be deactivated for the associated item at this location. | |
| DeactivationAlert | String | True |
Explains the impact of deactivating the inventory level or the reason why it cannot be deactivated. | |
| CreatedAt | Datetime | True |
The date and time when the inventory level was created. | |
| UpdatedAt | Datetime | True |
The date and time when the inventory level was last updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Available | Int |
The starting available quantity of the inventory item when it is activated at the location. |
| OnHand | Int |
The starting on-hand quantity of the inventory item when it is activated at the location. |
| StockAtLegacyLocation | Bool |
Indicates whether activation is allowed at or away from a legacy fulfillment service location when SKU sharing is disabled. Enabling this option deactivates inventory at all other locations. |
Lists inventory items (SKU-level records) with tracking and cost data.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryItems WHERE Id = 'Val1'
SELECT * FROM InventoryItems WHERE Sku = 'Val1'
SELECT * FROM InventoryItems WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM InventoryItems WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be updated:
Sku, Tracked, RequiresShipping, HarmonizedSystemCode, CountryCodeOfOrigin, ProvinceCodeOfOrigin, MeasurementWeightValue, MeasurementWeightUnit, UnitCostAmount, InventoryItemCountryHarmonizedSystemCodes (references InventoryItemCountryHarmonizedSystemCodes)
| Column Name | Type | Description |
| CountryCode | String | The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. |
| HarmonizedSystemCode | String | The country-specific harmonized system code. These are usually longer than 6 digits. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The globally unique identifier of the inventory item. | |
| LegacyResourceId | String | True |
The identifier of the corresponding inventory resource in the REST Admin API. | |
| VariantId | String | True |
The globally unique identifier of the associated product variant. | |
| Sku | String | False |
The stock keeping unit (SKU) code used to uniquely identify the inventory item. | |
| Tracked | Bool | False |
Indicates whether inventory levels are being tracked for this item. | |
| LocationsCount | Int | True |
The number of locations where this inventory item is stocked. | |
| LocationsCountPrecision | String | True |
The precision level applied to the location count value. | |
| RequiresShipping | Bool | False |
Indicates whether the inventory item requires physical shipping. | |
| DuplicateSkuCount | Int | True |
The number of inventory items that share the same SKU as this item. | |
| HarmonizedSystemCode | String | False |
The harmonized system code (HS code) for the item, used for customs and trade classification. | |
| InventoryHistoryUrl | String | True |
The URL linking to the inventory history record for this item. | |
| CountryCodeOfOrigin | String | False |
The ISO 3166-1 alpha-2 country code representing the item's country of origin. | |
| ProvinceCodeOfOrigin | String | False |
The ISO 3166-2 alpha-2 province or state code representing the item's region of origin. | |
| CreatedAt | Datetime | True |
The date and time when the inventory item was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the inventory item was last updated. | |
| TrackedEditableLocked | Bool | True |
Indicates whether the 'tracked' attribute is locked from editing. | |
| TrackedEditableReason | String | True |
The explanation for why the 'tracked' attribute is locked from editing. | |
| MeasurementId | String | True |
The globally unique identifier of the measurement record for this inventory item. | |
| MeasurementWeightValue | Double | False |
The numeric weight of the item, measured using the unit specified in 'MeasurementWeightUnit'. | |
| MeasurementWeightUnit | String | False |
The unit of measurement for the item's weight value (for example, 'g', 'kg', 'lb'). | |
| UnitCostAmount | Decimal | False |
The per-unit cost of the inventory item, expressed as a decimal amount. | |
| UnitCostCurrencyCode | String | True |
The currency code associated with the unit cost amount. | |
| InventoryItemCountryHarmonizedSystemCodes | String | False |
The list of country-specific harmonized system codes (HS codes) associated with this inventory item. |
Lists active inventory locations used for stock, fulfillment, and pickup.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Locations WHERE Id = 'Val1'
SELECT * FROM Locations WHERE Name = 'Val1'
SELECT * FROM Locations WHERE IsActive = true
SELECT * FROM Locations WHERE AddressAddress1 = 'Val1'
SELECT * FROM Locations WHERE AddressAddress2 = 'Val1'
SELECT * FROM Locations WHERE AddressCity = 'Val1'
SELECT * FROM Locations WHERE AddressCountry != 'Val1'
SELECT * FROM Locations WHERE AddressProvince = 'Val1'
SELECT * FROM Locations WHERE AddressZip = 'Val1'
SELECT * FROM Locations WHERE IncludeInactive = true
SELECT * FROM Locations WHERE IncludeLegacy = true
SELECT * FROM Locations WHERE Namespace = 'Val1'
SELECT * FROM Locations WHERE Key = 'Val1'
SELECT * FROM Locations WHERE Value = 'Val1'
The following columns can be used to create a new record:
Name, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode
The following columns can be updated:
Name, IsActive, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id for the location. | |
| LegacyResourceId | String | True |
The Id of the corresponding resource in the REST Admin API. | |
| Name | String | False |
The name of the location, such as a store, office, or warehouse. | |
| Activatable | Bool | True |
Indicates whether the location can be reactivated. | |
| Deactivatable | Bool | True |
Indicates whether the location can be deactivated. | |
| Deletable | Bool | True |
Indicates whether the location can be deleted. | |
| AddressVerified | Bool | True |
Indicates whether the location's address has been verified. | |
| DeactivatedAt | String | True |
The date and time when the location was deactivated. For example, 3:30 p.m. on September 7, 2019 (UTC) is represented as '2019-09-07T15:30:00Z'. | |
| IsActive | Bool | False |
Indicates whether the location is active. | |
| ShipsInventory | Bool | True |
Indicates whether the location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| IsFulfillmentService | Bool | True |
Indicates whether the location functions as a fulfillment service. | |
| FulfillsOnlineOrders | Bool | False |
Indicates whether the location can fulfill online orders. | |
| HasActiveInventory | Bool | True |
Indicates whether the location has active inventory. | |
| HasUnfulfilledOrders | Bool | True |
Indicates whether the location has unfulfilled orders. | |
| CreatedAt | Datetime | True |
The date and time when the location was created. | |
| UpdatedAt | Datetime | True |
The date and time when the location was last updated. | |
| AddressAddress1 | String | False |
The first line of the location's address. | |
| AddressAddress2 | String | False |
The second line of the location's address. | |
| AddressCity | String | False |
The city from the address of the location (for example, 'Toronto'). | |
| AddressCountry | String | True |
The country from the address of the location, returned as the country name (for example, 'Canada'). | |
| AddressFormatted | String | True |
The formatted address of the location. | |
| AddressLatitude | Double | True |
The latitude coordinate of the location. | |
| AddressLongitude | Double | True |
The longitude coordinate of the location. | |
| AddressPhone | String | False |
The phone number associated with the location. | |
| AddressProvince | String | True |
The province, state, or region of the location. | |
| AddressZip | String | False |
The ZIP or postal code of the location. | |
| AddressCountryCode | String | False |
The ISO country code of the location. The allowed values are AC, AD, AE, AF, AG, AI, AL, AM, AN, AO, AR, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MK, ML, MM, MN, MO, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PS, PT, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TA, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW, ZZ. | |
| AddressProvinceCode | String | False |
The ISO code for the province, state, or district of the location. | |
| FulfillmentServiceId | String | True |
The Id of the fulfillment service linked to the location. | |
| LocalPickupSettingsV2Instructions | String | True |
Additional instructions for customers using local pickup. | |
| LocalPickupSettingsV2PickupTime | String | True |
The estimated pickup time displayed to customers at checkout. | |
| IncludeInactive | Bool | True |
If true, also includes locations that have been deactivated. | |
| IncludeLegacy | Bool | True |
If true, also includes legacy fulfillment service locations. | |
| Namespace | String | True |
The container the metafield belongs to. If not specified, the app-reserved namespace is used. | |
| Key | String | True |
The key for the metafield. | |
| Value | String | True |
The value of the metafield. |
Lists metafield definitions, including validation and presentation details.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM MetafieldDefinitions WHERE Id = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE Namespace = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE Key = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE OwnerType = 'API_PERMISSION'
SELECT * FROM MetafieldDefinitions WHERE PinnedStatus = 'ANY'
SELECT * FROM MetafieldDefinitions WHERE ConstraintStatus = 'CONSTRAINED_AND_UNCONSTRAINED'
SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeKey = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeValue = 'Val1'
The following columns can be used to create a new record:
Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled, TypeName
The following pseudo-column can be used to create a new record:
Pin
The following columns can be updated:
Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled
The following pseudo-column can be used to update a record:
Pin
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id for the metafield definition. | |
| Namespace | String | False |
The namespace, or container, that groups related metafields for this definition. | |
| Key | String | False |
The unique identifier for the metafield definition within its namespace. | |
| Name | String | False |
The human-readable name of the metafield definition. | |
| PinnedPosition | Int | True |
The position of the metafield definition in the pinned list, which determines its display order in the Shopify admin. | |
| Description | String | False |
The description of the metafield definition. | |
| OwnerType | String | False |
The resource type that the metafield definition is attached to. The allowed values are API_PERMISSION, ARTICLE, BLOG, CARTTRANSFORM, COLLECTION, COMPANY, COMPANY_LOCATION, CUSTOMER, DELIVERY_CUSTOMIZATION, DISCOUNT, DRAFTORDER, FULFILLMENT_CONSTRAINT_RULE, GIFT_CARD_TRANSACTION, LOCATION, MARKET, ORDER, ORDER_ROUTING_LOCATION_RULE, PAGE, PAYMENT_CUSTOMIZATION, PRODUCT, PRODUCTVARIANT, SELLING_PLAN, SHOP, VALIDATION, MEDIA_IMAGE. | |
| UseAsCollectionCondition | Bool | True |
Indicates whether the metafield definition can be used as a collection condition. | |
| ValidationStatus | String | True |
The validation status for the metafields that belong to the metafield definition. | |
| Validations | String | False |
A list of validations for the metafields that belong to the definition. For example, a 'date' metafield definition can include a minimum date validation so that metafields created under it can only store dates after that date. | |
| AccessAdmin | String | False |
The default admin access setting for metafields under this definition. | |
| AccessCustomerAccount | String | False |
The customer account access setting for metafields under this definition. | |
| AccessStorefront | String | False |
The storefront access setting for metafields under this definition. | |
| CapabilitiesAdminFilterableEligible | Bool | True |
Indicates whether the definition is eligible for admin filtering. | |
| CapabilitiesAdminFilterableEnabled | Bool | False |
Indicates whether admin filtering is enabled for the definition. | |
| CapabilitiesAdminFilterableStatus | String | True |
The filter status of the metafield definition for admin use. | |
| CapabilitiesSmartCollectionConditionEligible | Bool | True |
Indicates whether the definition is eligible for use in smart collection conditions. | |
| CapabilitiesSmartCollectionConditionEnabled | Bool | False |
Indicates whether smart collection conditions are enabled for the definition. | |
| ConstraintsKey | String | True |
The category of resource subtypes that the definition applies to. | |
| MetafieldsCount | Int | True |
The number of metafields associated with the definition. | |
| StandardTemplateId | String | True |
A globally unique Id for the standard template associated with the definition. | |
| TypeName | String | True |
The name of the type for the metafield definition. | |
| PinnedStatus | String | True |
Filters metafield definitions by pinned status. The allowed values are ANY, PINNED, UNPINNED. | |
| ConstraintStatus | String | True |
Filters metafield definitions by constraint status. The allowed values are CONSTRAINED_AND_UNCONSTRAINED, CONSTRAINED_ONLY, UNCONSTRAINED_ONLY. | |
| ConstraintSubtypeKey | String | True |
Filters metafield definitions by the category of resource subtype they apply to. | |
| ConstraintSubtypeValue | String | True |
Filters metafield definitions by the specific subtype value within the identified category. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Pin | Bool |
Indicates whether to pin the metafield definition. |
| DeleteAllAssociatedMetafields | Bool |
Indicates whether to delete all metafields associated with the definition. |
Lists metafields attached to one or more resource Ids.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Metafields WHERE Id = 'Val1'
SELECT * FROM Metafields WHERE OwnerId = 'Val1'
SELECT * FROM Metafields WHERE OwnerResource = 'product'
The following columns can be used to create a new record:
Namespace, Key, Value, Type, OwnerId
You can delete entries by specifying the following columns:
Namespace, Key, OwnerId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique Id for the metafield. | |
| LegacyResourceId | Long | True |
The Id of the corresponding resource in the REST Admin API. | |
| Namespace | String | True |
The namespace, or container, that groups the metafield. Custom namespaces distinguish your metafields from those created by other apps. | |
| Key | String | True |
The unique key name of the metafield within its namespace. | |
| Value | String | True |
The data stored as metadata in the metafield. | |
| Type | String | True |
The data type of the metafield value. | |
| Description | String | True |
A human-readable description of the information stored in the metafield. | |
| DefinitionId | String | True |
The Id of the metafield definition the metafield belongs to, if any. | |
| OwnerId | String | True |
The Id of the resource that the metafield is attached to. | |
| OwnerResource | String | True |
The type of resource that the metafield is attached to. The allowed values are product, variant, shop, draft_order, order, customer, collection, media_image, selling_plan, article, blog, page. | |
| CreatedAt | Datetime | True |
The date and time when the metafield was created. | |
| UpdatedAt | Datetime | True |
The date and time when the metafield was last updated. |
Lists fraud risk assessments attached to orders with scores and reasons.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRiskAssessments WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OrderId, RiskLevel, Facts (references OrderRiskAssessmentFacts)
| Column Name | Type | Description |
| Description | String | A description of the fact. |
| Sentiment | String | Indicates whether the fact is a negative, neutral or positive contributor with regards to risk. |
| Name | Type | ReadOnly | References | Description |
| OrderId | String | True |
The globally unique Id of the order being assessed. | |
| RiskLevel | String | True |
The likelihood that the order is fraudulent, as determined by this risk assessment. The allowed values are HIGH, LOW, MEDIUM, NONE, PENDING. | |
| Facts | String | True |
Optional descriptive details about the risk assessment. Values are specific to the risk provider. | |
| ProviderId | String | True |
The globally unique Id of the provider that generated the assessment. | |
| ProviderTitle | String | True |
The name of the application or service that performed the risk assessment. |
Lists orders with customer, payment, fulfillment, duty, and tax details.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Orders WHERE Id = 'Val1'
SELECT * FROM Orders WHERE Number = 'Val1'
SELECT * FROM Orders WHERE Name = 'Val1'
SELECT * FROM Orders WHERE Email = 'Val1'
SELECT * FROM Orders WHERE Test = true
SELECT * FROM Orders WHERE ConfirmationNumber = 'Val1'
SELECT * FROM Orders WHERE DiscountCode = 'Val1'
SELECT * FROM Orders WHERE ProcessedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE CurrentSubtotalLineItemsQuantity = 123
SELECT * FROM Orders WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE CustomerId = 'Val1'
SELECT * FROM Orders WHERE Namespace = 'Val1'
SELECT * FROM Orders WHERE Key = 'Val1'
SELECT * FROM Orders WHERE Value = 'Val1'
The following columns can be used to create a new record:
Number, SourceIdentifier, SourceName, Name, Email, Note, Phone, Tags, Test, ClosedAt, CurrencyCode, ProcessedAt, TaxesIncluded, CustomerAcceptsMarketing, DisplayFinancialStatus, DisplayFulfillmentStatus, PresentmentCurrencyCode, CustomerId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressPhone, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressPhone, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2
The following pseudo-columns can be used to create a new record:
PurchasingEntityCompanyLocationId, ReferringSite, SourceUrl, UserId, DiscountCodeFreeShipping, DiscountCodeFixed, DiscountCodeFixedAmountSetPresentmentMoneyAmount, DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode, DiscountCodeFixedAmountSetShopMoneyAmount, DiscountCodeFixedAmountSetShopMoneyCurrencyCode, DiscountCodePercentage, DiscountCodePercentageValue, FulfillmentLocationId, FulfillmentNotifyCustomer, FulfillmentTrackingInfoNumber, FulfillmentTrackingInfoCompany, FulfillmentShipmentStatus, FulfillmentOriginAddressAddress1, FulfillmentOriginAddressAddress2, FulfillmentOriginAddressCity, FulfillmentOriginAddressCountryCode, FulfillmentOriginAddressProvinceCode, FulfillmentOriginAddressZip, OrderLineItems (references OrderLineItems), OrderShippingLines (references OrderShippingLines), OrderTaxLines (references OrderTaxLines), OrderTransactions (references OrderTransactions), OrderCustomAttributes (references OrderCustomAttributes), Metafields (references Metafields), OptionsInventoryBehaviour, OptionsSendFulfillmentRequest, OptionsSendReceipt
| Column Name | Type | Description |
| Title | String | The title of the product at time of order creation. |
| VariantTitle | String | The title of the variant at time of order creation. |
| VariantId | String | A globally-unique ID. |
| ProductId | String | A globally-unique ID. |
| Quantity | Int | The number of variant units ordered. |
| Sku | String | The variant SKU number. |
| Taxable | Bool | Whether the variant is taxable. |
| Vendor | String | The name of the vendor who made the variant. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. |
| FulfillmentService | String | The handle of a fulfillment service that stocks the product variant belonging to a line item. |
| OrderLineItemCustomAttributes (references OrderLineItemCustomAttributes) | String | An array of custom information for the item that has been added to the cart. Often used to provide product customization options. |
| OrderLineItemTaxLines (references OrderLineItemTaxLines) | String | A list of tax line objects, each of which details a tax applied to the item. |
| Column Name | Type | Description |
| Title | String | Returns the title of the shipping line. |
| Code | String | A reference to the shipping method. |
| Source | String | Returns the rate source for the shipping line. |
| OriginalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| OriginalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| OriginalPriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| OriginalPriceSetShopMoneyCurrencyCode | String | Currency of the money. |
| TaxLines | String | A list of tax line objects, each of which details a tax applicable to this shipping line. |
| Column Name | Type | Description |
| Title | String | The name of the tax. |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
| Column Name | Type | Description |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. |
| AuthorizationCode | String | Authorization code associated with the transaction. |
| DeviceId | String | The ID of the device used to process the transaction. |
| GiftCardDetailsId | String | The ID of the gift card used for this transaction. |
| Kind | String | The kind of transaction. |
| LocationId | String | The ID of the location where the transaction was processed. |
| ProcessedAt | Datetime | Date and time when the transaction was processed. |
| ReceiptJson | String | The transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction. |
| Status | String | The status of this transaction. |
| Test | Bool | Whether the transaction is a test transaction. |
| UserId | String | Staff member who was logged into the Shopify POS device when the transaction was processed. (This column is available only with a ShopifyPlus subscription) |
| Column Name | Type | Description |
| Key | String | Key or name of the attribute. |
| Value | String | Value of the attribute. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| Key | String | Key or name of the attribute. |
| Value | String | Value of the attribute. |
| Column Name | Type | Description |
| Title | String | The name of the tax. |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
The following columns can be updated:
Number, Email, Note, Tags, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2
The following pseudo-column can be used to update a record:
OrderCustomAttributes (references OrderCustomAttributes)
| Column Name | Type | Description |
| Key | String | Key or name of the attribute. |
| Value | String | Value of the attribute. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id. | |
| Number | String | True |
The purchase order number associated with this order. | |
| Unpaid | Bool | True |
Indicates whether no payments have been made for the order. | |
| FullyPaid | Bool | True |
Indicates whether the order has been paid in full. | |
| SourceIdentifier | String | True |
A unique POS or third-party order identifier. For example, '1234-12-1000' or '111-98567-54'. The 'receipt_number' field is derived from this value for POS orders. | |
| SourceName | String | True |
The name of the source associated with the order. | |
| LegacyResourceId | String | True |
The Id of the corresponding resource in the REST Admin API. | |
| CanMarkAsPaid | Bool | True |
Whether the order can be manually marked as paid. | |
| Name | String | True |
The identifier shown on the order page in the Shopify admin and the order status page. For example, '#1001', 'EN1001', or '1001-A'. This value isn't unique across multiple stores. | |
| PaymentGatewayNames | String | True |
A list of the names of all payment gateways used for the order. For example, 'Shopify Payments' and 'Cash on Delivery (COD)'. | |
| Capturable | Bool | True |
Indicates whether payment for the order can be captured. | |
| Closed | Bool | True |
Indicates whether the order is closed. | |
| Confirmed | Bool | True |
Indicates whether inventory has been reserved for the order. | |
| Edited | Bool | True |
Indicates whether the order has had any edits applied. | |
| String | False |
The email address associated with the customer. | ||
| Fulfillable | Bool | True |
Indicates whether there are line items that can be fulfilled. Returns 'false' when the order has no fulfillable line items. For a more granular view of the fulfillment status, refer to the object. | |
| Note | String | False |
The contents of the note associated with the order. | |
| Phone | String | True |
The phone number associated with the customer. | |
| Refundable | Bool | True |
Indicates whether the order can be refunded. | |
| Restockable | Bool | True |
Indicates whether any line item on the order can be restocked. | |
| Tags | String | True |
A comma-separated list of tags associated with the order. Updating 'tags' overwrites any existing tags previously added to the order. To add new tags without overwriting existing tags, use the mutation. | |
| Test | Bool | True |
Indicates whether the order is a test. Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled. A test order cannot be converted into a real order and vice versa. | |
| CancelReason | String | True |
The reason provided when the order was canceled. Returns 'null' if the order wasn't canceled. | |
| CancelledAt | Datetime | True |
The date and time when the order was canceled. Returns 'null' if the order wasn't canceled. | |
| ClientIp | String | True |
The IP address of the API client that created the order. | |
| ClosedAt | Datetime | True |
The date and time when the order was closed. Returns 'null' if the order is not closed. | |
| ConfirmationNumber | String | True |
A randomly generated alphanumeric identifier for the order that might be shown to the customer instead of the sequential order name. For example, XPAV284CT, R50KELTJP, or 35PKUN0UJ. This value is not guaranteed to be unique. | |
| CurrencyCode | String | True |
The shop currency when the order was placed. | |
| CustomerLocale | String | True |
A two-letter or three-letter language code, optionally followed by a region modifier. | |
| DiscountCode | String | True |
The discount code used for the order. | |
| DiscountCodes | String | True |
The discount codes used for the order. | |
| EstimatedTaxes | Bool | True |
Indicates whether taxes on the order are estimated. Returns 'false' when taxes on the order are finalized and aren't subject to change. | |
| MerchantEditable | Bool | True |
Indicates whether the order can be edited by the merchant. For example, canceled orders cannot be edited. | |
| ProcessedAt | Datetime | True |
The date and time when the order was processed. This might not match the date and time when the order was created. | |
| RequiresShipping | Bool | True |
Indicates whether the order has shipping lines or at least one line item that requires shipping. | |
| RiskRecommendation | String | True |
The recommendation for the order based on the results of the risk assessments (suggested merchant action regarding fraud risk). | |
| ReturnStatus | String | True |
The order's aggregated return status for display purposes. | |
| TaxesIncluded | Bool | True |
Indicates whether taxes are included in the subtotal price of the order. | |
| DutiesIncluded | Bool | True |
Indicates whether duties are included in the subtotal price of the order. | |
| TotalWeight | String | True |
The total weight of the order before returns, in grams. | |
| CanNotifyCustomer | Bool | True |
Indicates whether a customer email exists for the order. | |
| CurrentTotalWeight | String | True |
The total weight of the order after returns, in grams. | |
| CustomerAcceptsMarketing | Bool | True |
Indicates whether the customer agreed to receive marketing materials. | |
| DisplayFinancialStatus | String | True |
The financial status of the order that can be shown to the merchant. Use only for display summary. | |
| DisplayFulfillmentStatus | String | True |
The fulfillment status of the order that can be shown to the merchant. Use only for display summary. For granular details, refer to the object. | |
| FulfillmentsCount | Int | True |
The count of fulfillments, including canceled fulfillments. | |
| FulfillmentsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| HasTimelineComment | Bool | True |
Indicates whether the merchant added a timeline comment to the order. | |
| MerchantEditableErrors | String | True |
A list of reasons why the order cannot be edited. For example, 'Canceled orders cannot be edited'. | |
| PresentmentCurrencyCode | String | True |
The customer's payment currency code for the order. | |
| RegisteredSourceUrl | String | True |
The URL of the source that the order originated from, if found in the domain registry. | |
| StatusPageUrl | String | True |
The URL where the customer can check the order's current status. | |
| SubtotalLineItemsQuantity | Int | True |
The sum of quantities for all line items that contribute to the order's subtotal price. | |
| BillingAddressMatchesShippingAddress | Bool | True |
Indicates whether the billing address matches the shipping address. | |
| CurrentSubtotalLineItemsQuantity | Int | True |
The sum of quantities for all line items that contribute to the order's current subtotal price. | |
| CreatedAt | Datetime | True |
The date and time when the order was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| StaffMemberId | String | True |
The staff member associated with the order. (Available only with a Shopify Plus subscription.) | |
| AppId | String | True |
The application Id. | |
| MerchantOfRecordAppId | String | True |
The unique identifier for the app designated as the merchant of record. | |
| MerchantBusinessEntityId | String | True |
The unique identifier for the merchant's business entity record in Shopify. | |
| PhysicalLocationId | String | True |
The unique identifier for a physical location (such as a retail store, warehouse, or fulfillment center). | |
| ChannelInformationId | String | True |
The unique identifier for the channel information object that links sales activity to a channel. | |
| ChannelInformationChannelId | String | True |
The unique identifier for the sales channel (for example, Online Store, POS, or a third-party channel). | |
| ChannelInformationAppId | String | True |
The unique identifier for the app associated with the sales channel. | |
| PublicationId | String | True |
The unique identifier for a publication that makes products available to a sales channel. | |
| PurchasingEntityCustomerId | String | True |
The unique identifier for the customer who is acting as the purchasing entity. | |
| PurchasingEntityCompanyId | String | True |
The unique identifier for the company that is acting as the purchasing entity (business-to-business). | |
| CustomerId | String | True |
The unique identifier for a customer record in Shopify. | |
| CustomerFirstName | String | True |
The customer's first name. | |
| CustomerLastName | String | True |
The customer's last name. | |
| CustomerJourneySummaryReady | Bool | True |
Indicates whether the attributed sessions for the order have been created yet. | |
| CustomerJourneySummaryMomentsCount | Int | True |
The total number of customer moments associated with this order. Returns 'null' if the order is still being attributed. | |
| CustomerJourneySummaryMomentsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CustomerJourneySummaryCustomerOrderIndex | Int | True |
The position of the current order within the customer's order history. Test orders aren't included. | |
| CustomerJourneySummaryDaysToConversion | Int | True |
The number of days between the first session and the order creation date. The first session is since the last order, or the first within the 30-day attribution window. | |
| CustomerJourneySummaryFirstVisitId | String | True |
A globally unique Id. | |
| CustomerJourneySummaryFirstVisitSource | String | True |
The source from which the customer visited the store (for example, a platform such as Facebook or Google, email, direct, domain, QR code, or unknown). | |
| CustomerJourneySummaryFirstVisitLandingPage | String | True |
The URL of the first page the customer landed on for the session. | |
| CustomerJourneySummaryFirstVisitOccurredAt | Datetime | True |
The date and time when the customer's session occurred. | |
| CustomerJourneySummaryFirstVisitReferralCode | String | True |
Marketing referral code from the link that the customer clicked to visit the store. Supports URL attributes: ref, source, or r. | |
| CustomerJourneySummaryFirstVisitReferrerUrl | String | True |
The webpage where the customer clicked a link that sent them to the online store. | |
| CustomerJourneySummaryFirstVisitSourceDescription | String | True |
A description that explicitly names the source for the first or last session. | |
| CustomerJourneySummaryFirstVisitSourceType | String | True |
The type of marketing tactic. | |
| CustomerJourneySummaryFirstVisitLandingPageHtml | String | True |
Landing page information with URL linked in HTML. | |
| CustomerJourneySummaryFirstVisitReferralInfoHtml | String | True |
Referral information with URLs linked in HTML. | |
| CustomerJourneySummaryLastVisitId | String | True |
A globally unique Id. | |
| CustomerJourneySummaryLastVisitSource | String | True |
The source from which the customer visited the store (for example, Facebook, Google, email, direct, domain, QR code, or unknown). | |
| CustomerJourneySummaryLastVisitLandingPage | String | True |
The URL of the first page the customer landed on for the session. | |
| CustomerJourneySummaryLastVisitOccurredAt | Datetime | True |
The date and time when the customer's session occurred. | |
| CustomerJourneySummaryLastVisitReferralCode | String | True |
Marketing referral code from the link that the customer clicked to visit the store. Supports URL attributes: ref, source, or r. | |
| CustomerJourneySummaryLastVisitReferrerUrl | String | True |
The webpage where the customer clicked a link that sent them to the online store. | |
| CustomerJourneySummaryLastVisitSourceDescription | String | True |
A description that explicitly names the source for the first or last session. | |
| CustomerJourneySummaryLastVisitSourceType | String | True |
The type of marketing tactic. | |
| CustomerJourneySummaryLastVisitLandingPageHtml | String | True |
Landing page information with URL linked in HTML. | |
| CustomerJourneySummaryLastVisitReferralInfoHtml | String | True |
Referral information with URLs linked in HTML. | |
| DisplayAddressId | String | True |
A globally unique Id. | |
| DisplayAddressCoordinatesValidated | Bool | True |
Indicates whether the address coordinates are valid. | |
| DisplayAddressValidationResultSummary | String | True |
The validation status leveraged by the address validation feature in the Shopify admin. | |
| DisplayAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| DisplayAddressFirstName | String | True |
The customer's first name. | |
| DisplayAddressLastName | String | True |
The customer's last name. | |
| DisplayAddressAddress1 | String | True |
The first line of the address (typically the street address or PO Box number). | |
| DisplayAddressAddress2 | String | True |
The second line of the address (typically an apartment, suite, or unit). | |
| DisplayAddressCity | String | True |
The name of the city, district, village, or town. | |
| DisplayAddressCompany | String | True |
The name of the customer's company or organization. | |
| DisplayAddressCountry | String | True |
The name of the country. | |
| DisplayAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| DisplayAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| DisplayAddressPhone | String | True |
A unique phone number for the customer, formatted using the E.164 standard (for example, +16135551111). | |
| DisplayAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| DisplayAddressZip | String | True |
The ZIP or postal code of the address. | |
| DisplayAddressFormattedArea | String | True |
A comma-separated list of city, province, and country. | |
| DisplayAddressProvinceCode | String | True |
The two-letter region code (for example, ON). | |
| DisplayAddressCountryCodeV2 | String | True |
The two-letter country code (for example, US). | |
| BillingAddressId | String | True |
A globally unique Id. | |
| BillingAddressCoordinatesValidated | Bool | True |
Indicates whether the address coordinates are valid. | |
| BillingAddressValidationResultSummary | String | True |
The validation status leveraged by the address validation feature in the Shopify admin. | |
| BillingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| BillingAddressFirstName | String | True |
The customer's first name. | |
| BillingAddressLastName | String | True |
The customer's last name. | |
| BillingAddressAddress1 | String | True |
The first line of the address (typically the street address or PO Box number). | |
| BillingAddressAddress2 | String | True |
The second line of the address (typically an apartment, suite, or unit). | |
| BillingAddressCity | String | True |
The name of the city, district, village, or town. | |
| BillingAddressCompany | String | True |
The name of the customer's company or organization. | |
| BillingAddressCountry | String | True |
The name of the country. | |
| BillingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| BillingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| BillingAddressPhone | String | True |
A unique phone number for the customer, formatted using the E.164 standard (for example, +16135551111). | |
| BillingAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| BillingAddressZip | String | True |
The ZIP or postal code of the address. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of city, province, and country. | |
| BillingAddressProvinceCode | String | True |
The two-letter region code (for example, ON). | |
| BillingAddressCountryCodeV2 | String | True |
The two-letter country code (for example, US). | |
| ShippingAddressId | String | False |
A globally unique Id. | |
| ShippingAddressCoordinatesValidated | Bool | True |
Indicates whether the address coordinates are valid. | |
| ShippingAddressValidationResultSummary | String | True |
The validation status leveraged by the address validation feature in the Shopify admin. | |
| ShippingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| ShippingAddressFirstName | String | False |
The customer's first name. | |
| ShippingAddressLastName | String | False |
The customer's last name. | |
| ShippingAddressAddress1 | String | False |
The first line of the address (typically the street address or PO Box number). | |
| ShippingAddressAddress2 | String | False |
The second line of the address (typically an apartment, suite, or unit). | |
| ShippingAddressCity | String | False |
The name of the city, district, village, or town. | |
| ShippingAddressCompany | String | False |
The name of the customer's company or organization. | |
| ShippingAddressCountry | String | False |
The name of the country. | |
| ShippingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| ShippingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| ShippingAddressPhone | String | False |
A unique phone number for the customer, formatted using the E.164 standard (for example, +16135551111). | |
| ShippingAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| ShippingAddressZip | String | False |
The ZIP or postal code of the address. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of city, province, and country. | |
| ShippingAddressProvinceCode | String | False |
The two-letter region code (for example, ON). | |
| ShippingAddressCountryCodeV2 | String | False |
The two-letter country code (for example, US). | |
| ShippingLineId | String | True |
A globally unique Id. | |
| ShippingLineCarrierIdentifier | String | True |
A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| ShippingLineTitle | String | True |
The title of the shipping line. | |
| ShippingLineCode | String | True |
A reference to the shipping method. | |
| ShippingLineCustom | Bool | True |
Indicates whether the shipping line is custom. | |
| ShippingLinePhone | String | True |
The phone number at the shipping address. | |
| ShippingLineSource | String | True |
The rate source for the shipping line. | |
| ShippingLineDeliveryCategory | String | True |
The general classification of the delivery method. | |
| ShippingLineShippingRateHandle | String | True |
A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users. | |
| ShippingLineRequestedFulfillmentServiceId | String | True |
The Id of the fulfillment service. | |
| PaymentTermsId | String | True |
A globally unique Id. | |
| PaymentTermsTranslatedName | String | True |
The payment terms name, translated into the shop admin's preferred language. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the payment terms template used to create the payment terms. | |
| PaymentTermsOverdue | Bool | True |
Indicates whether the payment terms have overdue payment schedules. | |
| PaymentTermsDueInDays | Int | True |
The duration of the payment terms in days based on the template used. | |
| PaymentTermsPaymentTermsType | String | True |
The payment terms template type used to create the payment terms. | |
| PaymentTermsDraftOrderId | String | True |
A globally unique Id. | |
| CartDiscountAmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CartDiscountAmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CartDiscountAmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CartDiscountAmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| ChannelInformationChannelDefinitionId | String | True |
The unique Id for the channel definition. | |
| CurrentCartDiscountAmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentCartDiscountAmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentCartDiscountAmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentCartDiscountAmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentSubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentSubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentSubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentSubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalAdditionalFeesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDutiesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDutiesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDutiesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| NetPaymentSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| NetPaymentSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| NetPaymentSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| NetPaymentSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalAdditionalFeesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalDutiesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalDutiesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalDutiesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| PaymentCollectionDetailsAdditionalPaymentCollectionUrl | String | True |
The URL to collect an additional payment on the order. | |
| RefundDiscrepancySetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| RefundDiscrepancySetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| RefundDiscrepancySetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| RefundDiscrepancySetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalCapturableSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalCapturableSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalCapturableSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalCapturableSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalOutstandingSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalOutstandingSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalOutstandingSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalOutstandingSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalReceivedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalReceivedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalReceivedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalReceivedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedShippingSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedShippingSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedShippingSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedShippingSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTipReceivedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTipReceivedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTipReceivedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTipReceivedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99. | |
| TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD. | |
| TotalCashRoundingAdjustmentPaymentSetShopMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99. | |
| TotalCashRoundingAdjustmentPaymentSetShopMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD. | |
| TotalCashRoundingAdjustmentRefundSetPresentmentMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99. | |
| TotalCashRoundingAdjustmentRefundSetPresentmentMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD. | |
| TotalCashRoundingAdjustmentRefundSetShopMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99. | |
| TotalCashRoundingAdjustmentRefundSetShopMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD. | |
| RetailLocationId | String | True |
A globally unique Id. | |
| Namespace | String | True |
The container the metafield belongs to. If omitted, the app-reserved namespace will be used. | |
| Key | String | True |
The key for the metafield. | |
| Value | String | True |
The value of the metafield. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| PurchasingEntityCompanyLocationId | String |
The Id of the purchasing company's location for the order. |
| ReferringSite | String |
The website where the customer clicked a link to the shop. |
| SourceUrl | String |
A valid URL to the original order on the originating surface. Displayed to merchants on the Order Details page. Invalid URLs aren't shown. |
| UserId | String |
The Id of the user logged into Shopify POS who processed the order, if applicable. |
| DiscountCodeFreeShipping | String |
A free shipping discount code applied to shipping on an order. |
| DiscountCodeFixed | String |
A fixed-amount discount code applied to line items on the order. |
| DiscountCodeFixedAmountSetPresentmentMoneyAmount | Decimal |
Decimal money amount. |
| DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode | String |
Currency of the money. |
| DiscountCodeFixedAmountSetShopMoneyAmount | Decimal |
Decimal money amount. |
| DiscountCodeFixedAmountSetShopMoneyCurrencyCode | String |
Currency of the money. |
| DiscountCodePercentage | String |
A percentage discount code applied to line items on the order. |
| DiscountCodePercentageValue | Double |
The amount deducted from the order total. When creating an order, this value is the percentage to deduct. |
| FulfillmentLocationId | String |
The Id of the location to fulfill the order from. |
| FulfillmentNotifyCustomer | Bool |
Indicates whether the customer should be notified of fulfillment changes. |
| FulfillmentTrackingInfoNumber | String |
The tracking number of the fulfillment. |
| FulfillmentTrackingInfoCompany | String |
The name of the tracking company. |
| FulfillmentShipmentStatus | String |
The status of the shipment. |
| FulfillmentOriginAddressAddress1 | String |
The street address of the fulfillment location. |
| FulfillmentOriginAddressAddress2 | String |
The second line of the address (apartment, suite, or unit). |
| FulfillmentOriginAddressCity | String |
The city of the fulfillment location. |
| FulfillmentOriginAddressCountryCode | String |
The country of the fulfillment location. |
| FulfillmentOriginAddressProvinceCode | String |
The province of the fulfillment location. |
| FulfillmentOriginAddressZip | String |
The ZIP/postal code of the fulfillment location. |
| OrderLineItems | String |
The line items to create for the order. |
| OrderShippingLines | String |
A list of shipping method objects used for the order. |
| OrderTaxLines | String |
A list of tax line objects for the order. When creating an order through the API, tax lines can be specified on the order or the line items, but not both. Tax lines specified on the order are split across the taxable line items. |
| OrderTransactions | String |
The payment transactions to create for the order. |
| OrderCustomAttributes | String |
A list of extra information added to the order. Appears in the Additional details section of the order details page. |
| Metafields | String |
A list of metafields to add to the order. |
| OptionsInventoryBehaviour | String |
The behavior to use when updating inventory. The allowed values are BYPASS, DECREMENT_IGNORING_POLICY, DECREMENT_OBEYING_POLICY. |
| OptionsSendFulfillmentRequest | Bool |
Indicates whether to send a shipping confirmation to the customer. |
| OptionsSendReceipt | Bool |
Indicates whether to send an order confirmation to the customer. |
Lists payment transactions associated with orders (authorization, capture, refund).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderTransactions WHERE ResourceId = 'Val1'
The following columns can be used to create a new record:
ResourceId, ParentTransactionId
The following pseudo-columns can be used to create a new record:
Amount, Currency, FinalCapture
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id. | |
| ResourceId [KEY] | String | True |
Orders.Id |
A globally unique Id. |
| PaymentId | String | True |
The payment Id associated with the transaction. | |
| ParentTransactionId | String | True |
The parent transaction associated with this transaction, for example the authorization of a capture. | |
| AccountNumber | String | True |
The masked account number associated with the payment method. | |
| Gateway | String | True |
The payment gateway used to process the transaction. | |
| Kind | String | True |
The type of transaction (for example, authorization, capture, or refund). | |
| Status | String | True |
The status of the transaction. | |
| Test | Bool | True |
Whether the transaction is a test transaction. | |
| AuthorizationCode | String | True |
The authorization code associated with the transaction. | |
| ErrorCode | String | True |
A standardized error code, independent of the payment provider. | |
| FormattedGateway | String | True |
The human-readable payment gateway name used to process the transaction. | |
| ManuallyCapturable | Bool | True |
Whether the transaction can be manually captured. | |
| MultiCapturable | Bool | True |
Whether the transaction can be captured multiple times. | |
| ProcessedAt | Datetime | True |
The date and time when the transaction was processed. | |
| ReceiptJson | String | True |
The transaction receipt attached by the payment gateway. The content depends on the payment gateway. | |
| SettlementCurrency | String | True |
The settlement currency of the transaction. | |
| AuthorizationExpiresAt | Datetime | True |
The date and time when the authorization expires. Available only to Shopify Plus stores, and only for Shopify Payments authorizations. | |
| SettlementCurrencyRate | Decimal | True |
The conversion rate used when converting the transaction amount to settlement currency. | |
| CreatedAt | Datetime | True |
The date and time when the transaction was created. | |
| CardPaymentDetailsName | String | True |
The name of the credit card holder. | |
| CardPaymentDetailsBin | String | True |
The issuer identification number (IIN), formerly called the bank identification number (BIN), from the first digits of the card. | |
| CardPaymentDetailsCompany | String | True |
The name of the company that issued the customer's credit card. | |
| CardPaymentDetailsNumber | String | True |
The customer's credit card number, with most leading digits redacted. | |
| CardPaymentDetailsWallet | String | True |
The digital wallet used for the payment. | |
| CardPaymentDetailsExpirationMonth | Int | True |
The month when the credit card expires. | |
| CardPaymentDetailsExpirationYear | Int | True |
The year when the credit card expires. | |
| CardPaymentDetailsAvsResultCode | String | True |
The address verification system (AVS) response code. Always a single letter. | |
| CardPaymentDetailsCvvResultCode | String | True |
The credit card company's response code for the card verification value (CVV). A single letter or empty string. | |
| PaymentIconId | String | True |
A unique Id for the payment icon image. | |
| PaymentIconWidth | Int | True |
The original width of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| PaymentIconAltText | String | True |
Alt text describing the content or purpose of the image. | |
| PaymentIconHeight | Int | True |
The original height of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| AmountSetPresentmentMoneyAmount | Decimal | True |
The transaction amount in the presentment currency, expressed as a decimal. | |
| AmountSetPresentmentMoneyCurrencyCode | String | True |
The currency code of the transaction amount in the presentment currency. | |
| AmountSetShopMoneyAmount | Decimal | True |
The transaction amount in the shop's currency, expressed as a decimal. | |
| AmountSetShopMoneyCurrencyCode | String | True |
The currency code of the transaction amount in the shop's currency. | |
| MaximumRefundableV2Amount | Decimal | True |
The maximum refundable amount, expressed as a decimal. | |
| MaximumRefundableV2CurrencyCode | String | True |
The currency code of the maximum refundable amount. | |
| ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt | Datetime | True |
The date and time when the extended authorization expires. After this, the payment can no longer be captured. | |
| ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt | Datetime | True |
The date and time after which capturing the payment incurs an additional fee. | |
| ShopifyPaymentsSetRefundSetAcquirerReferenceNumber | String | True |
The acquirer reference number (ARN) for Visa or Mastercard transactions. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | True |
The unsettled transaction amount in the presentment currency, expressed as a decimal. | |
| TotalUnsettledSetPresentmentMoneyCurrencyCode | String | True |
The currency code of the unsettled amount in the presentment currency. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | True |
The unsettled transaction amount in the shop's currency, expressed as a decimal. | |
| TotalUnsettledSetShopMoneyCurrencyCode | String | True |
The currency code of the unsettled amount in the shop's currency. | |
| UserId | String | True |
The staff member logged into Shopify POS when the transaction was processed. (Available only with a Shopify Plus subscription.) | |
| AmountRoundingSetPresentmentMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing precise representation of cents or fractional currency. For example, 12.99. | |
| AmountRoundingSetPresentmentMoneyCurrencyCode | String | True |
The three-letter ISO 4217 currency code (or legacy/non-standard code) for the presentment currency. For example, USD. | |
| AmountRoundingSetShopMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing precise representation of cents or fractional currency. For example, 12.99. | |
| AmountRoundingSetShopMoneyCurrencyCode | String | True |
The three-letter ISO 4217 currency code (or legacy/non-standard code) for the shop currency. For example, USD. | |
| PaymentDetailsLocalPaymentDescriptor | String | True |
The descriptor provided by the payment provider. Available only for Amazon Pay and Buy with Prime. | |
| PaymentDetailsLocalPaymentMethodName | String | True |
The local payment method name used by the buyer. | |
| PaymentDetailsShopPayInstallmentsPaymentMethodName | String | True |
The Shop Pay Installments payment method name used by the buyer. | |
| PaymentDetailsCardAvsResultCode | String | True |
The address verification system (AVS) response code. Always a single letter. | |
| PaymentDetailsCardBin | String | True |
The issuer identification number (IIN), formerly called the bank identification number (BIN), from the first digits of the card. | |
| PaymentDetailsCardCompany | String | True |
The name of the company that issued the customer's credit card. | |
| PaymentDetailsCardCvvResultCode | String | True |
The credit card company's response code for the card verification value (CVV). A single letter or empty string. | |
| PaymentDetailsCardExpirationMonth | Int | True |
The month when the credit card expires. | |
| PaymentDetailsCardExpirationYear | Int | True |
The year when the credit card expires. | |
| PaymentDetailsCardName | String | True |
The name of the credit card holder. | |
| PaymentDetailsCardNumber | String | True |
The customer's credit card number, with most leading digits redacted. | |
| PaymentDetailsCardPaymentMethodName | String | True |
The payment method name used by the buyer. | |
| PaymentDetailsCardWallet | String | True |
The digital wallet used for the payment. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Amount | Decimal |
The amount to capture. The capture amount can't exceed the authorized amount. |
| Currency | String |
The currency of the amount to capture. |
| FinalCapture | Bool |
Indicates whether this is the final capture for the transaction. Applies to multi-capturable Shopify Payments authorizations. If true, any uncaptured authorization amount is voided after capture. |
| DeviceId | String |
The Id of the device used to process the transaction. |
| GiftCardDetailsId | String |
The Id of the gift card used for the transaction. |
| LocationId | String |
The Id of the location where the transaction was processed. |
Lists the shop's informational pages used on the storefront.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Pages WHERE Id = 'Val1'
SELECT * FROM Pages WHERE IsPublished = true
SELECT * FROM Pages WHERE PublishedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt
The following pseudo-column can be used to create a new record:
Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt
The following pseudo-columns can be used to update a record:
RedirectNewHandle, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id. | |
| Title | String | False |
The title of the page. | |
| Body | String | False |
The text content of the page, including HTML markup. | |
| BodySummary | String | True |
The first 150 characters of the page body. If the page body exceeds 150 characters, additional text is truncated with ellipses. | |
| Handle | String | False |
A unique, human-friendly string for the page. In themes, the Liquid templating language refers to a page by its handle. | |
| TemplateSuffix | String | False |
The suffix of the template used to render the page. | |
| IsPublished | Bool | False |
Indicates whether the page is visible. | |
| PublishedAt | Datetime | False |
The date and time when the page became visible. Returns null when the page isn't visible. | |
| UpdatedAt | Datetime | True |
The date and time when the page was last updated. | |
| CreatedAt | Datetime | True |
The date and time when the page was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| RedirectNewHandle | Bool |
Indicates whether a redirect is required after a new handle has been provided. If true, the old handle is redirected to the new one automatically. |
| Metafields | String |
The input fields used to create or update a metafield. |
Lists price lists configured for the shop (for example, business-to-business (B2B) tiers, or markets).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PriceLists WHERE Id = 'Val1'
The following columns can be used to create a new record:
Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode
The following columns can be updated:
Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id. | |
| Currency | String | False |
The currency used for fixed prices associated with this price list. | |
| FixedPricesCount | Int | True |
The total number of fixed prices on the price list. | |
| Name | String | False |
The unique name of the price list, used as a human-readable identifier. | |
| ParentAdjustmentType | String | False |
The type of price adjustment, such as a percentage increase or decrease. | |
| ParentAdjustmentValue | Double | False |
The numeric value of the price adjustment, where positive numbers reduce prices and negative numbers increase them. | |
| ParentSettingsCompareAtMode | String | False |
The adjustment setting type applied to compare-at prices on the price list. |
Lists image media attached to products with alt text and ordering.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductMediaImages WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, AltText, MediaContentType, Url
The following columns can be updated:
AltText, Url
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id for the media image. | |
| ProductId [KEY] | String | True |
Products.Id |
A globally unique Id for the product associated with the media image. |
| AltText | String | False |
Alternative text that describes the nature or contents of the media image. | |
| MediaContentType | String | True |
The type of media content (for example, image or video). | |
| Height | Int | True |
The original height of the image in pixels. Contains null if the image isn't hosted by Shopify. | |
| Width | Int | True |
The original width of the image in pixels. Contains null if the image isn't hosted by Shopify. | |
| Url | String | False |
The URL location of the media image. |
Lists product options (Size or Color). Limited by Shop.resourceLimits.maxProductOptions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOptions WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, Name, Position, OptionValues (references ProductOptionValues)
The following pseudo-columns can be used to create a new record:
LinkedMetafieldKey, LinkedMetafieldNamespace, LinkedMetafieldValues, CreateVariantStrategy
| Column Name | Type | Description |
| ProductId | String | A globally-unique ID. |
| ProductOptionId | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| VariantStrategy | String | The strategy defines which behavior is observed regarding variants. The strategy 'LEAVE_AS_IS' is used by default - variants are not created nor deleted. If set to 'MANAGE', variants are created and deleted according to the option values to add and to delete. |
The following columns can be updated:
ProductId, Name, Position
The following pseudo-columns can be used to update a record:
LinkedMetafieldKey, LinkedMetafieldNamespace
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id of the product option. | |
| ProductId | String | False |
Products.Id |
A globally unique Id of the associated product. |
| Name | String | False |
The name of the product option. | |
| Position | Int | False |
The position of the product option. | |
| Values | String | True |
The values corresponding to the product option name. | |
| OptionValues | String | True |
All option value objects associated with the product option, including values not assigned to any variants. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| LinkedMetafieldKey | String |
The key of the metafield linked to this option. |
| LinkedMetafieldNamespace | String |
The namespace of the metafield linked to this option. |
| LinkedMetafieldValues | String |
A comma-separated list of values associated with the option. |
| CreateVariantStrategy | String |
Defines how variants are created when new options are added. LEAVE_AS_IS: No new variants are created. Existing variants are updated with the first option value. CREATE: New variants are generated for every combination of existing variant option values and new option values. The allowed values are CREATE, LEAVE_AS_IS. |
| DeleteVariantStrategy | String |
Defines how variants are handled when options are deleted. DEFAULT: The option might only have one corresponding value. NON_DESTRUCTIVE: The option can have multiple values and deletion only succeeds if no variants are removed. POSITION: The option can have multiple values. Duplicates are resolved by deleting remaining variants in descending position order. The allowed values are DEFAULT, NON_DESTRUCTIVE, POSITION. |
Lists all possible option values for a given product option, even if not used by a variant.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOptionValues WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, ProductOptionId, Name, LinkedMetafieldValue
The following pseudo-column can be used to create a new record:
VariantStrategy
The following columns can be updated:
ProductId, ProductOptionId, Name, LinkedMetafieldValue
You can delete entries by specifying the following columns:
ProductId, ProductOptionId, Id
| Name | Type | ReadOnly | References | Description |
| ProductId | String | False |
A globally unique Id of the product. | |
| ProductOptionId | String | False |
A globally unique Id of the associated product option. | |
| ProductOptionName | String | True |
The name of the product option. | |
| Id [KEY] | String | True |
A globally unique Id of the product option value. | |
| Name | String | False |
The value associated with the product option. | |
| LinkedMetafieldValue | String | False |
The metafield value associated with the product option value. | |
| HasVariants | Bool | True |
Indicates whether the product option value has any linked variants. | |
| SwatchColor | String | True |
The color swatch associated with the product option value. | |
| SwatchImageId | String | True |
The image swatch associated with the product option value. A globally unique Id. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| VariantStrategy | String |
Defines how variants are managed for the option values. LEAVE_AS_IS (default): no variants are created or deleted. MANAGE: variants are created and deleted according to the option values added or removed. The allowed values are LEAVE_AS_IS, MANAGE. |
Lists product resource feedback items visible to the current application.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductResourceFeedbacks WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, FeedbackGeneratedAt, Messages, ProductUpdatedAt, State
| Name | Type | ReadOnly | References | Description |
| ProductId [KEY] | String | True |
Products.Id |
The Id of the product associated with the resource feedback. |
| FeedbackGeneratedAt | Datetime | True |
The date and time when the feedback was generated, used to determine whether new feedback is outdated compared to existing feedback. | |
| Messages | String | True |
The feedback messages presented to the merchant. | |
| ProductUpdatedAt | Datetime | True |
The date and time when the associated product was last updated. | |
| State | String | True |
The current state of the feedback, indicating whether merchant action is required. The allowed values are ACCEPTED, REQUIRES_ACTION. |
Lists products with titles, status, variants, media, and publishing details.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Products WHERE Id = 'Val1'
SELECT * FROM Products WHERE Title = 'Val1'
SELECT * FROM Products WHERE Handle = 'Val1'
SELECT * FROM Products WHERE Status = 'Val1'
SELECT * FROM Products WHERE Vendor = 'Val1'
SELECT * FROM Products WHERE TotalInventory = 123
SELECT * FROM Products WHERE HasOnlyDefaultVariant = true
SELECT * FROM Products WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Products WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Products WHERE ProductType = 'Val1'
SELECT * FROM Products WHERE PublicationId = 'Val1'
SELECT * FROM Products WHERE VariantId = 'Val1'
SELECT * FROM Products WHERE VariantTitle = 'Val1'
SELECT * FROM Products WHERE Namespace = 'Val1'
SELECT * FROM Products WHERE Key = 'Val1'
SELECT * FROM Products WHERE Value = 'Val1'
The following columns can be used to create a new record:
DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, IsGiftCard, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan
The following pseudo-columns can be used to create a new record:
Metafields (references Metafields), BundleComponents (references ProductBundleComponents)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| ComponentProductId | String | A globally-unique ID. |
| OptionSelections (references ProductBundleComponentOptionSelections) | String | The options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle. |
| Quantity | Int | The quantity of the component product set for this bundle line. It will be null if there's a quantityOption present. |
| QuantityOptionName | String | The name of the option value. |
| QuantityOptionValues | String | The quantity values of the option. |
| Column Name | Type | Description |
| ParentOptionName | String | The product option’s name. |
| ComponentOptionId | String | A globally-unique ID. |
| Values | String | The component option values that are actively selected for this relationship. |
The following columns can be updated:
DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan
The following pseudo-columns can be used to update a record:
Metafields (references Metafields), BundleComponents (references ProductBundleComponents)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| ComponentProductId | String | A globally-unique ID. |
| OptionSelections (references ProductBundleComponentOptionSelections) | String | The options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle. |
| Quantity | Int | The quantity of the component product set for this bundle line. It will be null if there's a quantityOption present. |
| QuantityOptionName | String | The name of the option value. |
| QuantityOptionValues | String | The quantity values of the option. |
| Column Name | Type | Description |
| ParentOptionName | String | The product option’s name. |
| ComponentOptionId | String | A globally-unique ID. |
| Values | String | The component option values that are actively selected for this relationship. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id of the product. | |
| LegacyResourceId | Long | True |
The Id of the corresponding resource in the REST Admin API. | |
| Description | String | True |
The description of the product, including HTML formatting. | |
| DescriptionHtml | String | False |
The description of the product, including HTML formatting. | |
| Title | String | False |
The title of the product. | |
| Handle | String | False |
A unique, human-friendly string based on the product's title. | |
| Tags | String | False |
A comma-separated list of tags associated with the product. Updating 'tags' overwrites existing tags. To add tags without overwriting, use a mutation. | |
| Status | String | False |
The product status, which controls visibility across all channels. | |
| Vendor | String | False |
The name of the product's vendor. | |
| OnlineStorePreviewUrl | String | True |
The preview URL of the product in the online store. | |
| OnlineStoreUrl | String | True |
The online store URL for the product. Contains null if the product isn't published to the Online Store channel. | |
| TracksInventory | Bool | True |
Indicates whether inventory tracking is enabled for the product. | |
| TotalInventory | Int | True |
The total quantity of inventory in stock. | |
| HasOnlyDefaultVariant | Bool | True |
Indicates whether the product has only a single variant with the default option and value. | |
| HasOutOfStockVariants | Bool | True |
Indicates whether the product has out-of-stock variants. | |
| HasVariantsThatRequiresComponents | Bool | True |
Indicates whether at least one product variant requires bundle components. | |
| VariantsCount | Int | True |
The total number of variants associated with the product. | |
| VariantsCountPrecision | String | True |
The precision of the variant count, indicating the exactness of the value. | |
| TemplateSuffix | String | False |
The theme template used when viewing the product in the store. | |
| GiftCardTemplateSuffix | String | False |
The theme template used when viewing the gift card in the store. | |
| IsGiftCard | Bool | True |
Indicates whether the product is a gift card. | |
| PublishedAt | Datetime | True |
The date and time when the product was published to the Online Store. | |
| UpdatedAt | Datetime | True |
The date and time when the product was last updated. This value can change for reasons such as inventory adjustments. | |
| CreatedAt | Datetime | True |
The date and time when the product was created. | |
| ProductType | String | False |
The product type specified by the merchant. | |
| CategoryId | String | True |
The globally unique Id of the taxonomy category. | |
| CategoryName | String | True |
The name of the taxonomy category. For example, Dog Beds. | |
| CategoryFullName | String | True |
The full taxonomy path of the category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds. | |
| SeoTitle | String | False |
The search engine optimization (SEO) title of the product. | |
| SeoDescription | String | False |
The SEO description of the product. | |
| RequiresSellingPlan | Bool | False |
Indicates whether the product can only be purchased with a selling plan (subscription). | |
| SellingPlanGroupsCount | Int | True |
The total number of selling plan groups associated with the product. | |
| SellingPlanGroupsCountPrecision | String | True |
The precision of the selling plan group count, indicating the exactness of the value. | |
| PriceRangeMaxVariantPriceAmount | Decimal | True |
The maximum variant price of the product, expressed as a decimal money amount. | |
| PriceRangeMaxVariantPriceCurrencyCode | String | True |
The currency code of the maximum variant price. | |
| PriceRangeMinVariantPriceAmount | Decimal | True |
The minimum variant price of the product, expressed as a decimal money amount. | |
| PriceRangeMinVariantPriceCurrencyCode | String | True |
The currency code of the minimum variant price. | |
| CompareAtPriceRangeMaxVariantCompareAtPriceAmount | Decimal | True |
The maximum compare-at price of the product's variants, expressed as a decimal money amount. | |
| CompareAtPriceRangeMaxVariantCompareAtPriceCurrencyCode | String | True |
The currency code of the maximum compare-at price. | |
| CompareAtPriceRangeMinVariantCompareAtPriceAmount | Decimal | True |
The minimum compare-at price of the product's variants, expressed as a decimal money amount. | |
| CompareAtPriceRangeMinVariantCompareAtPriceCurrencyCode | String | True |
The currency code of the minimum compare-at price. | |
| MediaCount | Int | True |
The total number of media items belonging to the product. | |
| MediaCountPrecision | String | True |
The precision of the media count, indicating the exactness of the value. | |
| FeaturedMediaId | String | True |
A globally unique Id of the featured media. | |
| FeaturedMediaAlt | String | True |
Alternative text that describes the featured media. | |
| FeaturedMediaContentType | String | True |
The content type of the featured media. | |
| FeaturedMediaStatus | String | True |
The current status of the featured media. | |
| FeaturedMediaPreviewStatus | String | True |
The current status of the featured media's preview image. | |
| FeaturedMediaPreviewImageId | String | True |
The Id of the preview image. Contains null until status is READY. | |
| FeaturedMediaPreviewImageAltText | String | True |
Alternative text that describes the preview image. | |
| FeaturedMediaPreviewImageUrl | String | True |
The URL location of the preview image. | |
| FeaturedMediaPreviewImageWidth | Int | True |
The original width of the preview image in pixels. Contains null if the image isn't hosted by Shopify. | |
| FeaturedMediaPreviewImageHeight | Int | True |
The original height of the preview image in pixels. Contains null if the image isn't hosted by Shopify. | |
| AvailablePublicationsCount | Int | True |
The number of publications the resource is published to without feedback errors. | |
| AvailablePublicationsCountPrecision | String | True |
The precision of the publication count, indicating the exactness of the value. | |
| PublishedOnCurrentPublication | Bool | True |
Indicates whether the resource is published to the app's current publication (for example, the online store channel). | |
| ResourcePublicationOnCurrentPublicationAutoPublish | Bool | True |
Indicates whether new products are automatically published to this publication. | |
| ResourcePublicationOnCurrentPublicationIsPublished | Bool | True |
Indicates whether the resource publication is currently published. | |
| ResourcePublicationOnCurrentPublicationPublishDate | Datetime | True |
The date when the resource publication is published to the publication. | |
| ResourcePublicationOnCurrentPublicationPublicationId | String | True |
A globally unique Id of the publication. | |
| ResourcePublicationOnCurrentPublicationPublicationName | String | True |
The name of the publication. | |
| ResourcePublicationOnCurrentPublicationPublicationSupportsFuturePublishing | Bool | True |
Indicates whether the publication supports future publishing. | |
| ResourcePublicationsCount | Int | True |
The number of publications the resource is published to without feedback errors. | |
| ResourcePublicationsCountPrecision | String | True |
The precision of the publication count, indicating the exactness of the value. | |
| FeedbackSummary | String | True |
A summary of resource feedback related to the product. | |
| FeedbackDetails | String | True |
A list of AppFeedback entries detailing issues related to the product. | |
| PublicationId | String | True |
Filters by publication Ids associated with the product. | |
| VariantId | String | True |
Filters by the product variant Id. | |
| VariantTitle | String | True |
Filters by the product variant title. | |
| Namespace | String | True |
The container the metafield belongs to. If not specified, the app-reserved namespace is used. | |
| Key | String | True |
The key for the metafield. | |
| Value | String | True |
The value of the metafield. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Metafields | String |
Additional customizable metafields for the product. |
| BundleComponents | String |
The bundle components associated with the product. |
Lists product variants with pricing, inventory tracking, and option values.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ProductVariants WHERE Id = 'Val1'
SELECT * FROM ProductVariants WHERE ProductId = 'Val1'
SELECT * FROM ProductVariants WHERE Barcode = 'Val1'
SELECT * FROM ProductVariants WHERE Sku = 'Val1'
SELECT * FROM ProductVariants WHERE Title = 'Val1'
SELECT * FROM ProductVariants WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM ProductVariants WHERE Taxable = true
SELECT * FROM ProductVariants WHERE DeliveryProfileId = 'Val1'
SELECT * FROM ProductVariants WHERE LocationInventoryQuantity = 123
The following columns can be used to create a new record:
ProductId, Barcode, Sku, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin
The following pseudo-columns can be used to create a new record:
MediaId, MediaSrc, InventoryQuantities (references InventoryItemInventoryLevelQuantities), OptionValues (references ProductOptionValues), Metafields (references Metafields), Strategy
| Column Name | Type | Description |
| InventoryLevelLocationId | String | A globally-unique ID. |
| Quantity | Int | The quantity for the quantity name. |
| Column Name | Type | Description |
| ProductOptionId | String | A globally-unique ID. |
| ProductOptionName | String | The product option's name. |
| Id | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
ProductId, Barcode, Sku, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin
The following pseudo-columns can be used to update a record:
MediaId, MediaSrc, OptionValues (references ProductOptionValues), Metafields (references Metafields), AllowPartialUpdates
| Column Name | Type | Description |
| ProductOptionId | String | A globally-unique ID. |
| ProductOptionName | String | The product option's name. |
| Id | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id of the product variant. | |
| LegacyResourceId | Long | True |
The Id of the corresponding resource in the REST Admin API. | |
| ProductId | String | False |
Products.Id |
A globally unique Id of the associated product. |
| Position | Int | True |
The position of the product variant in the list of product variants. The first position in the list is 1. | |
| DisplayName | String | True |
The display name of the variant, based on the product's title and the variant's title. | |
| Barcode | String | False |
The barcode value associated with the product variant. | |
| Sku | String | False |
An identifier for the product variant in the shop. Required to connect to a fulfillment service. | |
| Title | String | True |
The title of the product variant. | |
| RequiresComponents | Bool | True |
Indicates whether the product variant requires components. If true, it can only be purchased as part of a parent bundle and is omitted from channels that don't support bundles. | |
| UpdatedAt | Datetime | True |
The date and time when the product variant was last updated. | |
| CreatedAt | Datetime | True |
The date and time when the product variant was created. | |
| SelectedOptions | String | True |
The list of product options applied to the variant. | |
| AvailableForSale | Bool | True |
Indicates whether the product variant is available for sale. | |
| Price | Decimal | False |
The price of the product variant in the default shop currency. | |
| CompareAtPrice | Decimal | False |
The compare-at price of the product variant in the default shop currency. | |
| TaxCode | String | False |
The tax code for the product variant. | |
| Taxable | Bool | False |
Indicates whether tax is charged when the product variant is sold. | |
| SellableOnlineQuantity | Int | True |
The total sellable quantity of the variant for online channels. This does not represent total available inventory and might vary by customer location. | |
| SellingPlanGroupsCount | Int | True |
The total number of selling plan groups associated with the product variant. | |
| SellingPlanGroupsCountPrecision | String | True |
The precision of the selling plan group count, indicating the exactness of the value. | |
| DeliveryProfileId | String | True |
A globally unique Id of the delivery profile. | |
| InventoryPolicy | String | False |
Defines whether customers can place an order for the product variant when it is out of stock. | |
| InventoryQuantity | Int | True |
The total sellable quantity of the variant. | |
| InventoryItemId | String | True |
A globally unique Id of the inventory item. | |
| InventoryItemUnitCostAmount | Decimal | False |
The unit cost of the inventory item, expressed as a decimal money amount. | |
| InventoryItemUnitCostCurrencyCode | String | True |
The currency code of the unit cost for the inventory item. | |
| InventoryItemHarmonizedSystemCode | String | False |
The harmonized system code of the inventory item. | |
| InventoryItemMeasurementWeightValue | Double | False |
The weight value of the inventory item, based on the specified unit. | |
| InventoryItemMeasurementWeightUnit | String | False |
The unit of measurement for the inventory item's weight value. | |
| InventoryItemRequiresShipping | Bool | False |
Indicates whether the inventory item requires shipping. | |
| InventoryItemTracked | Bool | False |
Indicates whether inventory levels are tracked for the item. | |
| InventoryItemCountryCodeOfOrigin | String | False |
The ISO 3166-1 alpha-2 country code of where the item originated from. | |
| InventoryItemProvinceCodeOfOrigin | String | False |
The ISO 3166-2 alpha-2 province code of where the item originated from. | |
| ImageId | String | True |
A globally unique Id of the associated image. | |
| ImageAltText | String | True |
Alternative text that describes the image. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Contains null if the image isn't hosted by Shopify. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Contains null if the image isn't hosted by Shopify. | |
| ImageUrl | String | True |
The URL location of the image. | |
| UnitPriceMeasurementMeasuredType | String | True |
The type of measurement used for the unit price. | |
| UnitPriceMeasurementQuantityUnit | String | True |
The quantity unit used for the unit price measurement. | |
| UnitPriceMeasurementQuantityValue | Double | True |
The quantity value used for the unit price measurement. | |
| UnitPriceMeasurementReferenceUnit | String | True |
The reference unit used for the unit price measurement. | |
| UnitPriceMeasurementReferenceValue | Int | True |
The reference value used for the unit price measurement. | |
| LocationInventoryQuantity | Int | True |
Filters by the available inventory quantity of the variant at individual locations. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| MediaId | String |
The Id of the media associated with the variant. |
| MediaSrc | String |
The URL of the media associated with the variant. |
| InventoryQuantities | String |
The inventory quantities at each location where the variant is stocked. The number of entries can't exceed the plan limit. |
| OptionValues | String |
The custom properties that a shop owner uses to define product variants. |
| Metafields | String |
Additional customizable metafields for the product variant. |
| Strategy | String |
Defines how standalone variants are handled when creating new variants. DEFAULT: keeps the standalone variant. REMOVE_STANDALONE_VARIANT: deletes the standalone variant when new variants are created. The allowed values are DEFAULT, REMOVE_STANDALONE_VARIANT. |
| AllowPartialUpdates | Bool |
Indicates whether partial updates are allowed. If true, valid changes are saved even when some variants contain errors. If false, any error prevents all updates. |
Lists sales channel publications configured for the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Publications WHERE Id = 'Val1'
SELECT * FROM Publications WHERE CatalogType = 'Val1'
The following columns can be used to create a new record:
AutoPublish, CatalogId
The following pseudo-column can be used to create a new record:
DefaultState
The following column can be updated:
AutoPublish
The following pseudo-columns can be used to update a record:
PublishablesToAdd, PublishablesToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id of the publication. | |
| AutoPublish | Bool | False |
Indicates whether new products are automatically published to this publication. | |
| SupportsFuturePublishing | Bool | True |
Indicates whether the publication supports future publishing. | |
| CatalogId | String | True |
A globally unique Id of the catalog. | |
| AddAllProductsOperationId | String | True |
A globally unique Id of the add-all-products operation. | |
| AddAllProductsOperationStatus | String | True |
The status of the add-all-products operation. | |
| AddAllProductsOperationProcessedRowCount | Int | True |
The total number of processed rows, including imported, failed, and skipped rows. | |
| AddAllProductsOperationRowCountCount | Int | True |
The estimated total number of rows in the background operation. | |
| AddAllProductsOperationRowCountExceedsMax | Bool | True |
Indicates whether the operation exceeds the maximum number of reportable rows. | |
| CatalogCsvOperationId | String | True |
A globally unique Id of the catalog CSV operation. | |
| CatalogCsvOperationStatus | String | True |
The status of the catalog CSV operation. | |
| CatalogCsvOperationProcessedRowCount | Int | True |
The total number of processed rows, including imported, failed, and skipped rows. | |
| CatalogCsvOperationRowCountCount | Int | True |
The estimated total number of rows in the background CSV operation. | |
| CatalogCsvOperationRowCountExceedsMax | Bool | True |
Indicates whether the CSV operation exceeds the maximum number of reportable rows. | |
| PublicationResourceOperationId | String | True |
A globally unique Id of the publication resource operation. | |
| PublicationResourceOperationStatus | String | True |
The status of the publication resource operation. | |
| PublicationResourceOperationProcessedRowCount | Int | True |
The total number of processed rows, including imported, failed, and skipped rows. | |
| PublicationResourceOperationRowCountCount | Int | True |
The estimated total number of rows in the publication resource operation. | |
| PublicationResourceOperationRowCountExceedsMax | Bool | True |
Indicates whether the resource operation exceeds the maximum number of reportable rows. | |
| CatalogType | String | True |
The catalog type used to filter publications. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| DefaultState | String |
Indicates whether to create an empty publication or prepopulate it with all products. The allowed values are ALL_PRODUCTS, EMPTY. |
| PublishablesToAdd | String |
A comma-separated list of publishable Ids to add. A maximum of 50 can be updated at once. |
| PublishablesToRemove | String |
A comma-separated list of publishable Ids to remove. A maximum of 50 can be updated at once. |
Represents refunds of items or transactions on an order, with amounts and reasons.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Refunds WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OrderId, Note, RefundLineItems (references RefundLineItems)
| Column Name | Type | Description |
| LineItemId | String | A globally-unique ID. |
| LineItemQuantity | Int | The number of variant units ordered. |
| RestockType | String | The type of restock for the refunded line item. |
| LocationId | String | A globally-unique ID. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id of the refund. | |
| LegacyResourceId | String | True |
The Id of the corresponding resource in the REST Admin API. | |
| OrderId | String | True |
Orders.Id |
A globally unique Id of the associated order. |
| Note | String | True |
An optional note associated with the refund. | |
| CreatedAt | Datetime | True |
The date and time when the refund was created. | |
| UpdatedAt | Datetime | True |
The date and time when the refund was last updated. | |
| ReturnId | String | True |
A globally unique Id of the associated return. | |
| StaffMemberId | String | True |
A globally unique Id of the staff member associated with the refund. (Available only with a ShopifyPlus subscription) | |
| TotalRefundedSetPresentmentMoneyAmount | Decimal | True |
The total refunded amount in the presentment currency, expressed as a decimal money amount. | |
| TotalRefundedSetPresentmentMoneyCurrencyCode | String | True |
The currency code of the total refunded amount in the presentment currency. | |
| TotalRefundedSetShopMoneyAmount | Decimal | True |
The total refunded amount in the shop's currency, expressed as a decimal money amount. | |
| TotalRefundedSetShopMoneyCurrencyCode | String | True |
The currency code of the total refunded amount in the shop's currency. | |
| RefundLineItems | String | True |
The list of line items included in the refund. |
Lists returns associated with orders, including statuses and dispositions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Returns WHERE OrdersId = 'Val1'
The following columns can be used to create a new record:
OrdersId, ReturnLineItems (references ReturnLineItems), ReturnExchangeLineItems (references ReturnExchangeLineItems)
| Column Name | Type | Description |
| Quantity | Int | The quantity being returned. |
| ReturnReason | String | The reason for returning the item. |
| ReturnReasonNote | String | Additional information about the reason for the return. Maximum length: 255 characters. |
| FulfillmentLineItemId | String | A globally-unique ID. |
| Column Name | Type | Description |
| VariantId | String | A globally-unique ID. |
| Quantity | Int | The number of variant units ordered. |
| AppliedDiscountValueAmount | Decimal | The discount to be applied to the exchange line item. The value of the discount as a fixed amount. |
| AppliedDiscountValueAmountCurrencyCode | String | The discount to be applied to the exchange line item. Currency of the money. |
| AppliedDiscountValuePercentage | Double | The discount to be applied to the exchange line item. The value of the discount as a percentage. |
| AppliedDiscountDescription | String | The discount to be applied to the exchange line item. The description of the discount. |
| GiftCardCodes | String | The gift card codes associated with the physical gift cards. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id for the return record. | |
| OrdersId | String | True |
Orders.Id |
A globally unique Id for the associated order. |
| Name | String | True |
The system-generated name of the return. | |
| Status | String | True |
The current status of the return (for example, open, approved, or declined). | |
| TotalQuantity | Int | True |
The total number of line item units included in the return. | |
| DeclineReason | String | True |
The reason the return request was declined. | |
| DeclineNote | String | True |
The message sent to the customer when their return request was declined. Maximum length: 500 characters. | |
| ReturnLineItems | String | True |
A list of the line items that are part of the return. | |
| ReturnExchangeLineItems | String | True |
A list of new line items to be added to the order as part of an exchange. |
Lists script tags that inject JavaScript into storefront pages.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ScriptTags WHERE Id = 'Val1'
SELECT * FROM ScriptTags WHERE Src = 'Val1'
The following columns can be used to create a new record:
Cache, Src, DisplayScope
The following columns can be updated:
Cache, Src, DisplayScope
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id for the script tag. | |
| LegacyResourceId | String | True |
The Id of the corresponding resource in the REST Admin API. | |
| Cache | Bool | False |
Whether the Shopify CDN can cache and serve the script tag. If true, the script is cached and served by the CDN for up to 15 minutes after being returned. If false, the script is served directly without caching. | |
| Src | String | False |
The URL of the remote script. | |
| DisplayScope | String | False |
The page or pages of the online store where the script tag should be included. The allowed values are ONLINE_STORE. | |
| CreatedAt | Datetime | True |
The date and time when the script tag was created. | |
| UpdatedAt | Datetime | True |
The date and time when the script tag was last updated. |
Lists customer segments defined in the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Segments WHERE Id = 'Val1'
The following columns can be used to create a new record:
Name, Query
The following columns can be updated:
Name, Query
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id for the segment. | |
| Name | String | False |
The name of the segment (for example, 'High-value customers' or 'Subscribed to newsletter'). | |
| Query | String | False |
The definition of the segment, composed of conditions based on customer attributes or behaviors. | |
| CreationDate | Datetime | True |
The date and time when the segment was created in the store. | |
| LastEditDate | Datetime | True |
The date and time when the segment was last updated. |
Lists selling plan groups used for subscriptions and prepaid options.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM SellingPlanGroups WHERE Id = 'Val1'
SELECT * FROM SellingPlanGroups WHERE Name = 'Val1'
SELECT * FROM SellingPlanGroups WHERE CreatedAt < '2023-01-01 11:10:00'
The following columns can be used to create a new record:
AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans)
The following pseudo-columns can be used to create a new record:
ProductIds, ProductVariantIds
| Column Name | Type | Description |
| Id | String | A globally-unique ID. |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. |
| Category | String | The category used to classify the selling plan for reporting purposes. |
| Description | String | Buyer facing string which describes the selling plan commitment. |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. |
| InventoryPolicyReserve | String | When to reserve inventory for the order. |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge. |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due. |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year. |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN. |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
| Metafields (references Metafields) | String | Attaches additional metadata to a store's resources. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans), SellingPlansToUpdate (references SellingPlanGroupSellingPlans)
The following pseudo-column can be used to update a record:
SellingPlansToDelete
| Column Name | Type | Description |
| Id | String | A globally-unique ID. |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. |
| Category | String | The category used to classify the selling plan for reporting purposes. |
| Description | String | Buyer facing string which describes the selling plan commitment. |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. |
| InventoryPolicyReserve | String | When to reserve inventory for the order. |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge. |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due. |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year. |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN. |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
| Metafields (references Metafields) | String | Attaches additional metadata to a store's resources. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id for the selling plan group. | |
| AppId | String | False |
The Id of the app that created the selling plan group, exposed in Liquid and product JSON. | |
| Name | String | False |
The buyer-facing label of the selling plan group (for example, 'Monthly Subscription'). | |
| Description | String | False |
The merchant-facing description of the selling plan group. | |
| Options | String | False |
The option values available in the selling plan group. | |
| Position | Int | False |
The display order of the selling plan group relative to others. | |
| Summary | String | True |
A summary of the policies associated with the selling plan group. | |
| MerchantCode | String | False |
The merchant-facing label or code for the selling plan group. | |
| ProductsCount | Int | True |
The number of products linked to the selling plan group. | |
| ProductsCountPrecision | String | True |
The precision of the product count, or how exact the value is. | |
| CreatedAt | Datetime | True |
The date and time when the selling plan group was created. | |
| SellingPlansToCreate | String | False |
A list of selling plans to create in the selling plan group. | |
| SellingPlansToUpdate | String | False |
A list of selling plans to update in the selling plan group. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| SellingPlansToDelete | String |
A list of selling plans to delete, provided as a comma-separated string. |
| ProductIds | String |
A comma-separated list of product Ids to add to the selling plan group. |
| ProductVariantIds | String |
A comma-separated list of product variant Ids to add to the selling plan group. |
Lists transactions that credit (increase) a store credit account.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountCreditTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountCreditTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
The following columns can be used to create a new record:
Amount, AmountCurrencyCode, ExpiresAt, CustomerStoreCreditAccountId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id for the store credit account credit transaction. | |
| Amount | Decimal | True |
The transaction amount, expressed as a decimal value. | |
| AmountCurrencyCode | String | True |
The currency code of the transaction amount. | |
| RemainingAmount | Decimal | True |
The remaining credit balance after the transaction, expressed as a decimal value. | |
| RemainingAmountCurrencyCode | String | True |
The currency code of the remaining credit balance. | |
| ExpiresAt | Datetime | True |
The date and time when the transaction expires. Debit transactions always spend the soonest expiring credit first. | |
| BalanceAfterTransactionAmount | Decimal | True |
The account balance after the transaction, expressed as a decimal value. | |
| BalanceAfterTransactionCurrencyCode | String | True |
The currency code of the account balance after the transaction. | |
| CreatedAt | Datetime | True |
The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | True |
A globally unique Id for the associated customer store credit account. |
Lists transactions that debit (decrease) a store credit account.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountDebitTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountDebitTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
The following columns can be used to create a new record:
Amount, AmountCurrencyCode, CustomerStoreCreditAccountId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id for the debit transaction. | |
| Amount | Decimal | True |
The debit amount, expressed as a decimal value. | |
| AmountCurrencyCode | String | True |
The currency code of the debit amount. | |
| BalanceAfterTransactionAmount | Decimal | True |
The account balance after the debit transaction, expressed as a decimal value. | |
| BalanceAfterTransactionCurrencyCode | String | True |
The currency code of the account balance after the debit transaction. | |
| CreatedAt | Datetime | True |
The date and time when the debit transaction was created. | |
| CustomerStoreCreditAccountId | String | True |
A globally unique Id for the associated customer store credit account. |
Lists storefront access tokens for private applications, scoped per application.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM StorefrontAccessTokens
The following column can be used to create a new record:
Title
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id for the storefront access token. | |
| ShopId | String | True |
Shop.Id |
A globally unique Id for the associated shop. |
| Title | String | True |
A developer-assigned title for the token, used for reference purposes. | |
| AccessToken | String | True |
The issued public access token for the storefront. | |
| CreatedAt | Datetime | True |
The date and time when the storefront access token was created. | |
| UpdatedAt | Datetime | True |
The date and time when the storefront access token was last updated. |
Lists the shop's themes with role and preview data.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Themes WHERE Id = 'Val1'
SELECT * FROM Themes WHERE Name = 'Val1'
SELECT * FROM Themes WHERE Role = 'Val1'
The following columns can be used to create a new record:
Name, Role
The following pseudo-column can be used to create a new record:
Source
The following column can be updated:
Name
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id for the theme. | |
| ThemeStoreId | Int | True |
The Id of the theme in the Shopify Theme Store. | |
| Name | String | False |
The name of the theme, set by the merchant. | |
| Prefix | String | True |
The prefix assigned to the theme. | |
| Processing | Bool | True |
Indicates whether the theme is currently processing. | |
| ProcessingFailed | Bool | True |
Indicates whether the theme processing failed. | |
| Role | String | True |
The role of the theme (for example, main, unpublished, or demo). | |
| UpdatedAt | Datetime | True |
The date and time when the theme was last updated. | |
| CreatedAt | Datetime | True |
The date and time when the theme was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Source | String |
An external URL or staged upload URL for importing the theme. |
Lists URL redirects configured for the shop to preserve search engine optimization (SEO) and navigation.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM UrlRedirects WHERE Id = 'Val1'
SELECT * FROM UrlRedirects WHERE Path = 'Val1'
SELECT * FROM UrlRedirects WHERE Target = 'Val1'
The following columns can be used to create a new record:
Path, Target
The following columns can be updated:
Path, Target
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique Id for the URL redirect. | |
| Path | String | False |
The original path to redirect from. When a customer visits this path, they are redirected to the target location. | |
| Target | String | False |
The target location where the customer is redirected. |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| AbandonedCheckoutCustomAttributes | Retrieves custom attributes captured on an abandoned checkout, such as personalization fields or internal flags. |
| AbandonedCheckoutLineItems | Lists the products, variants, and quantities that were in the cart when the checkout was abandoned. |
| AbandonedCheckouts | Returns abandoned checkout sessions with customer, cart, and timing details for recovery. |
| AbandonedCheckoutTaxLines | Shows the tax lines calculated for an abandoned checkout by jurisdiction and rate. |
| Abandonment | Summarizes visit-level abandonment metrics and context for unfinished checkouts. |
| AbandonmentProductsAddedToCart | Lists products customers added to cart during sessions that ended in abandonment. |
| AbandonmentProductsViewed | Returns products viewed during sessions that later resulted in an abandoned checkout. |
| AppCredits | Lists credits that merchants can apply toward future app charges. |
| ArticleCommentEvents | Retrieves events tied to article comments, such as creation, approval, or deletion. |
| ArticleEvents | Returns event history for articles, including publication, updates, and deletions. |
| AssignedFulfillmentOrders | Retrieves fulfillment orders assigned to app-managed locations (requires read_assigned_fulfillment_orders). CLOSED orders are excluded by default. |
| BlogEvents | Retrieves activity events related to blogs, such as creation or deletion. |
| BusinessEntities | Lists business entities associated with the shop for organizational context. |
| CollectionProducts | Lists products contained within a specified collection. |
| CompanyContactRoles | Lists available roles that can be assigned to company contacts. |
| CompanyEvents | Retrieves event history associated with company records. |
| CustomerEvents | Retrieves event history for customer records (creation, updates, tags). |
| CustomerSegmentMembers | Lists members (for example, customers) associated with a specific customer segment. |
| CustomerStoreCreditAccounts | Lists customers' store credit accounts with balances and status. |
| DeliveryProfileLocationGroupCountries | Lists countries already selected in any zone for the specified location group. |
| DeliveryProfileLocationGroupCountryProvinces | Lists regions/provinces associated with the specified country in a location group. |
| DeliveryProfileLocationGroups | Lists location groups configured under a delivery profile. |
| DeliveryProfileLocationGroupZones | Lists shipping zones associated with the specified location group. |
| DeliveryProfileUnassignedLocations | Lists locations not yet assigned to any location group for this profile. |
| DiscountEvents | Retrieves event history for discounts, including publishing and edits. |
| DiscountsCodeFreeShipping | Lists free-shipping discounts available via discount codes. |
| Disputes | Lists chargeback and dispute cases related to the shop. |
| DraftOrderCustomAttributes | Lists custom attributes attached to draft orders for internal or personalization data. |
| DraftOrderEvents | Retrieves event history for draft orders, such as creation or completion. |
| DraftOrderLineItemCustomAttributes | Lists custom attributes attached to draft order line items. |
| DraftOrderLineItems | Lists the line items included in a draft order with quantities and prices. |
| DraftOrderLineItemTaxLines | Shows tax lines applied to individual draft order items. |
| DraftOrderTaxLines | Shows tax lines applied at the draft order level. |
| Events | Lists shop-wide events for auditing and troubleshooting. |
| FulfillmentLineItems | Lists order line items included in fulfillments for picking and packing. |
| FulfillmentLineItemTaxLines | Shows tax lines on fulfillment line items where applicable. |
| FulfillmentOrderLineItems | Lists the line items grouped under a fulfillment order. |
| FulfillmentOrderLocationForMoveAvailableLineItems | Lists fulfillment order line items available to move to a new location. |
| FulfillmentOrderLocationForMoveUnavailableLineItems | Lists fulfillment order line items that cannot be moved to a new location. |
| FulfillmentOrderLocationsForMove | Lists candidate locations to which a fulfillment order can be moved. |
| InventoryAdjustmentGroupChanges | Lists sets of quantity changes that occurred within inventory events. |
| InventoryAdjustmentGroups | Lists groups of adjustments applied during inventory operations. |
| InventoryItemCountryHarmonizedSystemCodes | Lists country-specific Harmonized System (HS) codes assigned to inventory items. |
| InventoryItemInventoryLevelQuantities | Lists on-hand, committed, and available quantities by location for an inventory item. |
| InventoryItemInventoryLevelScheduledChanges | Lists scheduled future changes to inventory levels. |
| Jobs | Returns job status by Id for asynchronous operations and internal tasks. |
| LocalizationCountries | Lists countries with localized storefront experiences enabled. |
| MarketingEvents | Lists marketing events associated with the marketing application and their metrics. |
| MetafieldDefinitionConstraintValues | Lists constraint subtype values supported by a metafield definition. |
| MetafieldDefinitionStandardTemplates | Lists standard metafield templates that provide ready-made definition presets. |
| MetafieldDefinitionTypes | Lists core metafield types and validations available for definitions. |
| MetaobjectDefinitions | Lists definitions for metaobjects, which are structured, reusable content modeled via metafields. |
| MetaObjects | Lists all metaobjects created for the shop. |
| OrderAdditionalFees | Lists additional fees applied to an order (for example, handling, or service). |
| OrderAgreementAdditionalFeeSales | Lists sales attributed to agreement-based additional fees. |
| OrderAgreementAdjustmentSales | Lists sales attributed to agreement-based adjustments. |
| OrderAgreementDutySales | Lists sales attributed to agreement-based duties. |
| OrderAgreementGiftCardSales | Lists sales attributed to agreement-based gift card usage. |
| OrderAgreementProductSales | Lists sales attributed to agreement-based product charges. |
| OrderAgreements | Lists sales agreements associated with orders. |
| OrderAgreementShippingLineSales | Lists sales attributed to agreement-based shipping lines. |
| OrderAgreementTipSales | Lists sales attributed to agreement-based tips. |
| OrderAgreementUnknownSales | Lists agreement-based sales that fall into an unknown category. |
| OrderCustomAttributes | Lists custom attributes attached to orders for internal or personalization data. |
| OrderDiscountApplications | Lists discount applications that affected an order, excluding edits and refunds. |
| OrderEditAgreementAdditionalFeeSales | Lists agreement-based additional fee sales within order edits. |
| OrderEditAgreementAdjustmentSales | Lists agreement-based adjustment sales within order edits. |
| OrderEditAgreementDutySales | Lists agreement-based duty sales within order edits. |
| OrderEditAgreementGiftCardSales | Lists agreement-based gift card sales within order edits. |
| OrderEditAgreementProductSales | Lists agreement-based product sales within order edits. |
| OrderEditAgreements | Lists sales agreements that apply to order edits. |
| OrderEditAgreementShippingLineSales | Lists agreement-based shipping line sales within order edits. |
| OrderEditAgreementTipSales | Lists agreement-based tip sales within order edits. |
| OrderEditAgreementUnknownSales | Lists uncategorized agreement-based sales within order edits. |
| OrderEvents | Retrieves event history for orders (creation, updates, fulfillment changes). |
| OrderLineItemCustomAttributes | Lists custom attributes attached to order line items. |
| OrderLineItemDiscountAllocations | Shows discount allocations applied to a line item, excluding edits and refunds. |
| OrderLineItemDuties | Lists duties allocated to order line items. |
| OrderLineItems | Lists line items on orders, including variants, quantities, and pricing. |
| OrderLineItemTaxLines | Shows tax lines calculated for an order line item. |
| OrderNonFulfillableLineItemDuties | Lists duties on line items that cannot be fulfilled. |
| OrderNonFulfillableLineItems | Lists order line items that are not fulfillable and related context. |
| OrderRefundAgreementAdditionalFeeSales | Lists refund sales associated with agreement-based additional fees. |
| OrderRefundAgreementAdjustmentSales | Lists refund sales associated with agreement-based adjustments. |
| OrderRefundAgreementDutySales | Lists refund sales associated with agreement-based duties. |
| OrderRefundAgreementGiftCardSales | Lists refund sales associated with agreement-based gift card usage. |
| OrderRefundAgreementProductSales | Lists refund sales associated with agreement-based product charges. |
| OrderRefundAgreements | Lists sales agreements tied to refunds. |
| OrderRefundAgreementShippingLineSales | Lists refund sales associated with agreement-based shipping lines. |
| OrderRefundAgreementTipSales | Lists refund sales associated with agreement-based tips. |
| OrderRefundAgreementUnknownSales | Lists uncategorized agreement-based refund sales. |
| OrderShippingLines | Lists shipping lines attached to orders, including rates and titles. |
| OrderTaxLines | Shows taxes calculated for an order at the order level. |
| PageEvents | Retrieves event history for pages (creation, publishing, edits). |
| PriceListPrices | Lists prices attached to a specific price list by currency and adjustment rules. |
| ProductBundleComponentOptionSelections | Lists mappings between component options and selected parent bundle options. |
| ProductBundleComponents | Lists component products that make up a bundle and their constraints. |
| ProductEvents | Retrieves event history for products (creation, publication, updates). |
| ProductOperations | Inspects details of asynchronous operations performed on products. |
| ProductVariantEvents | Retrieves event history for product variants. |
| PublicationCollections | Lists collections published to a specific publication (channel). |
| PublicationProducts | Lists products published to a specific publication (channel). |
| RefundDuties | Lists duties refunded as part of a refund. |
| RefundLineItemDuties | Lists duties attached to refunded line items. |
| RefundLineItems | Lists refund line item records that specify quantities and amounts refunded. |
| RefundOrderAdjustments | Lists order-level adjustments included on a refund. |
| RefundShippingLines | Lists shipping lines included in a refund. |
| RefundTransactionFees | Lists transaction fees applied to the original order transaction (Shopify Payments only). |
| RefundTransactions | Lists payment transactions generated as part of a refund. |
| ReturnExchangeLineItems | Lists line items created for exchanges within a return. |
| ReturnLineItems | Lists return line items attached to the return. |
| ReturnLineItemsUnverified | Lists unverified return line items pending inspection or validation. |
| ReverseFulfillmentOrderDeliveries | Lists reverse deliveries where buyers send packages back to the merchant. |
| ReverseFulfillmentOrderDeliveryLineItems | Lists line items included in reverse deliveries. |
| ReverseFulfillmentOrderLineItems | Lists line items managed under reverse fulfillment orders. |
| ReverseFulfillmentOrders | Lists items within returns to be processed by a fulfillment service. |
| SegmentFilterParameters | Lists available parameters used to construct event-based segment filters. |
| SegmentFilters | Lists reusable segment filters available for building segments. |
| SellingPlanGroupSellingPlans | Lists selling plans associated with a selling plan group. |
| Shop | Returns the shop resource for the current token, including business and management settings. |
| ShopifyPaymentsAccount | Returns Shopify Payments account details, including balances, disputes, and payouts. |
| ShopifyPaymentsAccountBalance | Returns current balances across all currencies for the account. |
| ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders | Lists adjustment orders linked to a specific balance transaction. |
| ShopifyPaymentsAccountBalanceTransactions | Lists balance transactions associated with the account's balances. |
| ShopifyPaymentsAccountBankAccounts | Lists bank accounts configured for the Shopify Payments account. |
| ShopifyPaymentsAccountDisputes | Lists disputes associated with the Shopify Payments account. |
| ShopifyPaymentsAccountPayouts | Lists past and current payouts between the account and the bank (available only in supported countries). |
| StaffMembers | Lists staff members for the shop with pagination (Shopify Plus only). |
| StoreCreditAccountDebitRevertTransactions | Lists debit-revert transactions created when a debit is reversed on a store credit account. |
| StoreCreditAccountExpirationTransactions | Lists expiration transactions created when credit expires on a store credit account. |
| TenderTransactions | Lists tender (payment method) transactions recorded by the shop. |
Retrieves custom attributes captured on an abandoned checkout, such as personalization fields or internal flags.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | The globally unique identifier of the abandoned checkout resource this attribute is linked to. | |
| Key [KEY] | String | The name or key that identifies the custom attribute. | |
| Value | String | The stored value assigned to the custom attribute. |
Lists the products, variants, and quantities that were in the cart when the checkout was abandoned.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the abandoned checkout line item. | |
| ResourceId | String |
Abandonment.AbandonedCheckoutPayloadId | The globally unique identifier of the abandoned checkout that this line item belongs to. |
| Title | String | The display title of the product or service in this line item. Defaults to the product's title at the time of checkout. | |
| ProductId | String | The globally unique identifier of the product linked to this line item. | |
| VariantId | String | The globally unique identifier of the product variant chosen in the line item. | |
| VariantTitle | String | The title of the selected variant at the time the checkout was created. | |
| Quantity | Int | The total number of variant units included in the line item. | |
| Sku | String | The SKU (stock keeping unit) code associated with the product variant. | |
| ImageId | String | The unique identifier of the image connected to this line item. | |
| ImageWidth | Int | The original width of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageAltText | String | Alternative text that describes the content or purpose of the product image. | |
| ImageHeight | Int | The original height of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | The URL that points to the product image. | |
| DiscountedTotalPriceSetPresentmentMoneyAmount | Decimal | The final total cost for the full quantity of this line item after discounts, expressed as a decimal money amount in the presentment currency. | |
| DiscountedTotalPriceSetPresentmentMoneyCurrencyCode | String | The presentment currency code for the final discounted total price of the line item. | |
| DiscountedTotalPriceSetShopMoneyAmount | Decimal | The final total cost for the full quantity of this line item after discounts, expressed as a decimal money amount in the shop's base currency. | |
| DiscountedTotalPriceSetShopMoneyCurrencyCode | String | The shop currency code for the final discounted total price of the line item. | |
| DiscountedTotalPriceWithCodeDiscountPresentmentMoneyAmount | Decimal | The final total cost for the full quantity of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the presentment currency. | |
| DiscountedTotalPriceWithCodeDiscountPresentmentMoneyCurrencyCode | String | The presentment currency code for the final total price of the line item after all discounts, including code-based discounts. | |
| DiscountedTotalPriceWithCodeDiscountShopMoneyAmount | Decimal | The final total cost for the full quantity of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the shop's base currency. | |
| DiscountedTotalPriceWithCodeDiscountShopMoneyCurrencyCode | String | The shop currency code for the final total price of the line item after all discounts, including code-based discounts. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The discounted price of a single unit in this line item, expressed as a decimal money amount in the presentment currency. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The presentment currency code for the discounted unit price of the line item. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The discounted price of a single unit in this line item, expressed as a decimal money amount in the shop's base currency. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The shop currency code for the discounted unit price of the line item. | |
| DiscountedUnitPriceWithCodeDiscountPresentmentMoneyAmount | Decimal | The unit price of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the presentment currency. | |
| DiscountedUnitPriceWithCodeDiscountPresentmentMoneyCurrencyCode | String | The presentment currency code for the unit price of this line item after all discounts, including code-based discounts. | |
| DiscountedUnitPriceWithCodeDiscountShopMoneyAmount | Decimal | The unit price of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the shop's base currency. | |
| DiscountedUnitPriceWithCodeDiscountShopMoneyCurrencyCode | String | The shop currency code for the unit price of this line item after all discounts, including code-based discounts. | |
| OriginalTotalPriceSetPresentmentMoneyAmount | Decimal | The original total cost for the full quantity of this line item before discounts, expressed as a decimal money amount in the presentment currency. | |
| OriginalTotalPriceSetPresentmentMoneyCurrencyCode | String | The presentment currency code for the original total price of the line item before discounts. | |
| OriginalTotalPriceSetShopMoneyAmount | Decimal | The original total cost for the full quantity of this line item before discounts, expressed as a decimal money amount in the shop's base currency. | |
| OriginalTotalPriceSetShopMoneyCurrencyCode | String | The shop currency code for the original total price of the line item before discounts. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | The original unit price of this line item before discounts, expressed as a decimal money amount in the presentment currency. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | The presentment currency code for the original unit price of the line item before discounts. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | The original unit price of this line item before discounts, expressed as a decimal money amount in the shop's base currency. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | The shop currency code for the original unit price of the line item before discounts. |
Returns abandoned checkout sessions with customer, cart, and timing details for recovery.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonedCheckouts WHERE Id = 'Val1'
SELECT * FROM AbandonedCheckouts WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM AbandonedCheckouts WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM AbandonedCheckouts WHERE Status = 'open'
SELECT * FROM AbandonedCheckouts WHERE EmailState = 'sent'
SELECT * FROM AbandonedCheckouts WHERE RecoveryState = 'open'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the abandoned checkout. | |
| Name | String | A merchant-facing identifier that uniquely identifies this checkout in Shopify. | |
| AbandonedCheckoutUrl | String | The URL that allows the buyer to return and complete their abandoned checkout. | |
| CustomerId | String | The globally unique identifier of the customer associated with this abandoned checkout. | |
| DiscountCodes | String | One or more discount codes entered by the buyer during checkout. | |
| Note | String | A private note recorded by the merchant for this checkout, not visible to the buyer. | |
| TaxesIncluded | Bool | Indicates whether line item and shipping prices already include taxes. | |
| UpdatedAt | Datetime | The date and time when the abandoned checkout was last updated. | |
| CreatedAt | Datetime | The date and time when the abandoned checkout was created. | |
| CompletedAt | Datetime | The date and time when the buyer successfully completed the checkout. Returns null if the checkout remains incomplete. | |
| BillingAddressCoordinatesValidated | Bool | Indicates whether the billing address corresponds to recognized latitude and longitude values. | |
| BillingAddressId | String | The globally unique identifier of the billing address associated with this checkout. | |
| BillingAddressValidationResultSummary | String | The result of address validation for the billing address, as reported in the Shopify Admin. | |
| BillingAddressFirstName | String | The first name of the customer listed on the billing address. | |
| BillingAddressLastName | String | The last name of the customer listed on the billing address. | |
| BillingAddressName | String | The full name of the customer on the billing address, based on first and last name. | |
| BillingAddressAddress1 | String | The first line of the billing address, usually a street address or PO Box. | |
| BillingAddressAddress2 | String | The second line of the billing address, usually an apartment, suite, or unit number. | |
| BillingAddressCity | String | The city, town, district, or village of the billing address. | |
| BillingAddressCompany | String | The company or organization name provided in the billing address. | |
| BillingAddressCountry | String | The full country name of the billing address. | |
| BillingAddressCountryCode | String | The two-letter country code of the billing address, such as US. | |
| BillingAddressFormattedArea | String | A comma-separated list combining the city, province, and country for the billing address. | |
| BillingAddressLatitude | Double | The latitude coordinate of the billing address. | |
| BillingAddressLongitude | Double | The longitude coordinate of the billing address. | |
| BillingAddressPhone | String | The phone number listed with the billing address. | |
| BillingAddressProvince | String | The province, state, or district of the billing address. | |
| BillingAddressProvinceCode | String | The region code for the billing address, such as 'ON', for Ontario. | |
| BillingAddressZip | String | The postal or ZIP code of the billing address. | |
| BillingAddressTimeZone | String | The time zone associated with the billing address. | |
| ShippingAddressCoordinatesValidated | Bool | Indicates whether the shipping address corresponds to recognized latitude and longitude values. | |
| ShippingAddressId | String | The globally unique identifier of the shipping address associated with this checkout. | |
| ShippingAddressValidationResultSummary | String | The result of address validation for the shipping address, as reported in the Shopify Admin. | |
| ShippingAddressFirstName | String | The first name of the customer listed on the shipping address. | |
| ShippingAddressLastName | String | The last name of the customer listed on the shipping address. | |
| ShippingAddressName | String | The full name of the customer on the shipping address, based on first and last name. | |
| ShippingAddressAddress1 | String | The first line of the shipping address, usually a street address or PO Box. | |
| ShippingAddressAddress2 | String | The second line of the shipping address, usually an apartment, suite, or unit number. | |
| ShippingAddressCity | String | The city, town, district, or village of the shipping address. | |
| ShippingAddressCompany | String | The company or organization name provided in the shipping address. | |
| ShippingAddressCountry | String | The full country name of the shipping address. | |
| ShippingAddressCountryCode | String | The two-letter country code of the shipping address, such as US. | |
| ShippingAddressFormattedArea | String | A comma-separated list combining the city, province, and country for the shipping address. | |
| ShippingAddressLatitude | Double | The latitude coordinate of the shipping address. | |
| ShippingAddressLongitude | Double | The longitude coordinate of the shipping address. | |
| ShippingAddressPhone | String | The phone number listed with the shipping address. | |
| ShippingAddressProvince | String | The province, state, or district of the shipping address. | |
| ShippingAddressProvinceCode | String | The region code for the shipping address, such as 'ON' for Ontario. | |
| ShippingAddressZip | String | The postal or ZIP code of the shipping address. | |
| ShippingAddressTimeZone | String | The time zone associated with the shipping address. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | The subtotal price of all line items before discounts, expressed as a decimal money amount in the presentment currency. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | The presentment currency code for the subtotal price of the line items before discounts. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | The subtotal price of all line items before discounts, expressed as a decimal money amount in the shop's base currency. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | The shop currency code for the subtotal price of the line items before discounts. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | The total value of all discounts applied, expressed as a decimal money amount in the presentment currency. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | The presentment currency code for the total discount value. | |
| TotalDiscountSetShopMoneyAmount | Decimal | The total value of all discounts applied, expressed as a decimal money amount in the shop's base currency. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | The shop currency code for the total discount value. | |
| TotalDutiesSetPresentmentMoneyAmount | Decimal | The total duties charged for this checkout, expressed as a decimal money amount in the presentment currency. | |
| TotalDutiesSetPresentmentMoneyCurrencyCode | String | The presentment currency code for the duties total. | |
| TotalDutiesSetShopMoneyAmount | Decimal | The total duties charged for this checkout, expressed as a decimal money amount in the shop's base currency. | |
| TotalDutiesSetShopMoneyCurrencyCode | String | The shop currency code for the duties total. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | The combined price of all line items before taxes and duties, expressed as a decimal money amount in the presentment currency. | |
| TotalLineItemsPriceSetPresentmentMoneyCurrencyCode | String | The presentment currency code for the combined line item price before taxes and duties. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | The combined price of all line items before taxes and duties, expressed as a decimal money amount in the shop's base currency. | |
| TotalLineItemsPriceSetShopMoneyCurrencyCode | String | The shop currency code for the combined line item price before taxes and duties. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | The final checkout total including line items, shipping, taxes, and duties, expressed as a decimal money amount in the presentment currency. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | The presentment currency code for the final checkout total. | |
| TotalPriceSetShopMoneyAmount | Decimal | The final checkout total including line items, shipping, taxes, and duties, expressed as a decimal money amount in the shop's base currency. | |
| TotalPriceSetShopMoneyCurrencyCode | String | The shop currency code for the final checkout total. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | The total taxes applied to the checkout, expressed as a decimal money amount in the presentment currency. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | The presentment currency code for the total taxes applied. | |
| TotalTaxSetShopMoneyAmount | Decimal | The total taxes applied to the checkout, expressed as a decimal money amount in the shop's base currency. | |
| TotalTaxSetShopMoneyCurrencyCode | String | The shop currency code for the total taxes applied. | |
| Status | String | The current status of the abandoned checkout, such as open or completed.
The allowed values are open, closed. | |
| EmailState | String | The status of recovery emails sent for this abandoned checkout.
The allowed values are sent, not_sent, scheduled, suppressed. | |
| RecoveryState | String | The current recovery state of the abandoned checkout, such as recovered or unrecovered.
The allowed values are open, closed. |
Shows the tax lines calculated for an abandoned checkout by jurisdiction and rate.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name or label of the applied tax, such as Sales Tax or value-added tax (VAT). | |
| ResourceId [KEY] | String | The globally unique identifier of the abandoned checkout that this tax line belongs to. | |
| Source | String | The system or integration that applied the tax, such as Shopify or a third-party app. | |
| Rate | Double | The tax rate expressed as a decimal fraction of the line item price. | |
| ChannelLiable | Bool | Indicates whether the sales channel that submitted the checkout is responsible for remitting this tax. Returns null if liability is unknown. | |
| RatePercentage | Double | The tax rate expressed as a percentage of the line item price. | |
| PriceSetPresentmentMoneyAmount | Decimal | The tax amount applied, expressed as a decimal money value in the presentment currency. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The presentment currency code for the tax amount. | |
| PriceSetShopMoneyAmount | Decimal | The tax amount applied, expressed as a decimal money value in the shop's base currency. | |
| PriceSetShopMoneyCurrencyCode | String | The shop currency code for the tax amount. |
Summarizes visit-level abandonment metrics and context for unfinished checkouts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Abandonment WHERE Id = 'Val1'
SELECT * FROM Abandonment WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the abandonment event. | |
| AppId | String | The globally unique identifier of the app that recorded or triggered this abandonment. | |
| CustomerId | String | The globally unique identifier of the customer associated with this abandonment. | |
| AbandonmentType | String | The type of abandonment event, such as browse, cart, or checkout. | |
| EmailState | String | The current status of abandonment recovery emails, such as sent or not sent. | |
| InventoryAvailable | Bool | Indicates whether the products linked to the abandonment are still in stock. | |
| EmailSentAt | Datetime | The date and time when the abandonment recovery email was sent, if applicable. | |
| MostRecentStep | String | The most recent customer action or step type recorded before the abandonment. | |
| VisitStartedAt | Datetime | The date and time when the customer's visit that led to abandonment began. | |
| IsFromOnlineStore | Bool | Indicates whether the abandonment originated from the Online Store sales channel. | |
| IsFromShopApp | Bool | Indicates whether the abandonment originated from the Shop app sales channel. | |
| IsFromShopPay | Bool | Indicates whether the abandonment originated from the Shop Pay channel. | |
| IsMostSignificantAbandonment | Bool | Indicates whether this abandonment is the customer's most significant one, meaning no more critical step has been abandoned since. | |
| LastBrowseAbandonmentDate | Datetime | The date and time of the customer's most recent browse abandonment. | |
| LastCartAbandonmentDate | Datetime | The date and time of the customer's most recent cart abandonment. | |
| LastCheckoutAbandonmentDate | Datetime | The date and time of the customer's most recent checkout abandonment. | |
| DaysSinceLastAbandonmentEmail | Int | The number of days since the customer last received an abandonment recovery email. | |
| HoursSinceLastAbandonedCheckout | Double | The number of hours since the customer last abandoned a checkout. | |
| CustomerHasNoOrderSinceAbandonment | Bool | Indicates whether the customer has placed an order since this checkout was abandoned. | |
| CreatedAt | Datetime | The date and time when the abandonment record was created. | |
| IsFromCustomStorefront | Bool | Indicates whether the abandonment originated from a custom storefront sales channel. | |
| AbandonedCheckoutPayloadId | String | The globally unique identifier of the abandoned checkout payload linked to this abandonment. | |
| AbandonedCheckoutPayloadDefaultCursor | String | A default cursor that returns the next abandoned-checkout payload record in ascending order by Id. | |
| AbandonedCheckoutPayloadAbandonedCheckoutUrl | String | The recovery URL the buyer can use to return to their abandoned checkout. |
Lists products customers added to cart during sessions that ended in abandonment.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonmentId = 'Val1'
SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| AbandonmentId | String | The globally unique identifier of the abandonment event this cart addition is associated with. | |
| AbandonedCheckoutPayloadId [KEY] | String | The globally unique identifier of the abandoned checkout payload connected to this cart addition. | |
| ProductId [KEY] | String | The globally unique identifier of the product that was added to the cart. | |
| VariantId [KEY] | String | The globally unique identifier of the specific product variant added to the cart. | |
| Quantity | Int | The number of units of the product variant that the customer added to the cart. |
Returns products viewed during sessions that later resulted in an abandoned checkout.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonmentProductsViewed WHERE AbandonmentId = 'Val1'
SELECT * FROM AbandonmentProductsViewed WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| AbandonmentId | String |
Abandonment.Id | The globally unique identifier of the abandonment event in which the product was viewed. |
| AbandonedCheckoutPayloadId [KEY] | String | The globally unique identifier of the abandoned checkout payload linked to this product view. | |
| ProductId [KEY] | String | The globally unique identifier of the product that the customer viewed. | |
| VariantId [KEY] | String | The globally unique identifier of the specific product variant that the customer viewed. | |
| Quantity | Int | The number of product units displayed to the customer during the view event, typically representing the default or available quantity rather than a requested amount. |
Lists credits that merchants can apply toward future app charges.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppCredits WHERE AppInstallationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the app credit record. | |
| AppInstallationId | String | The globally unique identifier of the app installation that issued the credit. | |
| Description | String | A merchant-facing description explaining the reason or purpose of the app credit. | |
| Test | Bool | Indicates whether the app credit is a test transaction rather than a live credit. | |
| CreatedAt | Datetime | The date and time when the app credit was issued. | |
| Amount | Decimal | The value of the app credit, expressed as a decimal money amount. | |
| AmountCurrencyCode | String | The currency code for the app credit amount. |
Retrieves events tied to article comments, such as creation, approval, or deletion.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ArticleCommentEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the comment event. | |
| HostId | String | The globally unique identifier of the app or service that hosted the event. | |
| AppTitle | String | The name of the app that generated the comment event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user. | |
| CreatedAt | Datetime | The date and time when the comment event was created. | |
| CriticalAlert | Bool | Indicates whether the comment event is flagged as critical. | |
| Action | String | The type of action recorded for this comment event. | |
| Message | String | Human-readable text describing the comment event. | |
| BasicEventSubjectId | String | The identifier of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of resource that generated the event, such as an order or product. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether this event contains additional content. | |
| BasicEventAdditionalContent | String | Additional content included for collapsible timeline events. | |
| BasicEventAdditionalData | String | Supplementary event data available for consumers. | |
| BasicEventSecondaryMessage | String | Secondary human-readable text that supports the main event message. | |
| BasicEventArguments | String | Arguments or metadata linking the event to its related resources. | |
| CommentEventAuthorId | String | The identifier of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited. | |
| CommentEventEdited | Bool | Indicates whether the comment event has been edited after creation. | |
| CommentEventRawMessage | String | The raw, unformatted body of the comment event. | |
| CommentEventSubjectId | String | The identifier of the parent resource to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject includes an associated comment. | |
| CommentEventEmbedCustomerId | String | The identifier of the customer resource embedded in the comment event. | |
| CommentEventEmbedDraftOrderId | String | The identifier of the draft order resource embedded in the comment event. | |
| CommentEventEmbedOrderId | String | The identifier of the order resource embedded in the comment event. | |
| CommentEventEmbedProductId | String | The identifier of the product resource embedded in the comment event. | |
| CommentEventEmbedProductVariantId | String | The identifier of the product variant resource embedded in the comment event. |
Returns event history for articles, including publication, updates, and deletions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ArticleEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the article event. | |
| HostId | String |
Articles.Id | The globally unique identifier of the app or service that hosted the event. |
| AppTitle | String | The name of the app that generated the event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Indicates whether the event is flagged as critical. | |
| Action | String | The type of action recorded for this event. | |
| Message | String | Human-readable text describing the event. | |
| BasicEventSubjectId | String | The identifier of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of resource that generated the event, such as an order or product. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether this event contains additional content. | |
| BasicEventAdditionalContent | String | Additional content included for collapsible timeline events. | |
| BasicEventAdditionalData | String | Supplementary event data available for consumers. | |
| BasicEventSecondaryMessage | String | Secondary human-readable text that supports the main event message. | |
| BasicEventArguments | String | Arguments or metadata linking the event to its related resources. | |
| CommentEventAuthorId | String | The identifier of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited. | |
| CommentEventEdited | Bool | Indicates whether the comment event has been edited after creation. | |
| CommentEventRawMessage | String | The raw, unformatted body of the comment event. | |
| CommentEventSubjectId | String | The identifier of the parent resource to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject includes an associated comment. | |
| CommentEventEmbedCustomerId | String | The identifier of the customer resource embedded in the comment event. | |
| CommentEventEmbedDraftOrderId | String | The identifier of the draft order resource embedded in the comment event. | |
| CommentEventEmbedOrderId | String | The identifier of the order resource embedded in the comment event. | |
| CommentEventEmbedProductId | String | The identifier of the product resource embedded in the comment event. | |
| CommentEventEmbedProductVariantId | String | The identifier of the product variant resource embedded in the comment event. |
Retrieves fulfillment orders assigned to app-managed locations (requires read_assigned_fulfillment_orders). CLOSED orders are excluded by default.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AssignedFulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
SELECT * FROM AssignedFulfillmentOrders WHERE AssignmentStatus = 'CANCELLATION_REQUESTED'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the assigned fulfillment order. | |
| ShopId | String |
Shop.Id | The globally unique identifier of the shop associated with this fulfillment order. |
| OrderId | String | The globally unique identifier of the order linked to this fulfillment order. | |
| Status | String | The current status of the fulfillment order, such as open, scheduled, or closed. | |
| FulfillAt | Datetime | The date and time when the fulfillment order becomes fulfillable. Once this time is reached, scheduled orders automatically transition to open. For example, a subscription order might have a fulfill_at date set to the first of each month, while a pre-order might return null. | |
| FulfillBy | Datetime | The deadline by which all items in the fulfillment order must be fulfilled. | |
| RequestStatus | String | The current request status of the fulfillment order, such as accepted, pending, or failed. | |
| CreatedAt | Datetime | The date and time when the fulfillment order was created. | |
| UpdatedAt | Datetime | The date and time when the fulfillment order was last updated. | |
| AssignedLocationName | String | The display name of the location assigned to fulfill this order. | |
| AssignedLocationAddress1 | String | The first line of the assigned location's address. | |
| AssignedLocationAddress2 | String | The second line of the assigned location's address, such as an apartment or suite number. | |
| AssignedLocationCity | String | The city where the assigned location is based. | |
| AssignedLocationPhone | String | The phone number of the assigned location. | |
| AssignedLocationProvince | String | The province or state where the assigned location is based. | |
| AssignedLocationZip | String | The postal or ZIP code of the assigned location. | |
| AssignedLocationCountryCode | String | The two-letter country code for the assigned location. | |
| AssignedLocationLocationId | String | The globally unique identifier of the assigned location. | |
| AssignedLocationLocationLegacyResourceId | String | The legacy identifier for the assigned location in the REST Admin API. | |
| AssignedLocationLocationName | String | The name of the assigned location resource. | |
| AssignedLocationLocationActivatable | Bool | Indicates whether the location can be reactivated. | |
| AssignedLocationLocationDeactivatable | Bool | Indicates whether the location can be deactivated. | |
| AssignedLocationLocationDeletable | Bool | Indicates whether the location can be deleted. | |
| AssignedLocationLocationAddressVerified | Bool | Indicates whether the address of the assigned location has been verified. | |
| AssignedLocationLocationDeactivatedAt | String | The date and time when the assigned location was deactivated, in UTC. For example: '2019-09-07T15:50:00Z'. | |
| AssignedLocationLocationIsActive | Bool | Indicates whether the assigned location is currently active. | |
| AssignedLocationLocationShipsInventory | Bool | Indicates whether the location contributes to shipping rate calculations. This flag is ignored in multi-origin shipping mode. | |
| AssignedLocationLocationFulfillsOnlineOrders | Bool | Indicates whether the assigned location can fulfill online orders. | |
| AssignedLocationLocationHasActiveInventory | Bool | Indicates whether the assigned location has active inventory available. | |
| AssignedLocationLocationHasUnfulfilledOrders | Bool | Indicates whether the assigned location currently has unfulfilled orders. | |
| DeliveryMethodId | String | The globally unique identifier of the delivery method chosen for this order. | |
| DeliveryMethodPresentedName | String | The name of the delivery option presented to the buyer at checkout. | |
| DeliveryMethodMethodType | String | The type of delivery method used, such as standard or express. | |
| DeliveryMethodMaxDeliveryDateTime | Datetime | The latest estimated date and time for delivery to the buyer's location. | |
| DeliveryMethodMinDeliveryDateTime | Datetime | The earliest estimated date and time for delivery to the buyer's location. | |
| DeliveryMethodServiceCode | String | The service code that identifies the shipping method. | |
| DeliveryMethodSourceReference | String | Provider-specific reference data associated with the delivery promise. | |
| DeliveryMethodBrandedPromiseName | String | The branded delivery promise name, such as 'Shop Promise'. | |
| DeliveryMethodBrandedPromiseHandle | String | The branded delivery promise handle, such as 'shop_promise'. | |
| DeliveryMethodAdditionalInformationPhone | String | A contact phone number for coordinating delivery. | |
| DeliveryMethodAdditionalInformationInstructions | String | Special delivery instructions provided for the order. | |
| DestinationId | String | The globally unique identifier of the destination record. | |
| DestinationFirstName | String | The first name of the customer at the destination address. | |
| DestinationLastName | String | The last name of the customer at the destination address. | |
| DestinationAddress1 | String | The first line of the customer's destination address. | |
| DestinationAddress2 | String | The second line of the customer's destination address, such as an apartment or suite number. | |
| DestinationCity | String | The city of the customer's destination address. | |
| DestinationCompany | String | The company name listed in the customer's destination address, if applicable. | |
| DestinationEmail | String | The email address of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| DestinationProvince | String | The province or state of the customer's destination address. | |
| DestinationZip | String | The postal or ZIP code of the customer's destination address. | |
| DestinationCountryCode | String | The two-letter country code of the customer's destination address. | |
| DestinationLocationId | String | The globally unique identifier of the customer's destination location. | |
| InternationalDutiesIncoterm | String | The incoterm that specifies how international duties are paid includes example values such as Delivered Duty Paid (DDP) and Delivered at Place (DAP). | |
| AssignmentStatus | String | The assignment status of the fulfillment orders to return. If no assignmentStatus argument is provided, all assigned fulfillment orders are returned except those with CLOSED status.
The allowed values are CANCELLATION_REQUESTED, FULFILLMENT_ACCEPTED, FULFILLMENT_REQUESTED, FULFILLMENT_UNSUBMITTED. |
Retrieves activity events related to blogs, such as creation or deletion.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM BlogEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the blog event. | |
| HostId | String |
Blogs.Id | The globally unique identifier of the app or service that hosted the event. |
| AppTitle | String | The name of the app that generated the event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Indicates whether the event is flagged as critical. | |
| Action | String | The type of action recorded for this blog event. | |
| Message | String | Human-readable text describing the event. | |
| BasicEventSubjectId | String | The identifier of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of resource that generated the event, such as a blog or article. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether this event contains additional content. | |
| BasicEventAdditionalContent | String | Additional content included for collapsible timeline events. | |
| BasicEventAdditionalData | String | Supplementary event data available for consumers. | |
| BasicEventSecondaryMessage | String | Secondary human-readable text that supports the main event message. | |
| BasicEventArguments | String | Arguments or metadata linking the event to its related resources. | |
| CommentEventAuthorId | String | The identifier of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited. | |
| CommentEventEdited | Bool | Indicates whether the comment event has been edited after creation. | |
| CommentEventRawMessage | String | The raw, unformatted body of the comment event. | |
| CommentEventSubjectId | String | The identifier of the parent resource to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject includes an associated comment. | |
| CommentEventEmbedCustomerId | String | The identifier of the customer resource embedded in the comment event. | |
| CommentEventEmbedDraftOrderId | String | The identifier of the draft order resource embedded in the comment event. | |
| CommentEventEmbedOrderId | String | The identifier of the order resource embedded in the comment event. | |
| CommentEventEmbedProductId | String | The identifier of the product resource embedded in the comment event. | |
| CommentEventEmbedProductVariantId | String | The identifier of the product variant resource embedded in the comment event. |
Lists business entities associated with the shop for organizational context.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM BusinessEntities WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the business entity. | |
| CompanyName | String | The legal company name associated with the merchant's business entity. | |
| DisplayName | String | The public-facing display name of the merchant's business entity. | |
| Primary | Bool | Indicates whether this is the merchant's primary business entity. | |
| Address1 | String | The first line of the business entity's address, typically a street address or PO Box. | |
| Address2 | String | The second line of the business entity's address, typically an apartment, suite, or unit number. | |
| AddressCountryCode | String | The two-letter country code of the business entity's address. | |
| AddressProvince | String | The province, state, or district of the business entity's address. | |
| AddressCity | String | The city, town, district, or village of the business entity's address. | |
| AddressZip | String | The postal or ZIP code of the business entity's address. | |
| ShopifyPaymentsAccountId | String | The globally unique identifier of the Shopify Payments account associated with the business entity. |
Lists products contained within a specified collection.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CollectionProducts WHERE CollectionId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the collection product record. | |
| CollectionId [KEY] | String |
Collections.Id | The globally unique identifier of the collection that this product belongs to. |
| Title | String | The display title of the product within the collection. | |
| Position | Int | The position of the product in the collection's sort order. |
Lists available roles that can be assigned to company contacts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyContactRoles WHERE CompanyId = 'Val1'
| Name | Type | References | Description |
| CompanyId | String | The globally unique identifier of the company that the role belongs to. | |
| Id [KEY] | String | The globally unique identifier of the company contact role. | |
| Name | String | The name of the role, such as 'admin' or 'buyer'. | |
| Note | String | A note associated with the role. |
Retrieves event history associated with company records.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the company event. | |
| HostId | String |
Companies.Id | The globally unique identifier of the app or service that hosted the event. |
| AppTitle | String | The name of the app that generated the event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Indicates whether the event is flagged as critical. | |
| Action | String | The type of action recorded for this event. | |
| Message | String | Human-readable text describing the event. | |
| BasicEventSubjectId | String | The identifier of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of resource that generated the event, such as a company or contact. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether this event contains additional content. | |
| BasicEventAdditionalContent | String | Additional content included for collapsible timeline events. | |
| BasicEventAdditionalData | String | Supplementary event data available for consumers. | |
| BasicEventSecondaryMessage | String | Secondary human-readable text that supports the main event message. | |
| BasicEventArguments | String | Arguments or metadata linking the event to its related resources. | |
| CommentEventAuthorId | String | The identifier of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited. | |
| CommentEventEdited | Bool | Indicates whether the comment event has been edited after creation. | |
| CommentEventRawMessage | String | The raw, unformatted body of the comment event. | |
| CommentEventSubjectId | String | The identifier of the parent resource to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject includes an associated comment. | |
| CommentEventEmbedCustomerId | String | The identifier of the customer resource embedded in the comment event. | |
| CommentEventEmbedDraftOrderId | String | The identifier of the draft order resource embedded in the comment event. | |
| CommentEventEmbedOrderId | String | The identifier of the order resource embedded in the comment event. | |
| CommentEventEmbedProductId | String | The identifier of the product resource embedded in the comment event. | |
| CommentEventEmbedProductVariantId | String | The identifier of the product variant resource embedded in the comment event. |
Retrieves event history for customer records (creation, updates, tags).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the customer event. | |
| HostId | String |
Customers.Id | The globally unique identifier of the app or service that hosted the event. |
| AppTitle | String | The name of the app that generated the event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Indicates whether the event is flagged as critical. | |
| Action | String | The type of action recorded for this customer event. | |
| Message | String | Human-readable text describing the event. | |
| BasicEventSubjectId | String | The identifier of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of resource that generated the event, such as a customer or order. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether this event contains additional content. | |
| BasicEventAdditionalContent | String | Additional content included for collapsible timeline events. | |
| BasicEventAdditionalData | String | Supplementary event data available for consumers. | |
| BasicEventSecondaryMessage | String | Secondary human-readable text that supports the main event message. | |
| BasicEventArguments | String | Arguments or metadata linking the event to its related resources. | |
| CommentEventAuthorId | String | The identifier of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited. | |
| CommentEventEdited | Bool | Indicates whether the comment event has been edited after creation. | |
| CommentEventRawMessage | String | The raw, unformatted body of the comment event. | |
| CommentEventSubjectId | String | The identifier of the parent resource to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject includes an associated comment. | |
| CommentEventEmbedCustomerId | String | The identifier of the customer resource embedded in the comment event. | |
| CommentEventEmbedDraftOrderId | String | The identifier of the draft order resource embedded in the comment event. | |
| CommentEventEmbedOrderId | String | The identifier of the order resource embedded in the comment event. | |
| CommentEventEmbedProductId | String | The identifier of the product resource embedded in the comment event. | |
| CommentEventEmbedProductVariantId | String | The identifier of the product variant resource embedded in the comment event. |
Lists members (for example, customers) associated with a specific customer segment.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerSegmentMembers WHERE SegmentId = 'Val1'
| Name | Type | References | Description |
| SegmentId [KEY] | String |
Segments.Id | The identifier of the segment that this member belongs to. |
| Id [KEY] | String | The globally unique identifier of the segment member. | |
| DisplayName | String | The display name of the member, derived from first and last name. If unavailable, falls back to the customer's email address, or if not available, the phone number. | |
| FirstName | String | The first name of the segment member. | |
| LastName | String | The last name of the segment member. | |
| Note | String | A merchant-facing note about the segment member. | |
| LastOrderId | String | The identifier of the member's most recent order. | |
| NumberOfOrders | String | The total number of orders placed by the member. | |
| AmountSpentAmount | Decimal | The total amount spent by the member, expressed as a decimal money value. | |
| AmountSpentCurrencyCode | String | The currency code for the member's total spent amount. | |
| DefaultAddressId | String | The globally unique identifier of the member's default address. | |
| DefaultAddressCountry | String | The country of the member's default address. | |
| DefaultAddressProvince | String | The province, state, or district of the member's default address. | |
| DefaultAddressCity | String | The city, town, district, or village of the member's default address. | |
| DefaultAddressFormattedArea | String | A comma-separated string combining the city, province, and country of the default address. | |
| DefaultAddressCompany | String | The company or organization name listed on the member's default address. | |
| DefaultAddressAddress1 | String | The first line of the member's default address, typically a street address or PO Box. | |
| DefaultAddressAddress2 | String | The second line of the member's default address, typically an apartment, suite, or unit number. | |
| DefaultAddressName | String | The full name associated with the member's default address, based on first and last name. | |
| DefaultAddressFirstName | String | The first name on the member's default address. | |
| DefaultAddressLastName | String | The last name on the member's default address. | |
| DefaultAddressLatitude | Double | The latitude coordinate of the member's default address. | |
| DefaultAddressLongitude | Double | The longitude coordinate of the member's default address. | |
| DefaultAddressCoordinatesValidated | Bool | Indicates whether the coordinates of the default address are valid. | |
| DefaultAddressValidationResultSummary | String | The validation status of the default address, as determined by the Shopify Admin address validation feature. | |
| DefaultAddressPhone | String | The phone number associated with the default address, formatted using the E.164 standard (for example, +16135551111). | |
| DefaultAddressZip | String | The postal or ZIP code of the member's default address. | |
| DefaultAddressProvinceCode | String | The alphanumeric code for the province, state, or district of the default address, such as ON. | |
| DefaultAddressCountryCode | String | The two-letter country code of the default address, such as US. | |
| DefaultAddressTimeZone | String | The time zone of the member's default address. | |
| DefaultEmailAddressEmailAddress | String | The default email address of the member. | |
| DefaultEmailAddressMarketingState | String | The current email marketing subscription state of the member. | |
| DefaultEmailAddressMarketingUnsubscribeUrl | String | The URL where the member can unsubscribe from all mailing lists. | |
| DefaultEmailAddressOpenTrackingLevel | String | The member's opt-in level for tracking whether their emails are opened. | |
| DefaultEmailAddressOpenTrackingUrl | String | The URL the member can use to opt in or out of email open tracking. | |
| DefaultPhoneNumberMarketingState | String | The current SMS marketing subscription state of the member. | |
| DefaultPhoneNumberPhoneNumber | String | The phone number of the member. | |
| MergeableReason | String | The reason why the member cannot be merged with another customer record. | |
| MergeableErrorFields | String | The list of fields preventing the member from being merged. | |
| MergeableIsMergeable | Bool | Indicates whether the member can be merged with another customer record. | |
| MergeableMergeInProgressJobId | String | The identifier of the merge job currently in progress. | |
| MergeableMergeInProgressResultingCustomerId | String | The identifier of the resulting customer record after a merge. | |
| MergeableMergeInProgressStatus | String | The current status of the member merge request. |
Lists customers' store credit accounts with balances and status.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CustomerStoreCreditAccounts WHERE Id = 'Val1'
SELECT * FROM CustomerStoreCreditAccounts WHERE CustomerId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the customer store credit account. | |
| CustomerId | String | The globally unique identifier of the customer associated with this store credit account. | |
| BalanceAmount | Decimal | The current balance of the store credit account, expressed as a decimal money value. | |
| BalanceCurrencyCode | String | The currency code of the store credit account balance. |
Lists countries already selected in any zone for the specified location group.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroupCountries
| Name | Type | References | Description |
| CountryId [KEY] | String | The globally unique identifier of the country associated with the delivery profile location group. | |
| LocationGroupId [KEY] | String | The globally unique identifier of the location group within the delivery profile. | |
| DeliveryProfileId | String | The globally unique identifier of the delivery profile that this country belongs to. | |
| Zone | String | The name of the shipping zone that includes this country. | |
| CountryName | String | The full name of the country included in the delivery profile's location group (for example, 'Canada' or 'United States'). | |
| CountryTranslatedName | String | The translated name of the country, based on the system's locale. | |
| CountryCodeCountryCode | String | The two-letter country code in ISO 3166-1 alpha-2 format. | |
| CountryCodeRestOfWorld | Bool | Indicates whether the country is included in the 'Rest of World' shipping zone. |
Lists regions/provinces associated with the specified country in a location group.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroupCountryProvinces
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the province record within the delivery profile location group. | |
| CountryId | String | The globally unique identifier of the country associated with this province. | |
| Code | String | The standardized code of the province, state, or region. | |
| Name | String | The full name of the province, state, or region. | |
| TranslatedName | String | The translated name of the province, state, or region, based on the system's locale. |
Lists location groups configured under a delivery profile.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroups
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the delivery profile location group. | |
| DeliveryProfileId | String | The globally unique identifier of the delivery profile associated with this location group. | |
| LocationsCount | Int | The number of locations included in this location group. | |
| LocationsCountPrecision | String | The level of precision applied to the location count value. |
Lists shipping zones associated with the specified location group.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DeliveryProfileLocationGroupZones WHERE DeliveryProfileId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the delivery profile location group zone. | |
| LocationGroupId [KEY] | String | The globally unique identifier of the location group associated with this zone. | |
| DeliveryProfileId | String | The globally unique identifier of the delivery profile associated with this zone. | |
| Name | String | The display name of the zone. | |
| MethodDefinitionCountsParticipantDefinitionsCount | Int | The number of participant method definitions configured for this zone. | |
| MethodDefinitionCountsRateDefinitionsCount | Int | The number of merchant-defined rate method definitions configured for this zone. |
Lists locations not yet assigned to any location group for this profile.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DeliveryProfileUnassignedLocations WHERE DeliveryProfileId = 'Val1'
| Name | Type | References | Description |
| DeliveryProfileId [KEY] | String | The globally unique identifier of the delivery profile that does not include this location. | |
| LocationId [KEY] | String |
Locations.Id | The globally unique identifier of the unassigned location. |
Retrieves event history for discounts, including publishing and edits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DiscountEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the discount event. | |
| HostId | String | The globally unique identifier of the app or service that hosted the event. | |
| AppTitle | String | The name of the app that generated the event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Indicates whether the event is flagged as critical. | |
| Action | String | The type of action recorded for this discount event. | |
| Message | String | Human-readable text describing the event. | |
| BasicEventSubjectId | String | The identifier of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of resource that generated the event, such as a discount or price rule. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether this event contains additional content. | |
| BasicEventAdditionalContent | String | Additional content included for collapsible timeline events. | |
| BasicEventAdditionalData | String | Supplementary event data available for consumers. | |
| BasicEventSecondaryMessage | String | Secondary human-readable text that supports the main event message. | |
| BasicEventArguments | String | Arguments or metadata linking the event to its related resources. | |
| CommentEventAuthorId | String | The identifier of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited. | |
| CommentEventEdited | Bool | Indicates whether the comment event has been edited after creation. | |
| CommentEventRawMessage | String | The raw, unformatted body of the comment event. | |
| CommentEventSubjectId | String | The identifier of the parent resource to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject includes an associated comment. | |
| CommentEventEmbedCustomerId | String | The identifier of the customer resource embedded in the comment event. | |
| CommentEventEmbedDraftOrderId | String | The identifier of the draft order resource embedded in the comment event. | |
| CommentEventEmbedOrderId | String | The identifier of the order resource embedded in the comment event. | |
| CommentEventEmbedProductId | String | The identifier of the product resource embedded in the comment event. | |
| CommentEventEmbedProductVariantId | String | The identifier of the product variant resource embedded in the comment event. |
Lists free-shipping discounts available via discount codes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeFreeShipping WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeFreeShipping WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeFreeShipping WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeFreeShipping WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeFreeShipping WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeFreeShipping WHERE UpdatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the free shipping discount code record. | |
| Title | String | The display title of the discount. | |
| Status | String | The current status of the discount, such as active or expired. | |
| Summary | String | A detailed summary of the discount and how it is applied. | |
| CodesCount | Int | The number of unique discount codes generated for this discount. | |
| CodesCountPrecision | String | The level of precision applied to the discount code count value. | |
| DiscountClass | String | The classification of the discount, used for determining compatibility with other discounts. | |
| EndsAt | Datetime | The date and time when the discount ends. Returns null for open-ended discounts. | |
| ShortSummary | String | A short summary of the free shipping discount (for example, 'Free standard shipping on orders over $50'). | |
| StartsAt | Datetime | The date and time when the discount becomes active. | |
| UsageLimit | Int | The maximum number of times this discount can be used across all customers. | |
| AppliesOnSubscription | Bool | Indicates whether the discount applies to shipping lines in subscription orders. | |
| AsyncUsageCount | Int | The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count. | |
| HasTimelineComment | Bool | Indicates whether timeline comments have been added to the discount record. | |
| RecurringCycleLimit | Int | The maximum number of billing cycles in which this discount can apply to subscription orders. | |
| AppliesOncePerCustomer | Bool | Indicates whether the discount can be redeemed only once per customer. | |
| AppliesOnOneTimePurchase | Bool | Indicates whether the discount applies to shipping lines in regular one-time purchase orders. | |
| CreatedAt | Datetime | The date and time when the discount record was created. | |
| UpdatedAt | Datetime | The date and time when the discount was last updated. | |
| CombinesWithOrderDiscounts | Bool | Indicates whether the discount can be combined with order-level discounts. | |
| CombinesWithProductDiscounts | Bool | Indicates whether the discount can be combined with product-level discounts. | |
| CombinesWithShippingDiscounts | Bool | Indicates whether the discount can be combined with other shipping-level discounts. | |
| DiscountCustomerAllAllCustomers | Bool | Indicates whether the discount can be applied by all customers. This value is always true. | |
| DiscountCountriesCountries | String | A list of two-letter country codes where the discount can be applied. | |
| DiscountCountriesIncludeRestOfWorld | Bool | Indicates whether the discount applies to all other countries not explicitly included in the shop's shipping zones. | |
| DiscountCountryAllAllCountries | Bool | Indicates whether the discount can be applied to all countries as shipping destinations. This value is always true. | |
| MaximumShippingPriceAmount | Decimal | The maximum shipping price eligible for the discount, expressed as a decimal money amount. | |
| MaximumShippingPriceCurrencyCode | String | The currency code of the maximum shipping price eligible for the discount. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | The minimum number of items required for the discount to apply. | |
| TotalSalesAmount | Decimal | The total sales amount attributed to this discount, expressed as a decimal money value. | |
| TotalSalesCurrencyCode | String | The currency code of the total sales amount attributed to this discount. |
Lists chargeback and dispute cases related to the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Disputes WHERE Id = 'Val1'
SELECT * FROM Disputes WHERE Status = 'Val1'
SELECT * FROM Disputes WHERE InitiatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the dispute. | |
| LegacyResourceId | String | The identifier of the corresponding resource in the REST Admin API. | |
| EvidenceDueBy | Date | The deadline by which evidence must be submitted for the dispute. | |
| EvidenceSentOn | Date | The date when evidence was submitted. Returns null if no evidence has been sent. | |
| Status | String | The current status of the dispute, such as open, under review, or closed. | |
| Type | String | Indicates whether the dispute is still in the inquiry stage or has escalated to a chargeback. | |
| FinalizedOn | Date | The date when the dispute was resolved. Returns null if the dispute has not been finalized. | |
| InitiatedAt | Datetime | The date and time when the dispute was initiated. | |
| Amount | Decimal | The disputed amount, expressed as a decimal money value. | |
| AmountCurrencyCode | String | The currency code of the disputed amount. | |
| OrderId | String | The globally unique identifier of the order associated with the dispute. | |
| ReasonDetailsReason | String | The reason for the dispute as provided by the cardholder's bank. | |
| ReasonDetailsNetworkReasonCode | String | The raw reason code returned by the payment network. |
Lists custom attributes attached to draft orders for internal or personalization data.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String |
DraftOrders.Id | The globally unique identifier of the draft order associated with the custom attribute. |
| Key [KEY] | String | The key or name that identifies the custom attribute. | |
| Value | String | The value assigned to the custom attribute. |
Retrieves event history for draft orders, such as creation or completion.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the draft order event. | |
| HostId | String |
DraftOrders.Id | The globally unique identifier of the host system that logged the event. |
| AppTitle | String | The name of the app that generated the event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Indicates whether the event is marked as critical. | |
| Action | String | The specific action that occurred in the event. | |
| Message | String | Human-readable text describing the event. | |
| BasicEventSubjectId | String | The identifier of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event includes additional content. | |
| BasicEventAdditionalContent | String | Supplementary content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Additional structured data provided for event consumers. | |
| BasicEventSecondaryMessage | String | Supporting human-readable text that complements the main event message. | |
| BasicEventArguments | String | Arguments or references tied to the event and its related resources. | |
| CommentEventAuthorId | String | The identifier of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited. | |
| CommentEventEdited | Bool | Indicates whether the comment event has been edited. | |
| CommentEventRawMessage | String | The unformatted body text of the comment event. | |
| CommentEventSubjectId | String | The identifier of the parent subject associated with the comment event. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject includes a timeline comment. | |
| CommentEventEmbedCustomerId | String | The identifier of the customer object referenced in the comment event. | |
| CommentEventEmbedDraftOrderId | String | The identifier of the draft order object referenced in the comment event. | |
| CommentEventEmbedOrderId | String | The identifier of the order object referenced in the comment event. | |
| CommentEventEmbedProductId | String | The identifier of the product object referenced in the comment event. | |
| CommentEventEmbedProductVariantId | String | The identifier of the product variant object referenced in the comment event. |
Lists custom attributes attached to draft order line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItemCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | The globally unique identifier of the draft order line item associated with the custom attribute. | |
| Key [KEY] | String | The key or name that identifies the custom attribute. | |
| Value | String | The value assigned to the custom attribute. |
Lists the line items included in a draft order with quantities and prices.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItems WHERE DraftOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the draft order line item. | |
| DraftOrderId | String |
DraftOrders.Id | The globally unique identifier of the draft order that contains this line item. |
| Name | String | The display name of the product in the line item. | |
| Title | String | The title of the product or variant. Applies only to custom line items. | |
| VariantTitle | String | The title of the product variant included in the draft order. | |
| Custom | Bool | Indicates whether the line item is a custom line item (true) or a product variant line item (false). | |
| Quantity | Int | The number of product variants requested in the draft order. | |
| Sku | String | The stock keeping unit (SKU) of the product variant. | |
| Taxable | Bool | Indicates whether the product variant is taxable. | |
| Vendor | String | The vendor associated with the product variant. | |
| RequiresShipping | Bool | Indicates whether the product variant requires physical shipping. | |
| IsGiftCard | Bool | Indicates whether the line item represents a gift card. | |
| AppliedDiscountTitle | String | The title of the order-level discount applied to this line item. | |
| AppliedDiscountDescription | String | The description of the order-level discount applied to this line item. | |
| AppliedDiscountValue | Double | The value of the order-level discount. If the value type is 'percentage', this field represents the discount percentage. | |
| AppliedDiscountValueType | String | The type of discount applied at the order level, such as percentage or fixed amount. | |
| AppliedDiscountAmountV2Amount | Decimal | The discount amount applied to the line item, expressed as a decimal money value. | |
| AppliedDiscountAmountV2CurrencyCode | String | The currency code of the discount amount applied to the line item. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | The total price of the line item after discounts, in the presentment currency, expressed as a decimal money value. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | The currency code of the discounted total in the presentment currency. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | The total price of the line item after discounts, in the shop currency, expressed as a decimal money value. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | The currency code of the discounted total in the shop currency. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The per-unit price of the line item after discounts, in the presentment currency, expressed as a decimal money value. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The currency code of the discounted per-unit price in the presentment currency. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The per-unit price of the line item after discounts, in the shop currency, expressed as a decimal money value. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The currency code of the discounted per-unit price in the shop currency. | |
| FulfillmentServiceId | String | The identifier of the fulfillment service responsible for fulfilling the line item. | |
| ImageId | String | The unique identifier of the product image associated with the line item. | |
| ImageWidth | Int | The original width of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageAltText | String | Alternative text describing the content or purpose of the product image. | |
| ImageHeight | Int | The original height of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | The URL of the product image. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | The original total price of the line item before discounts, in the presentment currency, expressed as a decimal money value. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | The currency code of the original total in the presentment currency. | |
| OriginalTotalSetShopMoneyAmount | Decimal | The original total price of the line item before discounts, in the shop currency, expressed as a decimal money value. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | The currency code of the original total in the shop currency. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | The original per-unit price of the line item before discounts, in the presentment currency, expressed as a decimal money value. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | The currency code of the original per-unit price in the presentment currency. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | The original per-unit price of the line item before discounts, in the shop currency, expressed as a decimal money value. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | The currency code of the original per-unit price in the shop currency. | |
| ProductId | String | The globally unique identifier of the product associated with the line item. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | The total discount applied to the line item, in the presentment currency, expressed as a decimal money value. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | The currency code of the total discount in the presentment currency. | |
| TotalDiscountSetShopMoneyAmount | Decimal | The total discount applied to the line item, in the shop currency, expressed as a decimal money value. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | The currency code of the total discount in the shop currency. | |
| VariantId | String | The globally unique identifier of the product variant included in the line item. | |
| WeightValue | Double | The numerical weight of the line item based on the unit system specified in WeightUnit. | |
| WeightUnit | String | The unit of measurement used for the weight value, such as grams or kilograms. |
Shows tax lines applied to individual draft order items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax applied to the draft order line item. | |
| ResourceId [KEY] | String | The globally unique identifier of the draft order line item associated with this tax line. | |
| Source | String | The system or source that applied the tax. | |
| Rate | Double | The portion of the line item price that the tax represents, expressed as a decimal value. | |
| ChannelLiable | Bool | Indicates whether the sales channel that submitted the tax line is responsible for remitting the tax. Returns null if liability is unknown. | |
| RatePercentage | Double | The portion of the line item price that the tax represents, expressed as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | The tax amount in the presentment currency, expressed as a decimal money value. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The currency code of the tax amount in the presentment currency. | |
| PriceSetShopMoneyAmount | Decimal | The tax amount in the shop currency, expressed as a decimal money value. | |
| PriceSetShopMoneyCurrencyCode | String | The currency code of the tax amount in the shop currency. |
Shows tax lines applied at the draft order level.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax applied to the line item. | |
| ResourceId [KEY] | String |
DraftOrders.Id | The globally unique identifier of the tax line resource. |
| Source | String | The origin or system that applied the tax. | |
| Rate | Double | The proportion of the line item price represented by the tax, expressed as a decimal. | |
| ChannelLiable | Bool | Indicates whether the sales channel that submitted the tax line is responsible for remitting it. A null value means liability is unknown. | |
| RatePercentage | Double | The proportion of the line item price represented by the tax, expressed as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | The tax amount in the presentment currency, expressed as a decimal. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The currency code of the tax amount in the presentment currency. | |
| PriceSetShopMoneyAmount | Decimal | The tax amount in the shop currency, expressed as a decimal. | |
| PriceSetShopMoneyCurrencyCode | String | The currency code of the tax amount in the shop currency. |
Lists shop-wide events for auditing and troubleshooting.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Events
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the event. | |
| AppTitle | String | The name of the app that generated the event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Indicates whether the event is flagged as critical. | |
| Action | String | The specific action that occurred in the event. | |
| Message | String | Human-readable text describing the event. | |
| BasicEventSubjectId | String | The identifier of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event includes additional content. | |
| BasicEventAdditionalContent | String | Supplementary content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Additional structured data provided for event consumers. | |
| BasicEventSecondaryMessage | String | Supporting human-readable text that complements the main event message. | |
| BasicEventArguments | String | Arguments or references tied to the event and its related resources. | |
| CommentEventAuthorId | String | The identifier of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited. | |
| CommentEventEdited | Bool | Indicates whether the comment event has been edited. | |
| CommentEventRawMessage | String | The unformatted body text of the comment event. | |
| CommentEventSubjectId | String | The identifier of the parent subject associated with the comment event. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject includes a timeline comment. | |
| CommentEventEmbedCustomerId | String | The identifier of the customer object referenced in the comment event. | |
| CommentEventEmbedDraftOrderId | String | The identifier of the draft order object referenced in the comment event. | |
| CommentEventEmbedOrderId | String | The identifier of the order object referenced in the comment event. | |
| CommentEventEmbedProductId | String | The identifier of the product object referenced in the comment event. | |
| CommentEventEmbedProductVariantId | String | The identifier of the product variant object referenced in the comment event. |
Lists order line items included in fulfillments for picking and packing.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentLineItems WHERE FulfillmentId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the fulfillment line item. | |
| FulfillmentId | String |
Fulfillments.Id | The globally unique identifier of the fulfillment record this line item belongs to. |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | The discounted total for the line item in the presentment currency. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | The currency code for the discounted total in presentment money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | The discounted total for the line item in the shop's currency. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | The currency code for the discounted total in shop money. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | The original total for the line item in the presentment currency before discounts. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | The currency code for the original total in presentment money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | The original total for the line item in the shop's currency before discounts. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | The currency code for the original total in shop money. | |
| Quantity | Int | The total quantity of items included in this fulfillment line item. | |
| LineItemId | String | The globally unique identifier of the related order line item. | |
| LineItemName | String | The product name, optionally combined with its variant title. | |
| LineItemTitle | String | The title of the product at the time of order creation. | |
| LineItemVariantTitle | String | The title of the variant at the time of order creation. | |
| LineItemVariantId | String | The globally unique identifier of the product variant. | |
| LineItemProductId | String | The globally unique identifier of the product. | |
| LineItemSellingPlanSellingPlanId | String | The identifier of the selling plan tied to the line item. | |
| LineItemQuantity | Int | The number of product variant units ordered for this line item. | |
| LineItemRestockable | Bool | Indicates whether this line item can be restocked. | |
| LineItemSku | String | The SKU (stock keeping unit) of the product variant. | |
| LineItemTaxable | Bool | Indicates whether this line item is taxable. | |
| LineItemVendor | String | The vendor or brand associated with the product variant. | |
| LineItemCurrentQuantity | Int | The current available quantity of the line item, excluding any removed units. | |
| LineItemMerchantEditable | Bool | Indicates whether the line item can be edited by the merchant. | |
| LineItemRefundableQuantity | Int | The number of units eligible for refund, excluding already removed or refunded units. | |
| LineItemRequiresShipping | Bool | Indicates whether the product variant requires physical shipping. | |
| LineItemUnfulfilledQuantity | Int | The quantity of units from this line item that have not yet been fulfilled. | |
| LineItemNonFulfillableQuantity | Int | The number of units that cannot be fulfilled, such as refunded items or non-fulfillable products like tips. | |
| LineItemIsGiftCard | Bool | Indicates whether this line item represents a gift card purchase. | |
| LineItemDiscountedTotalSetPresentmentMoneyAmount | Decimal | The discounted total for the line item in the presentment currency. | |
| LineItemDiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | The discounted total in presentment currency after applying discount codes. | |
| LineItemDiscountedTotalSetPresentmentMoneyCurrencyCode | String | The currency code for the discounted total in presentment money. | |
| LineItemDiscountedTotalSetShopMoneyAmount | Decimal | The discounted total for the line item in the shop's currency. | |
| LineItemDiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | The discounted total in shop currency after applying discount codes. | |
| LineItemDiscountedTotalSetShopMoneyCurrencyCode | String | The currency code for the discounted total in shop money. | |
| LineItemDiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The discounted unit price in the presentment currency. | |
| LineItemDiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The currency code for the discounted unit price in presentment money. | |
| LineItemDiscountedUnitPriceSetShopMoneyAmount | Decimal | The discounted unit price in the shop's currency. | |
| LineItemDiscountedUnitPriceSetShopMoneyCurrencyCode | String | The currency code for the discounted unit price in shop money. | |
| LineItemImageId | String | The unique identifier of the product image associated with this line item. | |
| LineItemImageWidth | Int | The width of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| LineItemImageAltText | String | Alternative text describing the content or purpose of the product image. | |
| LineItemImageHeight | Int | The height of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| LineItemImageUrl | String | The URL of the product image. | |
| LineItemOriginalTotalSetPresentmentMoneyAmount | Decimal | The original total before discounts in the presentment currency. | |
| LineItemOriginalTotalSetPresentmentMoneyCurrencyCode | String | The currency code for the original total in presentment money. | |
| LineItemOriginalTotalSetShopMoneyAmount | Decimal | The original total before discounts in the shop's currency. | |
| LineItemOriginalTotalSetShopMoneyCurrencyCode | String | The currency code for the original total in shop money. | |
| LineItemOriginalUnitPriceSetPresentmentMoneyAmount | Decimal | The original unit price before discounts in the presentment currency. | |
| LineItemOriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | The currency code for the original unit price in presentment money. | |
| LineItemOriginalUnitPriceSetShopMoneyAmount | Decimal | The original unit price before discounts in the shop's currency. | |
| LineItemOriginalUnitPriceSetShopMoneyCurrencyCode | String | The currency code for the original unit price in shop money. | |
| LineItemTotalDiscountSetPresentmentMoneyAmount | Decimal | The total discount applied to this line item in the presentment currency. | |
| LineItemTotalDiscountSetPresentmentMoneyCurrencyCode | String | The currency code for the total discount in presentment money. | |
| LineItemTotalDiscountSetShopMoneyAmount | Decimal | The total discount applied to this line item in the shop's currency. | |
| LineItemTotalDiscountSetShopMoneyCurrencyCode | String | The currency code for the total discount in shop money. | |
| LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | The discounted total for unfulfilled units in the presentment currency. | |
| LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | The currency code for the discounted unfulfilled total in presentment money. | |
| LineItemUnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | The discounted total for unfulfilled units in the shop's currency. | |
| LineItemUnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | The currency code for the discounted unfulfilled total in shop money. | |
| LineItemUnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | The original total for unfulfilled units in the presentment currency. | |
| LineItemUnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | The currency code for the original unfulfilled total in presentment money. | |
| LineItemUnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | The original total for unfulfilled units in the shop's currency. | |
| LineItemUnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | The currency code for the original unfulfilled total in shop money. |
Shows tax lines on fulfillment line items where applicable.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the applied tax. | |
| ResourceId [KEY] | String | The globally unique identifier of the tax line record. | |
| Source | String | The source system or origin of the tax calculation. | |
| Rate | Double | The tax rate expressed as a decimal (for example, 0.05 for 5%). | |
| ChannelLiable | Bool | Indicates whether the sales channel that submitted the tax line is responsible for remittance. A null value means the liability is unknown. | |
| RatePercentage | Double | The tax rate expressed as a percentage of the line item price. | |
| PriceSetPresentmentMoneyAmount | Decimal | The tax amount in the presentment currency. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The currency code for the tax amount in presentment money. | |
| PriceSetShopMoneyAmount | Decimal | The tax amount in the shop's currency. | |
| PriceSetShopMoneyCurrencyCode | String | The currency code for the tax amount in shop money. |
Lists the line items grouped under a fulfillment order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentOrderLineItems WHERE FulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the fulfillment order line item. | |
| FulfillmentOrderId | String | The globally unique identifier of the fulfillment order that this line item belongs to. | |
| FulfillmentOrderUpdatedAt | Datetime | The date and time when the fulfillment order was last updated. | |
| ImageId | String | The globally unique identifier of the image associated with the product or variant. | |
| ImageWidth | Int | The original width of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageAltText | String | Alternative text describing the content or purpose of the product image. | |
| ImageHeight | Int | The original height of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | The URL of the product image. | |
| InventoryItemId | String | The globally unique identifier of the inventory item tied to this line item. | |
| Sku | String | The stock keeping unit (SKU) of the product variant. | |
| ProductTitle | String | The title of the product linked to this line item. | |
| VariantId | String | The globally unique identifier of the product variant associated with this line item. | |
| VariantTitle | String | The title of the product variant. | |
| Vendor | String | The name of the vendor that supplied or manufactured the product variant. | |
| RemainingQuantity | Int | The number of units of this line item still pending fulfillment. | |
| TotalQuantity | Int | The total number of units of this line item required in the fulfillment order. | |
| RequiresShipping | Bool | Indicates whether the line item requires physical shipping. | |
| WeightUnit | String | The unit of measurement used for the line item's weight, such as grams or kilograms. | |
| WeightValue | Double | The numeric weight value of a single unit of the line item, measured in the specified unit. | |
| Warnings | String | Any warnings or issues associated with the fulfillment order line item. | |
| FinancialSummaries | String | A financial breakdown of costs associated with the fulfillment order line item. |
Lists fulfillment order line items available to move to a new location.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE FulfillmentOrderId = 'Val1'
SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE LocationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the fulfillment order line item. | |
| FulfillmentOrderId | String | The globally unique identifier of the fulfillment order this line item belongs to. | |
| ImageId | String | The globally unique idenifier of the image associated with the product or variant. | |
| ImageWidth | Int | The original width of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageAltText | String | Alternative text describing the content or purpose of the product image. | |
| ImageHeight | Int | The original height of the product image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | The URL of the product image. | |
| InventoryItemId | String | The globally unique identifier of the inventory item tied to this line item. | |
| Sku | String | The stock keeping unit (SKU) of the product variant. | |
| ProductTitle | String | The title of the product linked to this line item. | |
| VariantId | String | The globally unique identifier of the product variant associated with this line item. | |
| VariantTitle | String | The title of the product variant. | |
| Vendor | String | The name of the vendor that supplied or manufactured the product variant. | |
| RemainingQuantity | Int | The number of units of this line item still pending fulfillment. | |
| TotalQuantity | Int | The total number of units of this line item required in the fulfillment order. | |
| RequiresShipping | Bool | Indicates whether the line item requires physical shipping. | |
| WeightUnit | String | The unit of measurement used for the line item's weight, such as grams or kilograms. | |
| WeightValue | Double | The numeric weight value of a single unit of the line item, measured in the specified unit. | |
| Warnings | String | Any warnings or issues associated with the fulfillment order line item. | |
| FinancialSummaries | String | A financial breakdown of costs associated with the fulfillment order line item. | |
| LocationId [KEY] | String | The globally unique identifier of the location where this line item can be moved. |
Lists candidate locations to which a fulfillment order can be moved.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrderLocationsForMove WHERE FulfillmentOrderId = 'Val1'
SELECT * FROM FulfillmentOrderLocationsForMove WHERE LocationId = 'Val1'
| Name | Type | References | Description |
| FulfillmentOrderId [KEY] | String | The globally unique identifier of the fulfillment order being evaluated for relocation. | |
| LocationId [KEY] | String | The globally unique identifier of the target location. | |
| AvailableLineItemsCount | Int | The number of fulfillment order line items that can be reassigned from their current location to this location. | |
| AvailableLineItemsCountPrecision | String | The precision level of the available line items count. | |
| UnavailableLineItemsCount | Int | The number of fulfillment order line items that cannot be reassigned to this location. | |
| UnavailableLineItemsCountPrecision | String | The precision level of the unavailable line items count. | |
| Movable | Bool | Indicates whether the fulfillment order as a whole can be moved to this location. | |
| Message | String | A human-readable explanation of why the fulfillment order, or certain line items, cannot be moved to the location. |
Lists sets of quantity changes that occurred within inventory events.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND InventoryItemId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND LocationId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND Name = 'Val1'
| Name | Type | References | Description |
| InventoryAdjustmentGroupId [KEY] | String | The globally unique identifier of the inventory adjustment group associated with this change. | |
| InventoryItemId [KEY] | String | The globally unique identifier of the inventory item whose quantity was adjusted. | |
| LocationId [KEY] | String | The globally unique identifier of the location where the adjustment occurred. | |
| Name [KEY] | String | The name of the inventory quantity type that was changed (for example, available, committed). | |
| Delta | Int | The amount by which the inventory quantity changed. Positive values increase the quantity and negative values decrease it. | |
| QuantityAfterChange | Int | The total inventory quantity for the specified type after the adjustment. | |
| LedgerDocumentUri | String | A URI linking to the document or resource (such as an order or transfer) that caused the inventory change. |
Lists groups of adjustments applied during inventory operations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryAdjustmentGroups WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the inventory adjustment group. | |
| Reason | String | The reason provided for the set of inventory adjustments. | |
| ReferenceDocumentUri | String | A URI that indicates the origin of the inventory change. This might point to the entity that performed the adjustment or to a related Shopify resource. For example, if a unit reserved in a draft order is later converted into an order, the URI might reference the resulting order Id. | |
| CreatedAt | Datetime | The date and time when the inventory adjustment group was created. | |
| AppId | String | The globally unique identifier of the app responsible for the adjustment, if applicable. | |
| StaffMemberId | String | The globally unique identifier of the staff member who performed the adjustment. Available only with a Shopify Plus subscription. |
Lists country-specific Harmonized System (HS) codes assigned to inventory items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemCountryHarmonizedSystemCodes WHERE InventoryItemId = 'Val1'
| Name | Type | References | Description |
| InventoryItemId | String | The globally unique identifier of the inventory item. | |
| CountryCode | String | The ISO 3166-1 alpha-2 code for the country that issued the harmonized system code. | |
| HarmonizedSystemCode [KEY] | String | The country-specific harmonized system (HS) code used for international trade. These codes are typically longer than six digits. |
Lists on-hand, committed, and available quantities by location for an inventory item.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryItemInventoryLevelQuantities WHERE InventoryLevelId = 'Val1'
SELECT * FROM InventoryItemInventoryLevelQuantities WHERE Name = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The globally unique identifier of the inventory level quantity record. | |
| InventoryItemId | String | The globally unique identifier of the related inventory item. | |
| InventoryLevelId | String | The globally unique identifier of the inventory level associated with this quantity. | |
| InventoryLevelLocationId | String | The globally unique identifier of the location tied to the inventory level. | |
| Name | String | The label or name that identifies the specific type of inventory quantity (for example, available or reserved). | |
| Quantity | Int | The recorded quantity for the specified inventory type. | |
| UpdatedAt | Datetime | The date and time when the quantity was last updated. |
Lists scheduled future changes to inventory levels.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemInventoryLevelScheduledChanges WHERE InventoryLevelId = 'Val1'
| Name | Type | References | Description |
| InventoryItemId | String | The globally unique identifier of the inventory item associated with the scheduled change. | |
| InventoryLevelId | String | The globally unique identifier of the inventory level affected by the scheduled change. | |
| ExpectedAt | Datetime | The date and time when the scheduled change to inventory quantities is expected to take effect. | |
| FromName | String | The inventory quantity type or bucket from which the quantity is transitioned (for example, 'on_hand'). | |
| ToName | String | The inventory quantity type or bucket to which the quantity is transitioned (for example, 'available'). | |
| Quantity | Int | The amount of inventory involved in the scheduled change, measured from the 'fromName' state. | |
| LedgerDocumentUri | String | A freeform URI referencing the ledger document or entity that triggered the scheduled inventory change. |
Returns job status by Id for asynchronous operations and internal tasks.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Jobs WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique ID returned when an asynchronous mutation is run. | |
| Done | Bool | Indicates whether the job has finished running or is still in the queue. |
Lists countries with localized storefront experiences enabled.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM LocalizationCountries
| Name | Type | References | Description |
| IsoCode [KEY] | String | The ISO 3166 country code. | |
| Name | String | The full name of the country. | |
| UnitSystem | String | The measurement system used in the country, such as metric or imperial. | |
| CurrencyIsoCode | String | The ISO 4217 currency code used in the country. | |
| CurrencyName | String | The display name of the currency. | |
| CurrencySymbol | String | The symbol representing the currency. | |
| MarketId | String | A globally unique ID that identifies the associated market. | |
| MarketHandle | String | A human-readable unique identifier for the market, automatically generated from its title. | |
| AvailableLanguages | String | The languages available for storefronts in the country. |
Lists marketing events associated with the marketing application and their metrics.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM MarketingEvents WHERE Id = 'Val1'
SELECT * FROM MarketingEvents WHERE AppId = 'Val1'
SELECT * FROM MarketingEvents WHERE Type = 'Val1'
SELECT * FROM MarketingEvents WHERE StartedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the marketing event. | |
| RemoteId | String | An optional Id used by Shopify to validate engagement data. | |
| LegacyResourceId | String | The Id of the corresponding resource in the REST Admin API. | |
| AppId | String | A globally unique Id for the app that created the event. | |
| MarketingChannelType | String | The channel or medium through which the marketing activity reached consumers. Used for reporting aggregation. | |
| Description | String | A description of the marketing event, used to summarize the campaign or promotion. | |
| Type | String | The type of marketing event. | |
| EndedAt | Datetime | The date and time when the marketing event ended. | |
| ManageUrl | String | The URL where the marketing event can be managed. | |
| PreviewUrl | String | The URL where the marketing event can be previewed. | |
| StartedAt | Datetime | The date and time when the marketing event started. | |
| UtmCampaign | String | The UTM campaign name associated with the marketing event. | |
| UtmMedium | String | The UTM medium used in the campaign (for example, 'cpc', 'banner'). | |
| UtmSource | String | The UTM source or referrer of the campaign (for example, 'google', 'newsletter'). | |
| SourceAndMedium | String | A combined representation of where the marketing event occurred and the type of content used. Derived from 'marketingChannel', 'referringDomain', and 'type' to ensure consistency across apps. | |
| ScheduledToEndAt | Datetime | The date and time when the marketing event is scheduled to end. |
Lists constraint subtype values supported by a metafield definition.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM MetafieldDefinitionConstraintValues WHERE DefinitionId = 'Val1'
| Name | Type | References | Description |
| DefinitionId | String | A globally unique Id for the metafield definition. | |
| Key | String | The constraint key that specifies the category of resource subtypes the metafield definition supports. | |
| Value | String | The constraint value that defines the allowed subtype for the metafield definition. |
Lists standard metafield templates that provide ready-made definition presets.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetafieldDefinitionStandardTemplates
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the standard metafield definition. | |
| Namespace | String | The namespace owned by the definition after it has been activated. | |
| Key | String | The key owned by the definition after it has been activated. | |
| Name | String | The human-readable name of the standard metafield definition. | |
| Description | String | The description of the standard metafield definition. | |
| OwnerTypes | String | The list of resource types that the standard metafield definition can be applied to. | |
| Validations | String | The configured validations for the standard metafield definition. | |
| VisibleToStorefrontApi | Bool | Indicates whether metafields for the definition are visible by default through the Storefront API. | |
| TypeName | String | The name of the type for the metafield definition. | |
| TypeCategory | String | The category associated with the metafield definition type. | |
| TypeSupportedValidations | String | The supported validations for the metafield definition type. | |
| TypeSupportsDefinitionMigrations | Bool | Indicates whether metafields without a definition can be migrated to a definition of this type. |
Lists core metafield types and validations available for definitions.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetafieldDefinitionTypes
| Name | Type | References | Description |
| Name [KEY] | String | The name of the metafield definition type. | |
| Category | String | The category associated with the metafield definition type. | |
| SupportsDefinitionMigrations | Bool | Indicates whether metafields without a definition can be migrated to a definition of this type. | |
| SupportedValidations | String | The rules supported for this metafield type, such as minimum or maximum values, length limits, or format requirements. |
Lists definitions for metaobjects, which are structured, reusable content modeled via metafields.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetaobjectDefinitions
| Name | Type | References | Description |
| ID [KEY] | String | A globally unique Id for the metaobject definition. | |
| Name | String | The human-readable name of the metaobject definition. | |
| MetaobjectsCount | Int | The number of metaobjects created for this definition. | |
| Type | String | The type of the metaobject definition, which also defines the namespace of associated metafields. | |
| Description | String | The administrative description of the metaobject definition. | |
| DisplayNameKey | String | The field key used as the display name for each metaobject. | |
| AccessAdmin | String | Access configuration for Admin API surface areas, including the GraphQL Admin API. | |
| AccessStorefront | String | Access configuration for Storefront API surface areas, including the GraphQL Storefront API and Liquid. | |
| CapabilitiesPublishableEnabled | Bool | Indicates whether the metaobject definition is publishable. | |
| CapabilitiesTranslatableEnabled | Bool | Indicates whether the metaobject definition is translatable. | |
| CapabilitiesOnlineStoreEnabled | Bool | Indicates whether the metaobject definition can be displayed as a page in the Online Store. | |
| CapabilitiesOnlineStoreDataCanCreateRedirects | Bool | Indicates whether sufficient redirects are available to support all published entries for this metaobject type in the Online Store. | |
| CapabilitiesOnlineStoreDataUrlHandle | String | The URL handle for accessing Online Store pages of this metaobject type. | |
| CapabilitiesRenderableEnabled | Bool | Indicates whether the metaobject definition is renderable and exposes search engine optimization (SEO) data. | |
| CapabilitiesRenderableDataMetaDescriptionKey | String | The field key used as the SEO page description when the metaobject definition is renderable. | |
| CapabilitiesRenderableDataMetaTitleKey | String | The field key used as the SEO page title when the metaobject definition is renderable. |
Lists all metaobjects created for the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM MetaObjects WHERE Type = 'Val1'
| Name | Type | References | Description |
| ID [KEY] | String | A globally unique Id for the metaobject. | |
| Handle | String | The unique handle of the metaobject, useful as a custom Id. | |
| DisplayName | String | The preferred display name value of the metaobject. | |
| CreatedByDeveloperName | String | The name of the app developer that created the metaobject. | |
| DefinitionId | String | The Id of the MetaobjectDefinition that models this metaobject type. | |
| Title | String | The name of the app associated with the metaobject. | |
| Type | String | The definition type of the metaobject. | |
| Key [KEY] | String | The field key of the metaobject. | |
| Value | String | The assigned field value, always stored as a string regardless of the field type. | |
| TypeField | String | The data type of the field. | |
| UpdatedAt | Datetime | The date and time when the metaobject was last updated. | |
| CapabilitiesPublishableStatus | String | The publishable capability status of the metaobject. | |
| CapabilitiesOnlineStoreTemplateSuffix | String | The theme template applied when viewing the metaobject in the Online Store. | |
| ThumbnailFieldKey | String | The field key recommended to visually represent this metaobject(for example, a file reference or color field). | |
| ThumbnailFieldThumbnailHex | String | The hexadecimal color code recommended to visually represent this metaobject. | |
| ThumbnailFieldFileId | String | The file Id recommended to visually represent this metaobject. | |
| ThumbnailFieldFileAlt | String | The alt text describing the file used to visually represent this metaobject. | |
| ThumbnailFieldFileCreatedAt | Datetime | The date and time when the file used to represent this metaobject was created. | |
| ThumbnailFieldFileUpdatedAt | Datetime | The date and time when the file used to represent this metaobject was last updated. | |
| ThumbnailFieldFileFileStatus | String | The status of the file used to represent this metaobject. | |
| ThumbnailFieldFileFileErrors | String | Any errors that occurred on the file used to represent this metaobject. | |
| ThumbnailFieldFilePreviewStatus | String | The current status of the preview image for the file. | |
| ThumbnailFieldFilePreviewImageId | String | The Id of the preview image for the file. | |
| ThumbnailFieldFilePreviewImageAltText | String | The alt text describing the preview image for the file. | |
| ThumbnailFieldFilePreviewImageHeight | Int | The original height of the preview image in pixels. Returns null if the image isn't hosted by Shopify. | |
| ThumbnailFieldFilePreviewImageWidth | Int | The original width of the preview image in pixels. Returns null if the image isn't hosted by Shopify. | |
| ThumbnailFieldFilePreviewImageUrl | String | The URL of the preview image for the file. |
Lists additional fees applied to an order (for example, handling, or service).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAdditionalFees WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the additional fee. | |
| OrderId | String |
Orders.Id | A globally unique Id for the order associated with the fee. |
| Name | String | The name of the additional fee. | |
| PricePresentmentMoneyAmount | Decimal | The presentment currency amount of the fee as a decimal value. | |
| PricePresentmentMoneyCurrencyCode | String | The ISO currency code of the presentment money. | |
| PriceShopMoneyAmount | Decimal | The shop currency amount of the fee as a decimal value. | |
| PriceShopMoneyCurrencyCode | String | The ISO currency code of the shop money. |
Lists sales attributed to agreement-based additional fees.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | The Id of the additional fee associated with the sale. |
Lists sales attributed to agreement-based adjustments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. |
Lists sales attributed to agreement-based duties.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | The Id of the duty associated with the sale. |
Lists sales attributed to agreement-based gift card usage.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | The Id of the gift card line item associated with the sale. |
Lists sales attributed to agreement-based product charges.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | The Id of the product line item associated with the sale. |
Lists sales agreements associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| Id [KEY] | String | A globally unique Id for the agreement. | |
| HappenedAt | Datetime | The date and time when the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The Id of the staff member associated with the agreement. Available only with a Shopify Plus subscription. | |
| AppApiKey | String | The API key of the application that created the agreement. |
Lists sales attributed to agreement-based shipping lines.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | The Id of the shipping line item associated with the sale. Not available if the SaleActionType is a return. |
Lists sales attributed to agreement-based tips.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | The Id of the tip line item associated with the sale. |
Lists agreement-based sales that fall into an unknown category.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. |
Lists custom attributes attached to orders for internal or personalization data.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String |
Orders.Id | A globally unique Id for the resource. |
| Key [KEY] | String | The key or name of the attribute. | |
| Value | String | The value of the attribute. |
Lists discount applications that affected an order, excluding edits and refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderDiscountApplications WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId [KEY] | String |
Orders.Id | A globally unique Id for the order associated with the discount application. |
| AllocationMethod | String | The method by which the discount value is applied to its entitled items. | |
| Index [KEY] | Int | The ordered index that identifies the discount application and indicates its precedence for calculations. | |
| TargetSelection | String | How the discount amount is distributed across the discounted lines. | |
| TargetType | String | Indicates whether the discount is applied to line items or shipping lines. | |
| ValueAmount | Decimal | The discount amount as a decimal value. | |
| ValueCurrencyCode | String | The ISO currency code of the discount amount. | |
| ValuePercentage | Double | The discount percentage, represented as a number between -100 (free) and 0 (no discount). | |
| AutomaticDiscountApplicationTitle | String | The title of the automatic discount application. | |
| DiscountCodeApplicationCode | String | The discount code used at the time of application. | |
| ManualDiscountApplicationTitle | String | The title of the manual discount application. | |
| ManualDiscountApplicationDescription | String | The description of the manual discount application. | |
| ScriptDiscountApplicationTitle | String | The title of the script-based discount application. |
Lists agreement-based additional fee sales within order edits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | The Id of the additional fee associated with the sale. |
Lists agreement-based adjustment sales within order edits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. |
Lists agreement-based duty sales within order edits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | The Id of the duty associated with the sale. |
Lists agreement-based gift card sales within order edits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | The Id of the gift card line item associated with the sale. |
Lists agreement-based product sales within order edits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | The Id of the product line item associated with the sale. |
Lists sales agreements that apply to order edits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| Id [KEY] | String | A globally unique Id for the agreement. | |
| HappenedAt | Datetime | The date and time when the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The Id of the staff member associated with the agreement. Available only with a Shopify Plus subscription. | |
| AppApiKey | String | The API key of the application that created the agreement. |
Lists agreement-based shipping line sales within order edits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | The Id of the shipping line item associated with the sale. Not available if the SaleActionType is a return. |
Lists agreement-based tip sales within order edits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | The Id of the tip line item associated with the sale. |
Lists uncategorized agreement-based sales within order edits.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves event history for orders (creation, updates, fulfillment changes).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the event. | |
| HostId | String |
Orders.Id | A globally unique Id for the host associated with the event. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app. | |
| AttributeToUser | Bool | Indicates whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Indicates whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human-readable text that describes the event. | |
| BasicEventSubjectId | String | The Id of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event has additional content. | |
| BasicEventAdditionalContent | String | Additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human-readable text that supports the event message. | |
| BasicEventArguments | String | Arguments that reference the event and its resources. | |
| CommentEventAuthorId | String | The Id of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited. | |
| CommentEventEdited | Bool | Indicates whether the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The Id of the parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject has a timeline comment. | |
| CommentEventEmbedCustomerId | String | The Id of the customer referenced in the comment event. | |
| CommentEventEmbedDraftOrderId | String | The Id of the draft order referenced in the comment event. | |
| CommentEventEmbedOrderId | String | The Id of the order referenced in the comment event. | |
| CommentEventEmbedProductId | String | The Id of the product referenced in the comment event. | |
| CommentEventEmbedProductVariantId | String | The Id of the product variant referenced in the comment event. |
Lists custom attributes attached to order line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A globally unique Id for the resource. | |
| Key [KEY] | String | The key or name of the attribute. | |
| Value | String | The value of the attribute. |
Shows discount allocations applied to a line item, excluding edits and refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemDiscountAllocations WHERE OrderLineItemId = 'Val1'
| Name | Type | References | Description |
| OrderLineItemId [KEY] | String | The Id of the order line item associated with the discount allocation. | |
| DiscountApplicationIndex [KEY] | Decimal | The ordered index that identifies the discount application and indicates its precedence for calculations. | |
| AllocatedAmountSetPresentmentMoneyAmount | Decimal | The allocated discount amount, in presentment currency, as a decimal value. | |
| AllocatedAmountSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the allocated discount amount. | |
| AllocatedAmountSetShopMoneyAmount | Decimal | The allocated discount amount, in shop currency, as a decimal value. | |
| AllocatedAmountSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the allocated discount amount. |
Lists duties allocated to order line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemDuties WHERE LineItemId = 'Val1'
| Name | Type | References | Description |
| LineItemId | String | A globally unique Id for the order line item associated with the duty. | |
| Id [KEY] | String | A globally unique Id for the duty record. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the item's country of origin, used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system (HS) code of the item, used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | The duty amount, in presentment currency, as a decimal value. | |
| PricePresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the duty amount. | |
| PriceShopMoneyAmount | Decimal | The duty amount, in shop currency, as a decimal value. | |
| PriceShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the duty amount. |
Lists line items on orders, including variants, quantities, and pricing.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the order line item. | |
| ResourceId | String |
Orders.Id | A globally unique Id for the resource associated with the line item. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at the time of order creation. | |
| VariantTitle | String | The title of the variant at the time of order creation. | |
| VariantId | String | A globally unique Id for the variant associated with the line item. | |
| ProductId | String | A globally unique Id for the product associated with the line item. | |
| SellingPlanSellingPlanId | String | The Id of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Indicates whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Indicates whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The current quantity of the line item, excluding removed units. | |
| MerchantEditable | Bool | Indicates whether the line item can be edited. | |
| RefundableQuantity | Int | The quantity of the line item that can be refunded. | |
| RequiresShipping | Bool | Indicates whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The number of units that cannot be fulfilled. For example, refunded items or non-fulfillable items like tips. | |
| IsGiftCard | Bool | Indicates whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | The discounted total, in presentment currency, as a decimal value. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | The discounted total with code discounts applied, in presentment currency, as a decimal value. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the discounted total. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | The discounted total, in shop currency, as a decimal value. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | The discounted total with code discounts applied, in shop currency, as a decimal value. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discounted total. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The discounted unit price, in presentment currency, as a decimal value. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the discounted unit price. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The discounted unit price, in shop currency, as a decimal value. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discounted unit price. | |
| ImageId | String | A globally unique Id for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase that describes the contents or purpose of the image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | The URL location of the image. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | The original total, in presentment currency, as a decimal value. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the original total. | |
| OriginalTotalSetShopMoneyAmount | Decimal | The original total, in shop currency, as a decimal value. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the original total. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | The original unit price, in presentment currency, as a decimal value. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the original unit price. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | The original unit price, in shop currency, as a decimal value. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the original unit price. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | The total discount applied, in presentment currency, as a decimal value. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the total discount. | |
| TotalDiscountSetShopMoneyAmount | Decimal | The total discount applied, in shop currency, as a decimal value. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total discount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | The unfulfilled discounted total, in presentment currency, as a decimal value. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the unfulfilled discounted total. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | The unfulfilled discounted total, in shop currency, as a decimal value. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the unfulfilled discounted total. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | The unfulfilled original total, in presentment currency, as a decimal value. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the unfulfilled original total. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | The unfulfilled original total, in shop currency, as a decimal value. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the unfulfilled original total. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| FulfillmentService | String | The handle of the fulfillment service that stocks the product variant for the line item. | |
| OrderLineItemCustomAttributes | String | Custom information added to the cart for the line item, often used for product customization options. | |
| OrderLineItemTaxLines | String | A list of tax line objects applied to the line item. |
Shows tax lines calculated for an order line item.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally unique Id for the resource associated with the tax line. | |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that the tax represents, as a decimal value. | |
| ChannelLiable | Bool | Indicates whether the channel that submitted the tax line is liable for remitting it. A null value indicates that liability is unknown. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents, as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | The tax amount, in presentment currency, as a decimal value. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the tax amount. | |
| PriceSetShopMoneyAmount | Decimal | The tax amount, in shop currency, as a decimal value. | |
| PriceSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the tax amount. |
Lists duties on line items that cannot be fulfilled.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderNonFulfillableLineItemDuties WHERE LineItemId = 'Val1'
| Name | Type | References | Description |
| LineItemId | String | A globally unique Id for the non-fulfillable order line item associated with the duty. | |
| Id [KEY] | String | A globally unique Id for the duty record. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the item's country of origin, used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system (HS) code of the item, used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | The duty amount, in presentment currency, as a decimal value. | |
| PricePresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the duty amount. | |
| PriceShopMoneyAmount | Decimal | The duty amount, in shop currency, as a decimal value. | |
| PriceShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the duty amount. |
Lists order line items that are not fulfillable and related context.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderNonFulfillableLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the non-fulfillable order line item. | |
| ResourceId | String |
Orders.Id | A globally unique Id for the resource associated with the line item. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at the time of order creation. | |
| VariantTitle | String | The title of the variant at the time of order creation. | |
| VariantId | String | A globally unique Id for the variant associated with the line item. | |
| ProductId | String | A globally unique Id for the product associated with the line item. | |
| SellingPlanSellingPlanId | String | The Id of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Indicates whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Indicates whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The current quantity of the line item, excluding removed units. | |
| MerchantEditable | Bool | Indicates whether the line item can be edited. | |
| RefundableQuantity | Int | The quantity of the line item that can be refunded. | |
| RequiresShipping | Bool | Indicates whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The number of units that cannot be fulfilled. For example, refunded items or non-fulfillable items like tips. | |
| IsGiftCard | Bool | Indicates whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | The discounted total, in presentment currency, as a decimal value. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | The discounted total with code discounts applied, in presentment currency, as a decimal value. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the discounted total. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | The discounted total, in shop currency, as a decimal value. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | The discounted total with code discounts applied, in shop currency, as a decimal value. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discounted total. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The discounted unit price, in presentment currency, as a decimal value. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the discounted unit price. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The discounted unit price, in shop currency, as a decimal value. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discounted unit price. | |
| ImageId | String | A globally unique Id for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase that describes the contents or purpose of the image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns null if the image is not hosted by Shopify. | |
| ImageUrl | String | The URL location of the image. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | The original total, in presentment currency, as a decimal value. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the original total. | |
| OriginalTotalSetShopMoneyAmount | Decimal | The original total, in shop currency, as a decimal value. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the original total. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | The original unit price, in presentment currency, as a decimal value. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the original unit price. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | The original unit price, in shop currency, as a decimal value. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the original unit price. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | The total discount applied, in presentment currency, as a decimal value. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the total discount. | |
| TotalDiscountSetShopMoneyAmount | Decimal | The total discount applied, in shop currency, as a decimal value. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total discount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | The unfulfilled discounted total, in presentment currency, as a decimal value. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the unfulfilled discounted total. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | The unfulfilled discounted total, in shop currency, as a decimal value. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the unfulfilled discounted total. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | The unfulfilled original total, in presentment currency, as a decimal value. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | The ISO currency code for the presentment currency of the unfulfilled original total. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | The unfulfilled original total, in shop currency, as a decimal value. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the unfulfilled original total. |
Lists refund sales associated with agreement-based additional fees.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | The Id of the additional fee charge associated with the sale. |
Lists refund sales associated with agreement-based adjustments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. |
Lists refund sales associated with agreement-based duties.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the parent order associated with the agreement. |
| AgreementId | String | A globally unique Id for the agreement. | |
| Id [KEY] | String | A globally unique Id for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, in presentment currency, as a decimal value. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total sale amount. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, in shop currency, as a decimal value. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, in presentment currency, as a decimal value. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, in shop currency, as a decimal value. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied before taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discount amount applied before taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discount amount applied after taxes, in presentment currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO currency code for the presentment currency of the discount amount applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discount amount applied after taxes, in shop currency, as a decimal value. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO currency code for the shop currency of the discount amount applied after taxes. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | The Id of the duty charge associated with the sale. |
Lists refund sales associated with agreement-based gift card usage.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the order that the agreement belongs to. |
| AgreementId | String | The unique identifier of the refund agreement. | |
| Id [KEY] | String | The unique identifier of the gift card sale record. | |
| ActionType | String | The type of order action represented by the sale, such as refund or adjustment. | |
| LineType | String | The category of line item associated with the sale, such as product or service. | |
| Quantity | Int | The number of units sold or refunded in this sale. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The currency code of the total sale amount in the presentment currency. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The currency code of the total sale amount in the shop's currency. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The currency code of the total tax amount in the presentment currency. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, expressed as a decimal value in the shop's currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The currency code of the total tax amount in the shop's currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The currency code of the discounts applied before taxes in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The currency code of the discounts applied before taxes in the shop's currency. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The currency code of the discounts applied after taxes in the presentment currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The currency code of the discounts applied after taxes in the shop's currency. | |
| Taxes | String | The list of individual taxes applied to the sale. | |
| GiftCardSaleLineItemId | String | A sale associated with a gift card. The line item for the associated sale. A globally unique Id. |
Lists refund sales associated with agreement-based product charges.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the order that the agreement belongs to. |
| AgreementId | String | The unique identifier of the refund agreement. | |
| Id [KEY] | String | The unique identifier of the product sale record. | |
| ActionType | String | The type of order action represented by the sale, such as refund or adjustment. | |
| LineType | String | The category of line item associated with the sale, such as product or service. | |
| Quantity | Int | The number of units sold or refunded in this sale. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The currency code of the total sale amount in the presentment currency. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The currency code of the total sale amount in the shop's currency. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The currency code of the total tax amount in the presentment currency. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, expressed as a decimal value in the shop's currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The currency code of the total tax amount in the shop's currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The currency code of the discounts applied before taxes in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The currency code of the discounts applied before taxes in the shop's currency. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The currency code of the discounts applied after taxes in the presentment currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The currency code of the discounts applied after taxes in the shop's currency. | |
| Taxes | String | The list of individual taxes applied to the sale. | |
| ProductSaleLineItemId | String | A sale associated with a product. The line item for the associated sale. A globally unique Id. |
Lists sales agreements tied to refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the order that the agreement belongs to. |
| Id [KEY] | String | The unique identifier of the refund agreement. | |
| HappenedAt | Datetime | The date and time when the agreement was created. | |
| Reason | String | The reason why the refund agreement was issued. | |
| UserId | String | The staff member associated with the agreement. A globally unique Id. (Available only with a Shopify Plus subscription.) | |
| AppApiKey | String | The application that created the agreement, identified by its unique API key. | |
| RefundId | String |
Refunds.Id | The refund record linked to the agreement. |
Lists refund sales associated with agreement-based shipping lines.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the order that the agreement belongs to. |
| AgreementId | String | The unique identifier of the refund agreement. | |
| Id [KEY] | String | The unique identifier of the shipping line sale record. | |
| ActionType | String | The type of order action represented by the sale, such as refund or adjustment. | |
| LineType | String | The category of line item associated with the sale, such as shipping or handling. | |
| Quantity | Int | The number of units sold or refunded in this sale. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The currency code of the total sale amount in the presentment currency. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The currency code of the total sale amount in the shop's currency. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The currency code of the total tax amount in the presentment currency. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, expressed as a decimal value in the shop's currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The currency code of the total tax amount in the shop's currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The currency code of the discounts applied before taxes in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The currency code of the discounts applied before taxes in the shop's currency. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The currency code of the discounts applied after taxes in the presentment currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The currency code of the discounts applied after taxes in the shop's currency. | |
| Taxes | String | The list of individual taxes applied to the sale. | |
| ShippingLineSaleShippingLineId | String | A sale associated with a shipping charge. Represents the shipping line item for the sale. Not available if the SaleActionType is a return. A globally unique Id. |
Lists refund sales associated with agreement-based tips.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the order that the agreement belongs to. |
| AgreementId | String | The unique identifier of the refund agreement. | |
| Id [KEY] | String | The unique identifier of the tip sale record. | |
| ActionType | String | The type of order action represented by the sale, such as refund or adjustment. | |
| LineType | String | The category of line item associated with the sale, such as tip or service charge. | |
| Quantity | Int | The number of units sold or refunded in this sale. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The currency code of the total sale amount in the presentment currency. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The currency code of the total sale amount in the shop's currency. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The currency code of the total tax amount in the presentment currency. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, expressed as a decimal value in the shop's currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The currency code of the total tax amount in the shop's currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The currency code of the discounts applied before taxes in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The currency code of the discounts applied before taxes in the shop's currency. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The currency code of the discounts applied after taxes in the presentment currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The currency code of the discounts applied after taxes in the shop's currency. | |
| Taxes | String | The list of individual taxes applied to the sale. | |
| TipSaleLineItemId | String | A sale associated with a tip. Represents the line item for the sale. A globally unique Id. |
Lists uncategorized agreement-based refund sales.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The Id of the order that the agreement belongs to. |
| AgreementId | String | The unique identifier of the refund agreement. | |
| Id [KEY] | String | The unique identifier of the unknown sale record. | |
| ActionType | String | The type of order action represented by the sale, such as refund or adjustment. | |
| LineType | String | The category of line item associated with the sale when the type cannot be classified. | |
| Quantity | Int | The number of units sold or refunded in this sale. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The currency code of the total sale amount in the presentment currency. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The currency code of the total sale amount in the shop's currency. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total tax amount for the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The currency code of the total tax amount in the presentment currency. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total tax amount for the sale, expressed as a decimal value in the shop's currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The currency code of the total tax amount in the shop's currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The currency code of the discounts applied before taxes in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The currency code of the discounts applied before taxes in the shop's currency. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The currency code of the discounts applied after taxes in the presentment currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The currency code of the discounts applied after taxes in the shop's currency. | |
| Taxes | String | The list of individual taxes applied to the sale. |
Lists shipping lines attached to orders, including rates and titles.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderShippingLines WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id. | |
| CarrierIdentifier | String | A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| Title | String | The title of the shipping line. | |
| Code | String | A reference to the shipping method. | |
| Custom | Bool | Whether the shipping line is custom. | |
| DeliveryCategory | String | The general classification of the delivery method. | |
| IsRemoved | Bool | Whether the shipping line has been removed. | |
| Phone | String | The phone number at the shipping address. | |
| ShippingRateHandle | String | A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users. | |
| Source | String | The rate source for the shipping line. | |
| CurrentDiscountedPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| CurrentDiscountedPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| CurrentDiscountedPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| CurrentDiscountedPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedPriceAmount | Decimal | Decimal money amount. | |
| DiscountedPriceCurrencyCode | String | Currency of the money. | |
| DiscountedPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalPriceAmount | Decimal | Decimal money amount. | |
| OriginalPriceCurrencyCode | String | Currency of the money. | |
| OriginalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| RequestedFulfillmentServiceId | String | The Id of the fulfillment service. | |
| OrderId | String |
Orders.Id | A globally unique Id. |
| TaxLines | String | A list of tax line objects, each of which details a tax applicable to this shipping line. |
Shows taxes calculated for an order at the order level.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String |
Orders.Id | A globally unique Id. |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that this tax represents, expressed as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remittance. A value of null indicates unknown liability. | |
| RatePercentage | Double | The proportion of the line item price that this tax represents, expressed as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | The tax amount in the presentment currency, expressed as a decimal. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The currency code of the tax amount in the presentment currency. | |
| PriceSetShopMoneyAmount | Decimal | The tax amount in the shop's currency, expressed as a decimal. | |
| PriceSetShopMoneyCurrencyCode | String | The currency code of the tax amount in the shop's currency. |
Retrieves event history for pages (creation, publishing, edits).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PageEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id. | |
| HostId | String |
Pages.Id | A globally unique Id. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app. | |
| AttributeToUser | Bool | Indicates whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Indicates whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human-readable text that describes the event. | |
| BasicEventSubjectId | String | The Id of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event has additional content. | |
| BasicEventAdditionalContent | String | Additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human-readable text that supports the main event message. | |
| BasicEventArguments | String | References the event and its associated resources. | |
| CommentEventAuthorId | String | The Id of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited. | |
| CommentEventEdited | Bool | Indicates whether the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body text of the comment event. | |
| CommentEventSubjectId | String | The Id of the parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject has a timeline comment. | |
| CommentEventEmbedCustomerId | String | The object reference to the associated customer for the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference to the associated draft order for the comment event. | |
| CommentEventEmbedOrderId | String | The object reference to the associated order for the comment event. | |
| CommentEventEmbedProductId | String | The object reference to the associated product for the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference to the associated product variant for the comment event. |
Lists prices attached to a specific price list by currency and adjustment rules.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PriceListPrices WHERE PriceListId = 'Val1'
| Name | Type | References | Description |
| PriceListId [KEY] | String |
PriceLists.Id | The unique Id of the price list. |
| ProductVariantId [KEY] | String | The unique Id of the product variant associated with this price. | |
| OriginType | String | The origin of the price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration). | |
| PriceAmount | Decimal | The price of the product variant on this price list, expressed as a decimal money amount. | |
| PriceCurrencyCode | String | The currency code of the product variant price on this price list. | |
| CompareAtPriceAmount | Decimal | The compare-at price of the product variant on this price list, expressed as a decimal money amount. | |
| CompareAtPriceCurrencyCode | String | The currency code of the compare-at price on this price list. |
Lists mappings between component options and selected parent bundle options.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductBundleComponentOptionSelections WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String | A globally unique Id of the product. | |
| ComponentProductId [KEY] | String | A globally unique Id of the component product. | |
| ParentOptionId | String | A globally unique Id of the parent product option. | |
| ParentOptionName | String | The name of the parent product option. | |
| ComponentOptionId [KEY] | String | A globally unique Id of the component product option. | |
| ComponentOptionName | String | The name of the component product option. | |
| Values | String | The component option values that are actively selected for this relationship. |
Lists component products that make up a bundle and their constraints.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductBundleComponents WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String | A globally unique Id of the product. | |
| ComponentProductId [KEY] | String | A globally unique Id of the component product. | |
| ComponentVariantsCount | Int | The total number of component variants in the bundle. | |
| ComponentVariantsCountPrecision | String | The precision of the component variant count, indicating the exactness of the value. | |
| OptionSelections | String | The parent and component options they are connected to, along with the chosen option values that appear in the bundle. | |
| Quantity | Int | The quantity of the component product set for this bundle line. Contains null if a quantity option is present. | |
| QuantityOptionName | String | The name of the quantity option. | |
| QuantityOptionValues | String | The values of the quantity option. | |
| QuantityOptionParentOptionId | String | A globally unique Id of the parent option for the quantity setting. |
Retrieves event history for products (creation, publication, updates).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id. | |
| HostId | String |
Products.Id | A globally unique Id. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app. | |
| AttributeToUser | Bool | Indicates whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Indicates whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human-readable text that describes the event. | |
| BasicEventSubjectId | String | The Id of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event has additional content. | |
| BasicEventAdditionalContent | String | Additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human-readable text that supports the main event message. | |
| BasicEventArguments | String | References the event and its associated resources. | |
| CommentEventAuthorId | String | The Id of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited. | |
| CommentEventEdited | Bool | Indicates whether the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body text of the comment event. | |
| CommentEventSubjectId | String | The Id of the parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject has a timeline comment. | |
| CommentEventEmbedCustomerId | String | The object reference to the associated customer for the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference to the associated draft order for the comment event. | |
| CommentEventEmbedOrderId | String | The object reference to the associated order for the comment event. | |
| CommentEventEmbedProductId | String | The object reference to the associated product for the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference to the associated product variant for the comment event. |
Inspects details of asynchronous operations performed on products.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOperations WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The unique Id of the product operation. | |
| ProductId | String | A globally unique Id of the associated product. | |
| Status | String | The status of the product operation. |
Retrieves event history for product variants.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductVariantEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id. | |
| HostId | String | A globally unique Id. | |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Indicates whether the event was created by an app. | |
| AttributeToUser | Bool | Indicates whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Indicates whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human-readable text that describes the event. | |
| BasicEventSubjectId | String | The Id of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event has additional content. | |
| BasicEventAdditionalContent | String | Additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human-readable text that supports the main event message. | |
| BasicEventArguments | String | References the event and its associated resources. | |
| CommentEventAuthorId | String | The Id of the staff member who authored the comment event. | |
| CommentEventCanDelete | Bool | Indicates whether the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Indicates whether the comment event can be edited. | |
| CommentEventEdited | Bool | Indicates whether the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body text of the comment event. | |
| CommentEventSubjectId | String | The Id of the parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline subject has a timeline comment. | |
| CommentEventEmbedCustomerId | String | The object reference to the associated customer for the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference to the associated draft order for the comment event. | |
| CommentEventEmbedOrderId | String | The object reference to the associated order for the comment event. | |
| CommentEventEmbedProductId | String | The object reference to the associated product for the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference to the associated product variant for the comment event. |
Lists collections published to a specific publication (channel).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PublicationCollections WHERE PublicationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id of the publication collection. | |
| LegacyResourceId | String | The Id of the corresponding resource in the REST Admin API. | |
| PublicationId [KEY] | String |
Publications.Id | A globally unique Id of the associated publication. |
Lists products published to a specific publication (channel).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PublicationProducts WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String |
Products.Id | A globally unique Id of the product. |
| PublishDate | Datetime | The date and time when the resource publication is published to the publication. | |
| IsPublished | Bool | Indicates whether the resource publication is currently published. | |
| PublicationId [KEY] | String | A globally unique Id of the associated publication. | |
| PublicationName | String | The name of the publication. |
Lists duties refunded as part of a refund.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundDuties WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| OriginalDutyId [KEY] | String | A globally unique Id of the original duty. | |
| RefundId [KEY] | String |
Refunds.Id | A globally unique Id of the associated refund. |
| OriginalDutyHarmonizedSystemCode | String | The harmonized system code of the item used to calculate the duty. | |
| OriginalDutyCountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the item's country of origin used to calculate the duty. | |
| AmountSetPresentmentMoneyAmount | Decimal | The duty refund amount in the presentment currency, expressed as a decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | The currency code of the duty refund amount in the presentment currency. | |
| AmountSetShopMoneyAmount | Decimal | The duty refund amount in the shop's currency, expressed as a decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | The currency code of the duty refund amount in the shop's currency. |
Lists duties attached to refunded line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundLineItemDuties WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| RefundId | String | A globally unique Id of the associated refund. | |
| LineItemId | String | A globally unique Id of the line item. | |
| Id [KEY] | String | A globally unique Id of the refund duty. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the item's country of origin used to calculate the duty. | |
| HarmonizedSystemCode | String | The harmonized system code of the item used to calculate the duty. | |
| PricePresentmentMoneyAmount | Decimal | The duty refund amount in the presentment currency, expressed as a decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | The currency code of the duty refund amount in the presentment currency. | |
| PriceShopMoneyAmount | Decimal | The duty refund amount in the shop's currency, expressed as a decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | The currency code of the duty refund amount in the shop's currency. |
Lists refund line item records that specify quantities and amounts refunded.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundLineItems WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id of the refund line item. | |
| LineItemId | String | A globally unique Id of the associated line item. | |
| RefundId | String |
Refunds.Id | A globally unique Id of the associated refund. |
| LineItemName | String | The title of the product, optionally appended with the variant title if applicable. | |
| LineItemTitle | String | The title of the product at the time of order creation. | |
| LineItemVariantTitle | String | The title of the variant at the time of order creation. | |
| LineItemQuantity | Int | The number of variant units ordered. | |
| LineItemRestockable | Bool | Indicates whether the line item can be restocked. | |
| LineItemSku | String | The SKU number of the variant. | |
| LineItemTaxable | Bool | Indicates whether the variant is taxable. | |
| LineItemVendor | String | The name of the vendor who supplied the variant. | |
| LineItemCurrentQuantity | Int | The line item's quantity, minus any removed quantity. | |
| LineItemMerchantEditable | Bool | Indicates whether the line item can be edited. | |
| LineItemRefundableQuantity | Int | The line item's refundable quantity, calculated as quantity minus removed quantity. | |
| LineItemNonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, refunded items or non-fulfillable items such as tips. | |
| LineItemRequiresShipping | Bool | Indicates whether the variant requires physical shipping. | |
| LineItemUnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| LineItemImageId | String | A globally unique Id of the associated image. | |
| LineItemImageWidth | Int | The original width of the image in pixels. Contains null if the image isn't hosted by Shopify. | |
| LineItemImageAltText | String | Alternative text that describes the image. | |
| LineItemImageHeight | Int | The original height of the image in pixels. Contains null if the image isn't hosted by Shopify. | |
| LineItemImageUrl | String | The URL location of the image. | |
| LineItemProductId | String | A globally unique Id of the associated product. | |
| LineItemVariantId | String | A globally unique Id of the associated variant. | |
| LineItemSellingPlanSellingPlanId | String | The Id of the selling plan associated with the line item. | |
| LineItemStaffMemberId | String | A globally unique Id of the staff member associated with the line item. (Available only with a ShopifyPlus subscription) | |
| Quantity | Int | The quantity of the refunded line item. | |
| Restocked | Bool | Indicates whether the refunded line item was restocked. Not applicable for SuggestedRefunds. | |
| RestockType | String | The type of restock applied to the refunded line item. | |
| LocationId | String | A globally unique Id of the location associated with the refund. | |
| PriceSetPresentmentMoneyAmount | Decimal | The refund price in the presentment currency, expressed as a decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | The currency code of the refund price in the presentment currency. | |
| PriceSetShopMoneyAmount | Decimal | The refund price in the shop's currency, expressed as a decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | The currency code of the refund price in the shop's currency. | |
| SubtotalSetPresentmentMoneyAmount | Decimal | The subtotal in the presentment currency, expressed as a decimal money amount. | |
| SubtotalSetPresentmentMoneyCurrencyCode | String | The currency code of the subtotal in the presentment currency. | |
| SubtotalSetShopMoneyAmount | Decimal | The subtotal in the shop's currency, expressed as a decimal money amount. | |
| SubtotalSetShopMoneyCurrencyCode | String | The currency code of the subtotal in the shop's currency. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | The total tax amount in the presentment currency, expressed as a decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | The currency code of the total tax in the presentment currency. | |
| TotalTaxSetShopMoneyAmount | Decimal | The total tax amount in the shop's currency, expressed as a decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | The currency code of the total tax in the shop's currency. | |
| LineItemContractId | String | A globally unique Id of the associated contract. |
Lists order-level adjustments included on a refund.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundOrderAdjustments WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id of the refund order adjustment. | |
| RefundId | String | A globally unique Id of the associated refund. | |
| Reason | String | An optional reason that explains a discrepancy between the calculated and actual refund amounts. | |
| AmountSetPresentmentMoneyAmount | Decimal | The refund adjustment amount in the presentment currency, expressed as a decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | The currency code of the refund adjustment amount in the presentment currency. | |
| AmountSetShopMoneyAmount | Decimal | The refund adjustment amount in the shop's currency, expressed as a decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | The currency code of the refund adjustment amount in the shop's currency. | |
| TaxAmountSetPresentmentMoneyAmount | Decimal | The tax adjustment amount in the presentment currency, expressed as a decimal money amount. | |
| TaxAmountSetPresentmentMoneyCurrencyCode | String | The currency code of the tax adjustment amount in the presentment currency. | |
| TaxAmountSetShopMoneyAmount | Decimal | The tax adjustment amount in the shop's currency, expressed as a decimal money amount. | |
| TaxAmountSetShopMoneyCurrencyCode | String | The currency code of the tax adjustment amount in the shop's currency. |
Lists shipping lines included in a refund.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundShippingLines WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id of the refund shipping line. | |
| RefundId | String |
Refunds.Id | A globally unique Id of the associated refund. |
| SubtotalAmountSetPresentmentMoneyAmount | Decimal | The subtotal amount in the presentment currency, expressed as a decimal money amount. | |
| SubtotalAmountSetPresentmentMoneyCurrencyCode | String | The currency code of the subtotal amount in the presentment currency. | |
| SubtotalAmountSetShopMoneyAmount | Decimal | The subtotal amount in the shop's currency, expressed as a decimal money amount. | |
| SubtotalAmountSetShopMoneyCurrencyCode | String | The currency code of the subtotal amount in the shop's currency. | |
| TaxAmountSetPresentmentMoneyAmount | Decimal | The tax amount in the presentment currency, expressed as a decimal money amount. | |
| TaxAmountSetPresentmentMoneyCurrencyCode | String | The currency code of the tax amount in the presentment currency. | |
| TaxAmountSetShopMoneyAmount | Decimal | The tax amount in the shop's currency, expressed as a decimal money amount. | |
| TaxAmountSetShopMoneyCurrencyCode | String | The currency code of the tax amount in the shop's currency. | |
| ShippingLineId | String | A globally unique Id of the associated shipping line. | |
| ShippingLineCarrierIdentifier | String | A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| ShippingLineTitle | String | The title of the shipping line. | |
| ShippingLineCode | String | A reference to the shipping method of the line. | |
| ShippingLineCustom | Bool | Indicates whether the shipping line is custom. | |
| ShippingLineDeliveryCategory | String | The general classification of the delivery method. | |
| ShippingLineIsRemoved | Bool | Indicates whether the shipping line has been removed. | |
| ShippingLinePhone | String | The phone number at the shipping address. | |
| ShippingLineShippingRateHandle | String | A unique identifier for the shipping rate. The format can change without notice and isn't intended to be shown to users. | |
| ShippingLineSource | String | The rate source for the shipping line. | |
| ShippingLineCurrentDiscountedPriceSetPresentmentMoneyAmount | Decimal | The current discounted price in the presentment currency, expressed as a decimal money amount. | |
| ShippingLineCurrentDiscountedPriceSetPresentmentMoneyCurrencyCode | String | The currency code of the current discounted price in the presentment currency. | |
| ShippingLineCurrentDiscountedPriceSetShopMoneyAmount | Decimal | The current discounted price in the shop's currency, expressed as a decimal money amount. | |
| ShippingLineCurrentDiscountedPriceSetShopMoneyCurrencyCode | String | The currency code of the current discounted price in the shop's currency. | |
| ShippingLineDiscountedPriceAmount | Decimal | The discounted price, expressed as a decimal money amount. | |
| ShippingLineDiscountedPriceCurrencyCode | String | The currency code of the discounted price. | |
| ShippingLineDiscountedPriceSetPresentmentMoneyAmount | Decimal | The discounted price in the presentment currency, expressed as a decimal money amount. | |
| ShippingLineDiscountedPriceSetPresentmentMoneyCurrencyCode | String | The currency code of the discounted price in the presentment currency. | |
| ShippingLineDiscountedPriceSetShopMoneyAmount | Decimal | The discounted price in the shop's currency, expressed as a decimal money amount. | |
| ShippingLineDiscountedPriceSetShopMoneyCurrencyCode | String | The currency code of the discounted price in the shop's currency. | |
| ShippingLineOriginalPriceAmount | Decimal | The original price, expressed as a decimal money amount. | |
| ShippingLineOriginalPriceCurrencyCode | String | The currency code of the original price. | |
| ShippingLineOriginalPriceSetPresentmentMoneyAmount | Decimal | The original price in the presentment currency, expressed as a decimal money amount. | |
| ShippingLineOriginalPriceSetPresentmentMoneyCurrencyCode | String | The currency code of the original price in the presentment currency. | |
| ShippingLineOriginalPriceSetShopMoneyAmount | Decimal | The original price in the shop's currency, expressed as a decimal money amount. | |
| ShippingLineOriginalPriceSetShopMoneyCurrencyCode | String | The currency code of the original price in the shop's currency. | |
| ShippingLineRequestedFulfillmentServiceId | String | The Id of the fulfillment service requested for the shipping line. |
Lists transaction fees applied to the original order transaction (Shopify Payments only).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundTransactionFees WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the refund transaction fee record. | |
| TransactionId | String | A globally unique identifier for the related transaction. | |
| RefundId | String |
Refunds.Id | A globally unique identifier for the associated refund. |
| RateName | String | The name of the credit card rate applied to the transaction. | |
| FlatFeeName | String | The name of the credit card flat fee applied to the transaction. | |
| Rate | Decimal | The percentage fee rate charged for the transaction. | |
| Type | String | The category or type of fee applied (for example, rate-based or flat). | |
| AmountAmount | Decimal | The total fee amount, expressed as a decimal value. | |
| AmountCurrencyCode | String | The currency of the total fee amount. | |
| FlatFeeAmount | Decimal | The flat fee amount, expressed as a decimal value. | |
| FlatFeeCurrencyCode | String | The currency of the flat fee amount. | |
| TaxAmountAmount | Decimal | The tax amount applied to the fee, expressed as a decimal value. | |
| TaxAmountCurrencyCode | String | The currency of the tax amount applied to the fee. |
Lists payment transactions generated as part of a refund.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundTransactions WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the refund transaction record. | |
| ResourceId [KEY] | String |
Refunds.Id | A globally unique identifier for the related resource. |
| PaymentId | String | The unique identifier of the payment associated with the transaction. | |
| ParentTransactionId | String | The identifier of the parent transaction, such as the authorization for a capture. | |
| AccountNumber | String | The masked account number linked to the payment method. | |
| Gateway | String | The payment gateway used to process the transaction. | |
| Kind | String | The type of transaction (for example, authorization, capture, or refund). | |
| Status | String | The current status of the transaction. | |
| Test | Bool | Indicates whether the transaction was processed in test mode. | |
| AuthorizationCode | String | The authorization code returned for the transaction. | |
| ErrorCode | String | A standardized error code, independent of the payment provider. | |
| FormattedGateway | String | The human-readable name of the payment gateway. | |
| ManuallyCapturable | Bool | Indicates whether the transaction can be manually captured. | |
| MultiCapturable | Bool | Indicates whether the transaction supports multiple captures. | |
| ProcessedAt | Datetime | The date and time when the transaction was processed. | |
| ReceiptJson | String | A JSON receipt from the payment gateway. The format varies depending on the gateway. | |
| SettlementCurrency | String | The currency in which the transaction is settled. | |
| AuthorizationExpiresAt | Datetime | The expiration time of the authorization. Available only for Shopify Plus stores using Shopify Payments. | |
| SettlementCurrencyRate | Decimal | The conversion rate used to settle the transaction amount in the settlement currency. | |
| CreatedAt | Datetime | The date and time when the transaction was created. | |
| CardPaymentDetailsName | String | The name of the credit card holder. | |
| CardPaymentDetailsBin | String | The issuer identification number (IIN/BIN), the first digits of the card number identifying the issuing bank. | |
| CardPaymentDetailsCompany | String | The company that issued the customer's credit card. | |
| CardPaymentDetailsNumber | String | The customer's credit card number with most digits redacted. | |
| CardPaymentDetailsWallet | String | The digital wallet used for the payment, if applicable. | |
| CardPaymentDetailsExpirationMonth | Int | The month when the credit card expires. | |
| CardPaymentDetailsExpirationYear | Int | The year when the credit card expires. | |
| CardPaymentDetailsAvsResultCode | String | The address verification system (AVS) response code (single letter). | |
| CardPaymentDetailsCvvResultCode | String | The CVV response code from the card issuer (single letter or blank if unavailable). | |
| PaymentIconId | String | The unique identifier for the associated payment icon image. | |
| PaymentIconWidth | Int | The original width of the payment icon image in pixels, or null if not hosted by Shopify. | |
| PaymentIconAltText | String | Alternative text describing the payment icon image. | |
| PaymentIconHeight | Int | The original height of the payment icon image in pixels, or null if not hosted by Shopify. | |
| AmountSetPresentmentMoneyAmount | Decimal | The transaction amount in the presentment currency. | |
| AmountSetPresentmentMoneyCurrencyCode | String | The presentment currency code. | |
| AmountSetShopMoneyAmount | Decimal | The transaction amount in the shop currency. | |
| AmountSetShopMoneyCurrencyCode | String | The shop currency code. | |
| MaximumRefundableV2Amount | Decimal | The maximum refundable amount for this transaction. | |
| MaximumRefundableV2CurrencyCode | String | The currency code for the maximum refundable amount. | |
| ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt | Datetime | The time when the extended authorization expires. After expiry, the payment can no longer be captured. | |
| ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt | Datetime | The time after which capturing the payment incurs an additional fee. | |
| ShopifyPaymentsSetRefundSetAcquirerReferenceNumber | String | The acquirer reference number (ARN) generated for Visa/Mastercard transactions. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | The unsettled transaction amount in the presentment currency. | |
| TotalUnsettledSetPresentmentMoneyCurrencyCode | String | The presentment currency code for the unsettled amount. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | The unsettled transaction amount in the shop currency. | |
| TotalUnsettledSetShopMoneyCurrencyCode | String | The shop currency code for the unsettled amount. |
Lists line items created for exchanges within a return.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnExchangeLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the return or exchange line item. | |
| ResourceId | String |
Returns.Id | A globally unique Id for the related resource. |
| Name | String | The product title, optionally appended with the variant title if applicable. | |
| Title | String | The product title at the time the order was created. | |
| VariantTitle | String | The variant title at the time the order was created. | |
| VariantId | String | A globally unique Id for the product variant. | |
| ProductId | String | A globally unique Id for the product. | |
| SellingPlanSellingPlanId | String | The Id of the selling plan linked to the line item. | |
| Quantity | Int | The number of units of the variant ordered. | |
| Restockable | Bool | Whether the line item can be restocked. | |
| Sku | String | The stock keeping unit (SKU) of the variant. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor that supplied the variant. | |
| CurrentQuantity | Int | The current quantity of the line item, after subtracting any removed units. | |
| MerchantEditable | Bool | Whether the line item can be edited by the merchant. | |
| RefundableQuantity | Int | The quantity of the line item that can be refunded. | |
| RequiresShipping | Bool | Whether the variant requires physical shipping. | |
| UnfulfilledQuantity | Int | The number of units that have not yet been fulfilled. | |
| NonFulfillableQuantity | Int | The number of units that cannot be fulfilled. For example, refunded items or non-physical items like tips. | |
| IsGiftCard | Bool | Whether the line item is a gift card purchase. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | The total discounted amount in the presentment currency. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | The total discounted amount in the presentment currency, including code-based discounts. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | The currency code for the discounted total in presentment currency. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | The total discounted amount in the shop currency. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | The total discounted amount in the shop currency, including code-based discounts. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | The currency code for the discounted total in shop currency. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The discounted unit price in the presentment currency. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The currency code for the discounted unit price in presentment currency. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The discounted unit price in the shop currency. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The currency code for the discounted unit price in shop currency. | |
| ImageId | String | A unique Id for the product image. | |
| ImageWidth | Int | The original width of the product image in pixels, or null if not hosted by Shopify. | |
| ImageAltText | String | Alternative text describing the contents of the product image. | |
| ImageHeight | Int | The original height of the product image in pixels, or null if not hosted by Shopify. | |
| ImageUrl | String | The URL of the product image. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | The original total amount in the presentment currency. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | The currency code for the original total in presentment currency. | |
| OriginalTotalSetShopMoneyAmount | Decimal | The original total amount in the shop currency. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | The currency code for the original total in shop currency. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | The original unit price in the presentment currency. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | The currency code for the original unit price in presentment currency. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | The original unit price in the shop currency. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | The currency code for the original unit price in shop currency. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | The total discount amount in the presentment currency. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | The currency code for the total discount in presentment currency. | |
| TotalDiscountSetShopMoneyAmount | Decimal | The total discount amount in the shop currency. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | The currency code for the total discount in shop currency. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | The unfulfilled discounted total in the presentment currency. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | The currency code for the unfulfilled discounted total in presentment currency. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | The unfulfilled discounted total in the shop currency. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | The currency code for the unfulfilled discounted total in shop currency. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | The unfulfilled original total in the presentment currency. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | The currency code for the unfulfilled original total in presentment currency. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | The unfulfilled original total in the shop currency. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | The currency code for the unfulfilled original total in shop currency. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| AppliedDiscountValueAmount | Decimal | A fixed discount amount applied to the exchange line item. | |
| AppliedDiscountValueAmountCurrencyCode | String | The currency code for the fixed discount applied to the exchange line item. | |
| AppliedDiscountValuePercentage | Double | The discount percentage applied to the exchange line item. | |
| AppliedDiscountDescription | String | A description of the discount applied to the exchange line item. | |
| GiftCardCodes | String | The gift card codes linked to physical gift cards in the order. |
Lists return line items attached to the return.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnLineItems WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the return line item. | |
| ReturnId [KEY] | String |
Returns.Id | A globally unique Id for the associated return. |
| Quantity | Int | The number of units being returned. | |
| CustomerNote | String | A note from the customer describing the item to be returned. Maximum length: 300 characters. | |
| RefundableQuantity | Int | The number of units that can still be refunded. | |
| RefundedQuantity | Int | The number of units that have already been refunded. | |
| ReturnReason | String | The reason provided for returning the item. | |
| ReturnReasonNote | String | Additional details about the reason for the return. Maximum length: 255 characters. | |
| TotalWeightUnit | String | The unit of measurement for the weight value. | |
| TotalWeightValue | Double | The weight value, expressed using the unit defined in `TotalWeightUnit`. | |
| WithCodeDiscountedTotalPriceSetPresentmentMoneyAmount | Decimal | The discounted total price in the presentment currency. | |
| WithCodeDiscountedTotalPriceSetPresentmentMoneyCurrencyCode | String | The presentment currency code for the discounted total price. | |
| WithCodeDiscountedTotalPriceSetShopMoneyAmount | Decimal | The discounted total price in the shop currency. | |
| WithCodeDiscountedTotalPriceSetShopMoneyCurrencyCode | String | The shop currency code for the discounted total price. | |
| FulfillmentLineItemId | String | A globally unique Id for the associated fulfillment line item. |
Lists unverified return line items pending inspection or validation.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnLineItemsUnverified WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the unverified return line item. | |
| ReturnId [KEY] | String |
Returns.Id | A globally unique Id for the associated return. |
| CustomerNote | String | A note from the customer describing the item to be returned. Maximum length: 300 characters. | |
| Quantity | Int | The number of units being returned. | |
| RefundableQuantity | Int | The number of units that can still be refunded. | |
| RefundedQuantity | Int | The number of units that have already been refunded. | |
| ReturnReason | String | The reason provided for returning the item. | |
| ReturnReasonNote | String | Additional details about the reason for the return. Maximum length: 255 characters. | |
| UnitPriceAmount | Decimal | The unit price of the item in decimal format. | |
| UnitPriceCurrencyCode | String | The currency code for the unit price. |
Lists reverse deliveries where buyers send packages back to the merchant.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE Id = 'Val1'
SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE ReverseFulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The Id of the reverse delivery. | |
| ReverseFulfillmentOrderId | String | A globally unique Id for the associated reverse fulfillment order. | |
| DeliverableLabelPublicFileUrl | String | A public link for downloading the reverse delivery label image. | |
| DeliverableLabelUpdatedAt | Datetime | The date and time when the reverse delivery label was last updated. | |
| DeliverableLabelCreatedAt | Datetime | The date and time when the reverse delivery label was created. | |
| DeliverableTrackingCarrierName | String | The name of the carrier providing the tracking information, in a human-readable format. | |
| DeliverableTrackingNumber | String | The tracking number assigned by the carrier for the shipment. | |
| DeliverableTrackingUrl | String | The URL to track the shipment with the carrier. |
Lists line items included in reverse deliveries.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReverseFulfillmentOrderDeliveryLineItems WHERE ReverseFulfillmentOrderDeliveryId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the reverse fulfillment order delivery line item. | |
| ReverseFulfillmentOrderDeliveryId | String | A globally unique Id for the associated reverse fulfillment order delivery. | |
| ReverseFulfillmentOrderLineItemId | String | A globally unique Id for the associated reverse fulfillment order line item. | |
| Dispositions | String | The condition or outcome assigned to the item (for example, restocked, discarded, or returned to vendor). | |
| Quantity | Int | The expected number of units for this line item. |
Lists line items managed under reverse fulfillment orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReverseFulfillmentOrderLineItems WHERE ReverseFulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the reverse fulfillment order line item. | |
| ReverseFulfillmentOrderId | String | A globally unique Id for the associated reverse fulfillment order. | |
| FulfillmentLineItemId | String | A globally unique Id for the related fulfillment line item. | |
| Dispositions | String | The condition or outcome assigned to the item (for example, restocked, discarded, or returned to vendor). | |
| TotalQuantity | Int | The total number of units in this line item to be processed. |
Lists items within returns to be processed by a fulfillment service.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReverseFulfillmentOrders WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the reverse fulfillment order. | |
| ReturnId | String |
Returns.Id | A globally unique Id for the associated return. |
| Status | String | The current status of the reverse fulfillment order (for example, open, in_progress, or completed). | |
| ThirdPartyConfirmationStatus | String | The status of the third-party confirmation for the reverse fulfillment order. |
Lists available parameters used to construct event-based segment filters.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM SegmentFilterParameters
| Name | Type | References | Description |
| SegmentFilterQueryName [KEY] | String | The query name of the segment filter. | |
| QueryName [KEY] | String | The query name of the parameter within the filter. | |
| ParameterType | String | The data type of the parameter (for example, string, int, or bool). | |
| Optional | Bool | Indicates whether the parameter is optional. | |
| AcceptsMultipleValues | Bool | Indicates whether the parameter accepts multiple values in a list. | |
| LocalizedName | String | The localized name of the parameter. | |
| LocalizedDescription | String | The localized description of the parameter. |
Lists reusable segment filters available for building segments.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM SegmentFilters
| Name | Type | References | Description |
| QueryName [KEY] | String | The query name of the filter. | |
| MultiValue | Bool | Indicates whether a filter can have multiple values for a single customer. | |
| LocalizedName | String | The localized display name of the filter. | |
| ReturnValueType | String | The return value type of the event segment filter. |
Lists selling plans associated with a selling plan group.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM SellingPlanGroupSellingPlans WHERE SellingPlanGroupId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the selling plan. | |
| SellingPlanGroupId | String | A globally unique Id for the associated selling plan group. | |
| Name | String | A customer-facing description of the selling plan. If the store supports multiple currencies, avoid including country-specific pricing (for example, 'Buy monthly, get 10$ CAD off') since this text is not converted for other currencies. | |
| Category | String | The category used to classify the selling plan for reporting purposes.
The allowed values are OTHER, PRE_ORDER, SUBSCRIPTION, TRY_BEFORE_YOU_BUY. | |
| Description | String | The buyer-facing description of the selling plan commitment. | |
| Options | String | The option values available in the selling plan. Selling plans are grouped together in Liquid when created by the same app and share the same 'selling_plan_group.name' and 'selling_plan_group.options' values. | |
| Position | Int | The relative display order of the selling plan. Lower values are shown before higher values. | |
| CreatedAt | Datetime | The date and time when the selling plan was created. | |
| InventoryPolicyReserve | String | Specifies when to reserve inventory for the order.
The allowed values are ON_FULFILLMENT, ON_SALE. | |
| FixedBillingPolicyCheckoutChargeType | String | The type of checkout charge applied by the fixed billing policy.
The allowed values are PERCENTAGE, PRICE. | |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The fixed checkout charge amount, expressed as a decimal value. | |
| FixedBillingPolicyCheckoutChargeValueCurrencyCode | String | The currency code for the fixed checkout charge amount. | |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The checkout charge as a percentage of the product price. | |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact date and time when to capture the remaining balance. | |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The duration between the checkout event and capturing the remaining balance. Expressed as an ISO8601 duration. | |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | Specifies when to capture payment for the remaining balance.
The allowed values are EXACT_TIME, NO_REMAINING_BALANCE, TIME_AFTER_CHECKOUT. | |
| RecurringBillingPolicyAnchors | String | The anchor dates used for calculating billing intervals. | |
| RecurringBillingPolicyCreatedAt | Datetime | The date and time when the recurring billing policy was created. | |
| RecurringBillingPolicyInterval | String | The billing interval unit.
The allowed values are DAY, MONTH, WEEK, YEAR. | |
| RecurringBillingPolicyIntervalCount | Int | The number of interval units between billings. | |
| RecurringBillingPolicyMaxCycles | Int | The maximum number of billing cycles allowed. | |
| RecurringBillingPolicyMinCycles | Int | The minimum number of billing cycles required. | |
| FixedDeliveryPolicyAnchors | String | The anchor dates used for calculating delivery intervals. | |
| FixedDeliveryPolicyCutoff | Int | The cutoff period (in days) for including orders in the next fulfillment cycle. | |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The exact date and time when fulfillment should occur. | |
| FixedDeliveryPolicyFulfillmentTrigger | String | Specifies what triggers fulfillment.
The allowed values are ANCHOR, ASAP, EXACT_TIME, UNKNOWN. | |
| FixedDeliveryPolicyIntent | String | Indicates whether the delivery policy is merchant-centric or buyer-centric. Currently, only merchant-centric delivery policies are supported. | |
| FixedDeliveryPolicyPreAnchorBehavior | String | Specifies fulfillment behavior if an order is placed before the anchor date.
The allowed values are ASAP, NEXT. | |
| RecurringDeliveryPolicyAnchors | String | The anchor dates used for calculating recurring delivery intervals. | |
| RecurringDeliveryPolicyCreatedAt | Datetime | The date and time when the recurring delivery policy was created. | |
| RecurringDeliveryPolicyCutoff | Int | The cutoff period (in days) for including orders in the current delivery cycle. | |
| RecurringDeliveryPolicyIntent | String | Indicates whether the delivery policy is merchant-centric or buyer-centric. Currently, only merchant-centric delivery policies are supported.
The allowed values are FULFILLMENT_BEGIN. | |
| RecurringDeliveryPolicyInterval | String | The delivery interval unit. The unit for the delivery interval (day, week, month, or year). | |
| RecurringDeliveryPolicyIntervalCount | Int | The number of interval units between deliveries. | |
| RecurringDeliveryPolicyPreAnchorBehavior | String | Specifies fulfillment behavior if an order is placed before the anchor date.
The allowed values are ASAP, NEXT. | |
| FixedPricingPolicies | String | Represents fixed pricing policies associated with the selling plan. | |
| RecurringPricingPolicies | String | Represents recurring pricing policies associated with the selling plan. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Metafields | String | Additional metadata attached to the selling plan resource. |
Returns the shop resource for the current token, including business and management settings.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Shop
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the shop. | |
| Name | String | The name of the shop. | |
| OwnerName | String | The name of the account owner for the shop. | |
| RichTextEditorUrl | String | The URL of the rich text editor available for mobile devices. | |
| Description | String | The shop's meta description, used in search engine results. | |
| String | The shop owner's email address. Shopify uses this address to communicate with the shop owner. | ||
| Url | String | The URL of the shop's online store. | |
| ContactEmail | String | The public-facing contact email address for the shop. Customers use this address to communicate with the shop owner. | |
| CurrencyCode | String | The three-letter currency code the shop sells in. | |
| CustomerAccounts | String | Specifies whether customer accounts are required, optional, or disabled for the shop. | |
| IanaTimezone | String | The shop's time zone as defined by the IANA. | |
| MyshopifyDomain | String | The shop's myshopify.com domain name. | |
| PublicationsCount | Int | The number of publications associated with the shop. | |
| PublicationsCountPrecision | String | The precision of the publication count, or how exact the value is. | |
| SetupRequired | Bool | Indicates whether the shop has outstanding setup steps. | |
| TaxShipping | Bool | Indicates whether the shop charges taxes on shipping. | |
| TaxesIncluded | Bool | Indicates whether product prices include applicable taxes. | |
| TimezoneAbbreviation | String | The abbreviation of the shop's time zone. | |
| TimezoneOffset | String | The shop's time zone offset. | |
| UnitSystem | String | The unit system for weights and measures used in the shop. | |
| WeightUnit | String | The primary unit of weight for products and shipping. | |
| CheckoutApiSupported | Bool | Indicates whether the shop supports checkouts via the Checkout API. | |
| EnabledPresentmentCurrencies | String | The presentment currencies enabled for the shop (for example, 'USD', 'EUR'). | |
| ShipsToCountries | String | A list of countries the shop ships to. | |
| TimezoneOffsetMinutes | Int | The shop's time zone offset expressed in minutes. | |
| TransactionalSmsDisabled | Bool | Indicates whether transactional SMS messages from Shopify are disabled for the shop. | |
| OrderNumberFormatPrefix | String | The prefix that appears before order numbers. | |
| OrderNumberFormatSuffix | String | The suffix that appears after order numbers. | |
| BillingAddressId | String | A globally unique Id for the billing address. | |
| BillingAddressCoordinatesValidated | Bool | Indicates whether the billing address coordinates are valid. | |
| BillingAddressAddress1 | String | The first line of the billing address, typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | The second line of the billing address, typically the apartment, suite, or unit number. | |
| BillingAddressCity | String | The city, district, village, or town of the billing address. | |
| BillingAddressCompany | String | The company or organization associated with the billing address. | |
| BillingAddressCountry | String | The country of the billing address. | |
| BillingAddressLatitude | Double | The latitude coordinate of the billing address. | |
| BillingAddressLongitude | Double | The longitude coordinate of the billing address. | |
| BillingAddressPhone | String | A phone number associated with the billing address, formatted using the E.164 standard (for example, +16135551111). | |
| BillingAddressProvince | String | The province, state, or district of the billing address. | |
| BillingAddressZip | String | The postal or zip code of the billing address. | |
| BillingAddressFormattedArea | String | A comma-separated string of the city, province, and country for the billing address. | |
| BillingAddressProvinceCode | String | The two-letter province or state code of the billing address (for example, ON). | |
| BillingAddressCountryCodeV2 | String | The two-letter country code of the billing address (for example, US). | |
| CountriesInShippingZonesCountryCodes | String | The list of all countries across the shop's shipping zones. | |
| CountriesInShippingZonesIncludeRestOfWorld | Bool | Indicates whether 'Rest of World' is included in the shipping zones. | |
| CurrencyFormatsMoneyFormat | String | Money without currency formatting, used in HTML. | |
| CurrencyFormatsMoneyInEmailsFormat | String | Money without currency formatting, used in emails. | |
| CurrencyFormatsMoneyWithCurrencyFormat | String | Money with currency formatting, used in HTML. | |
| CurrencyFormatsMoneyWithCurrencyInEmailsFormat | String | Money with currency formatting, used in emails. | |
| FeaturesInternationalPriceOverrides | Bool | Indicates whether the shop can enable international price overrides. | |
| FeaturesStorefront | Bool | Indicates whether the shop has an online storefront. | |
| FeaturesGiftCards | Bool | Indicates whether the shop can create gift cards. | |
| FeaturesSellsSubscriptions | Bool | Indicates whether the shop has ever sold subscription products. | |
| FeaturesEligibleForSubscriptions | Bool | Indicates whether the shop is configured to sell subscriptions. | |
| FeaturesInternationalPriceRules | Bool | Indicates whether the shop can enable international price rules. | |
| FeaturesEligibleForSubscriptionMigration | Bool | Indicates whether the shop can be migrated to Shopify's subscription system. | |
| FeaturesLegacySubscriptionGatewayEnabled | Bool | Indicates whether the shop has enabled a legacy subscription gateway for older subscriptions. | |
| FeaturesPaypalExpressSubscriptionGatewayStatus | String | The configuration status for selling subscriptions with PayPal Express. | |
| PendingOrdersCount | Int | The number of pending orders for the shop. | |
| PendingOrdersPrecision | String | The precision of the pending orders count, or how exact the value is. | |
| PaymentSettingsSupportedDigitalWallets | String | A list of digital wallets supported by the shop. | |
| PlanDisplayName | String | The name of the shop's billing plan. | |
| PlanPartnerDevelopment | Bool | Indicates whether the shop is a partner development shop for testing purposes. | |
| PlanShopifyPlus | Bool | Indicates whether the shop has a Shopify Plus subscription. | |
| PrimaryDomainId | String | A globally unique Id for the primary domain. | |
| PrimaryDomainHost | String | The host name of the shop's primary domain (for example, example.com). | |
| PrimaryDomainUrl | String | The URL of the shop's primary domain (for example, https://example.com). | |
| PrimaryDomainSslEnabled | Bool | Indicates whether SSL is enabled on the primary domain. | |
| PrimaryDomainLocalizationCountry | String | The ISO country code assigned to the primary domain (for example, CA or * for 'Rest of World'). | |
| PrimaryDomainLocalizationAlternateLocales | String | The ISO codes for alternate locales available on the primary domain (for example, ['en']). | |
| PrimaryDomainLocalizationDefaultLocale | String | The ISO code for the default locale of the primary domain (for example, en). | |
| PrimaryDomainMarketWebPresenceId | String | A globally unique Id for the market web presence of the primary domain. | |
| PrimaryDomainMarketWebPresenceAlternateLocales | String | The ISO codes for alternate locales used in the primary domain's market web presence. These are exposed as language-specific subfolders. | |
| PrimaryDomainMarketWebPresenceDefaultLocale | String | The default locale ISO code of the market web presence for the primary domain. | |
| PrimaryDomainMarketWebPresenceDefaultLocaleMarketWebPresencesId | String | The Id of the market web presences that use the default locale. | |
| PrimaryDomainMarketWebPresenceDefaultLocaleName | String | The human-readable name of the default locale for the primary domain. | |
| PrimaryDomainMarketWebPresenceDefaultLocalePrimary | Bool | Indicates whether the default locale is the primary locale for the shop. | |
| PrimaryDomainMarketWebPresenceDefaultLocalePublished | Bool | Indicates whether the default locale is visible to buyers. | |
| PrimaryDomainMarketWebPresenceSubfolderSuffix | String | The market-specific subfolder suffix defined by the web presence (for example, 'us' in '/en-us'). Null if 'domain' is not null. | |
| ResourceLimitsLocationLimit | Int | The maximum number of locations allowed for the shop. | |
| ResourceLimitsMaxProductOptions | Int | The maximum number of product options allowed per product. | |
| ResourceLimitsMaxProductVariants | Int | The maximum number of variants allowed per product. | |
| ResourceLimitsRedirectLimitReached | Bool | Indicates whether the shop has reached its redirect limit for resources. |
Returns Shopify Payments account details, including balances, disputes, and payouts.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccount
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the Shopify Payments account. | |
| Activated | Bool | Indicates whether the Shopify Payments setup is completed. | |
| Country | String | The country associated with the Shopify Payments account. | |
| Onboardable | Bool | Indicates whether the Shopify Payments account can be onboarded. | |
| DefaultCurrency | String | The default payout currency for the Shopify Payments account. | |
| PayoutStatementDescriptor | String | The descriptor used for payouts. This text appears on the merchant's bank statement when they receive a payout. | |
| PayoutScheduleInterval | String | The interval at which payouts are sent to the connected bank account. | |
| PayoutScheduleMonthlyAnchor | Int | The day of the month funds are paid out. Accepts values from 1–31. If set to monthly, payouts scheduled on the 29th–31st are sent on the last day of shorter months. | |
| PayoutScheduleWeeklyAnchor | String | The day of the week funds are paid out. Accepts values from Monday to Friday. Used when the payment interval is set to weekly. |
Returns current balances across all currencies for the account.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalance
| Name | Type | References | Description |
| ShopifyPaymentsAccountId | String | A globally unique Id for the associated Shopify Payments account. | |
| Amount | Decimal | The account balance amount, expressed as a decimal value. | |
| CurrencyCode [KEY] | String | The currency code of the account balance amount. |
Lists adjustment orders linked to a specific balance transaction.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders WHERE ShopifyPaymentsAccountBalanceTransactionId = 'Val1'
| Name | Type | References | Description |
| Link [KEY] | String | The link to the adjustment order resource in Shopify Payments. | |
| Name | String | The name of the adjustment order, typically the Shopify order number. | |
| Amount | Decimal | The adjustment order amount, expressed as a decimal value. | |
| Fee | Decimal | The adjustment order fee, expressed as a decimal value. | |
| Net | Decimal | The net amount of the adjustment order, expressed as a decimal value. | |
| AmountCurrencyCode | String | The currency code for the adjustment order amount. | |
| ShopifyPaymentsAccountBalanceTransactionId [KEY] | String | A globally unique Id for the associated Shopify Payments account balance transaction. |
Lists balance transactions associated with the account's balances.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalanceTransactions
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the balance transaction. | |
| ShopifyPaymentsAccountId | String | A globally unique Id for the associated Shopify Payments account. | |
| NetAmount | Decimal | The net amount contributing to the merchant's balance, expressed as a decimal value. | |
| NetCurrencyCode | String | The currency code of the net amount contributing to the merchant's balance. | |
| TransactionDate | Datetime | The date and time when the balance transaction was processed. | |
| SourceId | String | The Id of the resource that led to the transaction. | |
| SourceType | String | The type of source that generated the balance transaction. | |
| SourceOrderTransactionId | String | The Id of the order transaction that resulted in this balance transaction. | |
| AdjustmentReason | String | The reason for the adjustment associated with the transaction. Null if the source type is not an adjustment. | |
| Type | String | The type of balance transaction. | |
| Test | Bool | Indicates whether the transaction was created in test mode. | |
| Amount | Decimal | The gross transaction amount, expressed as a decimal value. | |
| AmountCurrencyCode | String | The currency code of the gross transaction amount. | |
| FeeAmount | Decimal | The transaction fee amount, expressed as a decimal value. | |
| FeeCurrencyCode | String | The currency code of the transaction fee amount. | |
| AssociatedOrderId | String | The Id of the order associated with the balance transaction. | |
| AssociatedOrderName | String | The name of the order associated with the balance transaction. | |
| AssociatedPayoutId | String | The Id of the payout associated with the balance transaction. | |
| AssociatedPayoutStatus | String | The status of the payout associated with the balance transaction. |
Lists bank accounts configured for the Shopify Payments account.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBankAccounts
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the Shopify Payments bank account. | |
| ShopifyPaymentsAccountId | String | A globally unique Id for the associated Shopify Payments account. | |
| BankName | String | The name of the bank where the account is held. | |
| Country | String | The country of the bank. | |
| Currency | String | The currency of the bank account. | |
| Status | String | The current status of the bank account. | |
| AccountNumberLastDigits | String | The last visible digits of the bank account number, with the rest redacted. | |
| CreatedAt | Datetime | The date and time when the bank account was created. |
Lists disputes associated with the Shopify Payments account.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Id = 'Val1'
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Status = 'Val1'
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE InitiatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the dispute. | |
| LegacyResourceId | String | The Id of the corresponding resource in the REST Admin API. | |
| ShopifyPaymentsAccountId | String | A globally unique Id for the associated Shopify Payments account. | |
| EvidenceDueBy | Date | The deadline date for submitting evidence. | |
| EvidenceSentOn | Date | The date when evidence was submitted. Returns null if evidence has not yet been sent. | |
| Status | String | The current status of the dispute, such as under_review or accepted. | |
| Type | String | Indicates whether the dispute is in the inquiry phase or has become a chargeback. | |
| FinalizedOn | Date | The date when the dispute was resolved. Returns null if the dispute is not yet finalized. | |
| InitiatedAt | Datetime | The date and time when the dispute was initiated. | |
| AmountAmount | Decimal | The disputed amount, expressed as a decimal value. | |
| AmountCurrencyCode | String | The currency code of the disputed amount. | |
| OrderId | String | A globally unique Id for the associated order. | |
| ReasonDetailsReason | String | The reason for the dispute provided by the cardholder's bank. | |
| ReasonDetailsNetworkReasonCode | String | The raw reason code provided by the payment network. |
Lists past and current payouts between the account and the bank (available only in supported countries).
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operator. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ShopifyPaymentsAccountPayouts WHERE TransactionType = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the payout. | |
| LegacyResourceId | String | The Id of the corresponding resource in the REST Admin API. | |
| ShopifyPaymentsAccountId | String | A globally unique Id for the associated Shopify Payments account. | |
| Status | String | The current transfer status of the payout. | |
| IssuedAt | Datetime | The exact date and time when the payout was issued. Includes only balance transactions available at this time. | |
| TransactionType | String | The direction of the payout (for example, credit or debit). | |
| BusinessEntityId | String | The Id of the business entity associated with the payout. | |
| BankAccountId | String | A globally unique Id for the associated bank account. | |
| NetAmount | Decimal | The net payout amount, expressed as a decimal value. | |
| NetCurrencyCode | String | The currency code of the net payout amount. | |
| SummaryAdjustmentsFeeAmount | Decimal | The adjustment fee amount, expressed as a decimal value. | |
| SummaryAdjustmentsFeeCurrencyCode | String | The currency code of the adjustment fee amount. | |
| SummaryAdjustmentsGrossAmount | Decimal | The gross adjustment amount, expressed as a decimal value. | |
| SummaryAdjustmentsGrossCurrencyCode | String | The currency code of the gross adjustment amount. | |
| SummaryChargesFeeAmount | Decimal | The charge fee amount, expressed as a decimal value. | |
| SummaryChargesFeeCurrencyCode | String | The currency code of the charge fee amount. | |
| SummaryChargesGrossAmount | Decimal | The gross charge amount, expressed as a decimal value. | |
| SummaryChargesGrossCurrencyCode | String | The currency code of the gross charge amount. | |
| SummaryRefundsFeeAmount | Decimal | The refund fee amount, expressed as a decimal value. | |
| SummaryRefundsFeeCurrencyCode | String | The currency code of the refund fee amount. | |
| SummaryRefundsFeeGrossAmount | Decimal | The gross refund fee amount, expressed as a decimal value. | |
| SummaryRefundsFeeGrossCurrencyCode | String | The currency code of the gross refund fee amount. | |
| SummaryReservedFundsFeeAmount | Decimal | The reserved funds fee amount, expressed as a decimal value. | |
| SummaryReservedFundsFeeCurrencyCode | String | The currency code of the reserved funds fee amount. | |
| SummaryReservedFundsGrossAmount | Decimal | The gross reserved funds amount, expressed as a decimal value. | |
| SummaryReservedFundsGrossCurrencyCode | String | The currency code of the gross reserved funds amount. | |
| SummaryRetriedPayoutsFeeAmount | Decimal | The retried payouts fee amount, expressed as a decimal value. | |
| SummaryRetriedPayoutsFeeCurrencyCode | String | The currency code of the retried payouts fee amount. | |
| SummaryRetriedPayoutsGrossAmount | Decimal | The gross retried payouts amount, expressed as a decimal value. | |
| SummaryRetriedPayoutsGrossCurrencyCode | String | The currency code of the gross retried payouts amount. | |
| SummaryAdvanceFeesAmount | Decimal | The advance fee amount, expressed as a decimal value. | |
| SummaryAdvanceFeesCurrencyCode | String | The currency code of the advance fee amount, using ISO 4217 or supported legacy/non-standard codes. | |
| SummaryAdvanceGrossAmount | Decimal | The gross advance amount, expressed as a decimal value. | |
| SummaryAdvanceGrossCurrencyCode | String | The currency code of the gross advance amount, using ISO 4217 or supported legacy/non-standard codes. |
Lists staff members for the shop with pagination (Shopify Plus only).
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM StaffMembers
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the staff member. | |
| ShopId | String |
Shop.Id | A globally unique Id for the associated shop. |
| Name | String | The staff member's full name. | |
| FirstName | String | The staff member's first name. | |
| LastName | String | The staff member's last name. | |
| Active | Bool | Indicates whether the staff member is active. | |
| String | The staff member's email address. | ||
| Exists | Bool | Indicates whether the staff member's account exists. | |
| Initials | String | The staff member's initials, if available. | |
| Locale | String | The staff member's preferred locale, formatted as 'language' or 'language-COUNTRY' (for example, 'en' or 'en-US'). | |
| Phone | String | The staff member's phone number. | |
| IsShopOwner | Bool | Indicates whether the staff member is the shop owner. | |
| AccountType | String | The type of account assigned to the staff member. | |
| PrivateDataAccountSettingsUrl | String | The URL to the staff member's account settings page. | |
| PrivateDataCreatedAt | Datetime | The date and time when the staff member account was created. |
Lists debit-revert transactions created when a debit is reversed on a store credit account.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the debit revert transaction. | |
| Amount | Decimal | The amount of the reverted debit transaction, expressed as a decimal value. | |
| AmountCurrencyCode | String | The currency code of the reverted debit transaction amount. | |
| DebitTransactionId | String | The Id of the original debit transaction being reverted. | |
| BalanceAfterTransactionAmount | Decimal | The account balance after the revert transaction, expressed as a decimal value. | |
| BalanceAfterTransactionCurrencyCode | String | The currency code of the account balance after the revert transaction. | |
| CreatedAt | Datetime | The date and time when the revert transaction was created. | |
| CustomerStoreCreditAccountId | String | A globally unique Id for the associated customer store credit account. |
Lists expiration transactions created when credit expires on a store credit account.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM StoreCreditAccountExpirationTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
| Name | Type | References | Description |
| Amount | Decimal | The amount of store credit that expired, expressed as a decimal value. | |
| AmountCurrencyCode | String | The currency code of the expired store credit amount. | |
| CreditTransactionId | String | The Id of the original credit transaction that expired. | |
| BalanceAfterTransactionAmount | Decimal | The account balance after the expiration transaction, expressed as a decimal value. | |
| BalanceAfterTransactionCurrencyCode | String | The currency code of the account balance after the expiration transaction. | |
| CreatedAt | Datetime | The date and time when the expiration transaction was created. | |
| CustomerStoreCreditAccountId | String | A globally unique Id for the associated customer store credit account. |
Lists tender (payment method) transactions recorded by the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM TenderTransactions WHERE Id = 'Val1'
SELECT * FROM TenderTransactions WHERE Test = true
SELECT * FROM TenderTransactions WHERE ProcessedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique Id for the tender transaction. | |
| Test | Bool | Indicates whether the transaction is a test transaction. | |
| PaymentMethod | String | Details about the payment method used for the transaction. | |
| ProcessedAt | Datetime | The date and time when the transaction was processed. | |
| RemoteReference | String | The remote gateway reference associated with the tender transaction. | |
| AmountAmount | Decimal | The transaction amount, expressed as a decimal value. | |
| AmountCurrencyCode | String | The currency code of the transaction amount. | |
| TenderTransactionCreditCardDetailsCreditCardCompany | String | The name of the company that issued the customer's credit card (for example, Visa). | |
| TenderTransactionCreditCardDetailsCreditCardNumber | String | The customer's credit card number, with all digits except the last four redacted. | |
| UserId | String | A globally unique Id for the user associated with the transaction. Available only with a Shopify Plus subscription. | |
| OrderId | String | A globally unique Id for the associated order. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| AcceptCancellationRequest | Accepts a cancellation request sent to a fulfillment service for a fulfillment order. |
| AcceptFulfillmentRequest | Accepts a fulfillment request sent to a fulfillment service for a fulfillment order. |
| ApproveComment | Approves a blog comment so it becomes publicly visible. |
| CollectionReorder | Reorders products within a collection to control storefront merchandising. |
| CompanyContactRemoveFromCompany | Removes a contact from a specified business-to-business (B2B) company. |
| CreateFile | Creates file assets from an external URL or finalizes previously staged uploads. |
| EnableStandardMetafieldDefinition | Enables a standard metafield definition from a provided template. |
| FulfillmentOrderMerge | Merges one or more fulfillment orders into a single order based on line item inputs and quantities. |
| FulfillmentOrderSplit | Splits a fulfillment order into multiple orders based on line item inputs and quantities. |
| InventoryAdjustQuantities | Applies relative changes to inventory quantities for specified items. |
| InventoryBulkToggleActivation | Activates or deactivates inventory items at selected locations to control eligibility for stocking. |
| InventoryMoveQuantities | Moves quantities between inventory quantity names (for example, available or reserved) within a location. |
| InventorySetQuantities | Sets absolute inventory quantities for specified quantity names at a location. |
| InventorySetScheduledChanges | Schedules future inventory level changes for specified items and locations. |
| MarkCommentNotSpam | Marks a comment as not spam to restore normal visibility. |
| MarkCommentSpam | Marks a comment as spam to hide it from public view. |
| OrderCancel | Cancels an order and optionally restocks items and notifies the customer. |
| OrderCreateManualPayment | Creates a manual payment for an order. |
| PublishTheme | Publishes a theme to make it the live storefront theme. |
| RejectCancellationRequest | Rejects a cancellation request sent to a fulfillment service for a fulfillment order. |
| RejectFulfillmentRequest | Rejects a fulfillment request sent to a fulfillment service for a fulfillment order. |
| SendCancellationRequest | Sends a cancellation request to the fulfillment service of a fulfillment order. |
| SendFulfillmentRequest | Sends a fulfillment request to the fulfillment service of a fulfillment order. |
| TransactionVoid | Voids an uncaptured authorization transaction so it can no longer be captured. |
| UpdateFile | Updates metadata or properties of an existing uploaded file asset. |
Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The identifier of the fulfillment order tied to the cancellation request. |
| Message | String | An optional message included with the cancellation acceptance, often used for notes or context. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the cancellation request was successfully accepted. |
| Details | String | Additional information or error details about the outcome of the cancellation request. |
| FulfillmentOrderID | String | The globally unique identifier of the fulfillment order after the cancellation request is processed. |
| RequestStatus | String | The current status of the cancellation request, such as accepted or failed. |
Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The identifier of the fulfillment order associated with the fulfillment request. |
| Message | String | An optional message included with the fulfillment acceptance, often used for notes or context. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the request completed successfully. |
| Details | String | Additional information or error details about the request outcome. |
| FulfillmentOrderID | String | The globally unique identifier of the fulfillment order after the request is processed. |
| RequestStatus | String | The current status of the request, such as accepted, pending, or failed. |
Approves a blog comment so it becomes publicly visible.
| Name | Type | Description |
| Id | String | The identifier of the comment to be approved. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the request completed successfully. |
| Details | String | Additional information or error details about the request outcome. |
| Id | String | The globally unique identifier of the approved comment. |
| Status | String | The current status of the comment, such as approved or pending. |
Reorders products within a collection to control storefront merchandising.
| Name | Type | Description |
| CollectionID | String | The identifier of the collection where products are reordered. |
| ProductIDs | String | A comma-separated list of product identifiers in the collection to be reordered. |
| NewPositions | String | A comma-separated list of new position values for the specified products. |
| WaitJob | String | Indicates whether the stored procedure should wait until the reorder job is complete before returning a result.
The default value is true. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the request completed successfully. |
| Details | String | Additional information or error details about the request outcome. |
| JobID | String | The identifier of the reorder job that was created. |
| Status | String | The current status of the reorder job, such as queued, running, or completed. |
Removes a contact from a specified business-to-business (B2B) company.
| Name | Type | Description |
| CompanyContactId | String | The identifier of the company contact to remove from the company. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the request completed successfully. |
| Details | String | Additional information or error details about the request outcome. |
| RemovedCompanyContactId | String | The identifier of the company contact that was removed. |
Creates file assets from an external URL or finalizes previously staged uploads.
| Name | Type | Description |
| OriginalSource | String | The source URL of the file. Supports external URLs for images or staged upload URLs. |
| FileName | String | The name to assign to the file. If not provided, the filename from the OriginalSource is used. |
| Description | String | The alternative text description of the file, used for accessibility. |
| ContentType | String | The type of file. If omitted, Shopify attempts to detect the content type during processing. |
| DuplicateResolutionMode | String | Specifies how to handle cases where the filename is already in use.
The allowed values are APPEND_UUID, RAISE_ERROR, REPLACE. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the request completed successfully. |
| Details | String | Additional information or error details about the request outcome. |
| Id | String | The globally unique identifier of the created file. |
| Status | String | The current status of the file, such as uploaded or failed. |
Enables a standard metafield definition from a provided template.
| Name | Type | Description |
| Id | String | The identifier of the standard metafield definition template to enable. |
| Namespace | String | The namespace of the standard metafield to enable. Must be provided along with the key. |
| Key | String | The key of the standard metafield to enable. Must be provided along with the namespace. |
| OwnerType | String | The Shopify resource type (such as Product, Collection, or Customer) that the metafield definition is scoped to. |
| UseAsCollectionCondition | Boolean | Specifies whether this metafield definition can be used as a condition when creating automated collections. |
| Pin | Boolean | Specifies whether the metafield definition should be pinned for easier visibility in the Shopify Admin. |
| AccessAdmin | String | Defines the Admin API access level for metafields created under this definition. |
| AccessCustomerAccount | String | Defines the Customer Account API access level for metafields created under this definition. |
| AccessStorefront | String | Defines the Storefront API access level for metafields created under this definition. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation to enable the metafield definition was successful. |
| Details | String | Additional information about the outcome of the operation. |
| Id | String | The globally unique identifier of the enabled metafield definition. |
Merges one or more fulfillment orders into a single order based on line item inputs and quantities.
| Name | Type | Description |
| MergeIntents | String | A structured input (JSON or XML array) containing objects with fulfillmentOrderId, fulfillmentOrderLineItemId, and fulfillmentOrderLineItemQuantity, which define the line items to merge. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the merge operation completed successfully. |
| Details | String | Additional details about the outcome of the merge operation. |
| FulfillmentOrderId | String | The globally unique identifier of the new fulfillment order created by the merge. |
Splits a fulfillment order into multiple orders based on line item inputs and quantities.
| Name | Type | Description |
| FulfillmentOrderId | String | The globally unique identifier of the fulfillment order to split. |
| FulfillmentOrderLineItemIDs | String | A comma-separated list of globally unique identifiers for the fulfillment order line items to split. |
| FulfillmentOrderLineItemQuantities | String | A comma-separated list of quantities that correspond to each fulfillment order line item being split. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional details about the execution of the operation. |
| FulfillmentOrderId | String | The globally unique identifier of the original fulfillment order after the split. |
| RemainingFulfillmentOrderId | String | The globally unique identifier of the remaining fulfillment order after the split. |
| ReplacementFulfillmentOrderId | String | The globally unique identifier of the replacement fulfillment order, used when the original fulfillment order could not be split. |
Applies relative changes to inventory quantities for specified items.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| InventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| Delta | Int | The amount by which the inventory quantity will be changed. |
| Name | Type | Description |
| Name | String | The name of the inventory quantity to adjust.
The allowed values are available, damaged, quality_control, reserved, safety_stock. |
| Reason | String | The reason for making the inventory adjustment.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A URI identifying the origin or context of the adjustment (for example, the related Shopify resource or external document). |
| InventoryAdjustChanges | String | The set of item quantity changes to apply across specific locations. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional details about the execution of the operation. |
| Id | String | The globally unique identifier of the adjustment group created by the operation. |
Activates or deactivates inventory items at selected locations to control eligibility for stocking.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| Activate | Bool | Whether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location. |
| LocationId | String | The ID of the location to modify the inventory item's stocked status. |
| Name | Type | Description |
| InventoryItemId | String | The ID of the inventory item for which to update activation status at specific locations. |
| InventoryItemUpdates | String | A list of location-and-status pairs defining where the inventory item should be activated or deactivated. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional details about the execution of the operation. |
| InventoryItemId | String | The ID of the inventory item that was processed. |
| InventoryLevelIds | String | The IDs of the inventory levels that were activated or deactivated. |
Moves quantities between inventory quantity names (for example, available or reserved) within a location.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| Quantity | Int | The amount by which the inventory quantity will be changed. |
| FromName | String | The quantity name to be moved. |
| FromInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| FromLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| ToName | String | The quantity name to be moved. |
| ToInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| ToLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| Name | Type | Description |
| Reason | String | The explanation for why the inventory quantities are being moved between locations.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI identifying the context of the inventory change (for example, the resource or system action that triggered the move). |
| InventoryMoveChanges | String | The set of quantity adjustments to apply for specific inventory items at defined locations. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the inventory move operation completed successfully. |
| Details | String | Additional information or messages about the execution of the operation. |
| Id | String | The unique identifier for the inventory adjustment group created by this move operation. |
Sets absolute inventory quantities for specified quantity names at a location.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the quantity will be set. |
| InventoryLevelLocationId | String | Specifies the location at which the quantity will be set. |
| CompareQuantity | Int | The current quantity to be compared against the persisted quantity. |
| Quantity | Int | The quantity to which the inventory quantity will be set. |
| Name | Type | Description |
| Name | String | The name of the quantity group to update.
The allowed values are available, on_hand. |
| Reason | String | The reason provided for making the quantity changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A URI reference that identifies the source or context for the inventory change. |
| IgnoreCompareQuantity | Boolean | Specifies whether to skip the compare-quantity check before applying updates. |
| InventorySetChanges | String | The new quantity values to assign for each inventory item and location. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional details about how the operation was executed. |
| Id | String | The unique ID assigned to the group of quantity changes created by the operation. |
Schedules future inventory level changes for specified items and locations.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| InventoryLevelLocationId | String | The ID of the location. |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| InventorySetScheduledItemChanges (references InventorySetScheduledItemChanges) | String | An array of all the scheduled changes for the item. |
| Column Name | Type | Description |
| FromName | String | The quantity name to transition from. |
| ToName | String | The quantity name to transition to. |
| ExpectedAt | Datetime | The date and time that the scheduled change is expected to happen. |
| Name | Type | Description |
| Reason | String | The reason provided for creating the scheduled inventory changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A URI reference that identifies the source or context for the inventory change. |
| InventorySetScheduledItems | String | The list of inventory items and locations where the scheduled changes are applied. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional details about how the operation was executed. |
| ScheduledChanges | String | The scheduled changes that were created by the operation. |
Marks a comment as not spam to restore normal visibility.
| Name | Type | Description |
| Id | String | The ID of the comment to mark as not spam. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional details about how the operation was executed. |
| Id | String | A globally unique Id returned for the operation. |
| Status | String | The status of the comment after being marked as not spam. |
Marks a comment as spam to hide it from public view.
| Name | Type | Description |
| Id | String | The Id of the comment to mark as spam. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional details about how the operation was executed. |
| Id | String | A globally unique Id returned for the operation. |
| Status | String | The status of the comment after being marked as spam. |
Cancels an order and optionally restocks items and notifies the customer.
| Name | Type | Description |
| NotifyCustomer | Bool | Indicates whether a notification is sent to the customer about the order cancellation. |
| OrderId | String | The Id of the order to be canceled. |
| Reason | String | The reason for canceling the order.
The allowed values are CUSTOMER, DECLINED, FRAUD, INVENTORY, OTHER, STAFF. |
| Refund | Bool | Indicates whether the amount paid by the customer is refunded. |
| Restock | Bool | Indicates whether the inventory committed to the order is restocked. |
| StaffNote | String | A staff-facing note about the order cancellation. Not visible to the customer. |
| WaitJob | Bool | Indicates whether the stored procedure waits until the job is complete.
The default value is true. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional details about how the operation was executed. |
| JobID | String | The Id of the job associated with the cancellation. |
| Status | String | The status of the job. |
Creates a manual payment for an order.
| Name | Type | Description |
| Amount | Decimal | Decimal money amount. |
| CurrencyCode | String | Currency of the money. |
| OrderId | String | The ID of the order to create a manual payment for. |
| PaymentMethodName | String | The name of the payment method used for creating the payment. If none is provided, then the default manual payment method ('Other') will be used. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Publishes a theme to make it the live storefront theme.
| Name | Type | Description |
| Id | String | The Id of the theme to be published. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation executed successfully. |
| Details | String | Additional details about the execution of the operation. |
| Id | String | A globally unique Id of the published theme. |
Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The unique identifier of the fulfillment order linked to the cancellation request. |
| Message | String | An optional message to include with the rejection of the cancellation request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the cancellation request rejection executed successfully. |
| Details | String | Additional details about the execution of the operation. |
| FulfillmentOrderID | String | A globally unique identifier for the fulfillment order. |
| RequestStatus | String | The status of the stored procedure execution. |
Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The unique identifier of the fulfillment order associated with the fulfillment request. |
| Message | String | An optional message to include with the rejection of the fulfillment request. |
| Reason | String | The reason for rejecting the fulfillment request.
The allowed values are INCORRECT_ADDRESS, INELIGIBLE_PRODUCT, INVENTORY_OUT_OF_STOCK, OTHER, UNDELIVERABLE_DESTINATION. |
| LineItems | String | An optional array of line item rejection details. If omitted, all line items are assumed to be unfulfillable. Example: [{fulfillmentOrderLineItemId: 'xxx', message: 'xx'}] |
| Name | Type | Description |
| Success | Boolean | Indicates whether the rejection of the fulfillment request executed successfully. |
| Details | String | Additional details about the execution of the operation. |
| FulfillmentOrderID | String | A globally unique identifier for the fulfillment order. |
| RequestStatus | String | The resulting status of the stored procedure execution. |
Sends a cancellation request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| Id | String | The Id of the fulfillment order associated with the cancellation request. |
| Message | String | An optional message to include with the cancellation request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the cancellation request executed successfully. |
| Details | String | Additional details about the execution of the operation. |
| FulfillmentOrderID | String | A globally unique Id for the fulfillment order. |
| RequestStatus | String | The resulting status of the stored procedure execution. |
Sends a fulfillment request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| Id | String | The Id of the fulfillment order associated with the fulfillment request. |
| Message | String | An optional message to include with the fulfillment request. |
| NotifyCustomer | String | Indicates whether the customer should be notified when fulfillments are created for this fulfillment order. |
| FulfillmentOrderLineItems | String | The fulfillment order line items to include in the request. If none are specified, all line items are included by default (for example, [{id: 'xxx', quantity: 1}]). |
| Name | Type | Description |
| Success | Boolean | Indicates whether the fulfillment request executed successfully. |
| Details | String | Additional details about the execution of the operation. |
| FulfillmentOrderID | String | A globally unique Id for the fulfillment order. |
| RequestStatus | String | The resulting status of the stored procedure execution. |
Voids an uncaptured authorization transaction so it can no longer be captured.
| Name | Type | Description |
| ParentTransactionId | String | The Id of the uncaptured authorization transaction to be voided. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the void operation executed successfully. |
| Details | String | Additional details about the execution of the void operation. |
| TransactionId | String | The Id of the void transaction created by the operation. |
Updates metadata or properties of an existing uploaded file asset.
| Name | Type | Description |
| Id | String | The Id of the file to update. |
| FileName | String | The name of the file, including its extension. |
| Description | String | The alternative text description (alt text) of the file. |
| OriginalSource | String | The source used to update a media image or generic file. Accepts an external URL (images only) or a staged upload URL. |
| PreviewImageSource | String | The source used to update the media preview image. Accepts an external URL or a staged upload URL. |
| Name | Type | Description |
| Success | Boolean | Indicates whether the file update operation executed successfully. |
| Details | String | Additional details about the execution of the update operation. |
| Id | String | A globally unique Id for the updated file. |
| Status | String | The current status of the file after the update operation. |
The CData Cloud models entities in the Shopify API as an easy-to-use SQL database, using tables, views, and stored procedures. These are defined in schema files, which are simple, easy-to-read text files that define the structure and organization of data.
Note: Shopify typically releases new API versions quarterly. If a stable API version is no longer supported, Shopify automatically defaults to the oldest supported stable version to respond to your API request. For more information on Shopify's API versioning, click this link.
See REST Data Model for the available entities in the REST API.
See GRAPHQL Data Model for the available entities in the GraphQL API.
The CData Cloud models the Shopify API as relational tables, views, and stored procedures.
To use the REST Data Model, simply set Schema to REST.
Note: As of October 1, 2024, Shopify has designated the REST API as legacy.
The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.
Common tables include:
| Table | Description |
| Shop | Contains general settings and information about the shop. |
| Customers | Create, update, delete, and query customers. |
| CustomerAddresses | Create, update, delete, and query customer addresses. |
| Orders | Create, update, delete, and query orders. |
| OrdersItems | Query order items. |
| OrderTransactions | Create, update, delete, and query transactions. |
| Refunds | Create, update, delete, and query refunds. |
| RefundsItems | Get data on OrdersItems that have been refunded. |
| Redirects | Create, update, delete, and query redirects. |
| Collects | Query, insert, or delete information regarding different collects. |
| DiscountCodes | Create, select, update, and delete information regarding discount codes. |
| PriceRules | Create, update, delete, and query price rules. |
| DraftOrders | Create, update, delete, and query draft orders. |
| DraftOrderItems | Query draft order items. |
| Fulfillments | Create, update, and query fulfillments. |
| FulfillmentOrders | Query fulfillment orders. |
| FulfillmentEvents | Create, delete, and query information regarding fulfillment events. |
| Locations | Retrieve information regarding store locations. |
| TaxItems | Query order taxes. |
| Users | Query Users. |
Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing order cancellations and fulfillments, sending invoices, and handling authentication flows.
The Cloud models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.
| Name | Description |
| ApplicationCharges | Create or view Application Charges for Billing. |
| ApplicationCredit | Create or view Application Credit for Billing. |
| Articles | Create, read, update or delete articles |
| Assets | Create, read, update or delete assets. CUD support is no longer accessible for public apps. |
| Blogs | Create, read, update or delete blogs |
| CarrierServices | Returns a list of resource feedback objects.. |
| CollectionListings | Query and delete information regarding different collects. |
| Collects | Query, insert, or delete information regarding different collects. |
| Comments | Create, read, update and delete the comments. |
| CustomCollections | Query, insert, update, or delete information regarding different custom collections. |
| CustomerAddresses | Create, update, delete, and query customer addresses. |
| Customers | Create, update, delete, and query customers. |
| DiscountCodes | Create, select, update, and delete information regarding discount codes. |
| DraftOrders | Create, update, delete, and query draft orders. |
| FulfillmentEvents | Create, delete, and query information regarding fulfillment events. |
| Fulfillments | Create, update, and query fulfillments. |
| FulfillmentServices | Query, create, update, and delete information regarding different fulfillment services. |
| GiftCards | Create, update, delete, and query gift cards. |
| MarketingEvents | Create, update, delete, and query marketing events. |
| Metafields | Retrieves a list of metafields that belong to a resource. |
| Orders | Create, update, delete, and query orders. |
| OrderTransactions | Create and query transactions. |
| Pages | Create, read, update or delete pages |
| PriceRules | Create, update, delete, and query price rules. |
| RecurringApplicationCharges | Create, update, delete, and query Recurring Application Charges. |
| Redirects | Create, read, update or delete redirects. |
| Refunds | Create and query refunds. |
| ResourceFeedbacks | Returns a list of resource feedback objects.. |
| ScriptTags | Create, read, update or delete script tags. |
| SmartCollections | Query, insert, update, or delete information regarding different smart collections. |
| Themes | Create, read, update or delete themes |
| UsageCharges | Create or view Usage Charges for Recurring Application Charges. |
Create or view Application Charges for Billing.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The Unique Identifier of the Application Charge | |
| Name | String | False |
The Order Number | |
| ApiClientId | Long | True |
The API Client ID | |
| Price | Decimal | False |
The price of the application charge | |
| Status | String | True |
The status of the application charge. Valid Values are: pending, active, declined, expired | |
| ReturnUrl | String | False |
The URL where the merchant is redirected after accepting a charge. | |
| Test | String | False |
Whether the application charge is a test transaction. Valid values:true,null | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the application charge was created. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the application charge was last updated. | |
| ChargeType | String | True |
The type of the application charge | |
| DecoratedReturnUrl | String | True |
The decorated return url |
Create or view Application Credit for Billing.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the application credit. | |
| Amount | Decimal | False |
The amount refunded by the application credit. | |
| Description | String | False |
The description of the application credit. | |
| Test | String | False |
Whether the application credit is a test transaction. Valid values: true,null |
Create, read, update or delete articles
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the article. | |
| BlogId [KEY] | Long | False |
Blogs.Id |
The ID of the blog containing the article. |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Author | String | False |
The name of the author of the article. | |
| BodyHtml | String | False |
The text of the body of the article, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the article was created. | |
| Handle | String | False |
A human-friendly unique string for the article that's automatically generated from the article's title. The handle is used in the article's URL. | |
| ImageAlt | String | False |
Alternative text that describes the image. | |
| ImageCreatedAt | Datetime | True |
The date and time when image is created. | |
| ImageHeight | Int | False |
Height of the image. | |
| ImageSrc | String | False |
A source URL that specifies the location of the image. | |
| ImageWidth | Int | False |
Width of the image. | |
| ImageAttachment | String | False |
An image attached to article returned as Base64-encoded binary data. | |
| PublishedAt | Datetime | False |
The date and time (ISO 8601 format) when the article was published. | |
| SummaryHtml | String | False |
A summary of the article, complete with HTML markup. | |
| Tags | String | False |
Tags are additional short descriptors formatted as a string of comma-separated values. | |
| TemplateSuffix | String | False |
The name of the template an article is using if it's using an alternate template. If an article is using the default article.liquid template, then the value returned is null. | |
| Title | String | False |
The title of the article. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the article was last updated. | |
| UserId | Long | True |
A unique numeric identifier for the author of the article. | |
| PublishedStatus | String | False |
Filter articles by their publish status. Valid values are: published, unpublished and any ; default: any. The allowed values are published, unpublished, any. |
Create, read, update or delete assets. CUD support is no longer accessible for public apps.
| Name | Type | ReadOnly | References | Description |
| Key [KEY] | String | False |
The path to the asset within a theme. | |
| ThemeId [KEY] | Long | True |
Themes.Id |
The ID for the theme that an asset belongs to. |
| Attachment | String | False |
A base64-encoded image. | |
| Checksum | String | True |
The MD5 representation of the content, consisting of a string of 32 hexadecimal digits. May be null if an asset has not been updated recently. | |
| ContentType | String | True |
The MIME representation of the content, consisting of the type and subtype of the asset. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the asset was created. | |
| PublicUrl | String | True |
The public-facing URL of the asset. | |
| Size | Int | True |
The asset size in bytes. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when an asset was last updated. | |
| Value | String | False |
The text content of the asset, such as the HTML and Liquid markup of a template file. |
Create, read, update or delete blogs
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the blog. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Commentable | String | False |
Indicates whether readers can post comments to the blog and if comments are moderated or not. The allowed values are no, yes, moderate. | |
| CreatedAt | Datetime | True |
The date and time when the blog was created. | |
| Feedburner | String | False |
Feedburner is a web feed management provider and can be enabled to provide custom RSS feeds for Shopify bloggers. This property will default to blank or null unless feedburner is enabled through the shop admin. | |
| FeedburnerLocation | String | False |
URL to the feedburner location for blogs that have enabled feedburner through their store admin. This property will default to blank or null unless feedburner is enabled through the shop admin. | |
| Handle | String | False |
A human-friendly unique string for a blog automatically generated from its title. | |
| Metafields | String | False |
Attaches additional metadata to a store's resources. | |
| Tags | String | False |
Tags are additional short descriptors formatted as a string of comma-separated values. | |
| TemplateSuffix | String | False |
States the name of the template a blog is using if it is using an alternate template. If a blog is using the default blog.liquid template, the value returned is null. | |
| Title | String | False |
The title of the blog. | |
| UpdatedAt | Datetime | True |
The date and time when changes were last made to the blog's properties. |
Returns a list of resource feedback objects..
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the carrier service. | |
| Active | Bool | False |
Whether this carrier service is active. If true, then the service will be available to serve rates in checkout. | |
| Name | String | False |
The name of the shipping service as seen by merchants and their customers. | |
| CallbackUrl | String | False |
The URL endpoint that Shopify needs to retrieve shipping rates. This must be a public URL. | |
| Type | String | False |
Distinguishes between API or legacy carrier services. | |
| Format | String | False |
The format of the data returned by the URL endpoint. json is the only valid value. | |
| ServiceDiscovery | String | False |
Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples. | |
| AdminGraphqlApiId | String | False |
The GraphQL GID for this carrier service. |
Query and delete information regarding different collects.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The Id of the collection this listing belongs to. | |
| Title | String | True |
The titke of the collection listing. | |
| BodyHtml | String | True |
The HTML body/description for this listing. | |
| DefaultProductImage | String | True |
The default product image in this listing. | |
| ImageCreatedAt | String | True |
The date and time the image for this listing was created at. | |
| ImageSource | String | True |
The source/link of the image for this listing. | |
| Handle | String | True |
The handle of this listing. | |
| UpdatedAt | Datetime | True |
The date and time when the collection listing was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the collection listing was created. |
Query, insert, or delete information regarding different collects.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the collect. | |
| CollectionId | Long | False |
The Id of the collection this collection is linked with. | |
| ProductId | Long | False |
The Id of the product this collection is linked with. | |
| Position | Int | True |
The position of this product in a manually sorted custom collection. The first position is 1. This value is applied only when the custom collection is sorted manually. | |
| SortValue | String | True |
This is the same value as position but padded with leading zeroes to make it alphanumeric-sortable. | |
| CreatedAt | Datetime | True |
The date and time when the collect was created. | |
| UpdatedAt | Datetime | True |
The date and time when the collect was last modified. |
Create, read, update and delete the comments.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the comment. | |
| BlogId | Long | False |
Blogs.Id |
A unique numeric identifier for the blog containing the article that the comment belongs to. |
| ArticleId | Long | False |
Articles.Id |
A unique numeric identifier for the article that the comment belongs to. |
| Author | String | False |
The name of the author of the comment. | |
| Body | String | False |
The basic Textile markup of a comment. | |
| BodyHtml | String | False |
The text of the comment, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the comment was created. | |
| String | False |
The email address of the author of the comment. | ||
| Ip | String | False |
The IP address from which the comment was posted. | |
| PublishedAt | String | False |
The date and time (ISO 8601 format) when the comment was published. | |
| Status | String | True |
The status of the comment. The allowed values are pending, approved, unapproved, spam, published, removed. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the comment was last modified. | |
| UserAgent | String | False |
The user agent string provided by the software used to create the comment. | |
| PublishedStatus | String | False |
Filter comments by their publish status. Valid values are: published, unpublished and any ; default: any. The allowed values are published, unpublished, any. |
Query, insert, update, or delete information regarding different custom collections.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the custom collection. | |
| Title | String | False |
The title of the custom collection. | |
| BodyHtml | String | False |
The body/description of the custom collection. | |
| Image | String | False |
A JSON aggregate with information regarding the image of custom collection. | |
| Metafields | String | False |
Attaches additional metadata to a shop's resources: key: An identifier for the metafield. (maximum: 30 characters), namespace: A container for a set of metadata. Namespaces help distinguish between metadata created by different apps. (maximum: 20 characters), value: Information to be stored as metadata, value_type: The information type being stored. Valid values: string or integer, description (optional): Additional information about the metafield . | |
| Handle | String | False |
A human-friendly unique string for the custom collection automatically generated from its title. | |
| SortOrder | String | False |
The order in which products in the custom collection appear. | |
| TemplateSuffix | String | False |
The suffix of the liquid template being used. | |
| PublishedScope | String | False |
The sales channels in which the custom collection is visible. | |
| UpdatedAt | Datetime | True |
The date and time when the custom collection was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the custom collection was published to the Online Store channel. | |
| ProductId | String | False |
Show custom collections that include a given product. | |
| PublishedStatus | String | False |
Show custom collection with a given published status: published: show only published custom collections, unpublished: show only unpublished custom collections, any: show custom collections of any published status. (default: any). The allowed values are published, unpublished, any. |
Create, update, delete, and query customer addresses.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the address. | |
| CustomerId [KEY] | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| CustomerUpdatedAt | Datetime | True |
The date and time when the customer information was last updated. | |
| Name | String | False |
The customer's name. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| Company | String | False |
The customer's company. | |
| Address1 | String | False |
The customer's mailing address. | |
| Address2 | String | False |
An additional field for the customer's mailing address. | |
| City | String | False |
The customer's city. | |
| Province | String | False |
The customer's province or state name. | |
| Country | String | False |
The customer's country. | |
| Zip | String | False |
The customer's zip or postal code. | |
| Phone | String | False |
The customer's phone number for this mailing address. | |
| ProvinceCode | String | False |
The two-letter pcode for the customer's province or state. | |
| CountryCode | String | False |
The two-letter country code corresponding to the customer's country. | |
| CountryName | String | False |
The customer's normalized country name. | |
| Default | Bool | True |
Indicates whether this address is the default address for the customer. |
Create, update, delete, and query customers.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the customer. | |
| LastOrderId | Long | True |
Orders.Id |
The id of the customer's last order. |
| LastOrderName | String | True |
The name of the customer's last order. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| String | False |
The unique email address of the customer. | ||
| Phone | String | False |
The unique phone number for this customer. | |
| TaxExempt | Bool | False |
Indicates whether the customer should be charged taxes when placing orders. | |
| TotalSpent | Decimal | True |
The total amount of money that the customer has spent at the shop. | |
| OrdersCount | Int | True |
The number of orders associated with this customer. | |
| MultipassIdentifier | String | True |
The customer's identifier used with Multipass login. | |
| Note | String | False |
A note about the customer. | |
| EmailMarketingState | String | False |
The current email marketing state for the customer. | |
| EmailMarketingLevel | String | False |
The marketing subscription opt-in level. | |
| EmailMarketingUpdatedAt | Datetime | False |
The date and time when the customer consented to receive marketing material by email. | |
| State | String | True |
The state of the customer's account in a shop. | |
| Tags | String | False |
The tags for this customer. Separate with comma for multiple tags. | |
| VerifiedEmail | Bool | True |
States whether or not the email address has been verified. | |
| CreatedAt | Datetime | True |
The date and time when the customer was created. | |
| UpdatedAt | Datetime | True |
The date and time when the customer information was updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Password | String |
Password of the customer. |
| PasswordConfirmation | String |
Password confirmation of the customer. |
| SendEmailWelcome | Bool |
Whether to send a welcome email to the customer or not. |
| SendEmailInvite | Bool |
Whether to send an invite email to the customer or not. |
Create, select, update, and delete information regarding discount codes.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the discount code. | |
| PriceRuleId [KEY] | Long | False |
PriceRules.Id |
The Id for the price rule that this discount code belongs to. |
| Code | String | False |
The case-insensitive discount code that customers use at checkout. | |
| UsageCount | Int | True |
The number of times that the discount code has been redeemed. | |
| CreatedAt | Datetime | True |
The date and time when the discount code was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount code was last modified. |
Create, update, delete, and query draft orders.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the order. | |
| CustomerId | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| String | False |
The customer's email address. | ||
| Name | String | True |
The customer's order name as represented by a number. | |
| TotalPrice | Decimal | True |
The sum of all the prices of all the items in the order, taxes and discounts included. | |
| SubtotalPrice | Decimal | True |
Price of the order before shipping and taxes. | |
| TotalTax | Decimal | False |
The sum of all the taxes applied to the order. | |
| TaxesIncluded | Bool | False |
States whether or not taxes are included in the order subtotal. | |
| InvoiceSentAt | Datetime | True |
This auto-generated property is the date and time when the invoice was emailed to the customer. Only available for draft orders. | |
| Note | String | False |
The text of an optional note that a shop owner can attach to the order. | |
| Tags | String | False |
Additional short descriptors. | |
| InvoiceUrl | String | True |
The URL for the invoice. Only available for draft orders. | |
| TaxExempt | Bool | True |
States whether or not taxes are exempt for this order. Only available for draft orders. | |
| Status | String | True |
The status of the order. Valid values are: open (all open orders), invoice_sent (only closed orders), and completed (cancelled orders). Defaults to 'open'. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the draft order. | |
| BillingAddressFirstName | String | False |
The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | False |
The last name of the person associated with the payment method. | |
| BillingAddressAddress1 | String | False |
The street address of the billing address. | |
| BillingAddressAddress2 | String | False |
An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | False |
The phone number at the billing address. | |
| BillingAddressCity | String | False |
The city of the billing address. | |
| BillingAddressCompany | String | False |
The company of the person associated with the billing address. | |
| BillingAddressZip | String | False |
The zip or postal code of the billing address. | |
| BillingAddressProvince | String | False |
The name of the state or province of the billing address. | |
| BillingAddressCountry | String | False |
The name of the country of the billing address. | |
| BillingAddressLatitude | Double | False |
The latitude of the billing address. | |
| BillingAddressLongitude | Double | False |
The longitude of the billing address. | |
| BillingAddressName | String | False |
The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | False |
The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | False |
The first name of the person associated with the shipping method. | |
| ShippingAddressLastName | String | False |
The last name of the person associated with the shipping method. | |
| ShippingAddressAddress1 | String | False |
The street address of the shipping address. | |
| ShippingAddressAddress2 | String | False |
An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | False |
The phone number at the shipping address. | |
| ShippingAddressCity | String | False |
The city of the shipping address. | |
| ShippingAddressCompany | String | False |
The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | False |
The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | False |
The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | False |
The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | False |
The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | False |
The longitude of the shipping address. | |
| ShippingAddressName | String | False |
The full name of the person associated with the shipping method. | |
| ShippingAddressCountryCode | String | False |
The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| AppliedDiscountTitle | String | False |
The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | False |
The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | False |
The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | False |
The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | False |
The amount of the applied discount for this order. Only available for draft orders. | |
| CreatedAt | Datetime | True |
The date and time when the order was created. | |
| UpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| CompletedAt | Datetime | True |
The date and time when the order was completed at. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| UseCustomerDefaultAddress | Bool |
Optional boolean that you can send as part of a draft order object to load customer shipping information. Valid values: true or false. |
Create, delete, and query information regarding fulfillment events.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A numeric unique identifier for the fulfillment event. | |
| OrderId [KEY] | Long | False |
Orders.Id |
The id of the order the fulfillment event belongs to. |
| FulfillmentId [KEY] | Long | False |
Fulfillments.Id |
A numeric unique identifier for the fulfillment to which the fulfillment event belongs. |
| ShopId | Long | True |
Shop.Id |
A numeric unique identifier for the shop to which the fulfillment event belongs. |
| Status | String | False |
The status of the fulfillment event. Valid values are: confirmed, in_transit, out_for_delivery, delivered, failure. | |
| EstimatedDeliveryAt | Datetime | False |
The status of the fulfillment event. Valid values are: confirmed, in_transit, out_for_delivery, delivered, failure. | |
| Message | String | False |
An arbitrary message describing the status. Can be provided by a shipping carrier. | |
| City | String | False |
The city in which the fulfillment event occurred. | |
| Province | String | False |
The province in which the fulfillment event occurred. | |
| Zip | String | False |
The zip code in the location in which the fulfillment event occurred. | |
| Country | String | False |
The country in which the fulfillment event occurred. | |
| Address1 | String | False |
The fulfillment event's street address. | |
| Latitude | Double | False |
Geographic coordinate specifying the north/south location of a fulfillment event. | |
| Longitude | Double | False |
Geographic coordinate specifying the east/west location of a fulfillment event. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment event was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment event was updated. | |
| HappenedAt | Datetime | True |
The date and time when the fulfillment event occurred. |
Create, update, and query fulfillments.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the fulfillment. | |
| OrderId | Long | False |
Orders.Id |
A unique numeric identifier for the order. |
| LocationId [KEY] | Long | False |
A unique numeric identifier for the Location. | |
| NotifyCustomer | Bool | False |
A flag indicating whether the customer should be notified | |
| Status | String | False |
The status of the fulfillment. | |
| Receipt | String | True |
Provides information about the receipt of this fulfillment. | |
| TrackingCompany | String | False |
The name of the tracking company. | |
| TrackingNumbers | String | False |
A list of comma-separated tracking numbers, provided by the shipping company. | |
| TrackingUrls | String | False |
The sum of all the prices of all the items in the fulfillment. | |
| VariantInventoryManagement | String | True |
States the name of the inventory management service. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment was last modified. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the fulfillment. | |
| OrderUpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| OrderCreatedAt | Datetime | True |
The date and time when the order was last created. | |
| FulfillmentOrderId | Long | False |
The ID of the fulfillment order that is associated with the fulfillments. |
Query, create, update, and delete information regarding different fulfillment services.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the fulfillment service. | |
| LocationId | Long | True |
Locations.Id |
The unique identifier of the location tied to the fulfillment service. |
| ProviderId | String | True |
A unique identifier for the fulfillment service provider. | |
| Name | String | False |
The name of the fulfillment service as seen by merchants and their customers. | |
| Handle | String | True |
A human-friendly unique string for the fulfillment service generated from its title. | |
| ServiceName | String | True |
The name of the fulfillment service. | |
| String | False |
The email of the fulfillment service. | ||
| IncludePendingStock | Bool | False |
States if the fulfillment service includes a pending stock. | |
| RequiresShippingMethod | Bool | False |
States if the fulfillment service requires products to be physically shipped. Valid values are 'true' and 'false'. | |
| TrackingSupport | Bool | False |
States if the fulfillment service provides tracking numbers for packages. Valid values are | |
| InventoryManagement | Bool | False |
States if the fulfillment service tracks product inventory and provides updates to Shopify. Valid values are | |
| FulfillmentOrdersOptIn | Bool | False |
States if the fulfillment orders is opt in. | |
| CallbackUrl | String | False |
States the URL endpoint that Shopify needs to retrieve inventory and tracking updates. This field is necessary if either inventory_management or tracking_support is set to | |
| Format | String | False |
Specifies the format of the API output. Valid values are json and xml. |
Create, update, delete, and query gift cards.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the gift card. | |
| APIClientId | Long | True |
The ID of the client that issued the gift card. | |
| Balance | Decimal | True |
The balance of the gift card. | |
| Code | String | False |
The gift card code, which is a string of alphanumeric characters. For security reasons, this is available only upon creation of the gift card. (minimum: 8 characters, maximum: 20 characters) | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was created. | |
| Currency | String | True |
The currency of the gift card. | |
| CustomerId | Long | True |
Customers.Id |
The ID of the customer associated with this gift card. |
| DisabledAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was disabled. | |
| ExpiresOn | Date | False |
The date (YYYY-MM-DD format) when the gift card expires. Returns null if the gift card doesn't have an expiration date. | |
| InitialValue | Decimal | False |
The initial value of the gift card when it was created. | |
| LastCharacters | String | True |
The last four characters of the gift card code. Because gift cards are alternative payment methods, the full code cannot be retrieved. | |
| LineItemId | Long | True |
OrdersItems.ItemId |
The ID of the line item that initiated the creation of this gift card, if it was created by an order. |
| Note | String | False |
An optional note that a merchant can attach to the gift card that isn't visible to customers. | |
| OrderId | Long | True |
Orders.Id |
The ID of the order that initiated the creation of this gift card, if it was created by an order. |
| TemplateSuffix | String | False |
The suffix of the Liquid template that's used to render the gift card online. For example, if the value is birthday, then the gift card is rendered using the template gift_card.birthday.liquid. When the value is null, the default gift_card.liquid template is used. | |
| UserId | Long | True |
Users.Id |
The ID of the user that issued the gift card, if it was issued by a user. |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the gift card was last modified. |
Create, update, delete, and query marketing events.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the marketing event. | |
| RemoteId | String | False |
An optional remote identifier for a marketing event. | |
| BreadcrumbId | String | True |
An optional identifier for the breadcrumb of a marketing event. | |
| UTMCampaign | String | True |
A unique name for the UTM campaign. | |
| UTMSource | String | True |
The source of the UTM campaign. | |
| UTMMedium | String | True |
The medium of the UTM campaign. | |
| UTMContent | String | True |
The content of the UTM campaign. | |
| UTMTerm | String | True |
The term of the UTM campaign. | |
| EventTarget | String | True |
The target of the event. | |
| Description | String | True |
A description for the marketing event. | |
| MarketingChannel | String | False |
A broader marketing event type that is focused only on the channel. Must be one of the allowed values (`search`, `display`, `social`, `email`, `referral`). | |
| EventType | String | False |
The specific type of marketing event. Must be one of the allowed values (`ad`, `post`, `message`, `retargeting`, `transactional`, `affiliate`, `loyalty`, `newsletter`, `abandoned_cart`, `receipt`). | |
| Budget | Decimal | False |
The budget of the ad campaign. | |
| Paid | Bool | False |
A boolean field to specify whether this event is paid or organic. | |
| BudgetType | String | False |
The type of the budget; must be either `daily` or `lifetime`. | |
| Currency | String | False |
The currency for the budget. | |
| ManageUrl | String | True |
A link to manage the marketing event, generally in the Shopify app's interface. | |
| PreviewUrl | String | True |
A link to view the live version of the post/ad, or to view a rendered preview of the post/ad/email in the Shopify app. | |
| ReferringDomain | String | False |
The destination domain of the marketing event. Required unless MarketingChannel is one of email/referral/display. | |
| MarketedResources | String | True |
A list of the items that were marketed in the marketing event. It's a list of dictionaries with type keys and id keys. Valid values for type are: (`product`, `collection`, `price_rule`, `page`, `article`, `homepage`). All types, other than homepage, also require an id. | |
| StartedAt | Datetime | False |
The timestamp when the marketing action was started, or when the email was sent, or when the Facebook post was made live, etc. | |
| EndedAt | Datetime | False |
For events with a duration, when the event actually ended. This may differ from ScheduledToEndAt, if the ad was stopped early, etc. | |
| ScheduledToEndAt | Datetime | False |
For events with a duration, when the event was supposed to end. |
Retrieves a list of metafields that belong to a resource.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique ID of the metafield. | |
| Namespace | String | False |
A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. | |
| Key | String | False |
The name of the metafield. | |
| Value | String | False |
The information to be stored as metadata. | |
| Type | String | False |
The metafield's information type. | |
| Description | String | False |
A description of the information that the metafield contains. | |
| OwnerId | Long | False |
The unique ID of the resource that the metafield is attached to. | |
| OwnerResource | String | False |
The type of resource that the metafield is attached to. The allowed values are shop, draft_order, page, article, order, customer, collection, blog. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the metafield was created. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the metafield was last updated. | |
| AdminGraphqlApiId | String | True |
The admin graphql api id |
Create, update, delete, and query orders.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the order. | |
| Number | Long | True |
A unique identifier for the order, used by the shop owner and customer. | |
| CustomerId | Long | False |
Customers.Id |
A unique numeric identifier for the customer. |
| CustomerFirstName | String | False |
The first name of the customer. | |
| CustomerLastName | String | False |
The last name of the customer. | |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| String | False |
The customer's email address. | ||
| Name | String | True |
The customer's order name as represented by a number. | |
| TotalDiscounts | Decimal | True |
The total amount of the discounts to be applied to the price of the order. | |
| TotalOrderItemsPrice | Decimal | True |
The sum of all the prices of all the items in the order. | |
| TotalPrice | Decimal | True |
The sum of all the prices of all the items in the order, taxes and discounts included. | |
| SubtotalPrice | Decimal | True |
Price of the order before shipping and taxes. | |
| TotalTax | Decimal | False |
The sum of all the taxes applied to the order. | |
| TotalWeight | Int | True |
The sum of all the weights of the line items in the order, in grams. | |
| BrowserIp | String | True |
The IP address of the browser used by the customer when placing the order. | |
| MerchantBusinessEntityId | String | True |
The ID of the business entity associated with the order. | |
| BuyerAcceptsMarketing | Bool | False |
Indicates whether or not the person who placed the order would like to receive email updates from the shop. | |
| CancelReason | String | True |
The reason why the order was canceled. | |
| CartToken | String | True |
Unique identifier for a particular cart that is attached to a particular order. | |
| OrderStatusUrl | String | True |
The URL pointing to the order status web page. | |
| Token | String | True |
Unique identifier for a particular order. | |
| TaxesIncluded | Bool | False |
States whether or not taxes are included in the order subtotal. | |
| SourceName | String | True |
Where the order originated. | |
| ReferringSite | String | True |
The website that the customer clicked on to come to the shop. | |
| Phone | String | False |
The customer's phone number. | |
| Note | String | False |
The text of an optional note that a shop owner can attach to the order. | |
| LocationId | Long | True |
The unique numeric identifier for the physical location at which the order was processed. | |
| LandingSite | String | True |
The URL for the page where the buyer landed when entering the shop. | |
| Tags | String | False |
Additional short descriptors. | |
| FulfillmentStatus | String | False |
The fulfillment status of the order. Valid values during SELECT: shipped, partial, unshipped, any, unfulfilled. Valid values during INSERT: fulfilled, null, partial, restocked. The allowed values are shipped, partial, unshipped, any, unfulfilled, fulfilled, null, restocked. | |
| FinancialStatus | String | False |
The financial status of the order. Valid values during SELECT: authorized, pending, paid, partially_paid, refunded, voided, partially_refunded, any, unpaid. Valid values during INSERT: authorized, pending, paid, partially_paid, refunded, voided, partially_refunded. The allowed values are authorized, pending, paid, partially_paid, refunded, voided, partially_refunded, any, unpaid. | |
| CustomerLocale | String | True |
The customer locale of the order. | |
| InvoiceSentAt | Datetime | True |
This auto-generated property is the date and time when the invoice was emailed to the customer. Only available for draft orders. | |
| InvoiceUrl | String | True |
The URL for the invoice. Only available for draft orders. | |
| TaxExempt | Bool | True |
States whether or not taxes are exempt for this order. Only available for draft orders. | |
| DiscountCodes | String | True |
Applicable discount codes that can be applied to the order. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the order. | |
| TaxAggregate | String | False |
A JSON aggregate of tax line items associated with the order. Note, these taxes are applied on the order, not on individual items. If you want them to be applied on individual items, use them in LineAggregate. Tax lines must be associated with either order or line item but not both. | |
| ShippingAggregate | String | False |
A JSON aggregate of shipping line items associated with the order. | |
| NoteAttributesAggregate | String | False |
A JSON aggregate of note attributes associated with the order. | |
| DiscountApplicationsAggregate | String | True |
An ordered list of stacked discount applications. | |
| BillingAddressFirstName | String | False |
The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | False |
The last name of the person associated with the payment method. | |
| BillingAddressAddress1 | String | False |
The street address of the billing address. | |
| BillingAddressAddress2 | String | False |
An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | False |
The phone number at the billing address. | |
| BillingAddressCity | String | False |
The city of the billing address. | |
| BillingAddressCompany | String | False |
The company of the person associated with the billing address. | |
| BillingAddressZip | String | False |
The zip or postal code of the billing address. | |
| BillingAddressProvince | String | False |
The name of the state or province of the billing address. | |
| BillingAddressCountry | String | False |
The name of the country of the billing address. | |
| BillingAddressLatitude | Double | False |
The latitude of the billing address. | |
| BillingAddressLongitude | Double | False |
The longitude of the billing address. | |
| BillingAddressName | String | False |
The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | False |
The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | False |
The first name of the person associated with the shipping method. | |
| ShippingAddressLastName | String | False |
The last name of the person associated with the shipping method. | |
| ShippingAddressAddress1 | String | False |
The street address of the shipping address. | |
| ShippingAddressAddress2 | String | False |
An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | False |
The phone number at the shipping address. | |
| ShippingAddressCity | String | False |
The city of the shipping address. | |
| ShippingAddressCompany | String | False |
The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | False |
The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | False |
The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | False |
The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | False |
The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | False |
The longitude of the shipping address. | |
| ShippingAddressName | String | False |
The full name of the person associated with the shipping method. | |
| ShippingAddressCountryCode | String | False |
The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | False |
The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | False |
Whether this address is the default one or not. | |
| AppliedDiscountTitle | String | False |
The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | False |
The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | False |
The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | False |
The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | False |
The amount of the applied discount for this order. Only available for draft orders. | |
| PaymentTermsAmount | Long | True |
The amount that is owed according to the payment terms. | |
| PaymentTermsCurrency | String | True |
The presentment currency for the payment. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the selected payment terms template for the order. | |
| PaymentTermsPaymentTermsType | String | True |
The type of selected payment terms template for the order. | |
| PaymentTermsDueInDays | Int | True |
The number of days between the invoice date and due date that is defined in the selected payment terms template. | |
| PaymentTermsPaymentSchedules | String | True |
An array of schedules associated to the payment terms. | |
| ProcessedAt | Datetime | True |
The date and time when the order was imported, in ISO 8601 format. | |
| CreatedAt | Datetime | True |
The date and time when the order was created. | |
| ClosedAt | Datetime | True |
The date and time when the order was closed. | |
| CancelledAt | Datetime | True |
The date and time when the order was canceled. | |
| UpdatedAt | Datetime | True |
The date and time when the order was last modified. | |
| SendReceipt | Bool | False |
Determines whether an order confirmation will be sent to the customer. | |
| SendFulfillmentReceipt | Bool | False |
Determines whether a fulfillment confirmation will be sent to the customer. | |
| InventoryBehaviour | String | False |
Determines which inventory updating behavior is used. The following values are available: default, decrement_ignoring_policy, decrementobeying_policy The allowed values are default, decrement_ignoring_policy, decrementobeying_policy. | |
| Operation | String | False |
An operation to apply to the Order. Valid values for order: Close, Open, or Cancel. The allowed values are Close, Open, Cancel. | |
| TotalShippingPriceSetShopMoneyAmount | Double | True |
The amount of the shop money in the total shipping price set. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
The currency code of the shop money in the total shipping price set. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total shipping price set. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total price set. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total price set. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total tax set. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total tax set. | |
| CheckoutId | Long | True |
The checkout id. | |
| CheckoutToken | String | True |
A unique value when referencing the checkout that's associated with the order. | |
| EstimatedTaxes | Bool | True |
Estimated taxes of the order. | |
| Test | Bool | True |
Test boolean for the order. | |
| TotalOutstanding | Decimal | True |
The outstanding sum of all the items in the order. | |
| TotalTipReceived | Decimal | True |
The total tip for the order. | |
| PresentmentCurrency | String | True |
The currency code of the presentment money. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total line items price set. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total line items price set. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the discounts set. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the discounts set. | |
| TotalSubtotalSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the subtotal. | |
| TotalSubtotalSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the subtotal. | |
| OrigTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the original total additional fees set. | |
| OrigTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the original total additional fees set. | |
| CurTotalDiscountsSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total discounts set. | |
| CurTotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total discounts set. | |
| CurSubtotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current subtotal price set. | |
| CurSubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current subtotal price set. | |
| CurrentTotalTaxSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total tax set. | |
| CurrentTotalTaxSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total tax set. | |
| CurTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total additional fees set. | |
| CurTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total additional fees set. | |
| CurrentTotalPriceSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total price set. | |
| CurrentTotalPriceSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total price set. | |
| OriginalTotalDutiesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the original total duties set. | |
| OriginalTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the original total duties set. | |
| CurrentTotalDutiesSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the current total duties set. | |
| CurrentTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the current total duties set. | |
| PaymentGatewayNames | String | True |
The list of payment gateway names | |
| FulfillmentAggregate | String | True |
A JSON aggregate of fulfillments associated with the order. Note, these fulfillments are applied on the order, not on individual items. | |
| RefundAggregate | String | True |
A JSON aggregate of refunds associated with the order. Note, these refunds are applied on the order, not on individual items. | |
| ConfirmationNumber | String | True |
A randomly generated alpha-numeric identifier for the order that may be shown to the customer instead of the sequential order name. This value isn't guaranteed to be unique. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Status | String |
Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Create and query transactions.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the transaction. | |
| OrderId | Long | False |
Orders.Id |
A unique numeric identifier for the order. |
| UserId | Long | True |
The unique identifier for the user. | |
| LocationId | Long | True |
The ID of the physical location where the transaction was processed. | |
| Amount | Decimal | False |
The amount of money that the transaction was for. | |
| AmountRounding | Decimal | True |
The rounding adjustment for cash payments, to be applied on the amount to get a rounded amount. | |
| Authorization | String | False |
The authorization code associated with the transaction. | |
| Currency | String | False |
The three letter code (ISO 4217) for the currency used for the payment. | |
| DeviceId | String | True |
The unique identifier for the device. | |
| Gateway | String | False |
The name of the gateway the transaction was issued through. | |
| SourceName | String | True |
The origin of the transaction. | |
| Kind | String | False |
The kind of transaction. Can be any of the following: Authorization, Capture, Sale, Void, Refund. The allowed values are authorization, capture, sale, void, refund. | |
| Message | String | True |
The message associated with this transaction. | |
| ErrorCode | String | True |
A standardized error code, independent of the payment provider. | |
| Status | String | False |
The status of the transaction. | |
| Test | Bool | True |
The option to use the transaction for testing purposes. | |
| AVSResultCode | String | True |
The Response code from the address verification system. | |
| CreditCardBin | String | True |
The issuer identification number (IIN). | |
| CVVResultCode | String | True |
The Response code from the credit card company. | |
| CreditCardNumber | String | True |
The customer's credit card number, with most of the leading digits redacted with Xs. | |
| CreditCardCompany | String | True |
The name of the company who issued the customer's credit card. | |
| CreatedAt | Datetime | True |
The date and time when the customer was created. | |
| PaymentsRefundsAttributesStatus | String | True |
The current status of the refund The allowed values are pending, failure, success, error. | |
| PaymentsRefundsAttributesAcquirerReferenceNumber | String | True |
A unique number associated with the transaction that can be used to track the refund. | |
| PaymentId | String | True |
The unique identifier for the payment. | |
| ProcessedAt | Datetime | True |
The date and time when the transaction was processed. | |
| CreditCardName | String | True |
The name on the customer's credit card. | |
| CreditCardWallet | String | True |
The wallet of the customer's credit card. | |
| CreditCardExpMonth | Long | True |
The expiration month of the customer's credit card. | |
| CreditCardExpYear | Long | True |
The expiration year of the customer's credit card. | |
| Receipt | String | True |
A JSON aggregate of the order receipt. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | True |
The amount of the shop money in the total unsettled set. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | True |
The amount of the presentment money in the total unsettled set. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| TransactionItemAmount | Decimal |
The amount of money that the transaction was for. Use this when inserting transactions into an order or refund. |
| TransactionItemGateway | String |
The name of the gateway the transaction was issued through. Use this when inserting transactions into an order or refund. |
| TransActionItemKind | String |
The kind of transaction. Can be any of the following: Authorization, Capture, Sale, Void, Refund. Use this when inserting transactions into an order or refund. The allowed values are authorization, capture, sale, void, refund. |
| TransactionItemStatus | String |
The status of the transaction. Use this when inserting transactions into an order or refund. |
| TransactionItemParentId | String |
The parent id of the transaction. Use this when inserting transactions into a refund. |
| TransactionItemSource | String |
The status of the transaction. |
| UpdatedAt | Datetime |
The last time the order is updated. |
Create, read, update or delete pages
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique numeric identifier for the page. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| Author | String | False |
The name of the person who created the page. | |
| BodyHtml | String | False |
The text content of the page, complete with HTML markup. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the page was created. | |
| Handle | String | False |
A unique, human-friendly string for the page, generated automatically from its title. In online store themes, the Liquid templating language refers to a page by its handle. | |
| Metafields | String | False |
Additional information attached to the Page object. | |
| PublishedAt | Datetime | False |
The date and time (ISO 8601 format) when the page was published. Returns null when the page is hidden. | |
| ShopId | Long | True |
The ID of the shop to which the page belongs. | |
| TemplateSuffix | String | False |
The suffix of the Liquid template being used. | |
| Title | String | False |
The page's title. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601 format) when the page was last updated. | |
| PublishedStatus | String | False |
Filter comments by their publish status. Valid values are: published, unpublished and any ; default: any. The allowed values are published, unpublished, any. |
Create, update, delete, and query price rules.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the price rule. | |
| AllocationMethod | String | False |
The allocation method of the price rule. Valid values: each: The discount is applied to each of the entitled items. across: The calculated discount amount will be applied across the entitled items. The allowed values are each, across. | |
| CustomerSelection | String | False |
The customer selection for the price rule. Valid values: all: The price rule is valid for all customers. prerequisite: The customer must either belong to one of the customer saved searches specified by PrerequisiteSavedSearchIds. The allowed values are all, prerequisite. | |
| EntitledCollectionIds | String | False |
A list of Ids of collections whose products will be eligible to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. It can't be used in combination with EntitledProductIds or EntitledVariantIds. | |
| EntitledCountryIds | String | False |
A list of Ids of shipping countries that will be entitled to the discount. It can be used only with TargetType set to shipping_line and TargetSelection set to entitled. | |
| EntitledProductIds | String | False |
A list of Ids of products that will be entitled to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. | |
| EntitledVariantIds | String | False |
A list of Ids of product variants that will be entitled to the discount. It can be used only with TargetType set to line_item and TargetSelection set to entitled. | |
| OncePerCustomer | Bool | False |
Whether the generated discount code will be valid only for a single use per customer. This is tracked using customer Id. | |
| PrerequisiteCustomerIds | String | False |
A list of customer Ids which for the price rule to be applicable, the customer must match one of the specified customers. If PrerequisiteCustomerIds is populated, then PrerequisiteSavedSearchIds must be empty. | |
| PrerequisiteQuantityRange | String | False |
The minimum number of items for the price rule to be applicable. It has the following property: greater_than_or_equal_to: The quantity of an entitled cart item must be greater than or equal to this value. | |
| PrerequisiteSavedSearchIds | String | False |
A list of customer saved search Ids. For the price rule to be applicable, the customer must be in the group of customers matching a customer saved search. If PrerequisiteSavedSearchIds is populated, then PrerequisiteCustomerIds must be empty. | |
| PrerequisiteShippingPriceRange | String | False |
The maximum shipping price for the price rule to be applicable. It has the following property: less_than_or_equal_to: The shipping price must be less than or equal to this value. | |
| PrerequisiteSubtotalRange | String | False |
The minimum subtotal for the price rule to be applicable. It has the following property: greater_than_or_equal_to: The subtotal of the entitled cart items must be greater than or equal to this value for the discount to apply. | |
| TargetSelection | String | False |
The target selection method of the price rule. Valid values: all: The price rule applies the discount to all line items in the checkout, entitled: The price rule applies the discount to selected entitlements only. | |
| TargetType | String | False |
The target type that the price rule applies to. Valid values: line_item: The price rule applies to the cart's line items, shipping_line: The price rule applies to the cart's shipping lines. | |
| UsageLimit | Int | False |
The maximum number of times the price rule can be used, per discount code. | |
| PrerequisiteProductIds | String | False |
List of product ids that will be a prerequisites for a Buy X Get Y type discount. The PrerequisiteProductIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Caution: If a product variant is included in PrerequisiteVariantIds, then PrerequisiteProductIds can't include the ID of the product associated with that variant. | |
| PrerequisiteVariantIds | String | False |
List of variant ids that will be a prerequisites for a Buy X Get Y type discount. The EntitledVariantIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Caution: If a product is included in PrerequisiteProductIds, then PrerequisiteVariantIds can't include the ID of any variants associated with that product. | |
| PrerequisiteCollectionIds | String | False |
List of collection ids that will be a prerequisites for a Buy X Get Y discount. The EntitledCollectionIds can be used only with: TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each and PrerequisiteToEntitlementQuantityRatio defined. Cannot be used in combination with PrerequisiteProductIds or PrerequisiteVariantIds. | |
| Value | Decimal | False |
The value of the price rule. If if the value of target_type is shipping_line, then only -100 is accepted. The value must be negative. | |
| ValueType | String | False |
The value type of the price rule. Valid values: fixed_amount: Applies a discount of value as a unit of the store's currency. For example, if value is -30 and the store's currency is USD, then $30 USD is deducted when the discount is applied, percentage: Applies a percentage discount of value. For example, if value is -30, then 30% will be deducted when the discount is applied. If TargetType is shipping_line, then only percentage is accepted. | |
| PrerequisiteToEntitlementQuantityRatio | String | False |
Buy/Get ratio for a Buy X Get Y discount. prerequisite_quantity defines the necessary 'buy' quantity and entitled_quantity the offered 'get' quantity. The PrerequisiteToEntitlementQuantityRatio can be used only with: ValueType set to percentage, TargetType set to line_item, TargetSelection set to entitled, AllocationMethod set to each, PrerequisiteProductIds or PrerequisiteVariantIds or PrerequisiteCollectionIds defined and EntitledProductIds or EntitledVariantIds or EntitledCollectionIds defined. | |
| Images | String | False |
A list of image objects. | |
| ProductType | String | False |
A categorization that a product can be tagged with, commonly used for filtering and searching. | |
| Options | String | True |
Custom product property names. | |
| PublishedScope | String | False |
Indicates whether the product is published to the Point of Sale channel. | |
| Tags | String | False |
A categorization that a product can be tagged with. Use commas to separate categories. | |
| TemplateSuffix | String | True |
The suffix of the liquid template being used. | |
| Title | String | False |
The name of the product. | |
| Vendor | String | False |
The name of the vendor of the product. | |
| StartsAt | Datetime | False |
The date and time when the price rule starts. | |
| EndsAt | Datetime | False |
The date and time when the price rule ends. Must be after StartsAt. | |
| PublishedAt | Datetime | True |
The date and time when the product was published to the Online Store channel. | |
| CreatedAt | Datetime | True |
The date and time when the price rule was created. | |
| UpdatedAt | Datetime | True |
The date and time when the price rule was last modified. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Published | Bool |
Set to true to publish the product or to false to not publish it |
| MetafieldsGlobalTitleTag | String |
The name of the product, to be used for SEO purposes. |
| MetafieldsGlobalDescriptionTag | String |
The description of the product, to be used for SEO purposes. |
Create, update, delete, and query Recurring Application Charges.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the recurring application charge. | |
| Name | String | False |
The name of the recurring application charge. | |
| ApiClientId | String | False |
The API Client Id | |
| Price | Decimal | False |
The price of the recurring application charge. The maximum price is 10,000. | |
| Status | String | False |
The status of the recurring charge | |
| ReturnUrl | String | False |
The URL where the merchant is redirected after accepting the charge. | |
| BillingOn | Date | False |
The date and time (ISO 8601 format) when the customer was billed. | |
| Test | String | False |
Whether the application charge is a test transaction. | |
| CreatedAt | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was created. | |
| UpdatedAt | Datetime | False |
The date and time (ISO 8601 format) when the recurring application charge was last updated. | |
| ActivatedOn | Datetime | False |
The date and time (ISO 8601 format) when the customer activated the recurring application charge. | |
| CancelledOn | Datetime | False |
The date and time (ISO 8601 format) when the merchant canceled their recurring application charge. | |
| TrialDays | Int | False |
The number of days that the customer is eligible for a free trial. | |
| TrialEndsOn | Datetime | False |
The date and time (ISO 8601 format) when the free trial ends. | |
| DecoratedReturnUrl | String | False |
The decorated return url. | |
| CappedAmount | String | False |
The limit a customer can be charged for usage based billing. If this property is provided, then you must also provide the terms property. | |
| ConfirmationUrl | String | False |
The URL where the merchant accepts or declines the recurring application charge. | |
| Terms | String | False |
The terms and conditions of usage based billing charges. Must be present in order to create usage charges, |
Create, read, update or delete redirects.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID for the redirect. | |
| Path | String | False |
The old path to be redirected. | |
| Target | String | False |
The target location where the user will be redirected. |
Create and query refunds.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The unique identifier for the refund. | |
| OrderId | Long | False |
Orders.Id |
The id of the order. |
| OrderUpdatedAt | Datetime | True |
Orders.UpdatedAt |
The date and time when the order was last modified. |
| Note | String | False |
The optional note attached to a refund. | |
| Restock | Bool | True |
Whether or not the line items were added back to the store inventory. | |
| UserId | Long | True |
The unique identifier of the user who performed the refund. | |
| CreatedAt | Datetime | True |
The date and time when the refund was created. | |
| ProcessedAt | Datetime | True |
The date and time when the refund was imported. | |
| LineAggregate | String | False |
A JSON aggregate of line items associated with the refund. | |
| OrderTransactionAggregate | String | False |
A JSON aggregate of transactions associated with the refund. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Notify | Bool |
Whether or not to send a refund notification to the customer. |
| DiscrepancyReason | String |
An optional comment, used if there is a discrepancy between calculated and actual refund amounts (one of: restock, damage, customer, other) |
| ShippingAmount | Decimal |
Set specific amount of shipping to refund. Takes precedence over FullRefund. |
| ShippingFullRefund | Bool |
Whether or not to to refund all remaining shipping. |
Returns a list of resource feedback objects..
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
Unique id of the resource. | |
| Type | String | False |
TType of resource for which feedback is returned. eg. Shop, Product. | |
| State | String | False |
Indicates the state that the Shop or resource is in, from the perspective of your app. Valid values are requires_action, or success. The allowed values are requires_action, success. | |
| Messages | String | False |
The name of the report. | |
| CreatedAt | Datetime | False |
DateTime when the resource feedback record was stored by Shopify. Type: ISO 8601 UTC DateTime as string with year, month (or week), day, hour, minute, second, time zone. | |
| UpdatedAt | Datetime | False |
DateTime when the resource feedback record was last updated by Shopify. Type: ISO 8601 UTC DateTime as string with year, month (or week), day, hour, minute, second, time zone. | |
| ResourceUpdatedAt | Datetime | False |
The date and time (ISO 8601) when the report was last modified. | |
| FeedbackGeneratedAt | Datetime | False |
The time at which the payload is constructed. Used to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival. Type: ISO 8601 UTC datetime as string with year, month [or week], day, hour, minute, second, millisecond, and time zone. |
Create, read, update or delete script tags.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID for the script tag. | |
| Cache | Bool | False |
Whether the Shopify CDN can cache and serve the script tag. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601) when the script tag was created. | |
| DisplayScope | String | False |
The page or pages on the online store where the script should be included. The allowed values are online_store, order_status, all. | |
| Event | String | False |
The DOM event that triggers the loading of the script. Valid values: onload. | |
| Src | String | False |
The URL of the remote script. | |
| UpdatedAt | Datetime | True |
The date and time (ISO 8601) when the script tag was last updated. |
Query, insert, update, or delete information regarding different smart collections.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
The ID of the smart collection. | |
| Title | String | False |
The name of the smart collection. Maximum length: 255 characters. | |
| BodyHtml | String | False |
The description of the smart collection. Includes HTML markup. Many shop themes display this on the smart collection page. | |
| Image | String | False |
A JSON aggregate with information regarding the image of smart collection. | |
| Rules | String | False |
A JSON aggregate with the list of rules that define what products go into the smart collection. Valid values for each rule field: column: tag, title, type, vendor, variant_price, variant_compare_at_price, variant_weight, variant_inventory, variant_title; relation: equals, greater_than, less_than, starts_with, ends_with, contains; condition: any string | |
| Handle | String | False |
A human-friendly unique string for the smart collection. Automatically generated from the title. Used in shop themes by the Liquid templating language to refer to the smart collection. (maximum: 255 characters) | |
| Disjunctive | Bool | False |
Whether the product must match all the rules to be included in the smart collection. Valid values: true: products only need to match one or more of the rules to be included in the smart collection, false: products must match all of the rules to be included in the smart collection. | |
| SortOrder | String | False |
The order in which products in the smart collection appear. | |
| TemplateSuffix | String | False |
The suffix of the Liquid template that the shop uses. By default, the original template is called product.liquid, and additional templates are called product.suffix.liquid. | |
| PublishedScope | String | False |
Whether the smart collection is published to Point of Sale. Valid values: web: The smart collection is published to the shop's online channels and not published to the Point of Sale channel, global: The smart collection is published to both the online channels and the Point of Sale channel. | |
| UpdatedAt | Datetime | True |
The date and time when the smart collection was last modified. | |
| PublishedAt | Datetime | True |
The date and time when the smart collection was published. Returns null when the collection is hidden. | |
| ProductId | String | True |
Show smart collections that include a given product. | |
| PublishedStatus | String | True |
Show smart collection with a given published status: published: show only published smart collections, unpublished: show only unpublished smart collections, any: show all smart collections. (default: any). The allowed values are published, unpublished, any. |
Create, read, update or delete themes
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the theme. | |
| AdminGraphqlApiId | String | True |
Displays the Admin Graphql API id. | |
| CreatedAt | Datetime | True |
The date and time (ISO 8601 format) when the theme was created. | |
| Name | String | False |
The name of the theme. | |
| Previewable | Bool | True |
Whether the theme can currently be previewed. | |
| Processing | Bool | True |
Whether files are still being copied into place for this theme. | |
| Role | String | False |
Specifies how the theme is being used within the shop. The allowed values are main, published, demo. | |
| ThemeStoreId | Long | True |
A unique identifier applied to Shopify-made themes that are installed from the Shopify Theme Store Theme Store. | |
| UpdatedAt | Datetime | True |
The date and time ( ISO 8601 format) when the theme was last updated. |
Create or view Usage Charges for Recurring Application Charges.
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | False |
The ID of the usage charge. | |
| Description | String | False |
The name of the usage charge. | |
| Price | Decimal | False |
The price of the usage charge. | |
| CreatedAt | Datetime | False |
The date and time (ISO 8601 format) when the usage charge was created. | |
| BalanceUsed | Decimal | False |
The used balance | |
| BalanceRemaining | Decimal | False |
The remaining balance | |
| RiskLevel | Int | False |
The risk Level | |
| RecurringApplicationId | Long | False |
The Id of the RecurringApplication Charge |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| AbandonedCheckouts | Query abandoned checkouts. |
| AbandonedCheckoutsItems | Query abandoned checkouts items. |
| AssignedFulfillmentOrders | The AssignedFulfillmentOrder resource allows you to retrieve all the fulfillment orders that are assigned to an app at the shop level. |
| DiscountApplications | Query note attributes belonging to an order or draft order. |
| DraftOrderItemProperties | Query order item properties. |
| DraftOrderItems | Query draft order items. |
| DraftOrderItemTaxLines | Query draft order items tax lines. |
| Events | Retrieve events which have happened in your shop. |
| FulfillmentOrderLineItems | Query fulfillment order line items. |
| FulfillmentOrders | Query fulfillment orders. |
| Locations | Retrieve information regarding store locations. |
| NoteAttributes | Query note attributes belonging to an order or draft order. |
| OrderDiscountCodes | Query note attributes belonging to an order or draft order. |
| OrderItemDiscountAllocations | Query order item discount allocations. |
| OrderItemProperties | Query order item properties. |
| OrdersItems | Query order items. |
| Payouts | Retrieves a list of all payouts ordered by payout date, with the most recent being first. |
| PayoutTransactions | Retrieves a list of all balance transactions ordered by processing time, with the most recent being first. |
| PayoutTransactionsAdjustmentOrderTransactions | Retrieves associated order transactions that resulted in a balance transaction. |
| RefundAdjustments | Create and query transactions. |
| RefundsItems | Get data on OrdersItems that have been refunded. |
| RefundTransactions | Query transactions for Refund Object. |
| ShippingItemDiscountAllocations | Query Shipping item discount allocations. |
| ShippingItems | Query order shipping. |
| ShippingZones | Retrieve information regarding shipping zones. |
| Shop | Contains general settings and information about the shop. |
| TaxItems | Query order taxes. |
| Users | Query Users. |
Query abandoned checkouts.
| Name | Type | References | Description |
| Id [KEY] | Long | The unique numeric identifier for the order. | |
| AbandonedCheckoutUrl | String | The full recovery URL to be sent to a customer to recover their abandoned checkout. | |
| BuyerAcceptsMarketing | Bool | Indicates whether or not the person who placed the order would like to receive email updates from the shop. | |
| CancelReason | String | The reason why the order was cancelled. | |
| CustomerId | Long |
Customers.Id | A unique numeric identifier for the customer. |
| DiscountCodes | String | Applicable discount codes that can be applied to the order. | |
| String | The customer's email address. | ||
| Note | String | The text of an optional note that a shop owner can attach to the order. | |
| SubtotalPrice | Decimal | Price of the order before shipping and taxes. | |
| TotalDiscounts | Decimal | The total amount of the discounts to be applied to the price of the order. | |
| TotalLineItemsPrice | Decimal | The sum of all the prices of all the items in the order. | |
| TotalPrice | Decimal | The sum of all the prices of all the items in the order, taxes and discounts included. | |
| TotalTax | Decimal | The sum of all the taxes applied to the order. | |
| TaxesIncluded | Bool | States whether or not taxes are included in the order subtotal. | |
| BillingAddressFirstName | String | The first name of the person associated with the payment method. | |
| BillingAddressLastName | String | The last name of the person associated with the payment method. | |
| BillingAddressAdress1 | String | The street address of the billing address. | |
| BillingAddressAdress2 | String | An optional additional field for the street address of the billing address. | |
| BillingAddressPhone | String | The phone number at the billing address. | |
| BillingAddressCity | String | The city of the billing address. | |
| BillingAddressCompany | String | The company of the person associated with the billing address. | |
| BillingAddressZip | String | The zip or postal code of the billing address. | |
| BillingAddressProvince | String | The name of the state or province of the billing address. | |
| BillingAddressCountry | String | The name of the country of the billing address. | |
| BillingAddressLatitude | Double | The latitude of the billing address. | |
| BillingAddressLongitude | Double | The longitude of the billing address. | |
| BillingAddressName | String | The full name of the person associated with the payment method. | |
| BillingAddressCountryCode | String | The two-letter code for the country of the billing address. | |
| BillingAddressProvinceCode | String | The two-letter abbreviation of the state or province of the billing address. | |
| BillingAddressDefault | Bool | Whether this address is the default one or not. | |
| ShippingAddressFirstName | String | The first name of the person associated with the shipping address. | |
| ShippingAddressLastName | String | The last name of the person associated with the shipping address. | |
| ShippingAddressAdress1 | String | The street address of the shipping address. | |
| ShippingAddressAdress2 | String | An optional additional field for the street address of the shipping address. | |
| ShippingAddressPhone | String | The phone number at the shipping address. | |
| ShippingAddressCity | String | The city of the shipping address. | |
| ShippingAddressCompany | String | The company of the person associated with the shipping address. | |
| ShippingAddressZip | String | The zip or postal code of the shipping address. | |
| ShippingAddressProvince | String | The name of the state or province of the shipping address. | |
| ShippingAddressCountry | String | The name of the country of the shipping address. | |
| ShippingAddressLatitude | Double | The latitude of the shipping address. | |
| ShippingAddressLongitude | Double | The longitude of the shipping address. | |
| ShippingAddressName | String | The full name of the person associated with the shipping address. | |
| ShippingAddressCountryCode | String | The two-letter code for the country of the shipping address. | |
| ShippingAddressProvinceCode | String | The two-letter abbreviation of the state or province of the shipping address. | |
| ShippingAddressDefault | Bool | Whether this address is the default one or not. | |
| CompletedAt | Datetime | The date and time when the order was completed. | |
| CreatedAt | Datetime | The date and time when the order was created. | |
| UpdatedAt | Datetime | The date and time when the order was last modified. |
Query abandoned checkouts items.
| Name | Type | References | Description |
| AbandonedCheckoutId [KEY] | Long | The unique numeric identifier for the order. | |
| ProductId [KEY] | Long | The product ID od the item. | |
| ItemVariantId [KEY] | Long | The product variant ID of item. | |
| ItemTitle | String | The title of the product. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item in presentment currency. | |
| SKU | String | A unique identifier for the item in the shop. | |
| VariantTitle | String | The title of the product variant. | |
| Vendor | String | The name of the item's supplier. | |
| CreatedAt | Datetime | The date and time when the order was created. | |
| UpdatedAt | Datetime | The date and time when the order was last modified. |
The AssignedFulfillmentOrder resource allows you to retrieve all the fulfillment orders that are assigned to an app at the shop level.
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the fulfillment order. | |
| ShopId | Long |
Shop.Id | The ID of the shop that's associated with the fulfillment order. |
| OrderId | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| AssignedLocationId | Long | The ID of the location that has been assigned to do the work. | |
| FulfillmentServiceHandle | String | A unique numeric identifier for the order. | |
| RequestStatus | String | The status of the fulfillment. | |
| DestinationId | String | The ID of the fulfillment order destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| LineItems | String | Represents line items belonging to a fulfillment order. | |
| Status | String | The status of the fulfillment order. | |
| Operation | String | An operation to apply to the fulfillment. Complete, Open, or Cancel.
The allowed values are Complete, Open, Cancel. | |
| DeliveryMethodId | Long | The ID of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodPresentedName | String | The name of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodType | String | The type of the delivery option that was presented to the buyer during checkout. |
Query note attributes belonging to an order or draft order.
| Name | Type | References | Description |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Type | String | The name of the note attribute. | |
| Title | String | The value of the note attribute. | |
| Description | String | The value of the note attribute. | |
| Value | String | The value of the note attribute. | |
| ValueType | String | The value of the note attribute. | |
| AllocationMethod | String | The value of the note attribute. | |
| TargetSelection | String | The value of the note attribute. | |
| TargetType | String | The value of the note attribute. |
Query order item properties.
| Name | Type | References | Description |
| ItemId | Long |
DraftOrderItems.ItemId | The id of the order item. |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| Name | String | The name of the item property. | |
| Value | String | The value of the item property. |
Query draft order items.
| Name | Type | References | Description |
| ItemId [KEY] | Long | The id of the line item. | |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| ProductId | Long | The ID of the product corresponding to the line item product variant. | |
| Custom | Bool | States whether this is a custom line item or a product variant line item | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| FulFillmentsService | String | Service provider responsible for fulfillment. | |
| ItemGrams | Int | The weight of the item in grams. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| ItemTitle | String | The title of the product or variant. | |
| ItemVariantId | Long | The id of the product variant. | |
| VariantTitle | String | The title of the product variant. | |
| Vendor | String | The name of the supplier of the item. | |
| Name | String | The name of the product variant. | |
| GiftCard | Bool | States whether or not the product is a gift card. | |
| Properties | String | Shows custom properties for this order item. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| TaxLines | String | Shows tax lines for this order item. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Query draft order items tax lines.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
DraftOrderItems.ItemId | The id of the draft line item. |
| DraftOrderId | Long |
DraftOrders.Id | The id of the draft. |
| TaxTitle | String | The name of the tax. | |
| TaxRate | Decimal | The rate of tax to be applied. | |
| TaxPrice | Decimal | The amount of tax to be charged. |
Retrieve events which have happened in your shop.
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the event. | |
| Description | String | A human readable description of the event. | |
| Message | String | A human readable description of the event. Can contain some HTML formatting. | |
| Body | String | A text field containing information about the event. | |
| Path | String | A relative URL to the resource the event is for, if applicable. | |
| SubjectId | Long | The ID of the resource that generated the event. | |
| SubjectType | String | he type of the resource that generated the event. Valid values: Article, Blog, Collection, Comment, Order, Page, Product, ApiPermission. | |
| Verb | String | The type of event that occurred. Different resources generate different types of event. | |
| Author | String | The author of the event. | |
| Arguments | String | Refers to a certain event and its resources. | |
| CreatedAt | Datetime | The date and time when the event was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| OrderId | Long | The ID of the Order to retrieve events from. |
Query fulfillment order line items.
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the fulfillment order line item. | |
| ShopId | Long |
Shop.Id | The ID of the shop associated with the fulfillment order line item. |
| FulfillmentOrderId | Long | The ID of the fulfillment order associated with this line item. | |
| OrderId | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| LineItemId | Long |
OrdersItems.ItemId | The ID of the line item associated with this fulfillment order line item. |
| InventoryItemId | Long | The ID of the inventory item associated with this fulfillment order line item. | |
| Quantity | Int | The total number of units to be fulfilled. | |
| FulfillableQuantity | Int | The number of units remaining to be fulfilled. | |
| VariantId | Long | The ID of the variant associated with this fulfillment order line item. | |
| FinancialSummaries | String | The financial summary data for the line item. |
Query fulfillment orders.
| Name | Type | References | Description |
| Id [KEY] | Long | An ID for the fulfillment order. | |
| ShopId | Long |
Shop.Id | The ID of the shop that's associated with the fulfillment order. |
| OrderId [KEY] | Long |
Orders.Id | The ID of the order that's associated with the fulfillment order. |
| AssignedLocationId | Long | The ID of the location that has been assigned to do the work. | |
| DestinationId | String | The ID of the fulfillment order destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| FullfillAt | Datetime | The datetime (in UTC) when the fulfillment order is ready for fulfillment. | |
| LineItems | String | Represents line items belonging to a fulfillment order. | |
| RequestStatus | String | The status of the fulfillment. | |
| Status | String | The status of the fulfillment order. | |
| SupportedActions | String | The actions that can be performed on this fulfillment order. | |
| MerchantRequests | String | A list of requests sent by the merchant to the fulfillment service for this fulfillment order.. | |
| FulfillmentHolds | String | Represents the fulfillment holds applied on the fulfillment order. | |
| InternationalDuties | String | The international duties relevant to the fulfillment order. | |
| AssignedLocationAddress1 | String | The street address of the assigned location | |
| AssignedLocationAddress2 | String | An optional additional field for the street address of the assigned location. | |
| AssignedLocationCity | String | The city of the assigned location. | |
| AssignedLocationCountryCode | String | The two-letter code for the country of the assigned location | |
| AssignedLocationName | String | The name of the assigned location. | |
| AssignedLocationPhone | String | The phone number of the assigned location. | |
| DeliveryMethodId | Long | The ID of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodPresentedName | String | The name of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodType | String | The type of the delivery option that was presented to the buyer during checkout. |
Retrieve information regarding store locations.
| Name | Type | References | Description |
| Id [KEY] | Long | The ID for the location. | |
| Name | String | The name of the location. | |
| Legacy | Bool | Whether this is a fulfillment service location. If true, then the location is a fulfillment service location. If false, then the location was created by the merchant and isn't tied to a fulfillment service. | |
| Address1 | String | The first line of the address. | |
| Address2 | String | The second line of the address. | |
| City | String | The city the location is in. | |
| Zip | String | The zip or postal code. | |
| Province | String | The province the location is in. | |
| Country | String | The country the location is in. | |
| Phone | String | The phone number of the location. This value can contain special characters like - and +. | |
| CountryCode | String | The two-letter code (ISO 3166-1 alpha-2 format) corresponding to country the location is in. | |
| CountryName | String | The name of the country the location is in. | |
| CreatedAt | Datetime | The date and time when the location was created. | |
| UpdatedAt | Datetime | The date and time when the location was last updated. | |
| DeletedAt | Datetime | The date and time when the location was deleted. |
Query note attributes belonging to an order or draft order.
| Name | Type | References | Description |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Name | String | The name of the note attribute. | |
| Value | String | The value of the note attribute. |
Query note attributes belonging to an order or draft order.
| Name | Type | References | Description |
| OrderId [KEY] | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Code [KEY] | String | The name of the note attribute. | |
| Amount | String | The value of the note attribute. | |
| Type | String | The value of the note attribute. |
Query order item discount allocations.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| amount | String | The Amount of the item discount allocations. | |
| ApplicationIndex | Int | The ApplicationIndex of the item discount allocations. | |
| ShopMoneyAmount | Decimal | The ShopMoneyAmount of the item discount allocations. | |
| ShopMoneyCurrencyCode | String | The ShopMoneyCurrencyCode of the item discount allocations. | |
| PresentmentMoneyAmount | Decimal | The PresentmentMoneyAmount of the item discount allocations. | |
| PresentmentMoneyCurrencyCode | String | The PresentmentMoneyCurrencyCode of the item discount allocations. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order item properties.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| Name | String | The name of the item property. | |
| Value | String | The value of the item property. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order items.
| Name | Type | References | Description |
| ItemId [KEY] | Long | The id of the order item. Only available for orders. | |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| ProductId | Long | The id of the of the product beloning to the order item. | |
| ItemVariantId | Long | The id of the product variant. | |
| ItemTitle | String | The title of the product. | |
| Name | String | The name of the product variant. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemGrams | Int | The weight of the item in grams. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| VariantTitle | String | The title of the product variant. | |
| Properties | String | Shows custom properties for this order item. | |
| Vendor | String | The name of the supplier of the item. | |
| FulFillmentsService | String | Service provider who is doing the fulfillment. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| GiftCard | Bool | States whether or not the order item is a gift card. | |
| CurrentQuantity | Int | The line item's current quantity after removals. | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| TotalDiscount | Decimal | The total discount amount applied to this order item. | |
| FulfillmentStatus | String | How far along an order is in terms order items fulfilled. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Type | String | The type of order item, can be one of the following(Order, DraftOrder, AbandonedCheckout).
The allowed values are Order, DraftOrder, AbandonedCheckout. | |
| Status | String | Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Retrieves a list of all payouts ordered by payout date, with the most recent being first.
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the payout. | |
| Status | String | The transfer status of the payout. | |
| Currency | String | The ISO 4217 currency code of the payout. | |
| Amount | Decimal | The total amount of the payout, in a decimal formatted string. | |
| Date | Datetime | The date the payout was issued. |
Retrieves a list of all balance transactions ordered by processing time, with the most recent being first.
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the transaction. | |
| Type | String | The type of the balance transaction. | |
| Test | Bool | If the transaction was created for a test mode Order or payment. | |
| PayoutId | Long |
Payouts.Id | The id of the payout the transaction was paid out in. |
| PayoutStatus | String | The status of the payout the transaction was paid out in, or pending if the transaction has not yet been included in a payout. | |
| Currency | String | The ISO 4217 currency code of the transaction. | |
| Amount | Decimal | The gross amount of the transaction, in a decimal formatted string. | |
| Fee | Decimal | The total amount of fees deducted from the transaction amount. | |
| Net | Decimal | The net amount of the transaction. | |
| SourceId | Long | The id of the resource leading to the transaction. | |
| SourceType | String | The type of the resource leading to the transaction. | |
| SourceOrderTransactionId | String | The id of the Order Transaction that resulted in this balance transaction. | |
| SourceOrderId | String | The id of the Order that this transaction ultimately originated from. | |
| ProcessedAt | Datetime | The time the transaction was processed. | |
| AdjustmentReason | String | The reason why an adjustment was made. |
Retrieves associated order transactions that resulted in a balance transaction.
| Name | Type | References | Description |
| Id [KEY] | Long | The unique identifier of the order transaction. | |
| PayoutTransactionId | Long | The unique identifier of the transaction. | |
| Amount | Decimal | Amount that is adjusted in this order transaction. | |
| Fee | Decimal | The total amount of fees deducted from the transaction amount. | |
| Net | Decimal | The net amount of the transaction. | |
| OrderId | Long | The order details for the order transaction. Order id. | |
| OrderName | String | The order details for the order transaction. Order name. |
Create and query transactions.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the refund adjustment. | |
| OrderId | Long |
Orders.Id | The unique identifier for the order that the order adjustment is associated with. |
| RefundId | Long |
Refunds.Id | The unique identifier for the refund that the order adjustment is associated with. |
| Amount | Decimal | The value of the discrepancy between the calculated refund and the actual refund. | |
| TaxAmount | Decimal | The taxes that are added to amount, such as applicable shipping taxes added to a shipping refund. | |
| Kind | String | The order adjustment type. | |
| Reason | String | The reason for the order adjustment. | |
| AmountShopMoney | Decimal | The amount of the order adjustment in shop. | |
| AmountShopCurrency | String | The currency of the order adjustment in shop. | |
| AmountPresentmentMoney | Decimal | The amount of the order adjustment in presentment. | |
| AmountPresentmentCurrency | String | The currency of the order adjustment in presentment. | |
| TaxAmountShopMoney | Decimal | The tax amount of the order adjustment in shop. | |
| TaxAmountShopCurrency | String | The tax currency of the order adjustment in shop. | |
| TaxAmountPresentmentMoney | Decimal | The tax amount of the order adjustment in presentment. | |
| TaxAmountPresentmentCurrency | String | The tax currency of the order adjustment in presentment. |
Get data on OrdersItems that have been refunded.
| Name | Type | References | Description |
| ItemId [KEY] | Long |
OrdersItems.ItemId | The id of the order item. Only available for orders. |
| OrderID [KEY] | Long |
Orders.Id | The id of the refund this refunded item belongs to. |
| RefundId [KEY] | Long |
Refunds.Id | The id of the refund this refunded item belongs to. |
| LocationId | Long | The unique identifier of the location tied to the refund item | |
| ProductId | Long | The id of the of the product beloning to the order item. | |
| ItemVariantId | Long | The id of the product variant. | |
| ItemTitle | String | The title of the product. | |
| Name | String | The name of the product variant. | |
| ItemQuantity | Int | The number of products that were purchased. | |
| ItemPrice | Decimal | The price of the item before discounts have been applied. | |
| ItemGrams | Int | The weight of the item in grams. | |
| SKU | String | A unique identifier of the item in the fulfillment. | |
| VariantTitle | String | The title of the product variant. | |
| Properties | String | Shows custom properties for this order item. | |
| Vendor | String | The name of the supplier of the item. | |
| FulFillmentsService | String | Service provider who is doing the fulfillment. | |
| RequiresShipping | Bool | States whether or not the fulfillment requires shipping. | |
| Taxable | Bool | States whether or not the product was taxable. | |
| GiftCard | Bool | States whether or not the order item is a gift card. | |
| FulfillableQuantity | Int | The amount available to fulfill. | |
| TotalDiscount | Decimal | The total discount amount applied to this order item. | |
| FulfillmentStatus | String | How far along an order is in terms order items fulfilled. | |
| RefundSubtotal | Decimal | The refunded amount for this item. This is calculated by multiplying ItemPrice with RefundQuantity. | |
| RefundQuantity | Int | The quantity of the item refunded. | |
| RefundRestockType | String | The type of the restock action. | |
| RefundSubtotalPresentmentAmount | Decimal | The total amount of the presentment money. | |
| RefundSubtotalPresentmentCurrencyCode | String | The currency code of the presentment money. | |
| RefundSubtotalShopAmount | Decimal | The total amount of the shop money. | |
| RefundSubtotalShopCurrencyCode | String | The currency code of the shop money. | |
| RefundTotalTax | Decimal | Total tax for the refunded item. | |
| RefundTotalTaxPresentmentAmount | Decimal | Total tax amount for the presentment money. | |
| RefundTotalTaxPresentmentCurrencyCode | String | Currency code for the tax on presentment money. | |
| RefundTotalTaxShopAmount | Decimal | Total tax amount for the shop money. | |
| RefundTotalTaxShopCurrencyCode | String | Currency code for the tax on shop money. | |
| AppliedDiscountTitle | String | The title of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountDescription | String | The description of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountValue | Decimal | The value of the applied discount for this order. Only available for draft orders. | |
| AppliedDiscountValueType | String | The value type of the applied discount for order. Only available for draft orders. | |
| AppliedDiscountAmount | Decimal | The amount of the applied discount for this order. Only available for draft orders. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Status | String | Filter orders by their status. Valid values are: open: show only open orders, closed: show only closed orders, cancelled: show only canceled orders, any: show orders of any status,default: open. |
Query transactions for Refund Object.
| Name | Type | References | Description |
| TransactionsId [KEY] | Long | The ID for the refund transaction. | |
| OrderId | Long |
Orders.Id | The ID for the order that the transaction is associated with. |
| RefundId | Long |
Refunds.Id | The unique identifier for the refund associated with. |
| Amount | Decimal | The amount of money included in the transaction. | |
| Authorization | String | The authorization code associated with the transaction.. | |
| CreatedAt | Datetime | The date and time (ISO 8601 format) when the transaction was created. | |
| Currency | String | The three-letter code (ISO 4217 format) for the currency used for the payment. | |
| DeviceId | String | The ID for the device. | |
| ErrorCode | String | A standardized error code, independent of the payment provider. | |
| GraphqlAPIId | String | The order adjustment type. | |
| Gateway | String | The name of the gateway the transaction was issued through. | |
| Kind | String | The transaction's type. | |
| LocationId | String | The ID of the physical location where the transaction was processed. | |
| Message | String | A string generated by the payment provider with additional information about why the transaction succeeded or failed. | |
| ParentId | Long | The ID of an associated transaction.. | |
| ProcessedAt | Datetime | The date and time (ISO 8601 format) when a transaction was processed. | |
| Status | String | The status of the transaction. | |
| SourceName | String | The origin of the transaction. | |
| Test | Bool | Whether the transaction is a test transaction. | |
| UserId | String | The ID for the user who was logged into the Shopify POS device when the order was processed, if applicable. |
Query Shipping item discount allocations.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| ItemId | Long |
ShippingItems.ItemId | The id of the shipping item. Only available for orders. |
| OrderId | Long |
Orders.Id | The id of the order. |
| Amount | String | The Amount of the item discount allocations. | |
| ShopMoneyAmount | Decimal | The ShopMoneyAmount of the item discount allocations. | |
| ShopMoneyCurrencyCode | String | The ShopMoneyCurrencyCode of the item discount allocations. | |
| PresentmentMoneyAmount | Decimal | The PresentmentMoneyAmount of the item discount allocations. | |
| PresentmentMoneyCurrencyCode | String | The PresentmentMoneyCurrencyCode of the item discount allocations. | |
| DiscountApplicationIndex | Int | The Discount application index for an order. | |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. |
Query order shipping.
| Name | Type | References | Description |
| Id [KEY] | Long | The id of the shipping item. | |
| OrderId [KEY] | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| Price | Decimal | The price of this shipping method. | |
| Code | String | A reference to the shipping method. | |
| Title | String | The title of the shipping method. | |
| Source | String | The source of the shipping method. | |
| CarrierIdentifier | String | A reference to the carrier service that provided the rate. | |
| RequestedFulfillmentServiceId | String | A reference to the fulfillment service that is being requested for the shipping method. |
Retrieve information regarding shipping zones.
| Name | Type | References | Description |
| Id [KEY] | Long | The unique numeric identifier for the shipping zone. | |
| Name | String | The name of the shipping zone, specified by the user. | |
| ProfileId | String | The ID of the shipping zone's delivery profile. Shipping profiles allow merchants to create product-based or location-based shipping rates. | |
| LocationGroupId | String | The ID of the shipping zone's location group. Location groups allow merchants to create shipping rates that apply only to the specific locations in the group. | |
| Countries | String | A list of countries that belong to the shipping zone. | |
| CarrierShippingRateProviders | String | Information about carrier shipping providers and the rates used. | |
| PriceBasedShippingRates | String | Information about price based shipping rates used. | |
| WeightBasedShippingRates | String | Information about weight based shipping rates used. |
Contains general settings and information about the shop.
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the shop. | |
| Name | String | The name of the shop. | |
| String | The contact email address for the shop. | ||
| Address1 | String | The shop's street address. | |
| Address2 | String | The shop's additional street address (apt, suite, etc.). | |
| City | String | The city in which the shop is located. | |
| Country | String | The shop's country (by default equal to the two-letter country code). | |
| CountryCode | String | The two-letter country code corresponding to the shop's country. | |
| CountryName | String | The shop's normalized country name. | |
| CustomerEmail | String | The customer's email. | |
| Currency | String | The three-letter code for the currency that the shop accepts. | |
| Domain | String | The shop's domain. | |
| GoogleAppsDomain | String | The URL of the domain if the shop has a google apps domain. | |
| GoogleAppsLoginEnabled | String | Indicated whether the shop has google apps login enabled. | |
| Latitude | Double | Geographic coordinate specifying the north/south location of a shop. | |
| Longitude | Double | Geographic coordinate specifying the east/west location of a shop. | |
| MoneyFormat | String | A string representing the way currency is formatted when the currency isn't specified. | |
| MoneyWithCurrencyFormat | String | A string representing the way currency is formatted when the currency is specified. | |
| WeightUnit | String | A string representing the default unit of weight measurement for the shop. | |
| MyshopifyDomain | String | The shop's 'myshopify.com' domain. | |
| PlanName | String | The name of the Shopify plan the shop is on. | |
| HasDiscounts | Bool | Indicates if any active discounts exist for the shop. | |
| HasGiftCards | Bool | Indicates if any active gift cards exist for the shop. | |
| PlanDisplayName | String | The display name of the Shopify plan the shop is on. | |
| PasswordEnabled | Bool | Indicates whether the Storefront password protection is enabled. | |
| Phone | String | The contact phone number for the shop. | |
| PrimaryLocale | String | The shop's primary locale. | |
| Province | String | The shop's normalized province or state name. | |
| ProvinceCode | String | The two-letter code for the shop's province or state. | |
| ShopOwner | String | The username of the shop owner. | |
| Source | String | The handle of the partner account that referred the merchant to Shopify, if applicable. | |
| TaxShipping | Bool | Specifies whether or not taxes were charged for shipping. | |
| TaxesIncluding | Bool | The setting for whether applicable taxes are included in product prices. | |
| CountryTaxes | Bool | The setting for whether the shop is applying taxes on a per-county basis or not (US-only). | |
| Timezone | String | The name of the timezone the shop is in. | |
| IANATimezone | String | The named timezone assigned by the IANA. | |
| Zip | String | The zip or postal code of the shop's address. | |
| HasStorefront | Bool | Indicates whether the shop has web-based storefront or not. | |
| CreatedAt | Datetime | The date and time when the shop was created. | |
| UpdatedAt | Datetime | The date and time when the shop was last updated. | |
| SetupRequired | Bool | Indicates whether the shop has any outstanding setup steps or not. |
Query order taxes.
| Name | Type | References | Description |
| LineNumber [KEY] | Long | A unique numeric identifier for the table. | |
| OrderId | Long |
Orders.Id | The id of the order. |
| OrderUpdatedAt | Datetime | The date and time when the order was last modified. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. | |
| TaxItemPrice | Decimal | The amount of tax to be charged. | |
| TaxItemRate | Decimal | The rate of tax to be applied. | |
| TaxItemTitle | String | The name of the tax. |
Query Users.
| Name | Type | References | Description |
| Id [KEY] | Long | The ID of the user. | |
| FirstName | String | The first name of the user. | |
| String | The email of the user. | ||
| Url | String | The url of the user. | |
| IM | String | The IM of the user. | |
| ScreenName | String | The screen name of the user. | |
| Phone | String | The phone number of the of the user. | |
| LastName | String | The last name of the user. | |
| AccountOwner | Bool | If the user is the account owner. | |
| ReceiveAnnouncements | Bool | If the user receives announcements. | |
| Bio | String | The bio of the user. | |
| Permissions | String | The list of permissions of the user. | |
| Locale | String | The Locale of the user. | |
| UserType | String | The type of the user. | |
| AdminGraphQLAPIId | String | The Admin GraphQL API Id of the user. | |
| TFAEnabled | Bool | If TFA is enabled. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| AcceptCancellationRequest | Accepts a cancellation request sent to a fulfillment service for a fulfillment order. |
| AcceptFulfillmentRequest | Accepts a fulfillment request sent to a fulfillment service for a fulfillment order. |
| ApproveComment | Approves a comment |
| AssignDefaultAddress | Assign a default address to a customer. |
| CalculateRefund | Calculates refund transactions based on line items and shipping. |
| ChangeSpamStatus | Changes spam status of a comment |
| CompleteDraftOrder | Complete a draft order. |
| CreateAccountActivationUrl | Creates an account activation URL for the specified customer. |
| RejectCancellationRequest | Rejects a cancellation request sent to a fulfillment service for a fulfillment order. |
| RejectFulfillmentRequest | Rejects a fulfillment request sent to a fulfillment service for a fulfillment order. |
| RestoreComment | Restores a previously removed comment |
| SendCancellationRequest | Sends a cancellation request to the fulfillment service of a fulfillment order. |
| SendFulfillmentRequest | Sends a fulfillment request to the fulfillment service of a fulfillment order. |
| SendInvite | Send a default or customized invite to a customer. |
| SendInvoice | Send a default or customized invoice to a customer. |
| UpdateQuantity | Update the available quantity of inventory items for a product variant in a specific location. |
Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for accepting the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for accepting the fulfillment request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Approves a comment
| Name | Type | Description |
| Id | String | The id of the comment that needs to be approved. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Assign a default address to a customer.
| Name | Type | Description |
| CustomerId | String | The id of the customer. |
| CustomerAddressId | String | The id of the address you are setting as default. This address must belong to the customer specified in CustomerId. You cannot use the address of a different customer. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Calculates refund transactions based on line items and shipping.
| Name | Type | Description |
| OrderId | String | The id of the order. |
| Currency | String | The ISO format for the currency used to refund. Required when the ShippingAmount is provided. |
| RefundLineItems | String | A list of line item IDs, quantities to refund, and restock instructions. |
| ShippingFullRefund | String | Specify whether to refund all remaining shipping. |
| ShippingAmount | Double | Specify a specific amount to refund for shipping. Takes precedence over ShippingFullRefund. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| AdditionalFees | String | A JSON aggregate for additional fees. |
| Currency | String | The ISO format for the currency used to refund. |
| Duties | String | A JSON aggregate of the refunded duties as part of this refund. |
| RefundLineItems | String | A JSON aggregate of line item IDs, quantities to refund, and restock instructions. |
| Return | String | The items that will be returned to the merchant. |
| ShippingAmount | Decimal | The decimal amount for shipping. |
| ShippingMaximumRefundable | Decimal | The maximum amount that can be refunded for shipping. |
| ShippingTax | Decimal | The tax amount for the shipping. |
| TotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | The decimal amount for additional fees presentment money. |
| TotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | The currency for additional fees presentment money. |
| TotalAdditionalFeesSetShopMoneyAmount | Decimal | The decimal amount for additional fees shop money. |
| TotalAdditionalFeesSetShopMoneyCurrencyCode | String | The currency for additional fees shop money. |
| TotalDutiesSetPresentmentMoneyAmount | Decimal | The decimal amount for duties presentment money. |
| TotalDutiesSetPresentmentMoneyCurrencyCode | String | The currency for for duties presentment money. |
| TotalDutiesSetShopMoneyAmount | Decimal | The decimal amount for duties shop money. |
| TotalDutiesSetShopMoneyCurrencyCode | String | The currency for duties shop money. |
| TransactionsOrderId | Long | The id of the transaction order. |
| TransactionsKind | String | The kind of transaction. Indicates whether the refund will be accepted. |
| TransactionsGateway | String | The gateway of the transaction. |
| TransactionsParentId | Long | The parent ID for the transaction. |
| TransactionsAmount | Decimal | The decimal amount for the transaction. |
| TransactionsCurrencyCode | String | The currency for the transaction. |
| TransactionsMaximumRefundable | Decimal | The maximum amount that can be refunded for transaction. |
Changes spam status of a comment
| Name | Type | Description |
| Id | String | The id of the comment whose status needs to be changed |
| Spam | String | Value of spam status
The allowed values are yes, no. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Complete a draft order.
| Name | Type | Description |
| Id | String | The id of the draft order. |
| PaymentPending | String | Sets payment pending to true.
The default value is false. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Creates an account activation URL for the specified customer.
| Name | Type | Description |
| CustomerId | String | The id of the customer. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| AccountActivationUrl | String | The URL the customer needs to access to activate his account. |
Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for rejecting the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| LineItems | String | An optional array of line item rejection details. If none are provided, all line items will be assumed to be unfulfillable. |
| Message | String | An optional message for rejecting the fulfillment request. |
| Reason | String | An optional reason for the fulfillment request rejection.
The allowed values are incorrect_address, inventory_out_of_stock, ineligible_product, undeliverable_destination, other. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Restores a previously removed comment
| Name | Type | Description |
| Id | String | The id of the comment that needs to be restored. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Sends a cancellation request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| Message | String | An optional reason for the cancellation request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Sends a fulfillment request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| FulfillmentOrderId | String | The id of the fulfillment order. |
| FulfillmentOrderLineItems | String | The fulfillment order line items to be requested for fulfillment. If left blank, all line items of the fulfillment order are requested for fulfillment. |
| Message | String | An optional message for the fulfillment request. |
| NotifyCustomer | Boolean | Whether to notify the customer about the fulfillment request. |
| Name | Type | Description |
| Id | String | The id of the modified fulfillment order. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Send a default or customized invite to a customer.
| Name | Type | Description |
| Id | String | The customer id to whom the invite will be sent. |
| To | String | The email address of whom to send the invite. |
| From | String | The email address of the person who sent the invite. |
| BCC | String | A comma separated list of email addresses to whom a blind carbon copy of the email will be sent. |
| Subject | String | The subject of the email. |
| CustomMessage | String | A custom message to be sent. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Send a default or customized invoice to a customer.
| Name | Type | Description |
| Id | String | The id of the draft order invoice which will be sent. |
| To | String | The email address of whom to send the invoice. |
| From | String | The email address of the person who sent the invoice. |
| BCC | String | A comma separated list of email addresses to whom a blind carbon copy of the email will be sent. |
| Subject | String | The subject of the email. |
| CustomMessage | String | A custom message to be sent. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Update the available quantity of inventory items for a product variant in a specific location.
| Name | Type | Description |
| Id | String | A unique numeric identifier for the product variant. |
| InventoryQuantity | String | The quantity of inventory items available for sale to set. |
| LocationId | String | The ID of the location where the available quantity of items for sale is to be set. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
The CData Cloud models the Shopify API as relational tables, views, and stored procedures.
To use the GraphQL Data Model, simply set Schema to GraphQL.
The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.
Common tables include:
| Table | Description |
| Shop | Contains general settings and information about the shop. |
| Customers | Lists customers with core profile data, marketing preferences, and tags. |
| Catalogs | Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use. |
| Orders | Lists orders with customer, payment, fulfillment, duty, and tax details. |
| DeliveryProfiles | Lists saved delivery profiles that define shipping logic by product and location. |
| OrderTransactions | Lists payment transactions associated with orders (authorization, capture, refund). |
| Refunds | Represents refunds of items or transactions on an order, with amounts and reasons. |
| RefundLineItems | Lists refund line item records that specify quantities and amounts refunded. |
| Products | Lists products with titles, status, variants, media, and publishing details. |
| ProductVariants | Lists product variants with pricing, inventory tracking, and option values. |
| Collections | Returns manual and automated collections with titles, rules, and publication state. |
| CollectionProducts | Lists products contained within a specified collection. |
| DraftOrders | Lists saved draft orders for manual checkout or invoicing workflows. |
| DraftOrderLineItems | Lists the line items included in a draft order with quantities and prices. |
| Fulfillments | Represents shipments created for orders, including tracking and delivery status. |
| FulfillmentOrders | Lists merchant-managed and third-party fulfillment orders with statuses and assignments. |
| FulfillmentEvents | Lists status events (in transit, delivered) associated with fulfillments. |
| Locations | Lists active inventory locations used for stock, fulfillment, and pickup. |
| InventoryItems | Lists inventory items (SKU-level records) with tracking and cost data. |
| Metafields | Lists metafields attached to one or more resource Ids. |
Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing fulfillment orders, adjusting inventory across locations, and administering store configuration and content.
See UseBulkAPI for a more in-depth look at how the driver performs Shopify Bulk Operations.
The Cloud models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.
| Name | Description |
| AppFeedbacks | Reports the status of shops and their resources and displays this information within Shopify admin. AppFeedback is used to notify merchants about steps they need to take to set up an application on their store. |
| AppSubscriptionLineItems | Returns the plans attached to the app subscription. |
| AppSubscriptions | Lists all subscriptions created for a shop on the installed application. |
| ArticleComments | List of article comments. |
| Articles | List of the shop's articles. |
| Blogs | List of the shop's blogs. |
| CarrierServices | Returns a list of activated carrier services and associated shop locations that support them. |
| Catalogs | The catalogs belonging to the shop. |
| Collections | Returns a list of collections. |
| Companies | Returns the list of companies in the shop. |
| CompanyContactRoleAssignments | Returns role assignments. |
| CompanyContacts | Returns contacts for companies. |
| CompanyLocations | Returns a list of locations in the company. |
| CompanyLocationStaffMemberAssignments | Store's staff member who are assigned to a company location of the shop. The assigned staff members' actions are limited to objects associated with the assigned company location. (This table is available only with a ShopifyPlus subscription) |
| CustomerAddresses | List addresses associated with customers. |
| Customers | Retrieves a list of customers. |
| DeliveryProfiles | Returns a list of saved delivery profiles. |
| DiscountsAutomaticApp | Returns a list of discounts. |
| DiscountsAutomaticBasic | Returns a list of discounts. |
| DiscountsAutomaticBxgy | Returns a list of discounts. |
| DiscountsCodeApp | Returns a list of discounts. |
| DiscountsCodeBasic | Returns a list of discounts. |
| DiscountsCodeBxgy | Returns a list of discounts. |
| DraftOrders | Returns a list of saved draft orders. |
| Files | Returns the list of files that have been uploaded to Shopify. |
| FulfillmentEvents | Retrieves the history of events associated with one or many fulfillments. |
| FulfillmentOrders | Retrieves a paginated list of merchant-managed and third-party fulfillment orders. |
| Fulfillments | Fulfillment represents a shipment of one or more items in an order. |
| FulfillmentServices | Lists fulfillmentServices which Represents service that prepares and ships orders on behalf of the store owner. |
| FulfillmentTrackingInfo | Lists tracking information associated with the fulfillment, such as the tracking company, tracking number, and tracking URL. |
| GiftCards | Returns a list of gift cards. Requires read_gift_cards access scope. Also, note that the API client must be a private or custom application installed on a Shopify Plus or Shopify Plus Partner Sandbox store. (This table is available only with a ShopifyPlus subscription) |
| GiftCardTransactionsCredit | Credit transactions which increase the gift card balance. (This table is available only with a ShopifyPlus subscription) |
| GiftCardTransactionsDebit | Debit transactions which decrease the gift card balance. (This table is available only with a ShopifyPlus subscription) |
| InventoryItemInventoryLevels | Returns overview information of the inventory item for each location that the inventory item can be stocked at. |
| InventoryItems | Returns a list of inventory items. |
| Locations | Returns a list of active inventory locations. |
| Menus | List menus for display on the storefront. |
| MetafieldDefinitions | Returns metafield definitions. |
| Metafields | Retrieves a list of metafields that belong to one or many resource IDs. |
| OrderRiskAssessments | Retrieves a list of risk assessments for orders. |
| Orders | Retrieves a list of orders. |
| OrderTransactions | Retrieves the transactions associated with the resource. |
| Pages | List of the shop's pages. |
| PriceLists | All price lists for a shop. |
| ProductMediaImages | Returns the media images associated with the product. |
| ProductOptions | Returns a list of product options. The limit is specified by Shop.resourceLimits.maxProductOptions. |
| ProductOptionValues | List all the corresponding option value objects to the product option, including values not assigned to any variants. |
| ProductResourceFeedbacks | Returns the product resource feedback for the currently authenticated app. |
| Products | Returns a list of products. |
| ProductVariants | Returns a list of the product variants. |
| Publications | Returns the list of publications. |
| Refunds | Represents a refund of items or transactions in an order. |
| Returns | Retrieves a list of returns for the order. |
| ScriptTags | Returns a list of script tags. |
| Segments | A list of a shop's segments. |
| SellingPlanGroups | Returns a list Selling Plan Groups. |
| StoreCreditAccountCreditTransactions | Credit transactions which increase the store credit account balance. |
| StoreCreditAccountDebitTransactions | Debit transactions which decrease the store credit account balance. |
| StorefrontAccessTokens | Retrieves the storefront access token of a private application. These are scoped per-application. |
| Themes | List of the shop's themes. |
| UrlRedirects | Returns a list of redirects for a shop. |
Reports the status of shops and their resources and displays this information within Shopify admin. AppFeedback is used to notify merchants about steps they need to take to set up an application on their store.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM AppFeedbacks
The following columns can be used to create a new record:
Message, State, FeedbackGeneratedAt
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | True |
Name of the app. | |
| Message | String | True |
The feedback message presented to the merchant. | |
| Url | String | True |
The URL that the link visits. | |
| Label | String | True |
A context-sensitive label for the link. | |
| State | String | True |
The state of the feedback and whether it requires merchant action. The allowed values are ACCEPTED, REQUIRES_ACTION. | |
| FeedbackGeneratedAt | Datetime | True |
The date and time when the feedback was generated. Used to help determine whether incoming feedback is outdated compared to existing feedback. |
Returns the plans attached to the app subscription.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppSubscriptionLineItems WHERE AppInstallationId = 'Val1'
The following columns can be updated:
UsagePricingPlanCappedAmount, UsagePricingPlanCappedAmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AppSubscriptionId | String | True |
A globally-unique ID. | |
| AppInstallationId | String | True |
A globally-unique ID. | |
| RecurringPricingPlanDiscountDurationLimitInIntervals | Int | True |
The total number of billing intervals to which the discount will be applied. The discount will be applied to an indefinite number of billing intervals if this value is blank. | |
| RecurringPricingPlanDiscountPriceAfterDiscountAmount | Decimal | True |
The price of the subscription after the discount is applied. Decimal money amount. | |
| RecurringPricingPlanDiscountPriceAfterDiscountCurrencyCode | String | True |
The price of the subscription after the discount is applied. Currency of the money. | |
| RecurringPricingPlanDiscountRemainingDurationInIntervals | Int | True |
The remaining number of billing intervals to which the discount will be applied. | |
| RecurringPricingPlanValueAmount | Decimal | True |
The value of the discount applied every billing interval. Decimal money amount. | |
| RecurringPricingPlanValueAmountCurrencyCode | String | True |
The value of the discount applied every billing interval. Currency of the money. | |
| RecurringPricingPlanValuePercentage | Double | True |
The value of the discount applied every billing interval. The percentage value of a discount. | |
| RecurringPricingPlanInterval | String | True |
The frequency at which the subscribing shop is billed for an app subscription. | |
| RecurringPricingPlanHandle | String | True |
The app store pricing plan handle. | |
| RecurringPricingPlanPriceAmount | Decimal | True |
The amount to be charged to the subscribing shop every billing interval. Decimal money amount. | |
| RecurringPricingPlanPriceCurrencyCode | String | True |
The currency to be charged to the subscribing shop every billing interval. Currency of the money. | |
| UsagePricingPlanBalanceUsedAmount | Decimal | True |
The total usage records for interval. Decimal money amount. | |
| UsagePricingPlanBalanceUsedCurrencyCode | String | True |
The total usage records for interval. Currency of the money. | |
| UsagePricingPlanCappedAmount | Decimal | False |
The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount. | |
| UsagePricingPlanCappedAmountCurrencyCode | String | False |
The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money. | |
| UsagePricingPlanInterval | String | True |
The frequency with which the app usage records are billed. | |
| UsagePricingPlanTerms | String | True |
The terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges. |
Lists all subscriptions created for a shop on the installed application.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppSubscriptions WHERE AppInstallationId = 'Val1'
The following columns can be used to create a new record:
Name, Test, ReturnUrl, TrialDays, LineItem (references AppSubscriptionLineItems)
| Column Name | Type | Description |
| RecurringPricingPlanDiscountPriceAfterDiscountAmount | Decimal | The price of the subscription after the discount is applied. Decimal money amount. |
| RecurringPricingPlanDiscountRemainingDurationInIntervals | Int | The remaining number of billing intervals to which the discount will be applied. |
| RecurringPricingPlanValuePercentage | Double | The value of the discount applied every billing interval. The percentage value of a discount. |
| RecurringPricingPlanInterval | String | The frequency at which the subscribing shop is billed for an app subscription. |
| RecurringPricingPlanPriceAmount | Decimal | The amount to be charged to the subscribing shop every billing interval. Decimal money amount. |
| RecurringPricingPlanPriceCurrencyCode | String | The currency to be charged to the subscribing shop every billing interval. Currency of the money. |
| UsagePricingPlanCappedAmount | Decimal | The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount. |
| UsagePricingPlanCappedAmountCurrencyCode | String | The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money. |
| UsagePricingPlanTerms | String | The terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AppInstallationId | String | True |
A globally-unique ID. | |
| Name | String | True |
The name of the app subscription. | |
| Status | String | True |
The status of the app subscription. | |
| Test | Bool | True |
Specifies whether the app subscription is a test transaction. | |
| ReturnUrl | String | True |
The URL that the merchant is redirected to after approving the app subscription. | |
| TrialDays | Int | True |
The number of free trial days, starting at the subscription's creation date, by which billing is delayed. | |
| CurrentPeriodEnd | Datetime | True |
The date and time when the current app subscription period ends. Returns 'null' if the subscription isn't active. | |
| CreatedAt | Datetime | True |
The date and time when the app subscription was created. | |
| LineItemIds | String | True |
The IDs of the plans attached to the app subscription. | |
| LineItem | String | True |
The plans attached to the app subscription. |
List of article comments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ArticleComments WHERE Id = 'Val1'
SELECT * FROM ArticleComments WHERE ArticleId = 'Val1'
SELECT * FROM ArticleComments WHERE PublishedAt = '2023-01-01 11:10:00'
SELECT * FROM ArticleComments WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM ArticleComments WHERE CreatedAt = '2023-01-01 11:10:00'
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ArticleId | String | True |
A globally-unique ID. | |
| ArticleTitle | String | True |
The title of the article. | |
| Body | String | True |
The content of the comment. | |
| BodyHtml | String | True |
The content of the comment, complete with HTML formatting. | |
| Status | String | True |
The status of the comment. | |
| Ip | String | True |
The IP address of the commenter. | |
| UserAgent | String | True |
The user agent of the commenter. | |
| AuthorName | String | True |
The author’s name. | |
| AuthorEmail | String | True |
The author's email. | |
| IsPublished | Bool | True |
Whether or not the comment is published. | |
| PublishedAt | Datetime | True |
The date and time when the comment was published. | |
| UpdatedAt | Datetime | True |
The date and time when the comment was last updated. | |
| CreatedAt | Datetime | True |
The date and time when the comment was created. |
List of the shop's articles.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Articles WHERE Id = 'Val1'
SELECT * FROM Articles WHERE Title = 'Val1'
SELECT * FROM Articles WHERE Handle = 'Val1'
SELECT * FROM Articles WHERE AuthorName = 'Val1'
SELECT * FROM Articles WHERE BlogId = 'Val1'
SELECT * FROM Articles WHERE BlogTitle = 'Val1'
SELECT * FROM Articles WHERE IsPublished = true
SELECT * FROM Articles WHERE PublishedAt = '2023-01-01 11:10:00'
SELECT * FROM Articles WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Articles WHERE CreatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, PublishedAt
The following pseudo-columns can be used to create a new record:
AuthorUserId, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, IsPublished, PublishedAt
The following pseudo-columns can be used to update a record:
AuthorUserId, RedirectNewHandle, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the article. | |
| Body | String | False |
The text of the article's body, complete with HTML markup. | |
| Handle | String | False |
A unique, human-friendly string for the article that's automatically generated from the article's title. The handle is used in the article's URL. | |
| Summary | String | False |
A summary of the article, which can include HTML markup. The summary is used by the online store theme to display the article on other pages, such as the home page or the main blog page. | |
| Tags | String | False |
Tags are additional short descriptors. | |
| TemplateSuffix | String | False |
The name of the template an article is using if it's using an alternate template. If an article is using the default 'article. liquid' template, then the value returned is 'null'. | |
| AuthorName | String | False |
The author's full name. | |
| BlogId | String | False |
A globally-unique ID. | |
| BlogTitle | String | False |
The title of the blog. | |
| ImageId | String | True |
A unique ID for the image. | |
| ImageAltText | String | False |
A word or phrase to share the nature or contents of an image. | |
| ImageUrl | String | False |
The location of the image as a URL. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image isn't hosted by Shopify. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image isn't hosted by Shopify. | |
| CommentsCount | Int | True |
Count of comments. | |
| CommentPrecision | String | True |
The count's precision, or the exactness of the value. | |
| IsPublished | Bool | False |
Whether or not the article is visible. | |
| PublishedAt | Datetime | False |
The date and time when the article became or will become visible. Returns null when the article isn't visible. | |
| UpdatedAt | Datetime | True |
The date and time when the article was last updated. | |
| CreatedAt | Datetime | True |
The date and time when the article was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| AuthorUserId | String |
The ID of a staff member's account. |
| RedirectNewHandle | Bool |
Whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically. |
| Metafields | String |
The input fields to create or update a metafield. |
List of the shop's blogs.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Blogs WHERE Id = 'Val1'
SELECT * FROM Blogs WHERE Title = 'Val1'
SELECT * FROM Blogs WHERE Handle = 'Val1'
SELECT * FROM Blogs WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Blogs WHERE CreatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, Handle, TemplateSuffix, CommentPolicy
The following pseudo-column can be used to create a new record:
Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
Title, Handle, TemplateSuffix, CommentPolicy
The following pseudo-columns can be used to update a record:
RedirectArticles, RedirectNewHandle, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the blog. | |
| Handle | String | False |
A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title. The handle is customizable and is used by the Liquid templating language to refer to the blog. | |
| Tags | String | True |
A list of tags associated with the 200 most recent blog articles. | |
| TemplateSuffix | String | False |
The name of the template a blog is using if it's using an alternate template. Returns 'null' if a blog is using the default blog. liquid template. | |
| ArticlesCount | Int | True |
The count of elements. | |
| ArticlesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CommentPolicy | String | False |
Indicates whether readers can post comments to the blog and if comments are moderated or not. | |
| FeedLocation | String | True |
Blog feed provider url. | |
| FeedPath | String | True |
Blog feed provider path. | |
| UpdatedAt | Datetime | True |
The date and time when the blog was update. | |
| CreatedAt | Datetime | True |
The date and time when the blog was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| RedirectArticles | Bool |
Whether to redirect blog posts automatically. |
| RedirectNewHandle | Bool |
Whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically. |
| Metafields | String |
Attaches additional metadata to a store's resources. |
Returns a list of activated carrier services and associated shop locations that support them.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM CarrierServices
The following columns can be used to create a new record:
Name, Active, SupportsServiceDiscovery, CallbackUrl
The following columns can be updated:
Name, Active, SupportsServiceDiscovery, CallbackUrl
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
The name of the shipping service provider. | |
| FormattedName | String | True |
The properly formatted name of the shipping service provider, ready to display. | |
| IconAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| IconHeight | Int | True |
The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify. | |
| IconId | String | True |
A unique ID for the image. | |
| IconWidth | Int | True |
The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify. | |
| Active | Bool | False |
Whether the carrier service is active. | |
| SupportsServiceDiscovery | Bool | False |
Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples. | |
| CallbackUrl | String | False |
The URL endpoint that Shopify needs to retrieve shipping rates. |
The catalogs belonging to the shop.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Catalogs
The following columns can be used to create a new record:
Status, Title, PriceListId, PublicationId
The following pseudo-column can be used to create a new record:
CompanyLocationIds
The following columns can be updated:
Status, Title, PriceListId, PublicationId
The following pseudo-column can be used to update a record:
CompanyLocationIds
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Status | String | False |
The status of the catalog. | |
| Title | String | False |
The name of the catalog. | |
| PriceListId | String | False |
A globally-unique ID. | |
| PublicationId | String | False |
A globally-unique ID. | |
| OperationId | String | True |
A globally-unique ID. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| CompanyLocationIds | String |
The IDs of the company locations to associate to the catalog. |
Returns a list of collections.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Collections WHERE Id = 'Val1'
SELECT * FROM Collections WHERE Title = 'Val1'
SELECT * FROM Collections WHERE Handle = 'Val1'
SELECT * FROM Collections WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Collections WHERE Namespace = 'Val1'
SELECT * FROM Collections WHERE Key = 'Val1'
SELECT * FROM Collections WHERE Value = 'Val1'
The following column can be updated:
SortOrder
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Title | String | True |
The name of the collection. It's displayed in the Shopify admin and is typically displayed in sales channels, such as an online store. | |
| Handle | String | True |
A unique string that identifies the collection. If a handle isn't specified when a collection is created, it's automatically generated from the collection's original title, and typically includes words from the title separated by hyphens. For example, a collection that was created with the title 'Summer Catalog 2022' might have the handle 'summer-catalog-2022'. If the title is changed, the handle doesn't automatically change. The handle can be used in themes by the Liquid templating language to refer to the collection, but using the ID is preferred because it never changes. | |
| DescriptionHtml | String | True |
The description of the collection, including any HTML tags and formatting. This content is typically displayed to customers, such as on an online store, depending on the theme. | |
| ProductsCount | Int | True |
The number of products in the collection. | |
| ProductsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| SortOrder | String | False |
The order in which the products in the collection are displayed by default in the Shopify admin and in sales channels, such as an online store. | |
| TemplateSuffix | String | True |
The suffix of the Liquid template being used to show the collection in an online store. For example, if the value is 'custom', then the collection is using the 'collection. custom. liquid' template. If the value is 'null', then the collection is using the default 'collection. liquid' template. | |
| AvailablePublicationsCount | Int | True |
The number of publications a resource is published to without feedback errors. | |
| AvailablePublicationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| PublishedOnCurrentPublication | Bool | True |
Check to see whether the resource is published to the calling app's publication. | |
| UpdatedAt | Datetime | True |
The date and time when the collection was last modified. | |
| FeedbackSummary | String | True |
Summary of resource feedback pertaining to the resource. | |
| ImageId | String | True |
A unique ID for the image. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The location of the image as a URL. | |
| RuleSetAppliedDisjunctively | Bool | True |
Whether products must match any or all of the rules to be included in the collection. If true, then products must match at least one of the rules to be included in the collection. If false, then products must match all of the rules to be included in the collection. | |
| SeoTitle | String | True |
SEO Title. | |
| SeoDescription | String | True |
SEO Description. | |
| Namespace | String | True |
The container the metafield belongs to. If omitted, the app-reserved namespace will be used. | |
| Key | String | True |
The key for the metafield. | |
| Value | String | True |
The value of the metafield. |
Returns the list of companies in the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Companies WHERE Id = 'Val1'
SELECT * FROM Companies WHERE ExternalId = 'Val1'
SELECT * FROM Companies WHERE Name = 'Val1'
SELECT * FROM Companies WHERE CustomerSince = '2023-01-01 11:10:00'
SELECT * FROM Companies WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Companies WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
ExternalId, Name, Note, CustomerSince
The following columns can be updated:
ExternalId, Name, Note, MainContactId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ExternalId | String | False |
A unique externally-supplied ID for the company. | |
| Name | String | False |
The name of the company. | |
| Note | String | False |
A note about the company. | |
| ContactsCount | Int | True |
The number of contacts that belong to the company. | |
| ContactsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CustomerSince | Datetime | True |
The date and time at which the company became the customer. | |
| DefaultCursor | String | True |
A default cursor that returns the single next record, sorted ascending by ID. | |
| LifetimeDuration | String | True |
The lifetime duration of the company, since it became a customer of the shop. Examples: '2 days', '3 months', '1 year'. | |
| LocationsCount | Int | True |
The number of locations that belong to the company. | |
| LocationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| OrdersCount | Int | True |
The total number of orders placed for this company, across all its locations. | |
| OrdersCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| HasTimelineComment | Bool | True |
Whether the merchant added a timeline comment to the company. | |
| CreatedAt | Datetime | True |
The date and time at which the company was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the company was last modified. | |
| DefaultRoleId | String | True |
A globally-unique ID. | |
| DefaultRoleName | String | True |
The name of a role. For example, 'admin' or 'buyer'. | |
| DefaultRoleNote | String | True |
A note for the role. | |
| MainContactId | String | True |
A globally-unique ID. | |
| TotalSpentAmount | Decimal | True |
Decimal money amount. | |
| TotalSpentCurrencyCode | String | True |
Currency of the money. |
Returns role assignments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyContactRoleAssignments WHERE CompanyContactId = 'Val1'
The following columns can be used to create a new record:
CompanyLocationId, CompanyContactId, RoleId
You can delete entries by specifying the following columns:
Id, CompanyContactId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| CompanyId | String | True |
The company this role assignment belongs to. | |
| CompanyLocationId | String | True |
The company location to which the role is assigned. | |
| CompanyContactId | String | True |
The company contact for whom this role is assigned. | |
| CreatedAt | Datetime | True |
The date and time when the assignment record was created. | |
| UpdatedAt | Datetime | True |
The date and time when the assignment record was last updated. | |
| RoleId | String | True |
A globally-unique ID. | |
| RoleName | String | True |
The name of a role. For example, 'admin' or 'buyer'. | |
| RoleNote | String | True |
A note for the role. |
Returns contacts for companies.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CompanyContacts WHERE CompanyId = 'Val1'
SELECT * FROM CompanyContacts WHERE Id = 'Val1'
The following columns can be used to create a new record:
CompanyId, Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone, CustomerId
The following columns can be updated:
Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| CompanyId | String | True |
The company to which the contact belongs. | |
| Id [KEY] | String | True |
A globally-unique ID. | |
| IsMainContact | Bool | True |
Whether the contact is the main contact of the company. | |
| Title | String | False |
The company contact's job title. | |
| Locale | String | False |
The company contact's locale (language). | |
| LifetimeDuration | String | True |
The lifetime duration of the company contact, since its creation date on Shopify. Examples: '1 year', '2 months', '3 days'. | |
| CreatedAt | Datetime | True |
The date and time at which the company contact was created at Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the company contact was last updated. | |
| CustomerId | String | True |
The customer associated to this contact. | |
| CustomerFirstName | String | False |
The customer's first name. | |
| CustomerLastName | String | False |
The customer's last name. | |
| CustomerEmail | String | False |
The customer's email address. | |
| CustomerPhone | String | False |
The customer's phone number. |
Returns a list of locations in the company.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyLocations WHERE CompanyId = 'Val1'
The following columns can be used to create a new record:
CompanyId, ExternalId, TaxRegistrationId, Name, Locale, Note, Phone, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressPhone, BillingAddressRecipient, BillingAddressZip, BillingAddressCountryCode, BillingAddressZoneCode, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressPhone, ShippingAddressRecipient, ShippingAddressZip, ShippingAddressCountryCode, ShippingAddressZoneCode
The following columns can be updated:
ExternalId, Name, Locale, Note, Phone, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| CompanyId | String | True |
Companies.Id |
A globally-unique ID. |
| ExternalId | String | False |
A unique externally-supplied ID for the company location. | |
| TaxRegistrationId | String | True |
The tax registration ID for the company location. | |
| Name | String | False |
The name of the company location. | |
| Currency | String | True |
The location's currency based on the shipping address. If the shipping address is empty, then the value is the shop's primary market. | |
| Locale | String | False |
The preferred locale of the company location. | |
| Note | String | False |
A note about the company location. | |
| Phone | String | False |
The phone number of the company location. | |
| DefaultCursor | String | True |
A default cursor that returns the single next record, sorted ascending by ID. | |
| OrdersCount | Int | True |
The total number of orders placed for the location. | |
| OrdersCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| TaxExemptions | String | True |
The list of tax exemptions applied to the location. | |
| HasTimelineComment | Bool | True |
Whether the merchant added a timeline comment to the company location. | |
| CreatedAt | Datetime | True |
The date and time at which the company location was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the company location was last modified. | |
| BillingAddressId | String | True |
A globally-unique ID. | |
| BillingAddressCompanyName | String | True |
The name of the company. | |
| BillingAddressFirstName | String | True |
The first name of the recipient. | |
| BillingAddressLastName | String | True |
The last name of the recipient. | |
| BillingAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | True |
The name of the city, district, village, or town. | |
| BillingAddressCountry | String | True |
The name of the country. | |
| BillingAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| BillingAddressRecipient | String | True |
The identity of the recipient e. g. 'Receiving Department'. | |
| BillingAddressZip | String | True |
The zip or postal code of the address. | |
| BillingAddressCountryCode | String | True |
The two-letter code for the country of the address. For example, US. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| BillingAddressZoneCode | String | True |
The two-letter code for the region. For example, ON. | |
| BillingAddressCreatedAt | Datetime | True |
The date and time at which the company address was created. | |
| BillingAddressUpdatedAt | Datetime | True |
The date and time at which the company address was last updated. | |
| BuyerExperienceConfigurationCheckoutToDraft | Bool | False |
Whether to checkout to draft order for merchant review. | |
| BuyerExperienceConfigurationPayNowOnly | Bool | True |
Whether a buyer must pay at checkout or they can also choose to pay later using net terms. | |
| BuyerExperienceConfigurationEditableShippingAddress | Bool | False |
Whether to allow customers to use editable shipping addresses. | |
| BuyerExperienceConfigurationDepositPercentage | Double | False |
The portion required to be paid at checkout. | |
| BuyerExperienceConfigurationPaymentTermsTemplateId | String | False |
A globally-unique ID. | |
| BuyerExperienceConfigurationPaymentTermsTemplateName | String | True |
The name of the payment terms template. | |
| BuyerExperienceConfigurationPaymentTermsTemplateTranslatedName | String | True |
The translated payment terms template name. | |
| BuyerExperienceConfigurationPaymentTermsTemplateDescription | String | True |
The description of the payment terms template. | |
| BuyerExperienceConfigurationPaymentTermsTemplateDueInDays | Int | True |
The number of days between the issued date and due date if this is the net type of payment terms. | |
| BuyerExperienceConfigurationPaymentTermsTemplatePaymentTermsType | String | True |
The type of the payment terms template. | |
| MarketId | String | True |
A globally-unique ID. | |
| ShippingAddressId | String | True |
A globally-unique ID. | |
| ShippingAddressCompanyName | String | True |
The name of the company. | |
| ShippingAddressFirstName | String | True |
The first name of the recipient. | |
| ShippingAddressLastName | String | True |
The last name of the recipient. | |
| ShippingAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | True |
The name of the city, district, village, or town. | |
| ShippingAddressCountry | String | True |
The name of the country. | |
| ShippingAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| ShippingAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| ShippingAddressRecipient | String | True |
The identity of the recipient e. g. 'Receiving Department'. | |
| ShippingAddressZip | String | True |
The zip or postal code of the address. | |
| ShippingAddressCountryCode | String | True |
The two-letter code for the country of the address. For example, US. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| ShippingAddressZoneCode | String | True |
The two-letter code for the region. For example, ON. | |
| ShippingAddressCreatedAt | Datetime | True |
The date and time at which the company address was created. | |
| ShippingAddressUpdatedAt | Datetime | True |
The date and time at which the company address was last updated. | |
| TotalSpentAmount | Decimal | True |
Decimal money amount. | |
| TotalSpentCurrencyCode | String | True |
Currency of the money. |
Store's staff member who are assigned to a company location of the shop. The assigned staff members' actions are limited to objects associated with the assigned company location. (This table is available only with a ShopifyPlus subscription)
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CompanyLocationStaffMemberAssignments WHERE Id = 'Val1'
SELECT * FROM CompanyLocationStaffMemberAssignments WHERE CompanyLocationId = 'Val1'
SELECT * FROM CompanyLocationStaffMemberAssignments WHERE StaffMemberId = 'Val1'
The following columns can be used to create a new record:
CompanyLocationId, StaffMemberId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| CompanyId | String | True |
A globally-unique ID. | |
| CompanyName | String | True |
The name of the company. | |
| CompanyLocationId | String | True |
A globally-unique ID. | |
| CompanyLocationName | String | True |
The name of the company location. | |
| StaffMemberId | String | True |
A globally-unique ID. | |
| StaffMemberName | String | True |
The staff member's full name. |
List addresses associated with customers.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerAddresses WHERE CustomerId = 'Val1'
The following columns can be used to create a new record:
CustomerId, CustomerFirstName, CustomerLastName, Phone, Address1, Address2, CountryCode, ProvinceCode, City, Company, Zip
The following pseudo-column can be used to create a new record:
SetAsDefault
The following columns can be updated:
CustomerId, CustomerFirstName, CustomerLastName, Phone, Address1, Address2, CountryCode, ProvinceCode, City, Company, Zip
The following pseudo-column can be used to update a record:
SetAsDefault
You can delete entries by specifying the following columns:
Id, CustomerId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| CustomerId | String | False |
A globally-unique ID. | |
| CustomerFirstName | String | False |
The first name of the customer. | |
| CustomerLastName | String | False |
The last name of the customer. | |
| CustomerName | String | True |
The full name of the customer, based on firstName and lastName. | |
| Phone | String | False |
A unique phone number for the customer. | |
| Address1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| Address2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| CountryCode | String | False |
The two-letter code for the country of the address. For example, US. | |
| Country | String | True |
The name of the country. | |
| ProvinceCode | String | False |
The alphanumeric code for the region. For example, ON. | |
| Province | String | True |
The region of the address, such as the province, state, or district. | |
| City | String | False |
The name of the city, district, village, or town. | |
| Company | String | False |
The name of the customer's company or organization. | |
| FormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| Zip | String | False |
The zip or postal code of the address. | |
| Latitude | Double | True |
The latitude coordinate of the customer address. | |
| Longitude | Double | True |
The longitude coordinate of the customer address. | |
| TimeZone | String | True |
The time zone of the address. | |
| CoordinatesValidated | Bool | True |
Whether the address corresponds to recognized latitude and longitude values. | |
| ValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| SetAsDefault | Bool |
Whether to set the address as the customer's default address. |
Retrieves a list of customers.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Customers WHERE Id = 'Val1'
SELECT * FROM Customers WHERE Email = 'Val1'
SELECT * FROM Customers WHERE Phone = 'Val1'
SELECT * FROM Customers WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Customers WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, EmailMarketingConsentMarketingState, EmailMarketingConsentMarketingOptInLevel, EmailMarketingConsentConsentUpdatedAt, EmailMarketingConsentSourceLocationId, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt, SmsMarketingConsentSourceLocationId
The following columns can be updated:
FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, EmailMarketingConsentMarketingState, EmailMarketingConsentMarketingOptInLevel, EmailMarketingConsentConsentUpdatedAt, EmailMarketingConsentSourceLocationId, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt, SmsMarketingConsentSourceLocationId
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| MultipassIdentifier | String | True |
A unique identifier for the customer that's used with Multipass login. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| ValidEmailAddress | Bool | True |
Whether the email address is formatted correctly. Returns 'true' when the email is formatted correctly and belongs to an existing domain. This doesn't guarantee that the email address actually exists. | |
| DisplayName | String | True |
The full name of the customer, based on the values for first_name and last_name. If the first_name and last_name are not available, then this falls back to the customer's email address, and if that is not available, the customer's phone number. | |
| FirstName | String | False |
The customer's first name. | |
| LastName | String | False |
The customer's last name. | |
| String | False |
The customer's email address. | ||
| Locale | String | False |
The customer's locale. | |
| Note | String | False |
A note about the customer. | |
| Phone | String | False |
The customer's phone number. | |
| State | String | True |
The state of the customer's account with the shop. | |
| Tags | String | False |
A comma separated list of tags that have been added to the customer. | |
| CanDelete | Bool | True |
Whether the merchant can delete the customer from their store. A customer can be deleted from a store only if they have not yet made an order. After a customer makes an order, they can't be deleted from a store. | |
| LifetimeDuration | String | True |
The amount of time since the customer was first added to the store. Example: 'about 12 years'. | |
| TaxExempt | Bool | False |
Whether the customer is exempt from being charged taxes on their orders. | |
| TaxExemptions | String | False |
The list of tax exemptions applied to the customer. | |
| UnsubscribeUrl | String | True |
The URL to unsubscribe the customer from the mailing list. | |
| VerifiedEmail | Bool | True |
Whether the customer has verified their email address. Defaults to 'true' if the customer is created through the Shopify admin or API. | |
| NumberOfOrders | String | True |
The number of orders that the customer has made at the store in their lifetime. | |
| ProductSubscriberStatus | String | True |
Possible subscriber states of a customer defined by their subscription contracts. | |
| CreatedAt | Datetime | True |
The date and time when the customer was added to the store. | |
| UpdatedAt | Datetime | True |
The date and time when the customer was last updated. | |
| AmountSpentAmount | Decimal | True |
Decimal money amount. | |
| AmountSpentCurrencyCode | String | True |
Currency of the money. | |
| DefaultAddressId | String | True |
A globally-unique ID. | |
| DefaultAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| DefaultAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| DefaultAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| DefaultAddressFirstName | String | False |
The first name of the customer. | |
| DefaultAddressLastName | String | False |
The last name of the customer. | |
| DefaultAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| DefaultAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| DefaultAddressCity | String | False |
The name of the city, district, village, or town. | |
| DefaultAddressCompany | String | False |
The name of the customer's company or organization. | |
| DefaultAddressCountry | String | False |
The name of the country. | |
| DefaultAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| DefaultAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| DefaultAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| DefaultAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| DefaultAddressZip | String | False |
The zip or postal code of the address. | |
| DefaultAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| DefaultAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| DefaultAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| EmailMarketingConsentMarketingState | String | False |
The current email marketing state for the customer. | |
| EmailMarketingConsentMarketingOptInLevel | String | False |
The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines, that the customer gave when they consented to receive marketing material by email. | |
| EmailMarketingConsentConsentUpdatedAt | Datetime | False |
The date and time at which the customer consented to receive marketing material by email. The customer's consent state reflects the consent record with the most recent 'consent_updated_at' date. If no date is provided, then the date and time at which the consent information was sent is used. | |
| EmailMarketingConsentSourceLocationId | String | False |
The ID of the location where the customer consented to receive marketing material by email. | |
| ImageId | String | True |
A unique ID for the image. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The location of the image as a URL. | |
| LastOrderId | String | True |
A globally-unique ID. | |
| MarketId | String | True |
A globally-unique ID. | |
| MergeableReason | String | True |
The reason why the customer can't be merged with another customer. | |
| MergeableErrorFields | String | True |
The list of fields preventing the customer from being merged. | |
| MergeableIsMergeable | Bool | True |
Whether the customer can be merged with another customer. | |
| MergeableMergeInProgressJobId | String | True |
The UUID of the merge job. | |
| MergeableMergeInProgressResultingCustomerId | String | True |
The ID of the customer resulting from the merge. | |
| MergeableMergeInProgressStatus | String | True |
The status of the customer merge request. | |
| SmsMarketingConsentMarketingState | String | False |
The current SMS marketing state for the customer. | |
| SmsMarketingConsentConsentCollectedFrom | String | True |
The source from which the SMS marketing information for the customer was collected. | |
| SmsMarketingConsentMarketingOptInLevel | String | False |
The marketing subscription opt-in level that was set when the customer consented to receive marketing information. | |
| SmsMarketingConsentConsentUpdatedAt | Datetime | False |
The date and time when the customer consented to receive marketing material by SMS. If no date is provided, then the date and time when the consent information was sent is used. | |
| SmsMarketingConsentSourceLocationId | String | False |
The ID of the location where the customer consented to receive marketing material by SMS. | |
| StatisticsPredictedSpendTier | String | True |
The predicted spend tier of a customer with a shop. | |
| StatisticsRFMGroup | String | True |
The RFM (Recency, Frequency, Monetary) group of the customer. |
Returns a list of saved delivery profiles.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DeliveryProfiles WHERE Id = 'Val1'
SELECT * FROM DeliveryProfiles WHERE MerchantOwnedOnly = true
The following column can be used to create a new record:
Name
The following column can be updated:
Name
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
The name of the delivery profile. | |
| Default | Bool | True |
Whether this is the default profile. | |
| LegacyMode | Bool | True |
Whether this shop has enabled legacy compatibility mode for delivery profiles. | |
| OriginLocationCount | Int | True |
The number of active origin locations for the profile. | |
| ZoneCountryCount | Int | True |
The number of countries with active rates to deliver to. | |
| ActiveMethodDefinitionsCount | Int | True |
The number of active shipping rates for the profile. | |
| LocationsWithoutRatesCount | Int | True |
The number of locations without rates defined. | |
| ProductVariantsCount | Int | True |
The product variant count. | |
| ProductVariantsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| MerchantOwnedOnly | Bool | True |
If 'true', returns only delivery profiles that were created by the merchant. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticApp WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE Status = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticApp WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticApp WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticApp WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeTitle = 'Val1'
SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeDiscountClass = 'Val1'
The following columns can be used to create a new record:
Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following columns can be updated:
Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| DiscountId | String | True |
The ID for the discount. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| AppliesOnSubscription | Bool | False |
Whether the discount applies on subscription items. Subscriptions enable customers to purchase products on a recurring basis. | |
| RecurringCycleLimit | Int | False |
The number of billing cycles for which the discount can be applied, which is useful for subscription-based discounts. For example, if you set this field to '3', then the discount only applies to the first three billing cycles of a subscription. If you specify '0', then the discount applies indefinitely. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was updated. | |
| AppDiscountTypeFunctionId | String | False |
The ID of the function providing the app discount type. | |
| AppDiscountTypeTitle | String | True |
The title of the app discount type. | |
| AppDiscountTypeDescription | String | True |
A description of the app discount type. | |
| AppDiscountTypeAppKey | String | True |
The client ID of the app providing the app discount type. | |
| AppDiscountTypeDiscountClass | String | True |
The class of the app discount type. | |
| AppDiscountTypeTargetType | String | True |
The target type of the app discount type. Possible values: 'SHIPPING_LINE' and 'LINE_ITEM'. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| ErrorHistoryFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryErrorsFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryHasSharedRecentErrors | Bool | True |
Whether the merchant has shared all the recent errors with the developer. | |
| ErrorHistoryHasBeenSharedSinceLastError | Bool | True |
Whether the merchant has shared all the recent errors with the developer. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticBasic WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticBasic WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticBasic WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticBasic WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticBasic WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticBasic WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, MinimumQuantity, MinimumSubtotal
The following columns can be updated:
Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| ShortSummary | String | True |
A short summary of the discount. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was updated. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | True |
The minimum quantity of items that's required for the discount to be applied. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| AppliesOnEachItem | Bool |
If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items. |
| DiscountAmount | Decimal |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| MinimumQuantity | String |
The minimum quantity of items that's required for the discount to be applied. |
| MinimumSubtotal | String |
The minimum subtotal that's required for the discount to be applied. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsAutomaticBxgy WHERE Title = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE Status = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsAutomaticBxgy WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticBxgy WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticBxgy WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsAutomaticBxgy WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| AsyncUsageCount | Int | True |
The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count. | |
| UsesPerOrderLimit | Int | False |
The maximum number of times that the discount can be applied to an order. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was updated. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| DiscountOnQuantity | String |
The value of the discount. |
| DiscountPercentage | Double |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| DiscountQuantityToBuy | String |
The quantity of prerequisite items. |
| DiscountAmountToBuy | String |
The value of the discount. |
| ProductsBuysToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsBuysToRemove | String |
A simple, comma-separated list of products IDs to remove. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeApp WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeApp WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeApp WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeApp WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeTitle = 'Val1'
SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeDiscountClass = 'Val1'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers
The following pseudo-columns can be used to create a new record:
Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers
The following pseudo-columns can be used to update a record:
Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| DiscountId | String | True |
The ID for the discount. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| CodesCount | Int | True |
The number of redeem codes for the discount. | |
| CodesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| UsageLimit | Int | False |
The maximum number of times that the discount can be used. | |
| AsyncUsageCount | Int | True |
The number of times that the discount has been used. | |
| HasTimelineComment | Bool | True |
Indicates whether there are any timeline comments on the discount. | |
| RecurringCycleLimit | Int | True |
The number of times a discount applies on recurring purchases (subscriptions). | |
| AppliesOncePerCustomer | Bool | False |
Whether the discount can be applied only once per customer. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was updated. | |
| AppDiscountTypeFunctionId | String | False |
The ID of the function providing the app discount type. | |
| AppDiscountTypeTitle | String | True |
The title of the app discount type. | |
| AppDiscountTypeDescription | String | True |
A description of the app discount type. | |
| AppDiscountTypeAppKey | String | True |
The client ID of the app providing the app discount type. | |
| AppDiscountTypeDiscountClass | String | True |
The class of the app discount type. | |
| AppDiscountTypeTargetType | String | True |
The target type of the app discount type. Possible values: 'SHIPPING_LINE' and 'LINE_ITEM'. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| DiscountCustomerAllAllCustomers | Bool | False |
Whether the discount can be applied by all customers. This value is always 'true'. | |
| ErrorHistoryFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryErrorsFirstOccurredAt | Datetime | True |
The date and time that the first error occurred. | |
| ErrorHistoryHasSharedRecentErrors | Bool | True |
Whether the merchant has shared all the recent errors with the developer. | |
| ErrorHistoryHasBeenSharedSinceLastError | Bool | True |
Whether the merchant has shared all the recent errors with the developer. | |
| TotalSalesAmount | Decimal | True |
Decimal money amount. | |
| TotalSalesCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code to use the discount. |
| AddAllCustomers | Bool |
Whether all customers can use this discount. |
| CustomersToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomersToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
| CustomerSegmentsToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomerSegmentsToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeBasic WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeBasic WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeBasic WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeBasic WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeBasic WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeBasic WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity
The following pseudo-columns can be used to create a new record:
Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity
The following pseudo-columns can be used to update a record:
Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| CodesCount | Int | True |
The number of redeem codes for the discount. | |
| CodesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| ShortSummary | String | True |
A short summary of the discount. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| UsageLimit | Int | False |
The maximum number of times that the discount can be used. | |
| AsyncUsageCount | Int | True |
The number of times that the discount has been used. | |
| HasTimelineComment | Bool | True |
Indicates whether there are any timeline comments on the discount. | |
| RecurringCycleLimit | Int | False |
The number of times a discount applies on recurring purchases (subscriptions). | |
| AppliesOncePerCustomer | Bool | False |
Whether the discount can be applied only once per customer. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was updated. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| CustomerGetsAppliesOnSubscription | Bool | False |
Whether the discount applies on subscription items. | |
| CustomerGetsAppliesOnOneTimePurchase | Bool | False |
Whether the discount applies on regular one-time-purchase items. | |
| DiscountCustomerAllAllCustomers | Bool | False |
Whether the discount can be applied by all customers. This value is always 'true'. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | False |
The minimum quantity of items that's required for the discount to be applied. | |
| TotalSalesAmount | Decimal | True |
Decimal money amount. | |
| TotalSalesCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code to use the discount. |
| AppliesOnEachItem | Bool |
If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items. |
| DiscountAmount | Decimal |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| AddAllCustomers | Bool |
Whether all customers can use this discount. |
| CustomersToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomersToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
| CustomerSegmentsToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomerSegmentsToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeBxgy WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeBxgy WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeBxgy WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeBxgy WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeBxgy WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeBxgy WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to create a new record:
Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
The following columns can be updated:
Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts
The following pseudo-columns can be used to update a record:
Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the discount. | |
| Status | String | True |
The status of the discount. | |
| Summary | String | True |
A detailed summary of the discount. | |
| CodesCount | Int | True |
The number of redeem codes for the discount. | |
| CodesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DiscountClass | String | True |
The class of the discount for combining purposes. | |
| EndsAt | Datetime | False |
The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| StartsAt | Datetime | False |
The date and time when the discount starts. | |
| UsageLimit | Int | False |
The maximum number of times that the discount can be used. | |
| AsyncUsageCount | Int | True |
The number of times that the discount has been used. | |
| HasTimelineComment | Bool | True |
Indicates whether there are any timeline comments on the discount. | |
| AppliesOncePerCustomer | Bool | False |
Whether the discount can be applied only once per customer. | |
| UsesPerOrderLimit | Int | False |
The maximum number of times that the discount can be applied to an order. | |
| CreatedAt | Datetime | True |
The date and time when the discount was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount was updated. | |
| CombinesWithOrderDiscounts | Bool | False |
Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | False |
Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | False |
Combines with shipping discounts. | |
| CustomerGetsAppliesOnSubscription | Bool | True |
Whether the discount applies on subscription items. | |
| CustomerGetsAppliesOnOneTimePurchase | Bool | True |
Whether the discount applies on regular one-time-purchase items. | |
| DiscountCustomerAllAllCustomers | Bool | True |
Whether the discount can be applied by all customers. This value is always 'true'. | |
| TotalSalesAmount | Decimal | True |
Decimal money amount. | |
| TotalSalesCurrencyCode | String | True |
Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Code | String |
The code to use the discount. |
| DiscountOnQuantity | String |
The value of the discount. |
| DiscountPercentage | Double |
The value of the discount. |
| ProductsToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| DiscountAmountToBuy | String |
The value of the discount. |
| DiscountQuantityToBuy | Double |
The quantity of prerequisite items. |
| ProductsBuysToAdd | String |
A simple, comma-separated list of products IDs to add. |
| ProductsBuysToRemove | String |
A simple, comma-separated list of products IDs to remove. |
| AddAllCustomers | Bool |
Whether all customers can use this discount. |
| CustomersToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomersToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
| CustomerSegmentsToAdd | String |
A simple, comma-separated list of customers IDs to add. |
| CustomerSegmentsToRemove | String |
A simple, comma-separated list of customers IDs to remove. |
Returns a list of saved draft orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DraftOrders WHERE Id = 'Val1'
SELECT * FROM DraftOrders WHERE Status = 'Val1'
SELECT * FROM DraftOrders WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DraftOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM DraftOrders WHERE CustomerId = 'Val1'
The following columns can be used to create a new record:
Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout
| Column Name | Type | Description |
| Title | String | The title of the product or variant. This field only applies to custom line items. |
| Quantity | Int | The number of product variants that are requested in the draft order. |
| Sku | String | The SKU number of the product variant. |
| Taxable | Bool | Whether the variant is taxable. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| AppliedDiscountTitle | String | Name of the order-level discount. |
| AppliedDiscountDescription | String | Description of the order-level discount. |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. |
| AppliedDiscountValueType | String | Type of the order-level discount. |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. |
| VariantId | String | A globally-unique ID. |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. |
| WeightUnit | String | The unit of measurement for 'value'. |
The following columns can be updated:
Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout
| Column Name | Type | Description |
| Title | String | The title of the product or variant. This field only applies to custom line items. |
| Quantity | Int | The number of product variants that are requested in the draft order. |
| Sku | String | The SKU number of the product variant. |
| Taxable | Bool | Whether the variant is taxable. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| AppliedDiscountTitle | String | Name of the order-level discount. |
| AppliedDiscountDescription | String | Description of the order-level discount. |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. |
| AppliedDiscountValueType | String | Type of the order-level discount. |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. |
| VariantId | String | A globally-unique ID. |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. |
| WeightUnit | String | The unit of measurement for 'value'. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Name | String | True |
The identifier for the draft order, which is unique within the store. For example, _#D1223_. | |
| MarketName | String | True |
The name of the selected market. | |
| String | False |
Email address of the customer, which is used to send notifications to. | ||
| Note2 | String | True |
The text from an optional note attached to the draft order. | |
| Phone | String | True |
The phone number assigned to the draft order. | |
| Ready | Bool | True |
Whether the Draft Order is ready and can be completed. Draft Orders might have asynchronous operations that can take time to finish. | |
| Status | String | True |
Status of the draft order. | |
| Tags | String | True |
A comma separated list of tags associated with the draft order. Updating 'tags' overwrites any existing tags that were previously added to the draft order. To add new tags without overwriting existing tags, use the mutation. | |
| CompletedAt | Datetime | True |
The date and time when the draft order converted to a new order, and the draft order's status changed to **Completed**. | |
| CurrencyCode | String | True |
The three letter code for the currency of the store at the time of the most recent update to the draft order. | |
| DefaultCursor | String | True |
A default cursor that returns the single next record, sorted ascending by ID. | |
| InvoiceUrl | String | True |
The link to the checkout, which is sent to the customer in the invoice email. | |
| TaxExempt | Bool | True |
Whether the draft order is tax exempt. | |
| TaxesIncluded | Bool | True |
Whether the line item prices include taxes. | |
| TotalWeight | String | True |
The total weight in grams of the draft order. | |
| HasTimelineComment | Bool | True |
Whether the merchant has added timeline comments to the draft order. | |
| InvoiceSentAt | Datetime | True |
The date and time when the invoice was last emailed to the customer. | |
| PresentmentCurrencyCode | String | True |
The payment currency of the customer for this draft order. | |
| ReserveInventoryUntil | Datetime | True |
The time after which inventory will automatically be restocked. | |
| VisibleToCustomer | Bool | True |
Whether the draft order will be visible to the customer on the self-serve portal. | |
| InvoiceEmailTemplateSubject | String | True |
The subject defined for the draft invoice email template. | |
| MarketRegionCountryCode | String | True |
The selected market region country code for the draft order. | |
| BillingAddressMatchesShippingAddress | Bool | True |
Whether the billing address matches the shipping address. | |
| CreatedAt | Datetime | True |
The date and time when the draft order was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the draft order was last changed. The format is YYYY-MM-DD HH: mm: ss. For example, 2016-02-05 17: 04: 01. | |
| OrderId | String | True |
A globally-unique ID. | |
| PurchasingEntityCustomerId | String | True |
A globally-unique ID. | |
| PurchasingEntityCompanyCompanyId | String | True |
A globally-unique ID. | |
| CustomerId | String | False |
Customers.Id |
Customer who will be sent an invoice for the draft order, if there is one. |
| BillingAddressId | String | False |
A globally-unique ID. | |
| BillingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| BillingAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| BillingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| BillingAddressFirstName | String | False |
The first name of the customer. | |
| BillingAddressLastName | String | False |
The last name of the customer. | |
| BillingAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | False |
The name of the city, district, village, or town. | |
| BillingAddressCompany | String | False |
The name of the customer's company or organization. | |
| BillingAddressCountry | String | False |
The name of the country. | |
| BillingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| BillingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| BillingAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| BillingAddressZip | String | False |
The zip or postal code of the address. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| BillingAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| BillingAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| ShippingAddressId | String | False |
A globally-unique ID. | |
| ShippingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| ShippingAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| ShippingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| ShippingAddressFirstName | String | False |
The first name of the customer. | |
| ShippingAddressLastName | String | False |
The last name of the customer. | |
| ShippingAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | False |
The name of the city, district, village, or town. | |
| ShippingAddressCompany | String | False |
The name of the customer's company or organization. | |
| ShippingAddressCountry | String | False |
The name of the country. | |
| ShippingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| ShippingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| ShippingAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| ShippingAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| ShippingAddressZip | String | False |
The zip or postal code of the address. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| ShippingAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| ShippingAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| ShippingLineId | String | True |
A globally-unique ID. | |
| ShippingLineCarrierIdentifier | String | True |
A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| ShippingLineTitle | String | True |
Returns the title of the shipping line. | |
| ShippingLineCode | String | True |
A reference to the shipping method. | |
| ShippingLineCustom | Bool | True |
Whether the shipping line is custom or not. | |
| ShippingLinePhone | String | True |
The phone number at the shipping address. | |
| ShippingLineSource | String | True |
Returns the rate source for the shipping line. | |
| ShippingLineDeliveryCategory | String | True |
The general classification of the delivery method. | |
| ShippingLineShippingRateHandle | String | True |
A unique identifier for the shipping rate. The format can change without notice and is not meant to be shown to users. | |
| ShippingLineRequestedFulfillmentServiceId | String | True |
The ID of the fulfillment service. | |
| AppliedDiscountTitle | String | False |
Name of the order-level discount. | |
| AppliedDiscountDescription | String | False |
Description of the order-level discount. | |
| AppliedDiscountValue | Double | False |
Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount). | |
| AppliedDiscountValueType | String | False |
Type of the order-level discount. | |
| PaymentTermsId | String | True |
A globally-unique ID. | |
| PaymentTermsTranslatedName | String | True |
The payment terms name, translated into the shop admin's preferred language. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the payment terms template used to create the payment terms. | |
| PaymentTermsOverdue | Bool | True |
Whether the payment terms have overdue payment schedules. | |
| PaymentTermsDueInDays | Int | True |
Duration of payment terms in days based on the payment terms template used to create the payment terms. | |
| PaymentTermsPaymentTermsType | String | True |
The payment terms template type used to create the payment terms. | |
| PaymentTermsOrderId | String | True |
A globally-unique ID. | |
| AppliedDiscountAmountV2Amount | Decimal | False |
Decimal money amount. | |
| AppliedDiscountAmountV2CurrencyCode | String | True |
Currency of the money. | |
| LineItemsSubtotalPricePresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| LineItemsSubtotalPricePresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| LineItemsSubtotalPriceShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| LineItemsSubtotalPriceShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalLineItemsPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalLineItemsPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| DraftOrderLineItems | String | False |
The list of the line items in the draft order. | |
| DiscountCodes | String | False |
The discount codes used for the draft order. | |
| AcceptAutomaticDiscounts | Bool | False |
Whether or not to accept automatic discounts on the draft order during calculation. | |
| AllowDiscountCodesInCheckout | Bool | False |
Whether discount codes are allowed during checkout of this draft order. | |
| Warnings | String | True |
The list of warnings raised while calculating. | |
| PlatformDiscountIds | String | True |
The list of platform discounts applied. |
Returns the list of files that have been uploaded to Shopify.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Files WHERE Id = 'Val1'
SELECT * FROM Files WHERE Status = 'Val1'
SELECT * FROM Files WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Files WHERE UpdatedAt = '2023-01-01 11:10:00'
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Description | String | True |
The description of the file. | |
| Status | String | True |
The status of the file. | |
| FileErrors | String | True |
Any errors that have occurred on the file. | |
| CreatedAt | Datetime | True |
The date and time at which the file was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time at which the file was last modified. |
Retrieves the history of events associated with one or many fulfillments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentEvents WHERE FulfillmentId = 'Val1'
The following columns can be used to create a new record:
FulfillmentId, Status, Address1, City, Country, Latitude, Longitude, Message, Province, Zip, EstimatedDeliveryAt
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| FulfillmentId | String | True |
Fulfillments.Id |
A globally-unique ID. |
| OrderId | String | True |
Orders.Id |
A globally-unique identifier. |
| Status | String | True |
The status of this fulfillment event. | |
| HappenedAt | Datetime | True |
The time at which this fulfillment event happened. | |
| Address1 | String | True |
The street address where this fulfillment event occurred. | |
| City | String | True |
The city where this fulfillment event occurred. | |
| Country | String | True |
The country where this fulfillment event occurred. | |
| Latitude | Double | True |
The latitude where this fulfillment event occurred. | |
| Longitude | Double | True |
The longitude where this fulfillment event occurred. | |
| Message | String | True |
A message associated with this fulfillment event. | |
| Province | String | True |
The province where this fulfillment event occurred. | |
| Zip | String | True |
The zip code of the location where this fulfillment event occurred. | |
| EstimatedDeliveryAt | Datetime | True |
The estimated delivery date and time of the fulfillment. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment event was created. |
Retrieves a paginated list of merchant-managed and third-party fulfillment orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrders WHERE Id = 'Val1'
SELECT * FROM FulfillmentOrders WHERE Status = 'open'
SELECT * FROM FulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
SELECT * FROM FulfillmentOrders WHERE OrderId = 'Val1'
The following column can be updated:
Status
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Status | String | False |
The status of the fulfillment order. The allowed values are open, closed, cancelled, in_progress, incomplete, on_hold, scheduled. | |
| FulfillAt | Datetime | True |
The date and time at which the fulfillment order will be fulfillable. When this date and time is reached, the scheduled fulfillment order is automatically transitioned to open. For example, the 'fulfill_at' date for a subscription order might be the 1st of each month, a pre-order 'fulfill_at' date would be 'nil', and a standard order 'fulfill_at' date would be the order creation date. | |
| FulfillBy | Datetime | True |
The latest date and time by which all items in the fulfillment order need to be fulfilled. | |
| OrderName | String | True |
The unique identifier for the order that appears on the order page. | |
| RequestStatus | String | True |
The request status of the fulfillment order. | |
| CreatedAt | Datetime | True |
Date and time when the fulfillment order was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment order was last updated. | |
| OrderProcessedAt | Datetime | True |
The date and time when the fulfillment order was processed at. | |
| AssignedLocationName | String | True |
The name of the location. | |
| AssignedLocationAddress1 | String | True |
The first line of the address for the location. | |
| AssignedLocationAddress2 | String | True |
The second line of the address for the location. | |
| AssignedLocationCity | String | True |
The city of the location. | |
| AssignedLocationPhone | String | True |
The phone number of the location. | |
| AssignedLocationProvince | String | True |
The province of the location. | |
| AssignedLocationZip | String | True |
The ZIP code of the location. | |
| AssignedLocationCountryCode | String | True |
The two-letter country code of the location. | |
| AssignedLocationLocationId | String | True |
A globally-unique ID. | |
| AssignedLocationLocationLegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| AssignedLocationLocationName | String | True |
The name of the location. | |
| AssignedLocationLocationActivatable | Bool | True |
Whether this location can be reactivated. | |
| AssignedLocationLocationDeactivatable | Bool | True |
Whether this location can be deactivated. | |
| AssignedLocationLocationDeletable | Bool | True |
Whether this location can be deleted. | |
| AssignedLocationLocationAddressVerified | Bool | True |
Whether the location address has been verified. | |
| AssignedLocationLocationDeactivatedAt | String | True |
The date and time that the location was deactivated at. For example, 3: 30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as '2019-09-07T15: 50: 00Z'. | |
| AssignedLocationLocationIsActive | Bool | True |
Whether the location is active. | |
| AssignedLocationLocationShipsInventory | Bool | True |
Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| AssignedLocationLocationFulfillsOnlineOrders | Bool | True |
Whether this location can fulfill online orders. | |
| AssignedLocationLocationHasActiveInventory | Bool | True |
Whether this location has active inventory. | |
| AssignedLocationLocationHasUnfulfilledOrders | Bool | True |
Whether this location has orders that need to be fulfilled. | |
| DeliveryMethodId | String | True |
A globally-unique ID. | |
| DeliveryMethodPresentedName | String | True |
The name of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodMethodType | String | True |
The type of the delivery method. | |
| DeliveryMethodMaxDeliveryDateTime | Datetime | True |
The latest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodMinDeliveryDateTime | Datetime | True |
The earliest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodServiceCode | String | True |
A reference to the shipping method. | |
| DeliveryMethodSourceReference | String | True |
Promise provider specific data associated with delivery promise. | |
| DeliveryMethodBrandedPromiseName | String | True |
The name of the branded promise. For example: 'Shop Promise'. | |
| DeliveryMethodBrandedPromiseHandle | String | True |
The handle of the branded promise. For example: 'shop_promise'. | |
| DeliveryMethodAdditionalInformationPhone | String | True |
The phone number to contact when performing the delivery. | |
| DeliveryMethodAdditionalInformationInstructions | String | True |
The delivery instructions to follow when performing the delivery. | |
| DestinationId | String | True |
A globally-unique ID. | |
| DestinationFirstName | String | True |
The first name of the customer at the destination. | |
| DestinationLastName | String | True |
The last name of the customer at the destination. | |
| DestinationAddress1 | String | True |
The first line of the address of the destination. | |
| DestinationAddress2 | String | True |
The second line of the address of the destination. | |
| DestinationCity | String | True |
The city of the destination. | |
| DestinationCompany | String | True |
The company of the destination. | |
| DestinationEmail | String | True |
The email of the customer at the destination. | |
| DestinationPhone | String | True |
The phone number of the customer at the destination. | |
| DestinationProvince | String | True |
The province of the destination. | |
| DestinationZip | String | True |
The ZIP code of the destination. | |
| DestinationCountryCode | String | True |
The two-letter country code of the destination. | |
| DestinationLocationId | String | True |
A globally-unique ID. | |
| InternationalDutiesIncoterm | String | True |
The method of duties payment. Example values: 'DDP', 'DAP'. | |
| OrderId | String | True |
A globally-unique ID. |
Fulfillment represents a shipment of one or more items in an order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Fulfillments WHERE OrderId = 'Val1'
SELECT * FROM Fulfillments WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Fulfillments WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
OriginAddressAddress1, OriginAddressAddress2, OriginAddressCity, OriginAddressCountryCode, OriginAddressProvinceCode, OriginAddressZip, TrackingInfoCompany, TrackingInfoNumber, TrackingInfoUrl
The following pseudo-columns can be used to create a new record:
NotifyCustomer, Message, FulfillmentOrderIds
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| OrderId | String | True |
Globally unique identifier. | |
| Name | String | True |
Human readable reference identifier for this fulfillment. | |
| Status | String | True |
The status of the fulfillment. | |
| DeliveredAt | Datetime | True |
The date that this fulfillment was delivered. | |
| DisplayStatus | String | True |
Human readable display status for this fulfillment. | |
| RequiresShipping | Bool | True |
Whether any of the line items in the fulfillment require shipping. | |
| TotalQuantity | Int | True |
Sum of all line item quantities for the fulfillment. | |
| EstimatedDeliveryAt | Datetime | True |
The estimated date that this fulfillment will arrive. | |
| InTransitAt | Datetime | True |
The date and time when the fulfillment went into transit. | |
| CreatedAt | Datetime | True |
The date and time when the fulfillment was created. | |
| UpdatedAt | Datetime | True |
The date and time when the fulfillment was last modified. | |
| LocationId | String | True |
A globally-unique ID. | |
| ServiceId | String | True |
The ID of the fulfillment service. | |
| OriginAddressAddress1 | String | True |
The street address of the fulfillment location. | |
| OriginAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| OriginAddressCity | String | True |
The city in which the fulfillment location is located. | |
| OriginAddressCountryCode | String | True |
The country code of the fulfillment location. | |
| OriginAddressProvinceCode | String | True |
The province code of the fulfillment location. | |
| OriginAddressZip | String | True |
The zip code of the fulfillment location. | |
| TrackingInfoCompany | String | True |
The company associated with the fulfillment. | |
| TrackingInfoNumber | String | True |
The tracking number of the fulfillment. | |
| TrackingInfoUrl | String | True |
The URL to track the fulfillment. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| NotifyCustomer | Bool |
Whether the customer is notified. If true, then a notification is sent when the fulfillment is created. The default value is false. |
| Message | String |
An optional message for the fulfillment request. |
| FulfillmentOrderIds | String |
An aggregated object containing the FulfillmentOrder ids. Ex: [{'fulfillmentOrderId': 'gid://shopify/FulfillmentOrder/xxx'}] |
Lists fulfillmentServices which Represents service that prepares and ships orders on behalf of the store owner.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM FulfillmentServices
The following columns can be used to create a new record:
ServiceName, CallbackUrl, InventoryManagement, RequiresShippingMethod
The following columns can be updated:
ServiceName, CallbackUrl, InventoryManagement, RequiresShippingMethod
You can delete entries by specifying the following columns:
Id, LocationId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The ID of the fulfillment service. | |
| ServiceName | String | False |
The name of the fulfillment service as seen by merchants. | |
| Handle | String | True |
Human-readable unique identifier for this fulfillment service. | |
| Type | String | True |
Type associated with the fulfillment service. | |
| CallbackUrl | String | False |
The callback URL the fulfillment service has registered for requests. | |
| InventoryManagement | Bool | False |
Whether the fulfillment service tracks product inventory and provides updates to Shopify. | |
| PermitsSkuSharing | Bool | True |
Whether the fulfillment service can stock inventory alongside other locations. | |
| RequiresShippingMethod | Bool | False |
Whether the fulfillment service requires products to be physically shipped. | |
| TrackingSupport | Bool | True |
Whether the fulfillment service implemented the /fetch_tracking_numbers endpoint. | |
| LocationId | String | True |
Globally unique identifier. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| InventoryAction | String |
The action to take with the location after the fulfillment service is deleted. The allowed values are DELETE, KEEP, TRANSFER. |
Lists tracking information associated with the fulfillment, such as the tracking company, tracking number, and tracking URL.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentTrackingInfo WHERE FulfillmentId = 'Val1'
The following columns can be updated:
Company, Number, Url
| Name | Type | ReadOnly | References | Description |
| FulfillmentId | String | False |
Fulfillments.Id |
The ID of the Fulfillment to return. |
| Company | String | False |
The name of the tracking company. | |
| Number | String | False |
The tracking number of the fulfillment. | |
| Url | String | False |
The URLs to track the fulfillment. |
Returns a list of gift cards. Requires read_gift_cards access scope. Also, note that the API client must be a private or custom application installed on a Shopify Plus or Shopify Plus Partner Sandbox store. (This table is available only with a ShopifyPlus subscription)
Note: Access to the GiftCards table is restricted to Shopify accounts with Shopify Plus membership. If your account does not include this tier, the table may return an empty result set or indicate that the resource is unavailable.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCards WHERE Id = 'Val1'
SELECT * FROM GiftCards WHERE ExpiresOn = '2023-01-01'
SELECT * FROM GiftCards WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM GiftCards WHERE InitialValueAmount = '100.00'
The following columns can be used to create a new record:
Note, ExpiresOn, InitialValueAmount, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt
The following columns can be updated:
Note, ExpiresOn, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt, Enabled
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Enabled | Bool | True |
Whether the gift card is enabled. | |
| Note | String | False |
The note associated with the gift card, which is not visible to the customer. | |
| ExpiresOn | Date | False |
The date at which the gift card will expire. | |
| LastCharacters | String | True |
The final four characters of the gift card code. | |
| MaskedCode | String | True |
The gift card code. Everything but the final four characters is masked. | |
| DeactivatedAt | Datetime | True |
The date and time at which the gift card was deactivated. | |
| UpdatedAt | Datetime | True |
The date and time at which the gift card was updated. | |
| CreatedAt | Datetime | True |
The date and time at which the gift card was created. | |
| BalanceAmount | Decimal | True |
Decimal money amount. | |
| BalanceCurrencyCode | String | True |
Currency of the money. | |
| InitialValueAmount | Decimal | True |
Decimal money amount. | |
| InitialValueCurrencyCode | String | True |
Currency of the money. | |
| CustomerId | String | False |
A globally-unique ID. | |
| RecipientAttributesRecipientId | String | False |
A globally-unique ID. | |
| RecipientAttributesPreferredName | String | False |
The preferred name of the recipient who will receive the gift card. | |
| RecipientAttributesMessage | String | False |
The message sent with the gift card. | |
| RecipientAttributesSendNotificationAt | Datetime | False |
The scheduled datetime on which the gift card will be sent to the recipient. The gift card will be sent within an hour of the specified datetime. | |
| OrderId | String | True |
A globally-unique ID. |
Credit transactions which increase the gift card balance. (This table is available only with a ShopifyPlus subscription)
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCardTransactionsCredit WHERE Id = 'Val1'
SELECT * FROM GiftCardTransactionsCredit WHERE GiftCardId = 'Val1'
The following columns can be used to create a new record:
GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The unique ID for the transaction. | |
| GiftCardId | String | True |
GiftCards.Id |
A globally-unique ID. |
| Note | String | True |
A note about the transaction. | |
| ProcessedAt | Datetime | True |
The date and time when the transaction was processed. | |
| Amount | Decimal | True |
Decimal money amount. | |
| AmountCurrencyCode | String | True |
Currency of the money. |
Debit transactions which decrease the gift card balance. (This table is available only with a ShopifyPlus subscription)
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM GiftCardTransactionsDebit WHERE Id = 'Val1'
SELECT * FROM GiftCardTransactionsDebit WHERE GiftCardId = 'Val1'
The following columns can be used to create a new record:
GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The unique ID for the transaction. | |
| GiftCardId | String | True |
GiftCards.Id |
A globally-unique ID. |
| Note | String | True |
A note about the transaction. | |
| ProcessedAt | Datetime | True |
The date and time when the transaction was processed. | |
| Amount | Decimal | True |
Decimal money amount. | |
| AmountCurrencyCode | String | True |
Currency of the money. |
Returns overview information of the inventory item for each location that the inventory item can be stocked at.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemInventoryLevels WHERE InventoryItemId = 'Val1'
The following columns can be used to create a new record:
InventoryItemId, LocationId
The following pseudo-columns can be used to create a new record:
Available, OnHand, StockAtLegacyLocation
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| InventoryItemId | String | True |
A globally-unique ID. | |
| LocationId | String | True |
A globally-unique ID. | |
| CanDeactivate | Bool | True |
Whether the inventory items associated with the inventory level can be deactivated. | |
| DeactivationAlert | String | True |
Describes either the impact of deactivating the inventory level, or why the inventory level can't be deactivated. | |
| CreatedAt | Datetime | True |
The date and time when the inventory level was created. | |
| UpdatedAt | Datetime | True |
The date and time when the inventory level was updated. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Available | Int |
The initial available quantity of the inventory item being activated at the location. |
| OnHand | Int |
The initial on_hand quantity of the inventory item being activated at the location. |
| StockAtLegacyLocation | Bool |
Allow activation at or away from fulfillment service location with sku sharing off. This will deactivate inventory at all other locations. |
Returns a list of inventory items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryItems WHERE Id = 'Val1'
SELECT * FROM InventoryItems WHERE Sku = 'Val1'
SELECT * FROM InventoryItems WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM InventoryItems WHERE UpdatedAt = '2023-01-01 11:10:00'
The following columns can be updated:
Sku, Tracked, RequiresShipping, HarmonizedSystemCode, CountryCodeOfOrigin, ProvinceCodeOfOrigin, MeasurementWeightValue, MeasurementWeightUnit, UnitCostAmount, InventoryItemCountryHarmonizedSystemCodes (references InventoryItemCountryHarmonizedSystemCodes)
| Column Name | Type | Description |
| CountryCode | String | The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. |
| HarmonizedSystemCode | String | The country-specific harmonized system code. These are usually longer than 6 digits. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| VariantId | String | True |
A globally-unique ID. | |
| Sku | String | False |
Inventory item SKU. | |
| Tracked | Bool | False |
Whether inventory levels are tracked for the item. | |
| LocationsCount | Int | True |
The number of locations where this inventory item is stocked. | |
| LocationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| RequiresShipping | Bool | False |
Whether the inventory item requires shipping. | |
| DuplicateSkuCount | Int | True |
The number of inventory items that share the same SKU with this item. | |
| HarmonizedSystemCode | String | False |
The harmonized system code of the item. | |
| InventoryHistoryUrl | String | True |
The URL that points to the inventory history for the item. | |
| CountryCodeOfOrigin | String | False |
The ISO 3166-1 alpha-2 country code of where the item originated from. | |
| ProvinceCodeOfOrigin | String | False |
The ISO 3166-2 alpha-2 province code of where the item originated from. | |
| CreatedAt | Datetime | True |
The date and time when the inventory item was created. | |
| UpdatedAt | Datetime | True |
The date and time when the inventory item was updated. | |
| TrackedEditableLocked | Bool | True |
Whether the attribute is locked for editing. | |
| TrackedEditableReason | String | True |
The reason the attribute is locked for editing. | |
| MeasurementId | String | True |
A globally-unique ID. | |
| MeasurementWeightValue | Double | False |
The weight value using the unit system specified with 'unit'. | |
| MeasurementWeightUnit | String | False |
The unit of measurement for 'value'. | |
| UnitCostAmount | Decimal | False |
Decimal money amount. | |
| UnitCostCurrencyCode | String | True |
Currency of the money. | |
| InventoryItemCountryHarmonizedSystemCodes | String | False |
List of country-specific harmonized system codes. |
Returns a list of active inventory locations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Locations WHERE Id = 'Val1'
SELECT * FROM Locations WHERE Name = 'Val1'
SELECT * FROM Locations WHERE IsActive = true
SELECT * FROM Locations WHERE AddressAddress1 = 'Val1'
SELECT * FROM Locations WHERE AddressAddress2 = 'Val1'
SELECT * FROM Locations WHERE AddressCity = 'Val1'
SELECT * FROM Locations WHERE AddressCountry != 'Val1'
SELECT * FROM Locations WHERE AddressProvince = 'Val1'
SELECT * FROM Locations WHERE AddressZip = 'Val1'
SELECT * FROM Locations WHERE IncludeInactive = true
SELECT * FROM Locations WHERE IncludeLegacy = true
SELECT * FROM Locations WHERE Namespace = 'Val1'
SELECT * FROM Locations WHERE Key = 'Val1'
SELECT * FROM Locations WHERE Value = 'Val1'
The following columns can be used to create a new record:
Name, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode
The following columns can be updated:
Name, IsActive, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Name | String | False |
The name of the location. | |
| Activatable | Bool | True |
Whether this location can be reactivated. | |
| Deactivatable | Bool | True |
Whether this location can be deactivated. | |
| Deletable | Bool | True |
Whether this location can be deleted. | |
| AddressVerified | Bool | True |
Whether the location address has been verified. | |
| DeactivatedAt | String | True |
The date and time that the location was deactivated at. For example, 3: 30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as '2019-09-07T15: 50: 00Z'. | |
| IsActive | Bool | False |
Whether the location is active. | |
| ShipsInventory | Bool | True |
Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| IsFulfillmentService | Bool | True |
Whether this location is a fulfillment service. | |
| FulfillsOnlineOrders | Bool | False |
Whether this location can fulfill online orders. | |
| HasActiveInventory | Bool | True |
Whether this location has active inventory. | |
| HasUnfulfilledOrders | Bool | True |
Whether this location has orders that need to be fulfilled. | |
| CreatedAt | Datetime | True |
The date and time that the location was added to a shop. | |
| UpdatedAt | Datetime | True |
The date and time when the location was last updated. | |
| AddressAddress1 | String | False |
The first line of the address for the location. | |
| AddressAddress2 | String | False |
The second line of the address for the location. | |
| AddressCity | String | False |
The city of the location. | |
| AddressCountry | String | True |
The country of the location. | |
| AddressFormatted | String | True |
A formatted version of the address for the location. | |
| AddressLatitude | Double | True |
The latitude coordinates of the location. | |
| AddressLongitude | Double | True |
The longitude coordinates of the location. | |
| AddressPhone | String | False |
The phone number of the location. | |
| AddressProvince | String | True |
The province of the location. | |
| AddressZip | String | False |
The ZIP code of the location. | |
| AddressCountryCode | String | False |
The country code of the location. The allowed values are AC, AD, AE, AF, AG, AI, AL, AM, AN, AO, AR, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MK, ML, MM, MN, MO, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PS, PT, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TA, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW, ZZ. | |
| AddressProvinceCode | String | False |
The code for the province, state, or district of the address of the location. | |
| FulfillmentServiceId | String | True |
The ID of the fulfillment service. | |
| LocalPickupSettingsV2Instructions | String | True |
Additional instructions or information related to the local pickup. | |
| LocalPickupSettingsV2PickupTime | String | True |
The estimated pickup time to show customers at checkout. | |
| IncludeInactive | Bool | True |
If true, also include the locations that are deactivated. | |
| IncludeLegacy | Bool | True |
If true, also include the legacy locations of fulfillment services. | |
| Namespace | String | True |
The container the metafield belongs to. If omitted, the app-reserved namespace will be used. | |
| Key | String | True |
The key for the metafield. | |
| Value | String | True |
The value of the metafield. |
Returns metafield definitions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM MetafieldDefinitions WHERE Id = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE Namespace = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE Key = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE OwnerType = 'API_PERMISSION'
SELECT * FROM MetafieldDefinitions WHERE PinnedStatus = 'ANY'
SELECT * FROM MetafieldDefinitions WHERE ConstraintStatus = 'CONSTRAINED_AND_UNCONSTRAINED'
SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeKey = 'Val1'
SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeValue = 'Val1'
The following columns can be used to create a new record:
Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled, TypeName
The following pseudo-column can be used to create a new record:
Pin
The following columns can be updated:
Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled
The following pseudo-column can be used to update a record:
Pin
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Namespace | String | False |
The container for a group of metafields that the metafield definition is associated with. | |
| Key | String | False |
The unique identifier for the metafield definition within its namespace. | |
| Name | String | False |
The human-readable name of the metafield definition. | |
| PinnedPosition | Int | True |
The position of the metafield definition in the pinned list. | |
| Description | String | False |
The description of the metafield definition. | |
| OwnerType | String | False |
The resource type that the metafield definition is attached to. The allowed values are API_PERMISSION, ARTICLE, BLOG, CARTTRANSFORM, COLLECTION, COMPANY, COMPANY_LOCATION, CUSTOMER, DELIVERY_CUSTOMIZATION, DISCOUNT, DRAFTORDER, FULFILLMENT_CONSTRAINT_RULE, GIFT_CARD_TRANSACTION, LOCATION, MARKET, ORDER, ORDER_ROUTING_LOCATION_RULE, PAGE, PAYMENT_CUSTOMIZATION, PRODUCT, PRODUCTVARIANT, SELLING_PLAN, SHOP, VALIDATION, MEDIA_IMAGE. | |
| UseAsCollectionCondition | Bool | True |
Whether the metafield definition can be used as a collection condition. | |
| ValidationStatus | String | True |
The validation status for the metafields that belong to the metafield definition. | |
| Validations | String | False |
A list of for the metafields that belong to the metafield definition. For example, for a metafield definition with the type 'date', you can set a minimum date validation so that each of the metafields that belong to it can only store dates after the specified minimum. | |
| AccessAdmin | String | False |
The default admin access setting used for the metafields under this definition. | |
| AccessCustomerAccount | String | False |
The customer account access setting used for the metafields under this definition. | |
| AccessStorefront | String | False |
The storefront access setting used for the metafields under this definition. | |
| CapabilitiesAdminFilterableEligible | Bool | True |
Indicates if the definition is eligible to have the capability. | |
| CapabilitiesAdminFilterableEnabled | Bool | False |
Indicates if the capability is enabled. | |
| CapabilitiesAdminFilterableStatus | String | True |
Determines the metafield definition's filter status for use in admin filtering. | |
| CapabilitiesSmartCollectionConditionEligible | Bool | True |
Indicates if the definition is eligible to have the capability. | |
| CapabilitiesSmartCollectionConditionEnabled | Bool | False |
Indicates if the capability is enabled. | |
| ConstraintsKey | String | True |
The category of resource subtypes that the definition applies to. | |
| MetafieldsCount | Int | True |
The count of the metafields that belong to the metafield definition. | |
| StandardTemplateId | String | True |
A globally-unique ID. | |
| TypeName | String | True |
The name of the type for the metafield definition. | |
| PinnedStatus | String | True |
Filter the metafield definition by the pinned status. The allowed values are ANY, PINNED, UNPINNED. | |
| ConstraintStatus | String | True |
Filter metafield definitions based on whether they are constrained. The allowed values are CONSTRAINED_AND_UNCONSTRAINED, CONSTRAINED_ONLY, UNCONSTRAINED_ONLY. | |
| ConstraintSubtypeKey | String | True |
Filter metafield definitions based on whether they apply to a given resource subtype. The category of the resource subtype. | |
| ConstraintSubtypeValue | String | True |
Filter metafield definitions based on whether they apply to a given resource subtype. The specific subtype value within the identified subtype category. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Pin | Bool |
Whether to pin the metafield definition. |
| DeleteAllAssociatedMetafields | Bool |
Whether to delete all associated metafields. |
Retrieves a list of metafields that belong to one or many resource IDs.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Metafields WHERE Id = 'Val1'
SELECT * FROM Metafields WHERE OwnerId = 'Val1'
SELECT * FROM Metafields WHERE OwnerResource = 'product'
The following columns can be used to create a new record:
Namespace, Key, Value, Type, OwnerId
You can delete entries by specifying the following columns:
Namespace, Key, OwnerId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The unique ID of the metafield. | |
| LegacyResourceId | Long | True |
The ID of the corresponding resource in the REST Admin API. | |
| Namespace | String | True |
A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. | |
| Key | String | True |
The name of the metafield. | |
| Value | String | True |
The information to be stored as metadata. | |
| Type | String | True |
The metafield's information type. | |
| Description | String | True |
A description of the information that the metafield contains. | |
| DefinitionId | String | True |
The metafield definition that the metafield belongs to, if any. | |
| OwnerId | String | True |
The ID of the resource that the metafield is attached to. | |
| OwnerResource | String | True |
The type of resource that the metafield is attached to. The allowed values are product, variant, shop, draft_order, order, customer, collection, media_image, selling_plan, article, blog, page. | |
| CreatedAt | Datetime | True |
The date and time when the metafield was created. | |
| UpdatedAt | Datetime | True |
The date and time when the metafield was last updated. |
Retrieves a list of risk assessments for orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRiskAssessments WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OrderId, RiskLevel, Facts (references OrderRiskAssessmentFacts)
| Column Name | Type | Description |
| Description | String | A description of the fact. |
| Sentiment | String | Indicates whether the fact is a negative, neutral or positive contributor with regards to risk. |
| Name | Type | ReadOnly | References | Description |
| OrderId | String | True |
A globally-unique ID. | |
| RiskLevel | String | True |
The likelihood that the order is fraudulent, based on this risk assessment. The allowed values are HIGH, LOW, MEDIUM, NONE, PENDING. | |
| Facts | String | True |
Optional facts used to describe the risk assessment. The values in here are specific to the provider. | |
| ProviderId | String | True |
A globally-unique ID. | |
| ProviderTitle | String | True |
Name of the app. |
Retrieves a list of orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Orders WHERE Id = 'Val1'
SELECT * FROM Orders WHERE PoNumber = 'Val1'
SELECT * FROM Orders WHERE Name = 'Val1'
SELECT * FROM Orders WHERE Email = 'Val1'
SELECT * FROM Orders WHERE Test = true
SELECT * FROM Orders WHERE ConfirmationNumber = 'Val1'
SELECT * FROM Orders WHERE DiscountCode = 'Val1'
SELECT * FROM Orders WHERE ProcessedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE CurrentSubtotalLineItemsQuantity = 123
SELECT * FROM Orders WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Orders WHERE CustomerId = 'Val1'
SELECT * FROM Orders WHERE Namespace = 'Val1'
SELECT * FROM Orders WHERE Key = 'Val1'
SELECT * FROM Orders WHERE Value = 'Val1'
The following columns can be used to create a new record:
PoNumber, SourceIdentifier, SourceName, Name, Email, Note, Phone, Tags, Test, ClosedAt, CurrencyCode, ProcessedAt, TaxesIncluded, CustomerAcceptsMarketing, DisplayFinancialStatus, DisplayFulfillmentStatus, PresentmentCurrencyCode, CustomerId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressPhone, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressPhone, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2
The following pseudo-columns can be used to create a new record:
PurchasingEntityCompanyLocationId, ReferringSite, SourceUrl, UserId, DiscountCodeFreeShipping, DiscountCodeFixed, DiscountCodeFixedAmountSetPresentmentMoneyAmount, DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode, DiscountCodeFixedAmountSetShopMoneyAmount, DiscountCodeFixedAmountSetShopMoneyCurrencyCode, DiscountCodePercentage, DiscountCodePercentageValue, FulfillmentLocationId, FulfillmentNotifyCustomer, FulfillmentTrackingInfoNumber, FulfillmentTrackingInfoCompany, FulfillmentShipmentStatus, FulfillmentOriginAddressAddress1, FulfillmentOriginAddressAddress2, FulfillmentOriginAddressCity, FulfillmentOriginAddressCountryCode, FulfillmentOriginAddressProvinceCode, FulfillmentOriginAddressZip, OrderLineItems (references OrderLineItems), OrderShippingLines (references OrderShippingLines), OrderTaxLines (references OrderTaxLines), OrderTransactions (references OrderTransactions), OrderCustomAttributes (references OrderCustomAttributes), Metafields (references Metafields), OptionsInventoryBehaviour, OptionsSendFulfillmentRequest, OptionsSendReceipt
| Column Name | Type | Description |
| Title | String | The title of the product at time of order creation. |
| VariantTitle | String | The title of the variant at time of order creation. |
| VariantId | String | A globally-unique ID. |
| ProductId | String | A globally-unique ID. |
| Quantity | Int | The number of variant units ordered. |
| Sku | String | The variant SKU number. |
| Taxable | Bool | Whether the variant is taxable. |
| Vendor | String | The name of the vendor who made the variant. |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. |
| FulfillmentService | String | The handle of a fulfillment service that stocks the product variant belonging to a line item. |
| OrderLineItemCustomAttributes (references OrderLineItemCustomAttributes) | String | An array of custom information for the item that has been added to the cart. Often used to provide product customization options. |
| OrderLineItemTaxLines (references OrderLineItemTaxLines) | String | A list of tax line objects, each of which details a tax applied to the item. |
| Column Name | Type | Description |
| Title | String | Returns the title of the shipping line. |
| Code | String | A reference to the shipping method. |
| Source | String | Returns the rate source for the shipping line. |
| OriginalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| OriginalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| OriginalPriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| OriginalPriceSetShopMoneyCurrencyCode | String | Currency of the money. |
| TaxLines | String | A list of tax line objects, each of which details a tax applicable to this shipping line. |
| Column Name | Type | Description |
| Title | String | The name of the tax. |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
| Column Name | Type | Description |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. |
| AuthorizationCode | String | Authorization code associated with the transaction. |
| DeviceId | String | The ID of the device used to process the transaction. |
| GiftCardDetailsId | String | The ID of the gift card used for this transaction. |
| Kind | String | The kind of transaction. |
| LocationId | String | The ID of the location where the transaction was processed. |
| ProcessedAt | Datetime | Date and time when the transaction was processed. |
| ReceiptJson | String | The transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction. |
| Status | String | The status of this transaction. |
| Test | Bool | Whether the transaction is a test transaction. |
| UserId | String | Staff member who was logged into the Shopify POS device when the transaction was processed. (This column is available only with a ShopifyPlus subscription) |
| Column Name | Type | Description |
| Key | String | Key or name of the attribute. |
| Value | String | Value of the attribute. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| Key | String | Key or name of the attribute. |
| Value | String | Value of the attribute. |
| Column Name | Type | Description |
| Title | String | The name of the tax. |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
The following columns can be updated:
PoNumber, Email, Note, Tags, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2
The following pseudo-column can be used to update a record:
OrderCustomAttributes (references OrderCustomAttributes)
| Column Name | Type | Description |
| Key | String | Key or name of the attribute. |
| Value | String | Value of the attribute. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| PoNumber | String | False |
The purchase order number associated to this order. | |
| Unpaid | Bool | True |
Whether no payments have been made for the order. | |
| FullyPaid | Bool | True |
Whether the order has been paid in full. | |
| SourceIdentifier | String | True |
A unique POS or third party order identifier. For example, '1234-12-1000' or '111-98567-54'. The 'receipt_number' field is derived from this value for POS orders. | |
| SourceName | String | True |
The name of the source associated with the order. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| CanMarkAsPaid | Bool | True |
Whether the order can be manually marked as paid. | |
| Name | String | True |
The unique identifier for the order that appears on the order page in the Shopify admin and the order status page. For example, '#1001', 'EN1001', or '1001-A'. This value isn't unique across multiple stores. | |
| PaymentGatewayNames | String | True |
A list of the names of all payment gateways used for the order. For example, 'Shopify Payments' and 'Cash on Delivery (COD)'. | |
| Capturable | Bool | True |
Whether payment for the order can be captured. | |
| Closed | Bool | True |
Whether the order is closed. | |
| Confirmed | Bool | True |
Whether inventory has been reserved for the order. | |
| Edited | Bool | True |
Whether the order has had any edits applied. | |
| String | False |
The email address associated with the customer. | ||
| Fulfillable | Bool | True |
Whether there are line items that can be fulfilled. This field returns 'false' when the order has no fulfillable line items. For a more granular view of the fulfillment status, refer to the object. | |
| Note | String | False |
The contents of the note associated with the order. | |
| Phone | String | True |
The phone number associated with the customer. | |
| Refundable | Bool | True |
Whether the order can be refunded. | |
| Restockable | Bool | True |
Whether any line item on the order can be restocked. | |
| Tags | String | False |
A list of tags associated with the order. Updating 'tags' overwrites any existing tags that were previously added to the order. | |
| Test | Bool | True |
Whether the order is a test. Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled. A test order cannot be converted into a real order and vice versa. | |
| CancelReason | String | True |
The reason provided when the order was canceled. Returns 'null' if the order wasn't canceled. | |
| CancelledAt | Datetime | True |
The date and time when the order was canceled. Returns 'null' if the order wasn't canceled. | |
| ClientIp | String | True |
The IP address of the API client that created the order. | |
| ClosedAt | Datetime | True |
The date and time when the order was closed. Returns 'null' if the order is not closed. | |
| ConfirmationNumber | String | True |
A randomly generated alpha-numeric identifier for the order that may be shown to the customer instead of the sequential order name. For example, XPAV284CT, R50KELTJP or 35PKUN0UJ. This value isn't guaranteed to be unique. | |
| CurrencyCode | String | True |
The shop currency when the order was placed. | |
| CustomerLocale | String | True |
A two-letter or three-letter language code, optionally followed by a region modifier. | |
| DiscountCode | String | True |
The discount code used for the order. | |
| DiscountCodes | String | True |
The discount codes used for the order. | |
| EstimatedTaxes | Bool | True |
Whether taxes on the order are estimated. This field returns 'false' when taxes on the order are finalized and aren't subject to any changes. | |
| MerchantEditable | Bool | True |
Whether the order can be edited by the merchant. For example, canceled orders can't be edited. | |
| ProcessedAt | Datetime | True |
The date and time when the order was processed. This date and time might not match the date and time when the order was created. | |
| RequiresShipping | Bool | True |
Whether the order has shipping lines or at least one line item on the order that requires shipping. | |
| RiskRecommendation | String | True |
The recommendation for the order based on the results of the risk assessments. This suggests the action the merchant should take with regards to its risk of fraud. | |
| ReturnStatus | String | True |
The order's aggregated return status for display purposes. | |
| TaxesIncluded | Bool | True |
Whether taxes are included in the subtotal price of the order. | |
| DutiesIncluded | Bool | True |
Whether duties are included in the subtotal price of the order. | |
| TotalWeight | String | True |
The total weight of the order before returns, in grams. | |
| CanNotifyCustomer | Bool | True |
Whether a customer email exists for the order. | |
| CurrentTotalWeight | String | True |
The total weight of the order after returns, in grams. | |
| CustomerAcceptsMarketing | Bool | True |
Whether the customer agreed to receive marketing materials. | |
| DisplayFinancialStatus | String | True |
The financial status of the order that can be shown to the merchant. This field does not capture all the details of an order's financial state. It should only be used for display summary purposes. | |
| DisplayFulfillmentStatus | String | True |
The fulfillment status for the order that can be shown to the merchant. This field does not capture all the details of an order's fulfillment state. It should only be used for display summary purposes. For a more granular view of the fulfillment status, refer to the object. | |
| FulfillmentsCount | Int | True |
The count of fulfillments including the cancelled fulfillments. | |
| FulfillmentsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| HasTimelineComment | Bool | True |
Whether the merchant added a timeline comment to the order. | |
| MerchantEditableErrors | String | True |
A list of reasons why the order can't be edited. For example, 'Canceled orders can't be edited'. | |
| PresentmentCurrencyCode | String | True |
The payment 'CurrencyCode' of the customer for the order. | |
| RegisteredSourceUrl | String | True |
The URL of the source that the order originated from, if found in the domain registry. | |
| StatusPageUrl | String | True |
The URL where the customer can check the order's current status. | |
| SubtotalLineItemsQuantity | Int | True |
The sum of the quantities for all line items that contribute to the order's subtotal price. | |
| BillingAddressMatchesShippingAddress | Bool | True |
Whether the billing address matches the shipping address. | |
| CurrentSubtotalLineItemsQuantity | Int | True |
The sum of the quantities for all line items that contribute to the order's current subtotal price. | |
| Number | String | True |
The order number used to generate the name using the store's configured order number prefix/suffix. | |
| CreatedAt | Datetime | True |
Date and time when the order was created in Shopify. | |
| UpdatedAt | Datetime | True |
The date and time when the order was modified last. | |
| StaffMemberId | String | True |
The staff member associated with the order. (This column is available only with a ShopifyPlus subscription) | |
| AppId | String | True |
The application ID. | |
| MerchantOfRecordAppId | String | True |
The application ID. | |
| MerchantBusinessEntityId | String | True |
A globally-unique ID. | |
| PhysicalLocationId | String | True |
A globally-unique ID. | |
| ChannelInformationId | String | True |
A globally-unique ID. | |
| ChannelInformationChannelId | String | True |
The unique ID for the channel. | |
| ChannelInformationAppId | String | True |
A globally-unique ID. | |
| PublicationId | String | True |
A globally-unique ID. | |
| PurchasingEntityCustomerId | String | True |
A globally-unique ID. | |
| PurchasingEntityCompanyId | String | True |
A globally-unique ID. | |
| CustomerId | String | True |
A globally-unique ID. | |
| CustomerFirstName | String | True |
The customer's first name. | |
| CustomerLastName | String | True |
The customer's last name. | |
| CustomerJourneySummaryReady | Bool | True |
Whether the attributed sessions for the order have been created yet. | |
| CustomerJourneySummaryMomentsCount | Int | True |
The total number of customer moments associated with this order. Returns null if the order is still in the process of being attributed. | |
| CustomerJourneySummaryMomentsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CustomerJourneySummaryCustomerOrderIndex | Int | True |
The position of the current order within the customer's order history. Test orders aren't included. | |
| CustomerJourneySummaryDaysToConversion | Int | True |
The number of days between the first session and the order creation date. The first session represents the first session since the last order, or the first session within the 30 day attribution window, if more than 30 days have passed since the last order. | |
| CustomerJourneySummaryFirstVisitId | String | True |
A globally-unique ID. | |
| CustomerJourneySummaryFirstVisitSource | String | True |
Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct, a website domain, QR code, or unknown. | |
| CustomerJourneySummaryFirstVisitLandingPage | String | True |
URL of the first page the customer landed on for the session. | |
| CustomerJourneySummaryFirstVisitOccurredAt | Datetime | True |
The date and time when the customer's session occurred. | |
| CustomerJourneySummaryFirstVisitReferralCode | String | True |
Marketing referral code from the link that the customer clicked to visit the store. Supports the following URL attributes: _ref_, _source_, or _r_. For example, if the URL is myshopifystore. com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2. | |
| CustomerJourneySummaryFirstVisitReferrerUrl | String | True |
Webpage where the customer clicked a link that sent them to the online store. For example, _https: //randomblog. com/page1_ or _android-app: //com. google. android. gm_. | |
| CustomerJourneySummaryFirstVisitSourceDescription | String | True |
Describes the source explicitly for first or last session. | |
| CustomerJourneySummaryFirstVisitSourceType | String | True |
Type of marketing tactic. | |
| CustomerJourneySummaryFirstVisitLandingPageHtml | String | True |
Landing page information with URL linked in HTML. For example, the first page the customer visited was store. myshopify. com/products/1. | |
| CustomerJourneySummaryFirstVisitReferralInfoHtml | String | True |
Referral information with URLs linked in HTML. | |
| CustomerJourneySummaryLastVisitId | String | True |
A globally-unique ID. | |
| CustomerJourneySummaryLastVisitSource | String | True |
Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct, a website domain, QR code, or unknown. | |
| CustomerJourneySummaryLastVisitLandingPage | String | True |
URL of the first page the customer landed on for the session. | |
| CustomerJourneySummaryLastVisitOccurredAt | Datetime | True |
The date and time when the customer's session occurred. | |
| CustomerJourneySummaryLastVisitReferralCode | String | True |
Marketing referral code from the link that the customer clicked to visit the store. Supports the following URL attributes: _ref_, _source_, or _r_. For example, if the URL is myshopifystore. com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2. | |
| CustomerJourneySummaryLastVisitReferrerUrl | String | True |
Webpage where the customer clicked a link that sent them to the online store. For example, _https: //randomblog. com/page1_ or _android-app: //com. google. android. gm_. | |
| CustomerJourneySummaryLastVisitSourceDescription | String | True |
Describes the source explicitly for first or last session. | |
| CustomerJourneySummaryLastVisitSourceType | String | True |
Type of marketing tactic. | |
| CustomerJourneySummaryLastVisitLandingPageHtml | String | True |
Landing page information with URL linked in HTML. For example, the first page the customer visited was store. myshopify. com/products/1. | |
| CustomerJourneySummaryLastVisitReferralInfoHtml | String | True |
Referral information with URLs linked in HTML. | |
| DisplayAddressId | String | True |
A globally-unique ID. | |
| DisplayAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| DisplayAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| DisplayAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| DisplayAddressFirstName | String | True |
The first name of the customer. | |
| DisplayAddressLastName | String | True |
The last name of the customer. | |
| DisplayAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| DisplayAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| DisplayAddressCity | String | True |
The name of the city, district, village, or town. | |
| DisplayAddressCompany | String | True |
The name of the customer's company or organization. | |
| DisplayAddressCountry | String | True |
The name of the country. | |
| DisplayAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| DisplayAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| DisplayAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| DisplayAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| DisplayAddressZip | String | True |
The zip or postal code of the address. | |
| DisplayAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| DisplayAddressProvinceCode | String | True |
The two-letter code for the region. For example, ON. | |
| DisplayAddressCountryCodeV2 | String | True |
The two-letter code for the country of the address. For example, US. | |
| BillingAddressId | String | True |
A globally-unique ID. | |
| BillingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| BillingAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| BillingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| BillingAddressFirstName | String | True |
The first name of the customer. | |
| BillingAddressLastName | String | True |
The last name of the customer. | |
| BillingAddressAddress1 | String | True |
The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | True |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | True |
The name of the city, district, village, or town. | |
| BillingAddressCompany | String | True |
The name of the customer's company or organization. | |
| BillingAddressCountry | String | True |
The name of the country. | |
| BillingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| BillingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| BillingAddressPhone | String | True |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | True |
The region of the address, such as the province, state, or district. | |
| BillingAddressZip | String | True |
The zip or postal code of the address. | |
| BillingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| BillingAddressProvinceCode | String | True |
The two-letter code for the region. For example, ON. | |
| BillingAddressCountryCodeV2 | String | True |
The two-letter code for the country of the address. For example, US. | |
| ShippingAddressId | String | False |
A globally-unique ID. | |
| ShippingAddressCoordinatesValidated | Bool | True |
Whether the address coordinates are valid. | |
| ShippingAddressValidationResultSummary | String | True |
The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| ShippingAddressName | String | True |
The full name of the customer, based on firstName and lastName. | |
| ShippingAddressFirstName | String | False |
The first name of the customer. | |
| ShippingAddressLastName | String | False |
The last name of the customer. | |
| ShippingAddressAddress1 | String | False |
The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | False |
The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | False |
The name of the city, district, village, or town. | |
| ShippingAddressCompany | String | False |
The name of the customer's company or organization. | |
| ShippingAddressCountry | String | False |
The name of the country. | |
| ShippingAddressLatitude | Double | True |
The latitude coordinate of the customer address. | |
| ShippingAddressLongitude | Double | True |
The longitude coordinate of the customer address. | |
| ShippingAddressPhone | String | False |
A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| ShippingAddressProvince | String | False |
The region of the address, such as the province, state, or district. | |
| ShippingAddressZip | String | False |
The zip or postal code of the address. | |
| ShippingAddressFormattedArea | String | True |
A comma-separated list of the values for city, province, and country. | |
| ShippingAddressProvinceCode | String | False |
The two-letter code for the region. For example, ON. | |
| ShippingAddressCountryCodeV2 | String | False |
The two-letter code for the country of the address. For example, US. | |
| ShippingLineId | String | True |
A globally-unique ID. | |
| ShippingLineCarrierIdentifier | String | True |
A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| ShippingLineTitle | String | True |
Returns the title of the shipping line. | |
| ShippingLineCode | String | True |
A reference to the shipping method. | |
| ShippingLineCustom | Bool | True |
Whether the shipping line is custom or not. | |
| ShippingLinePhone | String | True |
The phone number at the shipping address. | |
| ShippingLineSource | String | True |
Returns the rate source for the shipping line. | |
| ShippingLineDeliveryCategory | String | True |
The general classification of the delivery method. | |
| ShippingLineShippingRateHandle | String | True |
A unique identifier for the shipping rate. The format can change without notice and is not meant to be shown to users. | |
| ShippingLineRequestedFulfillmentServiceId | String | True |
The ID of the fulfillment service. | |
| PaymentTermsId | String | True |
A globally-unique ID. | |
| PaymentTermsTranslatedName | String | True |
The payment terms name, translated into the shop admin's preferred language. | |
| PaymentTermsPaymentTermsName | String | True |
The name of the payment terms template used to create the payment terms. | |
| PaymentTermsOverdue | Bool | True |
Whether the payment terms have overdue payment schedules. | |
| PaymentTermsDueInDays | Int | True |
Duration of payment terms in days based on the payment terms template used to create the payment terms. | |
| PaymentTermsPaymentTermsType | String | True |
The payment terms template type used to create the payment terms. | |
| PaymentTermsDraftOrderId | String | True |
A globally-unique ID. | |
| CartDiscountAmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CartDiscountAmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CartDiscountAmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CartDiscountAmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| ChannelInformationChannelDefinitionId | String | True |
The unique ID for the channel definition. | |
| CurrentCartDiscountAmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentCartDiscountAmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentCartDiscountAmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentCartDiscountAmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentSubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentSubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentSubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentSubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalAdditionalFeesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDutiesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalDutiesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalDutiesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| CurrentTotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| CurrentTotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| NetPaymentSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| NetPaymentSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| NetPaymentSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| NetPaymentSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalAdditionalFeesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalAdditionalFeesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalAdditionalFeesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalAdditionalFeesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalDutiesSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalDutiesSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalDutiesSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalDutiesSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| OriginalTotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| OriginalTotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| PaymentCollectionDetailsAdditionalPaymentCollectionUrl | String | True |
The URL to use for collecting an additional payment on the order. | |
| RefundDiscrepancySetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| RefundDiscrepancySetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| RefundDiscrepancySetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| RefundDiscrepancySetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalCapturableSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalCapturableSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalCapturableSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalCapturableSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalDiscountsSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalDiscountsSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalOutstandingSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalOutstandingSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalOutstandingSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalOutstandingSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalReceivedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalReceivedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalReceivedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalReceivedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedShippingSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedShippingSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedShippingSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedShippingSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalShippingPriceSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalShippingPriceSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTipReceivedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTipReceivedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalTipReceivedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalTipReceivedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99. | |
| TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD. | |
| TotalCashRoundingAdjustmentPaymentSetShopMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99. | |
| TotalCashRoundingAdjustmentPaymentSetShopMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD. | |
| TotalCashRoundingAdjustmentRefundSetPresentmentMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99. | |
| TotalCashRoundingAdjustmentRefundSetPresentmentMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD. | |
| TotalCashRoundingAdjustmentRefundSetShopMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99. | |
| TotalCashRoundingAdjustmentRefundSetShopMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD. | |
| RetailLocationId | String | True |
A globally-unique ID. | |
| Namespace | String | True |
The container the metafield belongs to. If omitted, the app-reserved namespace will be used. | |
| Key | String | True |
The key for the metafield. | |
| Value | String | True |
The value of the metafield. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| PurchasingEntityCompanyLocationId | String |
The ID of the purchasing company's location for the order. |
| ReferringSite | String |
The website where the customer clicked a link to the shop. |
| SourceUrl | String |
A valid URL to the original order on the originating surface. This URL is displayed to merchants on the Order Details page. If the URL is invalid, then it won't be displayed. |
| UserId | String |
The ID of the user logged into Shopify POS who processed the order, if applicable. |
| DiscountCodeFreeShipping | String |
A free shipping discount code applied to the shipping on an order. |
| DiscountCodeFixed | String |
A fixed amount discount code applied to the line items on the order. |
| DiscountCodeFixedAmountSetPresentmentMoneyAmount | Decimal |
Decimal money amount. |
| DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode | String |
Currency of the money. |
| DiscountCodeFixedAmountSetShopMoneyAmount | Decimal |
Decimal money amount. |
| DiscountCodeFixedAmountSetShopMoneyCurrencyCode | String |
Currency of the money. |
| DiscountCodePercentage | String |
A percentage discount code applied to the line items on the order. |
| DiscountCodePercentageValue | Double |
The amount that's deducted from the order total. When you create an order, this value is the percentage to deduct. |
| FulfillmentLocationId | String |
The ID of the location to fulfill the order from. |
| FulfillmentNotifyCustomer | Bool |
Whether the customer should be notified of changes with the fulfillment. |
| FulfillmentTrackingInfoNumber | String |
The tracking number of the fulfillment. |
| FulfillmentTrackingInfoCompany | String |
The name of the tracking company. |
| FulfillmentShipmentStatus | String |
The status of the shipment. |
| FulfillmentOriginAddressAddress1 | String |
The street address of the fulfillment location. |
| FulfillmentOriginAddressAddress2 | String |
The second line of the address. Typically the number of the apartment, suite, or unit. |
| FulfillmentOriginAddressCity | String |
The city in which the fulfillment location is located. |
| FulfillmentOriginAddressCountryCode | String |
The country of the fulfillment location. |
| FulfillmentOriginAddressProvinceCode | String |
The province of the fulfillment location. |
| FulfillmentOriginAddressZip | String |
The zip code of the fulfillment location. |
| OrderLineItems | String |
The line items to create for the order. |
| OrderShippingLines | String |
A list of objects, each of which details a shipping method used. |
| OrderTaxLines | String |
A list of tax line objects, each of which details a tax applicable to the order. When creating an order through the API, tax lines can be specified on the order or the line items but not both. Tax lines specified on the order are split across the taxable line items in the created order. |
| OrderTransactions | String |
The payment transactions to create for the order. |
| OrderCustomAttributes | String |
A list of extra information that's added to the order. Appears in the Additional details section of an order details page. |
| Metafields | String |
A list of metafields to add to the order. |
| OptionsInventoryBehaviour | String |
The behaviour to use when updating inventory. The allowed values are BYPASS, DECREMENT_IGNORING_POLICY, DECREMENT_OBEYING_POLICY. |
| OptionsSendFulfillmentRequest | Bool |
Whether to send a shipping confirmation to the customer. |
| OptionsSendReceipt | Bool |
Whether to send an order confirmation to the customer. |
Retrieves the transactions associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderTransactions WHERE ResourceId = 'Val1'
The following columns can be used to create a new record:
ResourceId, ParentTransactionId
The following pseudo-columns can be used to create a new record:
Amount, Currency, FinalCapture
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ResourceId [KEY] | String | True |
Orders.Id |
A globally-unique ID. |
| PaymentId | String | True |
The payment ID associated with the transaction. | |
| ParentTransactionId | String | True |
The associated parent transaction, for example the authorization of a capture. | |
| AccountNumber | String | True |
The masked account number associated with the payment method. | |
| Gateway | String | True |
The payment gateway used to process the transaction. | |
| Kind | String | True |
The kind of transaction. | |
| Status | String | True |
The status of this transaction. | |
| Test | Bool | True |
Whether the transaction is a test transaction. | |
| AuthorizationCode | String | True |
Authorization code associated with the transaction. | |
| ErrorCode | String | True |
A standardized error code, independent of the payment provider. | |
| FormattedGateway | String | True |
The human-readable payment gateway name used to process the transaction. | |
| ManuallyCapturable | Bool | True |
Whether the transaction can be manually captured. | |
| MultiCapturable | Bool | True |
Whether the transaction can be captured multiple times. | |
| ProcessedAt | Datetime | True |
Date and time when the transaction was processed. | |
| ReceiptJson | String | True |
The transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction. | |
| SettlementCurrency | String | True |
The settlement currency. | |
| AuthorizationExpiresAt | Datetime | True |
The time when the authorization expires. This field is available only to stores on a Shopify Plus plan and is populated only for Shopify Payments authorizations. | |
| SettlementCurrencyRate | Decimal | True |
The rate used when converting the transaction amount to settlement currency. | |
| CreatedAt | Datetime | True |
Date and time when the transaction was created. | |
| CardPaymentDetailsName | String | True |
The holder of the credit card. | |
| CardPaymentDetailsBin | String | True |
The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number. | |
| CardPaymentDetailsCompany | String | True |
The name of the company that issued the customer's credit card. | |
| CardPaymentDetailsNumber | String | True |
The customer's credit card number, with most of the leading digits redacted. | |
| CardPaymentDetailsWallet | String | True |
Digital wallet used for the payment. | |
| CardPaymentDetailsExpirationMonth | Int | True |
The month in which the used credit card expires. | |
| CardPaymentDetailsExpirationYear | Int | True |
The year in which the used credit card expires. | |
| CardPaymentDetailsAvsResultCode | String | True |
The response code from the address verification system (AVS). The code is always a single letter. | |
| CardPaymentDetailsCvvResultCode | String | True |
The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string. | |
| PaymentIconId | String | True |
A unique ID for the image. | |
| PaymentIconWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| PaymentIconAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| PaymentIconHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| AmountSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| MaximumRefundableV2Amount | Decimal | True |
Decimal money amount. | |
| MaximumRefundableV2CurrencyCode | String | True |
Currency of the money. | |
| ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt | Datetime | True |
The time after which the extended authorization expires. After the expiry, the merchant is unable to capture the payment. | |
| ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt | Datetime | True |
The time after which capture will incur an additional fee. | |
| ShopifyPaymentsSetRefundSetAcquirerReferenceNumber | String | True |
The acquirer reference number (ARN) code generated for Visa/Mastercard transactions. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalUnsettledSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalUnsettledSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| UserId | String | True |
Staff member who was logged into the Shopify POS device when the transaction was processed. (This column is available only with a ShopifyPlus subscription) | |
| AmountRoundingSetPresentmentMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99. | |
| AmountRoundingSetPresentmentMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard [standard ISO 4217 codes](https: //en. wikipedia. org/wiki/ISO 4217), legacy codes, and non-standard codes. For example, USD. | |
| AmountRoundingSetShopMoneyAmount | Decimal | True |
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99. | |
| AmountRoundingSetShopMoneyCurrencyCode | String | True |
The three-letter currency code that represents a world currency used in a store. Currency codes include standard [standard ISO 4217 codes](https: //en. wikipedia. org/wiki/ISO 4217), legacy codes, and non-standard codes. For example, USD. | |
| CurrencyExchangeAdjustmentId | String | True |
A globally-unique ID of the adjustment on the transaction. | |
| PaymentDetailsLocalPaymentDescriptor | String | True |
The descriptor by the payment provider. Only available for Amazon Pay and Buy with Prime. | |
| PaymentDetailsLocalPaymentMethodName | String | True |
The name of payment method used by the buyer. | |
| PaymentDetailsShopPayInstallmentsPaymentMethodName | String | True |
The name of payment method used by the buyer. | |
| PaymentDetailsCardAvsResultCode | String | True |
The response code from the address verification system (AVS). The code is always a single letter. | |
| PaymentDetailsCardBin | String | True |
The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number. | |
| PaymentDetailsCardCompany | String | True |
The name of the company that issued the customer's credit card. | |
| PaymentDetailsCardCvvResultCode | String | True |
The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string. | |
| PaymentDetailsCardExpirationMonth | Int | True |
The month in which the used credit card expires. | |
| PaymentDetailsCardExpirationYear | Int | True |
The year in which the used credit card expires. | |
| PaymentDetailsCardName | String | True |
The holder of the credit card. | |
| PaymentDetailsCardNumber | String | True |
The customer's credit card number, with most of the leading digits redacted. | |
| PaymentDetailsCardPaymentMethodName | String | True |
The name of payment method used by the buyer. | |
| PaymentDetailsCardWallet | String | True |
Digital wallet used for the payment. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Amount | Decimal |
The amount to capture. The capture amount can't be greater than the amount of the authorized transaction. |
| Currency | String |
The amount to capture. The capture amount can't be greater than the amount of the authorized transaction. |
| FinalCapture | Bool |
Indicates whether this is to be the final capture for the order transaction. Only applies to Shopify Payments authorizations which are multi-capturable. If true, any uncaptured amount from the authorization will be voided after the capture is completed. If false, the authorization will remain open for future captures. |
| DeviceId | String |
The ID of the device used to process the transaction. |
| GiftCardDetailsId | String |
The ID of the gift card used for this transaction. |
| LocationId | String |
The ID of the location where the transaction was processed. |
List of the shop's pages.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Pages WHERE Id = 'Val1'
SELECT * FROM Pages WHERE IsPublished = true
SELECT * FROM Pages WHERE PublishedAt = '2023-01-01 11:10:00'
The following columns can be used to create a new record:
Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt
The following pseudo-column can be used to create a new record:
Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt
The following pseudo-columns can be used to update a record:
RedirectNewHandle, Metafields (references Metafields)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
Title of the page. | |
| Body | String | False |
The text content of the page, complete with HTML markup. | |
| BodySummary | String | True |
The first 150 characters of the page body. If the page body contains more than 150 characters, additional characters are truncated by ellipses. | |
| Handle | String | False |
A unique, human-friendly string for the page. In themes, the Liquid templating language refers to a page by its handle. | |
| TemplateSuffix | String | False |
The suffix of the template that's used to render the page. | |
| IsPublished | Bool | False |
Whether or not the page is visible. | |
| PublishedAt | Datetime | False |
The date and time when the page became or will become visible. Returns null when the page isn't visible. | |
| UpdatedAt | Datetime | True |
The date and time of the latest page update. | |
| CreatedAt | Datetime | True |
The date and time of the page creation. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| RedirectNewHandle | Bool |
Whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically. |
| Metafields | String |
The input fields to create or update a metafield. |
All price lists for a shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PriceLists WHERE Id = 'Val1'
The following columns can be used to create a new record:
Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode
The following columns can be updated:
Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Currency | String | False |
The currency for fixed prices associated with this price list. | |
| FixedPricesCount | Int | True |
The number of fixed prices on the price list. | |
| Name | String | False |
The unique name of the price list, used as a human-readable identifier. | |
| ParentAdjustmentType | String | False |
The type of price adjustment, such as percentage increase or decrease. | |
| ParentAdjustmentValue | Double | False |
The value of price adjustment, where positive numbers reduce the prices and negative numbers increase them. | |
| ParentSettingsCompareAtMode | String | False |
The type of price list adjustment setting for compare at price. |
Returns the media images associated with the product.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductMediaImages WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, AltText, MediaContentType, Url
The following columns can be updated:
AltText, Url
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the media image. | |
| ProductId [KEY] | String | True |
Products.Id |
A globally-unique identifier for the product. |
| AltText | String | False |
A word or phrase to share the nature or contents of a media image. | |
| MediaContentType | String | True |
The media content type. | |
| Height | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| Width | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| Url | String | False |
The location of the image as a URL. |
Returns a list of product options. The limit is specified by Shop.resourceLimits.maxProductOptions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOptions WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, Name, Position, OptionValues (references ProductOptionValues)
The following pseudo-columns can be used to create a new record:
LinkedMetafieldKey, LinkedMetafieldNamespace, LinkedMetafieldValues, CreateVariantStrategy
| Column Name | Type | Description |
| ProductId | String | A globally-unique ID. |
| ProductOptionId | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| VariantStrategy | String | The strategy defines which behavior is observed regarding variants. The strategy 'LEAVE_AS_IS' is used by default - variants are not created nor deleted. If set to 'MANAGE', variants are created and deleted according to the option values to add and to delete. |
The following columns can be updated:
ProductId, Name, Position
The following pseudo-columns can be used to update a record:
LinkedMetafieldKey, LinkedMetafieldNamespace
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique identifier. | |
| ProductId | String | False |
Products.Id |
A globally-unique identifier. |
| Name | String | False |
The product option's name. | |
| Position | Int | False |
The product option's position. | |
| Values | String | True |
The corresponding value to the product option name. | |
| OptionValues | String | True |
Similar to values, option_values returns all the corresponding option value objects to the product option, including values not assigned to any variants. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| LinkedMetafieldKey | String |
The key of the metafield this option is linked to. |
| LinkedMetafieldNamespace | String |
The namespace of the metafield this option is linked to. |
| LinkedMetafieldValues | String |
Comma-separated list of values associated with the option. |
| CreateVariantStrategy | String |
The strategy defines which behavior the mutation should observe regarding variants. If not provided or set to null, the strategy LEAVE_AS_IS will be used. If set to 'LEAVE_AS_IS', no additional variants are created in response to the added options. Existing variants are updated with the first option value of each option added. If set to 'CREATE', existing variants are updated with the first option value of each added option. New variants are created for each combination of existing variant option values and new option values. The allowed values are CREATE, LEAVE_AS_IS. |
| DeleteVariantStrategy | String |
The strategy defines which behavior is observed, such as how to handle a situation where deleting an option would result in duplicate variants. If set to 'DEFAULT', the specified Option may only have one corresponding value. If set to 'NON_DESTRUCTIVE', an Option with multiple values can be deleted, but the operation only succeeds if no product variants get deleted. If set to 'POSITION', an Option with multiple values can be deleted. Remaining variants will be deleted, highest position first, in the event of duplicates being detected. The allowed values are DEFAULT, NON_DESTRUCTIVE, POSITION. |
List all the corresponding option value objects to the product option, including values not assigned to any variants.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOptionValues WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, ProductOptionId, Name, LinkedMetafieldValue
The following pseudo-column can be used to create a new record:
VariantStrategy
The following columns can be updated:
ProductId, ProductOptionId, Name, LinkedMetafieldValue
You can delete entries by specifying the following columns:
ProductId, ProductOptionId, Id
| Name | Type | ReadOnly | References | Description |
| ProductId | String | False |
A globally-unique ID. | |
| ProductOptionId | String | False |
A globally-unique ID. | |
| ProductOptionName | String | True |
The product option's name. | |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
Value associated with an option. | |
| LinkedMetafieldValue | String | False |
Metafield value associated with an option. | |
| HasVariants | Bool | True |
Whether the product option value has any linked variants. | |
| SwatchColor | String | True |
The swatch associated with the product option value. The color representation of the swatch. | |
| SwatchImageId | String | True |
The swatch associated with the product option value. An image representation of the swatch. A globally-unique ID. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| VariantStrategy | String |
The strategy defines which behavior is observed regarding variants. The strategy 'LEAVE_AS_IS' is used by default - variants are not created nor deleted. If set to 'MANAGE', variants are created and deleted according to the option values to add and to delete. The allowed values are LEAVE_AS_IS, MANAGE. |
Returns the product resource feedback for the currently authenticated app.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductResourceFeedbacks WHERE ProductId = 'Val1'
The following columns can be used to create a new record:
ProductId, FeedbackGeneratedAt, Messages, ProductUpdatedAt, State
| Name | Type | ReadOnly | References | Description |
| ProductId [KEY] | String | True |
Products.Id |
The product associated with the resource feedback. |
| FeedbackGeneratedAt | Datetime | True |
The time when the feedback was generated. Used to help determine whether incoming feedback is outdated compared to existing feedback. | |
| Messages | String | True |
The feedback messages presented to the merchant. | |
| ProductUpdatedAt | Datetime | True |
The timestamp of the product associated with the feedback. | |
| State | String | True |
Conveys the state of the feedback and whether it requires merchant action or not. The allowed values are ACCEPTED, REQUIRES_ACTION. |
Returns a list of products.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Products WHERE Id = 'Val1'
SELECT * FROM Products WHERE Title = 'Val1'
SELECT * FROM Products WHERE Handle = 'Val1'
SELECT * FROM Products WHERE Status = 'Val1'
SELECT * FROM Products WHERE Vendor = 'Val1'
SELECT * FROM Products WHERE TotalInventory = 123
SELECT * FROM Products WHERE HasOnlyDefaultVariant = true
SELECT * FROM Products WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Products WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM Products WHERE ProductType = 'Val1'
SELECT * FROM Products WHERE PublicationId = 'Val1'
SELECT * FROM Products WHERE VariantId = 'Val1'
SELECT * FROM Products WHERE VariantTitle = 'Val1'
SELECT * FROM Products WHERE Namespace = 'Val1'
SELECT * FROM Products WHERE Key = 'Val1'
SELECT * FROM Products WHERE Value = 'Val1'
The following columns can be used to create a new record:
DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, IsGiftCard, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan
The following pseudo-columns can be used to create a new record:
Metafields (references Metafields), BundleComponents (references ProductBundleComponents)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| ComponentProductId | String | A globally-unique ID. |
| OptionSelections (references ProductBundleComponentOptionSelections) | String | The options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle. |
| Quantity | Int | The quantity of the component product set for this bundle line. It will be null if there's a quantityOption present. |
| QuantityOptionName | String | The name of the option value. |
| QuantityOptionValues | String | The quantity values of the option. |
| Column Name | Type | Description |
| ParentOptionName | String | The product option’s name. |
| ComponentOptionId | String | A globally-unique ID. |
| Values | String | The component option values that are actively selected for this relationship. |
The following columns can be updated:
DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan
The following pseudo-columns can be used to update a record:
Metafields (references Metafields), BundleComponents (references ProductBundleComponents)
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
| Column Name | Type | Description |
| ComponentProductId | String | A globally-unique ID. |
| OptionSelections (references ProductBundleComponentOptionSelections) | String | The options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle. |
| Quantity | Int | The quantity of the component product set for this bundle line. It will be null if there's a quantityOption present. |
| QuantityOptionName | String | The name of the option value. |
| QuantityOptionValues | String | The quantity values of the option. |
| Column Name | Type | Description |
| ParentOptionName | String | The product option’s name. |
| ComponentOptionId | String | A globally-unique ID. |
| Values | String | The component option values that are actively selected for this relationship. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique identifier. | |
| LegacyResourceId | Long | True |
The ID of the corresponding resource in the REST Admin API. | |
| Description | String | True |
The description of the product, complete with HTML formatting. | |
| DescriptionHtml | String | False |
The description of the product, complete with HTML formatting. | |
| Title | String | False |
The title of the product. | |
| Handle | String | False |
A unique human-friendly string of the product's title. | |
| Tags | String | False |
A comma separated list of tags associated with the product. Updating 'tags' overwrites any existing tags that were previously added to the product. | |
| Status | String | False |
The product status. This controls visibility across all channels. | |
| Vendor | String | False |
The name of the product's vendor. | |
| OnlineStorePreviewUrl | String | True |
The online store preview URL. | |
| OnlineStoreUrl | String | True |
The online store URL for the product.A value of 'null' indicates that the product is not published to the Online Store sales channel. | |
| TracksInventory | Bool | True |
Whether inventory tracking has been enabled for the product. | |
| TotalInventory | Int | True |
The quantity of inventory in stock. | |
| HasOnlyDefaultVariant | Bool | True |
Whether the product has only a single variant with the default option and value. | |
| HasOutOfStockVariants | Bool | True |
Whether the product has out of stock variants. | |
| HasVariantsThatRequiresComponents | Bool | True |
Whether at least one of the product variants requires bundle components. | |
| VariantsCount | Int | True |
The number of variants that are associated with the product. | |
| VariantsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| TemplateSuffix | String | False |
The theme template used when viewing the product in a store. | |
| GiftCardTemplateSuffix | String | False |
The theme template used when viewing the gift card in a store. | |
| IsGiftCard | Bool | True |
Whether the product is a gift card. | |
| PublishedAt | Datetime | True |
The date and time when the product was published to the Online Store. | |
| UpdatedAt | Datetime | True |
The date and time when the product was last modified.A product's 'updatedAt' value can change for different reasons. For example, if an order is placed for a product that has inventory tracking set up, then the inventory adjustment is counted as an update. | |
| CreatedAt | Datetime | True |
The date and time when the product was created. | |
| ProductType | String | False |
The product type specified by the merchant. | |
| CategoryId | String | True |
The globally-unique ID of the TaxonomyCategory. | |
| CategoryName | String | True |
The name of the taxonomy category. For example, Dog Beds. | |
| CategoryFullName | String | True |
The full name of the taxonomy category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds. | |
| SeoTitle | String | False |
SEO Title. | |
| SeoDescription | String | False |
SEO Description. | |
| RequiresSellingPlan | Bool | False |
Whether the product can only be purchased with a selling plan (subscription). Products that are sold on subscription ('requiresSellingPlan: true') can be updated only for online stores. If you update a product to be subscription only, then the product is unpublished from all channels except the online store. | |
| SellingPlanGroupsCount | Int | True |
Count of selling plan groups associated with the product. | |
| SellingPlanGroupsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| PriceRangeMaxVariantPriceAmount | Decimal | True |
Decimal money amount. | |
| PriceRangeMaxVariantPriceCurrencyCode | String | True |
Currency of the money. | |
| PriceRangeMinVariantPriceAmount | Decimal | True |
Decimal money amount. | |
| PriceRangeMinVariantPriceCurrencyCode | String | True |
Currency of the money. | |
| CompareAtPriceRangeMaxVariantCompareAtPriceAmount | Decimal | True |
Decimal money amount. | |
| CompareAtPriceRangeMaxVariantCompareAtPriceCurrencyCode | String | True |
Currency of the money. | |
| CompareAtPriceRangeMinVariantCompareAtPriceAmount | Decimal | True |
Decimal money amount. | |
| CompareAtPriceRangeMinVariantCompareAtPriceCurrencyCode | String | True |
Currency of the money. | |
| MediaCount | Int | True |
Total count of media belonging to a product. | |
| MediaCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| FeaturedMediaId | String | True |
A globally-unique ID. | |
| FeaturedMediaAlt | String | True |
A word or phrase to share the nature or contents of a media. | |
| FeaturedMediaContentType | String | True |
The media content type. | |
| FeaturedMediaStatus | String | True |
Current status of the media. | |
| FeaturedMediaPreviewStatus | String | True |
Current status of the preview image. | |
| FeaturedMediaPreviewImageId | String | True |
The preview image for the media. Returns null until status is READY. | |
| FeaturedMediaPreviewImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| FeaturedMediaPreviewImageUrl | String | True |
The location of the image as a URL. | |
| FeaturedMediaPreviewImageWidth | Int | True |
The original width of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| FeaturedMediaPreviewImageHeight | Int | True |
The original height of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| AvailablePublicationsCount | Int | True |
The number of publications a resource is published to without feedback errors. | |
| AvailablePublicationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| PublishedOnCurrentPublication | Bool | True |
Whether the resource is published to the app's publication. For example, the resource might be published to the app's online store channel. | |
| ResourcePublicationOnCurrentPublicationAutoPublish | Bool | True |
Whether new products are automatically published to this publication. | |
| ResourcePublicationOnCurrentPublicationIsPublished | Bool | True |
Whether the resource publication is published. If true, then the resource publication is published to the publication. If false, then the resource publication is staged to be published to the publication. | |
| ResourcePublicationOnCurrentPublicationPublishDate | Datetime | True |
The date that the resource publication was or is going to be published to the publication. | |
| ResourcePublicationOnCurrentPublicationPublicationId | String | True |
A globally-unique identifier. | |
| ResourcePublicationOnCurrentPublicationPublicationName | String | True |
Name of the publication. | |
| ResourcePublicationOnCurrentPublicationPublicationSupportsFuturePublishing | Bool | True |
Whether the publication supports future publishing. | |
| ResourcePublicationsCount | Int | True |
The number of publications that a resource is published to, without feedback errors. | |
| ResourcePublicationsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| FeedbackSummary | String | True |
Summary of resource feedback pertaining to the resource. | |
| FeedbackDetails | String | True |
List of AppFeedback detailing issues regarding a resource. | |
| PublicationId | String | True |
Filter by publication IDs that are associated with the product. | |
| VariantId | String | True |
Filter by the product variant id field. | |
| VariantTitle | String | True |
Filter by the product variant title field. | |
| Namespace | String | True |
The container the metafield belongs to. If omitted, the app-reserved namespace will be used. | |
| Key | String | True |
The key for the metafield. | |
| Value | String | True |
The value of the metafield. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Metafields | String |
The additional customizable information about the product variant. |
| BundleComponents | String |
The components that are associated with a product in a bundle. |
Returns a list of the product variants.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ProductVariants WHERE Id = 'Val1'
SELECT * FROM ProductVariants WHERE ProductId = 'Val1'
SELECT * FROM ProductVariants WHERE Barcode = 'Val1'
SELECT * FROM ProductVariants WHERE Sku = 'Val1'
SELECT * FROM ProductVariants WHERE Title = 'Val1'
SELECT * FROM ProductVariants WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM ProductVariants WHERE Taxable = true
SELECT * FROM ProductVariants WHERE DeliveryProfileId = 'Val1'
SELECT * FROM ProductVariants WHERE LocationInventoryQuantity = 123
The following columns can be used to create a new record:
ProductId, Barcode, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked
The following pseudo-columns can be used to create a new record:
MediaId, MediaSrc, InventoryQuantities (references InventoryItemInventoryLevelQuantities), OptionValues (references ProductOptionValues), Metafields (references Metafields), Strategy
| Column Name | Type | Description |
| InventoryLevelLocationId | String | A globally-unique ID. |
| Quantity | Int | The quantity for the quantity name. |
| Column Name | Type | Description |
| ProductOptionId | String | A globally-unique ID. |
| ProductOptionName | String | The product option's name. |
| Id | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
ProductId, Barcode, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked
The following pseudo-columns can be used to update a record:
MediaId, MediaSrc, OptionValues (references ProductOptionValues), Metafields (references Metafields), AllowPartialUpdates
| Column Name | Type | Description |
| ProductOptionId | String | A globally-unique ID. |
| ProductOptionName | String | The product option's name. |
| Id | String | A globally-unique ID. |
| Name | String | Value associated with an option. |
| LinkedMetafieldValue | String | Metafield value associated with an option. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following columns:
Id, ProductId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique identifier. | |
| LegacyResourceId | Long | True |
The ID of the corresponding resource in the REST Admin API. | |
| ProductId | String | False |
Products.Id |
A globally-unique identifier. |
| Position | Int | True |
The order of the product variant in the list of product variants. The first position in the list is 1. | |
| DisplayName | String | True |
Display name of the variant, based on product's title + variant's title. | |
| Barcode | String | False |
The value of the barcode associated with the product. | |
| Sku | String | True |
An identifier for the product variant in the shop. Required in order to connect to a fulfillment service. | |
| Title | String | True |
The title of the product variant. | |
| RequiresComponents | Bool | True |
Whether a product variant requires components. The default value is 'false'. If 'true', then the product variant can only be purchased as a parent bundle with components and it will be omitted from channels that don't support bundles. | |
| UpdatedAt | Datetime | True |
The date and time when the product variant was last modified. | |
| CreatedAt | Datetime | True |
The date and time when the variant was created. | |
| SelectedOptions | String | True |
List of product options applied to the variant. | |
| AvailableForSale | Bool | True |
Whether the product variant is available for sale. | |
| Price | Decimal | False |
The price of the product variant in the default shop currency. | |
| CompareAtPrice | Decimal | False |
The compare-at price of the variant in the default shop currency. | |
| TaxCode | String | False |
The tax code for the product variant. | |
| Taxable | Bool | False |
Whether a tax is charged when the product variant is sold. | |
| SellableOnlineQuantity | Int | True |
The total sellable quantity of the variant for online channels. This doesn't represent the total available inventory or capture (limitations based on customer location). | |
| SellingPlanGroupsCount | Int | True |
Count of selling plan groups associated with the product variant. | |
| SellingPlanGroupsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| DeliveryProfileId | String | True |
A globally-unique identifier. | |
| InventoryPolicy | String | False |
Whether customers are allowed to place an order for the product variant when it's out of stock. | |
| InventoryQuantity | Int | True |
The total sellable quantity of the variant. | |
| InventoryItemId | String | True |
A globally-unique identifier. | |
| InventoryItemUnitCostAmount | Decimal | False |
Unit cost associated with the inventory item. | |
| InventoryItemUnitCostCurrencyCode | String | True |
Currency code of the unit cost associated with the inventory item. | |
| InventoryItemHarmonizedSystemCode | String | False |
The harmonized system code of the inventory item. | |
| InventoryItemMeasurementWeightValue | Double | False |
The weight value using the unit system specified with 'unit'. | |
| InventoryItemMeasurementWeightUnit | String | False |
The unit of measurement for 'value'. | |
| InventoryItemRequiresShipping | Bool | False |
Whether the inventory item requires shipping. | |
| InventoryItemTracked | Bool | False |
Whether inventory levels are tracked for the item. | |
| ImageId | String | True |
A unique identifier for the image. | |
| ImageAltText | String | True |
A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | True |
The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageWidth | Int | True |
The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | True |
The location of the image as a URL. | |
| UnitPriceMeasurementMeasuredType | String | True |
The type of unit of measurement for the unit price measurement. | |
| UnitPriceMeasurementQuantityUnit | String | True |
The quantity unit for the unit price measurement. | |
| UnitPriceMeasurementQuantityValue | Double | True |
The quantity value for the unit price measurement. | |
| UnitPriceMeasurementReferenceUnit | String | True |
The reference unit for the unit price measurement. | |
| UnitPriceMeasurementReferenceValue | Int | True |
The reference value for the unit price measurement. | |
| LocationInventoryQuantity | Int | True |
Filters by the available inventory quantity of any variant at individual locations. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| MediaId | String |
The ID of the media to associate with the variant. |
| MediaSrc | String |
The URL of the media to associate with the variant. |
| InventoryQuantities | String |
The inventory quantities at each location where the variant is stocked. The number of elements in the array of inventory quantities can't exceed the amount specified for the plan. |
| OptionValues | String |
The custom properties that a shop owner uses to define product variants. |
| Metafields | String |
The additional customizable information about the product variant. |
| Strategy | String |
The strategy defines which behavior is observed, such as whether to keep or delete the standalone variant (when product has only a single or default variant) when creating new variants. If set to 'DEFAULT', keep the standalone variant (when product has only a single or default variant) when creating variants. If set to 'REMOVE_STANDALONE_VARIANT', delete the standalone variant (when product has only a single or default variant) when creating new variants. The allowed values are DEFAULT, REMOVE_STANDALONE_VARIANT. |
| AllowPartialUpdates | Bool |
When partial updates are allowed, valid variant changes may be persisted even if some of the variants updated have invalid data and cannot be persisted. When partial updates are not allowed, any error will prevent all variants from updating. |
Returns the list of publications.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Publications WHERE Id = 'Val1'
SELECT * FROM Publications WHERE CatalogType = 'Val1'
The following columns can be used to create a new record:
AutoPublish, CatalogId
The following pseudo-column can be used to create a new record:
DefaultState
The following column can be updated:
AutoPublish
The following pseudo-columns can be used to update a record:
PublishablesToAdd, PublishablesToRemove
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AutoPublish | Bool | False |
Whether new products are automatically published to this publication. | |
| SupportsFuturePublishing | Bool | True |
Whether the publication supports future publishing. | |
| CatalogId | String | True |
A globally-unique ID. | |
| AddAllProductsOperationId | String | True |
A globally-unique ID. | |
| AddAllProductsOperationStatus | String | True |
The status of this operation. | |
| AddAllProductsOperationProcessedRowCount | Int | True |
The count of processed rows, summing imported, failed, and skipped rows. | |
| AddAllProductsOperationRowCountCount | Int | True |
Estimated number of rows contained within this background operation. | |
| AddAllProductsOperationRowCountExceedsMax | Bool | True |
Whether the operation exceeds max number of reportable rows. | |
| CatalogCsvOperationId | String | True |
A globally-unique ID. | |
| CatalogCsvOperationStatus | String | True |
The status of this operation. | |
| CatalogCsvOperationProcessedRowCount | Int | True |
The count of processed rows, summing imported, failed, and skipped rows. | |
| CatalogCsvOperationRowCountCount | Int | True |
Estimated number of rows contained within this background operation. | |
| CatalogCsvOperationRowCountExceedsMax | Bool | True |
Whether the operation exceeds max number of reportable rows. | |
| PublicationResourceOperationId | String | True |
A globally-unique ID. | |
| PublicationResourceOperationStatus | String | True |
The status of this operation. | |
| PublicationResourceOperationProcessedRowCount | Int | True |
The count of processed rows, summing imported, failed, and skipped rows. | |
| PublicationResourceOperationRowCountCount | Int | True |
Estimated number of rows contained within this background operation. | |
| PublicationResourceOperationRowCountExceedsMax | Bool | True |
Whether the operation exceeds max number of reportable rows. | |
| CatalogType | String | True |
Filter publications by catalog type. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| DefaultState | String |
Whether to create an empty publication or prepopulate it with all products. The allowed values are ALL_PRODUCTS, EMPTY. |
| PublishablesToAdd | String |
A simple, comma-separated list of publishable IDs to add. The maximum number of publishables to update simultaneously is 50. |
| PublishablesToRemove | String |
A simple, comma-separated list of publishable IDs to remove. The maximum number of publishables to update simultaneously is 50. |
Represents a refund of items or transactions in an order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Refunds WHERE OrderId = 'Val1'
The following columns can be used to create a new record:
OrderId, Note, RefundLineItems (references RefundLineItems)
| Column Name | Type | Description |
| LineItemId | String | A globally-unique ID. |
| LineItemQuantity | Int | The number of variant units ordered. |
| RestockType | String | The type of restock for the refunded line item. |
| LocationId | String | A globally-unique ID. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Globally unique identifier. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| OrderId | String | True |
Orders.Id |
A globally-unique ID. |
| Note | String | True |
The optional note associated with the refund. | |
| CreatedAt | Datetime | True |
The date and time when the refund was created. | |
| UpdatedAt | Datetime | True |
The date and time when the refund was updated. | |
| ReturnId | String | True |
A globally-unique ID. | |
| StaffMemberId | String | True |
A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| TotalRefundedSetPresentmentMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetPresentmentMoneyCurrencyCode | String | True |
Currency of the money. | |
| TotalRefundedSetShopMoneyAmount | Decimal | True |
Decimal money amount. | |
| TotalRefundedSetShopMoneyCurrencyCode | String | True |
Currency of the money. | |
| RefundLineItems | String | True |
The list of the line items in the draft order. |
Retrieves a list of returns for the order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Returns WHERE OrdersId = 'Val1'
The following columns can be used to create a new record:
OrdersId, ReturnLineItems (references ReturnLineItems), ReturnExchangeLineItems (references ReturnExchangeLineItems)
| Column Name | Type | Description |
| Quantity | Int | The quantity being returned. |
| ReturnReason | String | The reason for returning the item. |
| ReturnReasonNote | String | Additional information about the reason for the return. Maximum length: 255 characters. |
| FulfillmentLineItemId | String | A globally-unique ID. |
| Column Name | Type | Description |
| VariantId | String | A globally-unique ID. |
| Quantity | Int | The number of variant units ordered. |
| AppliedDiscountValueAmount | Decimal | The discount to be applied to the exchange line item. The value of the discount as a fixed amount. |
| AppliedDiscountValueAmountCurrencyCode | String | The discount to be applied to the exchange line item. Currency of the money. |
| AppliedDiscountValuePercentage | Double | The discount to be applied to the exchange line item. The value of the discount as a percentage. |
| AppliedDiscountDescription | String | The discount to be applied to the exchange line item. The description of the discount. |
| GiftCardCodes | String | The gift card codes associated with the physical gift cards. |
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| OrdersId | String | True |
Orders.Id |
A globally-unique ID. |
| Name | String | True |
The name of the return. | |
| Status | String | True |
The status of the return. | |
| TotalQuantity | Int | True |
The sum of all line item quantities for the return. | |
| DeclineReason | String | True |
The reason the customer's return request was declined. | |
| DeclineNote | String | True |
The notification message sent to the customer about their declined return request. Maximum length: 500 characters. | |
| ReturnLineItems | String | True |
The list of the line items in the return. | |
| ReturnExchangeLineItems | String | True |
The new line items to be added to the order. | |
| ClosedAt | Datetime | True |
The date and time when the return was closed. | |
| CreatedAt | Datetime | True |
The date and time when the return was created. | |
| RequestApprovedAt | Datetime | True |
The date and time when the return was approved. |
Returns a list of script tags.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ScriptTags WHERE Id = 'Val1'
SELECT * FROM ScriptTags WHERE Src = 'Val1'
The following columns can be used to create a new record:
Cache, Src, DisplayScope
The following columns can be updated:
Cache, Src, DisplayScope
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
| Cache | Bool | False |
Whether the Shopify CDN can cache and serve the script tag. If 'true', then the script will be cached and served by the CDN. The cache expires 15 minutes after the script tag is successfully returned. If 'false', then the script will be served as is. | |
| Src | String | False |
The URL to the remote script. | |
| DisplayScope | String | False |
The page or pages on the online store that the script should be included. The allowed values are ONLINE_STORE. | |
| CreatedAt | Datetime | True |
The date and time when the script tag was created. | |
| UpdatedAt | Datetime | True |
The date and time when the script tag was last updated. |
A list of a shop's segments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Segments WHERE Id = 'Val1'
SELECT * FROM Segments WHERE Name = 'Val1'
The following columns can be used to create a new record:
Name, Query
The following columns can be updated:
Name, Query
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
The name of the segment. | |
| Query | String | False |
A precise definition of the segment. The definition is composed of a combination of conditions on facts about customers. | |
| CreationDate | Datetime | True |
The date and time when the segment was added to the store. | |
| LastEditDate | Datetime | True |
The date and time when the segment was last updated. |
Returns a list Selling Plan Groups.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM SellingPlanGroups WHERE Id = 'Val1'
SELECT * FROM SellingPlanGroups WHERE Name = 'Val1'
SELECT * FROM SellingPlanGroups WHERE CreatedAt < '2023-01-01 11:10:00'
The following columns can be used to create a new record:
AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans)
The following pseudo-columns can be used to create a new record:
ProductIds, ProductVariantIds
| Column Name | Type | Description |
| Id | String | A globally-unique ID. |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. |
| Category | String | The category used to classify the selling plan for reporting purposes. |
| Description | String | Buyer facing string which describes the selling plan commitment. |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. |
| InventoryPolicyReserve | String | When to reserve inventory for the order. |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge. |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due. |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year. |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN. |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
| Metafields (references Metafields) | String | Attaches additional metadata to a store's resources. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
The following columns can be updated:
AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans), SellingPlansToUpdate (references SellingPlanGroupSellingPlans)
The following pseudo-column can be used to update a record:
SellingPlansToDelete
| Column Name | Type | Description |
| Id | String | A globally-unique ID. |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. |
| Category | String | The category used to classify the selling plan for reporting purposes. |
| Description | String | Buyer facing string which describes the selling plan commitment. |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. |
| InventoryPolicyReserve | String | When to reserve inventory for the order. |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge. |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due. |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year. |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN. |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP. |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
| Metafields (references Metafields) | String | Attaches additional metadata to a store's resources. |
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| AppId | String | False |
The ID for app, exposed in Liquid and product JSON. | |
| Name | String | False |
The buyer-facing label of the selling plan group. | |
| Description | String | False |
The merchant-facing description of the selling plan group. | |
| Options | String | False |
The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. | |
| Position | Int | False |
The relative position of the selling plan group for display. | |
| Summary | String | True |
A summary of the policies associated to the selling plan group. | |
| MerchantCode | String | False |
The merchant-facing label of the selling plan group. | |
| ProductsCount | Int | True |
A count of products associated to the selling plan group. | |
| ProductsCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CreatedAt | Datetime | True |
The date and time when the selling plan group was created. | |
| SellingPlansToCreate | String | False |
List of selling plans to create. | |
| SellingPlansToUpdate | String | False |
List of selling plans to update. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| SellingPlansToDelete | String |
List of selling plans to delete as a simple, comma-separated list. |
| ProductIds | String |
The IDs of the Products to add to the Selling Plan Group as a simple, comma-separated list. |
| ProductVariantIds | String |
The IDs of the Variants to add to the Selling Plan Group as a simple, comma-separated list. |
Credit transactions which increase the store credit account balance.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountCreditTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountCreditTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
The following columns can be used to create a new record:
Amount, AmountCurrencyCode, ExpiresAt, CustomerStoreCreditAccountId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Amount | Decimal | True |
Decimal money amount. | |
| AmountCurrencyCode | String | True |
Currency of the money. | |
| RemainingAmount | Decimal | True |
Decimal money amount. | |
| RemainingAmountCurrencyCode | String | True |
Currency of the money. | |
| ExpiresAt | Datetime | True |
The time at which the transaction expires. Debit transactions will always spend the soonest expiring credit first. | |
| BalanceAfterTransactionAmount | Decimal | True |
Decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | True |
Currency of the money. | |
| CreatedAt | Datetime | True |
The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | True |
A globally-unique ID. |
Debit transactions which decrease the store credit account balance.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountDebitTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountDebitTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
The following columns can be used to create a new record:
Amount, AmountCurrencyCode, CustomerStoreCreditAccountId
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Amount | Decimal | True |
Decimal money amount. | |
| AmountCurrencyCode | String | True |
Currency of the money. | |
| BalanceAfterTransactionAmount | Decimal | True |
Decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | True |
Currency of the money. | |
| CreatedAt | Datetime | True |
The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | True |
A globally-unique ID. |
Retrieves the storefront access token of a private application. These are scoped per-application.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM StorefrontAccessTokens
The following column can be used to create a new record:
Title
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ShopId | String | True |
Shop.Id |
A globally-unique ID. |
| Title | String | True |
An arbitrary title for each token determined by the developer, used for reference purposes. | |
| AccessToken | String | True |
The issued public access token. | |
| CreatedAt | Datetime | True |
The date and time when the public access token was created. | |
| UpdatedAt | Datetime | True |
The date and time when the storefront access token was updated. |
List of the shop's themes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Themes WHERE Id = 'Val1'
SELECT * FROM Themes WHERE Name = 'Val1'
SELECT * FROM Themes WHERE Role = 'Val1'
The following columns can be used to create a new record:
Name, Role
The following pseudo-column can be used to create a new record:
Source
The following column can be updated:
Name
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| ThemeStoreId | Int | True |
The theme store ID. | |
| Name | String | False |
The name of the theme, set by the merchant. | |
| Prefix | String | True |
The prefix of the theme. | |
| Processing | Bool | True |
Whether the theme is processing. | |
| ProcessingFailed | Bool | True |
Whether the theme processing failed. | |
| Role | String | True |
The role of the theme. | |
| UpdatedAt | Datetime | True |
The date and time when the theme was last updated. | |
| CreatedAt | Datetime | True |
The date and time when the theme was created. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description |
| Source | String |
An external URL or a staged upload URL of the theme to import. |
Returns a list of redirects for a shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM UrlRedirects WHERE Id = 'Val1'
SELECT * FROM UrlRedirects WHERE Path = 'Val1'
SELECT * FROM UrlRedirects WHERE Target = 'Val1'
The following columns can be used to create a new record:
Path, Target
The following columns can be updated:
Path, Target
You can delete entries by specifying the following column:
Id
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The ID of the URL redirect. | |
| Path | String | False |
The old path to be redirected from. When the user visits this path, they will be redirected to the target location. | |
| Target | String | False |
The target location where the user will be redirected to. |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| AbandonedCheckoutCustomAttributes | Retrieves custom attributes associated with the resource. |
| AbandonedCheckoutLineItems | Retrieves a list of line items in the associated resource. |
| AbandonedCheckouts | List checkouts that were abandoned by customers. |
| AbandonedCheckoutTaxLines | Represents a single tax applied to the associated resource. |
| Abandonment | Returns abandonment. |
| AbandonmentProductsAddedToCart | Returns the products added to the cart during the customer abandoned visit. |
| AbandonmentProductsViewed | Returns the products viewed during the customer abandoned visit. |
| AppCredits | Lists credits that can be used towards future app purchases. |
| ArticleCommentEvents | Retrieves a paginated list of events associated with the host subject. |
| ArticleEvents | Retrieves a paginated list of events associated with the host subject. |
| AssignedFulfillmentOrders | Retrieves a paginated list of fulfillment orders assigned to the shop locations owned by the app. Assigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations managed by fulfillment services that are registered by the app. One app (api_client) can host multiple fulfillment services on a shop. Each fulfillment service manages a dedicated location on a shop. Assigned fulfillment orders can have associated, or might currently not be requested to be fulfilled. The app must have 'read_assigned_fulfillment_orders' to be able to retrieve fulfillment orders assigned to its locations. All assigned fulfillment orders (except those with the 'CLOSED' status) will be returned by default. |
| BlogEvents | Retrieves a paginated list of events associated with the host subject. |
| BusinessEntities | List of Business Entities associated with the shop. |
| CollectionProducts | Retrieves a list of the products inside of a collection. |
| CompanyContactRoles | Returns available roles for company contacts. |
| CompanyEvents | Retrieves a paginated list of events associated with the host subject. |
| CustomerEvents | Retrieves a paginated list of events associated with the host subject. |
| CustomerSegmentMembers | The list of members, such as customers, that's associated with individual segments. |
| CustomerStoreCreditAccounts | Retrieve customers' store credit accounts. |
| DeliveryProfileLocationGroupCountries | Lists countries already selected in any zone for the specified location group. |
| DeliveryProfileLocationGroupCountryProvinces | Returns the list of regions associated with this country. |
| DeliveryProfileLocationGroups | Lists the location groups using this profile. |
| DeliveryProfileLocationGroupZones | Lists the applicable zones associated to the specified location group. |
| DeliveryProfileUnassignedLocations | Lists the locations that have not been assigned to a location group for this profile. |
| DiscountEvents | Retrieves a paginated list of events associated with the host subject. |
| DiscountsCodeFreeShipping | Returns a list of discounts. |
| Disputes | All disputes related to the shop. |
| DraftOrderCustomAttributes | Retrieves custom attributes associated with the resource. |
| DraftOrderEvents | Retrieves a paginated list of events associated with the host subject. |
| DraftOrderLineItemCustomAttributes | Retrieves custom attributes associated with the resource. |
| DraftOrderLineItems | Returns a list of the line items in the draft order. |
| DraftOrderLineItemTaxLines | Represents a single tax applied to the associated resource. |
| DraftOrderTaxLines | Represents a single tax applied to the associated resource. |
| Events | Retrieves a list of events associated with the shop. |
| FulfillmentLineItems | Line items from orders that are included in fulfillments. |
| FulfillmentLineItemTaxLines | Represents a single tax applied to the associated resource. |
| FulfillmentOrderLineItems | A list of the fulfillment order's line items. |
| FulfillmentOrderLocationForMoveAvailableLineItems | A list of the fulfillment order's line items. |
| FulfillmentOrderLocationForMoveUnavailableLineItems | A list of the fulfillment order's line items. |
| FulfillmentOrderLocationsForMove | A list of locations that the fulfillment order can potentially move to. |
| InventoryAdjustmentGroupChanges | Sets of inventory quantity changes that occurred in inventory events. |
| InventoryAdjustmentGroups | Groups of adjustments made as part of inventory operations. |
| InventoryItemCountryHarmonizedSystemCodes | Returns a list of country specific harmonized system codes. |
| InventoryItemInventoryLevelQuantities | List quantities for inventory items at specific locations. |
| InventoryItemInventoryLevelScheduledChanges | Scheduled changes for inventory levels. |
| Jobs | Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes. |
| LocalizationCountries | Returns the list of countries with enabled localized experiences. |
| MarketingEvents | Returns a list of marketing events associated with the marketing app. |
| MetafieldDefinitionConstraintValues | Returns constraint subtype values that metafield definitions apply to. |
| MetafieldDefinitionStandardTemplates | Standard metafield definition templates provide preset configurations to create metafield definitions. |
| MetafieldDefinitionTypes | Returns metafield definition types which provide the basic foundation and validations for metafields. |
| MetaobjectDefinitions | Provides the definition of a generic object structure composed of metafields. |
| MetaObjects | All metaobjects for the shop. |
| OrderAdditionalFees | A list of additional fees applied to the order. |
| OrderAgreementAdditionalFeeSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementAdjustmentSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementDutySales | Retrieves a list of sales associated with agreements. |
| OrderAgreementGiftCardSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementProductSales | Retrieves a list of sales associated with agreements. |
| OrderAgreements | Retrieves a list of sales agreements associated with orders. |
| OrderAgreementShippingLineSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementTipSales | Retrieves a list of sales associated with agreements. |
| OrderAgreementUnknownSales | Retrieves a list of sales associated with agreements. |
| OrderCustomAttributes | Retrieves custom attributes associated with the resource. |
| OrderDiscountApplications | Returns a list of discounts that are applied to the order, not including order edits and refunds. |
| OrderEditAgreementAdditionalFeeSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementAdjustmentSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementDutySales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementGiftCardSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementProductSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreements | Retrieves a list of sales agreements associated with orders. |
| OrderEditAgreementShippingLineSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementTipSales | Retrieves a list of sales associated with agreements. |
| OrderEditAgreementUnknownSales | Retrieves a list of sales associated with agreements. |
| OrderEvents | Retrieves a paginated list of events associated with the host subject. |
| OrderLineItemCustomAttributes | Retrieves custom attributes associated with the resource. |
| OrderLineItemDiscountAllocations | Retrieves the discounts that have been allocated onto the line item by discount applications, not including order edits and refunds. |
| OrderLineItemDuties | Lists the duties associated with the line items. |
| OrderLineItems | Retrieves line items associated with orders. |
| OrderLineItemTaxLines | Represents a single tax applied to the associated resource. |
| OrderNonFulfillableLineItemDuties | Lists the duties associated with the line items. |
| OrderNonFulfillableLineItems | Retrieves a list of line items in the associated resource. |
| OrderRefundAgreementAdditionalFeeSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementAdjustmentSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementDutySales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementGiftCardSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementProductSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreements | Retrieves a list of sales agreements associated with orders. |
| OrderRefundAgreementShippingLineSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementTipSales | Retrieves a list of sales associated with agreements. |
| OrderRefundAgreementUnknownSales | Retrieves a list of sales associated with agreements. |
| OrderShippingLines | Retrieve shipping lines attached to orders. |
| OrderTaxLines | Represents a single tax applied to the associated resource. |
| PageEvents | Retrieves a paginated list of events associated with the host subject. |
| PriceListPrices | A list of prices associated with a price list. |
| ProductBundleComponentOptionSelections | Get relationships between component options and parent options. |
| ProductBundleComponents | List products' component information. |
| ProductEvents | Retrieves a paginated list of events associated with the host subject. |
| ProductOperations | An entity that represents details of an asynchronous operation on a product. |
| ProductVariantEvents | Retrieves a paginated list of events associated with the host subject. |
| PublicationCollections | Returns a list of collections published to the publication. |
| PublicationProducts | Returns the list of publication for products. |
| RefundDuties | Lists the refunded duties as part of this refund. |
| RefundLineItemDuties | Lists the duties associated with the line items. |
| RefundLineItems | Retrieves the 'RefundLineItem' resources attached to the refund. |
| RefundOrderAdjustments | Retrieve the order adjustments that are attached to refunds. |
| RefundShippingLines | Retrieve shipping lines attached to refunds. |
| RefundTransactionFees | Returns the transaction fees charged on the order transaction. Only present for Shopify Payments transactions. |
| RefundTransactions | Retrieves the transactions associated with the resource. |
| ReturnExchangeLineItems | Retrieves a list of line items in the associated resource. |
| ReturnLineItems | Retrieves the return line items attached to the return. |
| ReturnLineItemsUnverified | Retrieves the unverified return line items attached to the return. |
| ReverseFulfillmentOrderDeliveries | Reverse deliveries are post-fulfillment objects that represents a buyer sending a package to a merchant. |
| ReverseFulfillmentOrderDeliveryLineItems | Details about reverse delivery line items. |
| ReverseFulfillmentOrderLineItems | Details about reverse fulfillment order line items. |
| ReverseFulfillmentOrders | Items in returns that will be processed at a fulfillment service. |
| SegmentFilterParameters | The parameters for event segment filters. |
| SegmentFilters | A list of filters. |
| SellingPlanGroupSellingPlans | Retrieves selling plans associated to the selling plan group. |
| Shop | Returns the Shop resource corresponding to the access token used in the request. The Shop resource contains business and store management settings for the shop. |
| ShopifyPaymentsAccount | Returns Shopify Payments account information, including balances and payouts. |
| ShopifyPaymentsAccountBalance | Returns current balances in all currencies for the account. |
| ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders | The adjustment orders associated to the transaction. |
| ShopifyPaymentsAccountBalanceTransactions | A list of balance transactions associated with a Shopify Payments account balance. |
| ShopifyPaymentsAccountBankAccounts | Lists all bank accounts configured for the Shopify Payments account. |
| ShopifyPaymentsAccountDisputes | Lists all disputes related to the Shopify Payments account. |
| ShopifyPaymentsAccountPayouts | Returns all current and previous payouts made between the account and the bank account. Its avaible only in a few certain countries. |
| ShopifyPaymentsAccountVerifications | Returns the verifications necessary for this account. |
| StaffMembers | Retrieves a paginated list of the shop's staff members. (This table is available only with a ShopifyPlus subscription) |
| StoreCreditAccountDebitRevertTransactions | Debit revert transactions created when a store credit account debit transaction is reverted. |
| StoreCreditAccountExpirationTransactions | Expiration transactions created when a store credit account credit transaction expires. |
| TenderTransactions | Returns a list of TenderTransactions associated with the shop. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Retrieves a list of line items in the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Abandonment.AbandonedCheckoutPayloadId | A globally-unique ID. |
| Title | String | Title of the line item. Defaults to the product's title. | |
| ProductId | String | A globally-unique ID. | |
| VariantId | String | A globally-unique ID. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| Quantity | Int | The number of variant units ordered. | |
| Sku | String | The variant SKU number. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| DiscountedTotalPriceSetPresentmentMoneyAmount | Decimal | Final total price for the entire quantity of this line item, including discounts. Decimal money amount. | |
| DiscountedTotalPriceSetPresentmentMoneyCurrencyCode | String | Final total price for the entire quantity of this line item, including discounts. Currency of the money. | |
| DiscountedTotalPriceSetShopMoneyAmount | Decimal | Final total price for the entire quantity of this line item, including discounts. Decimal money amount. | |
| DiscountedTotalPriceSetShopMoneyCurrencyCode | String | Final total price for the entire quantity of this line item, including discounts. Currency of the money. | |
| DiscountedTotalPriceWithCodeDiscountPresentmentMoneyAmount | Decimal | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedTotalPriceWithCodeDiscountPresentmentMoneyCurrencyCode | String | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| DiscountedTotalPriceWithCodeDiscountShopMoneyAmount | Decimal | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedTotalPriceWithCodeDiscountShopMoneyCurrencyCode | String | The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. Currency of the money. | |
| DiscountedUnitPriceWithCodeDiscountPresentmentMoneyAmount | Decimal | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedUnitPriceWithCodeDiscountPresentmentMoneyCurrencyCode | String | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| DiscountedUnitPriceWithCodeDiscountShopMoneyAmount | Decimal | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Decimal money amount. | |
| DiscountedUnitPriceWithCodeDiscountShopMoneyCurrencyCode | String | The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. Currency of the money. | |
| OriginalTotalPriceSetPresentmentMoneyAmount | Decimal | Original total price for the entire quantity of this line item, before discounts. Decimal money amount. | |
| OriginalTotalPriceSetPresentmentMoneyCurrencyCode | String | Original total price for the entire quantity of this line item, before discounts. Currency of the money. | |
| OriginalTotalPriceSetShopMoneyAmount | Decimal | Original total price for the entire quantity of this line item, before discounts. Decimal money amount. | |
| OriginalTotalPriceSetShopMoneyCurrencyCode | String | Original total price for the entire quantity of this line item, before discounts. Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Original price for a single unit of this line item, before discounts. Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Original price for a single unit of this line item, before discounts. Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Original price for a single unit of this line item, before discounts. Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Original price for a single unit of this line item, before discounts. Currency of the money. |
List checkouts that were abandoned by customers.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonedCheckouts WHERE Id = 'Val1'
SELECT * FROM AbandonedCheckouts WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM AbandonedCheckouts WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM AbandonedCheckouts WHERE Status = 'open'
SELECT * FROM AbandonedCheckouts WHERE EmailState = 'sent'
SELECT * FROM AbandonedCheckouts WHERE RecoveryState = 'open'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Name | String | Unique merchant-facing identifier for the checkout. | |
| AbandonedCheckoutUrl | String | The URL for the buyer to recover their checkout. | |
| CustomerId | String | A globally-unique ID. | |
| DiscountCodes | String | The discount codes entered by the buyer at checkout. | |
| Note | String | A merchant-facing note added to the checkout. Not visible to the buyer. | |
| TaxesIncluded | Bool | Whether taxes are included in line item and shipping line prices. | |
| UpdatedAt | Datetime | The date and time when the checkout was most recently updated. | |
| CreatedAt | Datetime | The date and time when the checkout was created. | |
| CompletedAt | Datetime | The date and time when the buyer completed the checkout. Null if the checkout has not been completed. | |
| BillingAddressCoordinatesValidated | Bool | Whether the address corresponds to recognized latitude and longitude values. | |
| BillingAddressId | String | A globally-unique ID. | |
| BillingAddressValidationResultSummary | String | The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| BillingAddressFirstName | String | The first name of the customer. | |
| BillingAddressLastName | String | The last name of the customer. | |
| BillingAddressName | String | The full name of the customer, based on firstName and lastName. | |
| BillingAddressAddress1 | String | The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | The name of the city, district, village, or town. | |
| BillingAddressCompany | String | The name of the customer's company or organization. | |
| BillingAddressCountry | String | The name of the country. | |
| BillingAddressCountryCode | String | The two-letter code for the country of the address. For example, US. | |
| BillingAddressFormattedArea | String | A comma-separated list of the values for city, province, and country. | |
| BillingAddressLatitude | Double | The latitude coordinate of the customer address. | |
| BillingAddressLongitude | Double | The longitude coordinate of the customer address. | |
| BillingAddressPhone | String | A unique phone number for the customer. | |
| BillingAddressProvince | String | The region of the address, such as the province, state, or district. | |
| BillingAddressProvinceCode | String | The alphanumeric code for the region. For example, ON. | |
| BillingAddressZip | String | The zip or postal code of the address. | |
| BillingAddressTimeZone | String | The time zone of the address. | |
| ShippingAddressCoordinatesValidated | Bool | Whether the address corresponds to recognized latitude and longitude values. | |
| ShippingAddressId | String | A globally-unique ID. | |
| ShippingAddressValidationResultSummary | String | The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| ShippingAddressFirstName | String | The first name of the customer. | |
| ShippingAddressLastName | String | The last name of the customer. | |
| ShippingAddressName | String | The full name of the customer, based on firstName and lastName. | |
| ShippingAddressAddress1 | String | The first line of the address. Typically the street address or PO Box number. | |
| ShippingAddressAddress2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| ShippingAddressCity | String | The name of the city, district, village, or town. | |
| ShippingAddressCompany | String | The name of the customer's company or organization. | |
| ShippingAddressCountry | String | The name of the country. | |
| ShippingAddressCountryCode | String | The two-letter code for the country of the address. For example, US. | |
| ShippingAddressFormattedArea | String | A comma-separated list of the values for city, province, and country. | |
| ShippingAddressLatitude | Double | The latitude coordinate of the customer address. | |
| ShippingAddressLongitude | Double | The longitude coordinate of the customer address. | |
| ShippingAddressPhone | String | A unique phone number for the customer. | |
| ShippingAddressProvince | String | The region of the address, such as the province, state, or district. | |
| ShippingAddressProvinceCode | String | The alphanumeric code for the region. For example, ON. | |
| ShippingAddressZip | String | The zip or postal code of the address. | |
| ShippingAddressTimeZone | String | The time zone of the address. | |
| SubtotalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| SubtotalPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDutiesSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDutiesSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDutiesSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDutiesSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalLineItemsPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalLineItemsPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalLineItemsPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalLineItemsPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | Currency of the money. | |
| Status | String | Filter by the status.
The allowed values are open, closed. | |
| EmailState | String | Filter by the email state.
The allowed values are sent, not_sent, scheduled, suppressed. | |
| RecoveryState | String | Filter by the recovery state.
The allowed values are open, closed. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AbandonedCheckoutTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Returns abandonment.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Abandonment WHERE Id = 'Val1'
SELECT * FROM Abandonment WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| AppId | String | A globally-unique ID. | |
| CustomerId | String | A globally-unique ID. | |
| AbandonmentType | String | The abandonment type. | |
| EmailState | String | The email state (e.g., sent or not sent). | |
| InventoryAvailable | Bool | Whether the products in abandonment are available. | |
| EmailSentAt | Datetime | When the email was sent, if that is the case. | |
| MostRecentStep | String | The most recent step type. | |
| VisitStartedAt | Datetime | The date and time when the visit started. | |
| IsFromOnlineStore | Bool | Whether the abandonment event comes from the Online Store sales channel. | |
| IsFromShopApp | Bool | Whether the abandonment event comes from the Shop app sales channel. | |
| IsFromShopPay | Bool | Whether the abandonment event comes from Shop Pay. | |
| IsMostSignificantAbandonment | Bool | Whether the customer did not complete another most significant step since this abandonment. | |
| LastBrowseAbandonmentDate | Datetime | The date for the latest browse abandonment. | |
| LastCartAbandonmentDate | Datetime | The date for the latest cart abandonment. | |
| LastCheckoutAbandonmentDate | Datetime | The date for the latest checkout abandonment. | |
| DaysSinceLastAbandonmentEmail | Int | The number of days since the last abandonment email was sent to the customer. | |
| HoursSinceLastAbandonedCheckout | Double | The number of hours since the customer has last abandoned a checkout. | |
| CustomerHasNoOrderSinceAbandonment | Bool | Whether the customer has completed an order since this checkout has been abandoned. | |
| CreatedAt | Datetime | The date and time when the abandonment was created. | |
| IsFromCustomStorefront | Bool | Whether the abandonment event comes from a custom storefront channel. | |
| AbandonedCheckoutPayloadId | String | A globally-unique ID. | |
| AbandonedCheckoutPayloadDefaultCursor | String | A default cursor that returns the single next record, sorted ascending by ID. | |
| AbandonedCheckoutPayloadAbandonedCheckoutUrl | String | The URL for the buyer to recover their checkout. |
Returns the products added to the cart during the customer abandoned visit.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonmentId = 'Val1'
SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| AbandonmentId | String | A globally-unique ID. | |
| AbandonedCheckoutPayloadId [KEY] | String | A globally-unique ID. | |
| ProductId [KEY] | String | A globally-unique ID. | |
| VariantId [KEY] | String | A globally-unique ID. | |
| Quantity | Int | The quantity of the product that the customer requested. |
Returns the products viewed during the customer abandoned visit.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AbandonmentProductsViewed WHERE AbandonmentId = 'Val1'
SELECT * FROM AbandonmentProductsViewed WHERE AbandonedCheckoutPayloadId = 'Val1'
| Name | Type | References | Description |
| AbandonmentId | String |
Abandonment.Id | A globally-unique ID. |
| AbandonedCheckoutPayloadId [KEY] | String | A globally-unique ID. | |
| ProductId [KEY] | String | A globally-unique ID. | |
| VariantId [KEY] | String | A globally-unique ID. | |
| Quantity | Int | The quantity of the product that the customer requested. |
Lists credits that can be used towards future app purchases.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM AppCredits WHERE AppInstallationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| AppInstallationId | String | A globally-unique ID. | |
| Description | String | The description of the app credit. | |
| Test | Bool | Whether the app credit is a test transaction. | |
| CreatedAt | Datetime | The date and time when the app credit was created. | |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ArticleCommentEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String | A globally-unique ID. | |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ArticleEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Articles.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves a paginated list of fulfillment orders assigned to the shop locations owned by the app. Assigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations managed by fulfillment services that are registered by the app. One app (api_client) can host multiple fulfillment services on a shop. Each fulfillment service manages a dedicated location on a shop. Assigned fulfillment orders can have associated, or might currently not be requested to be fulfilled. The app must have 'read_assigned_fulfillment_orders' to be able to retrieve fulfillment orders assigned to its locations. All assigned fulfillment orders (except those with the 'CLOSED' status) will be returned by default.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM AssignedFulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
SELECT * FROM AssignedFulfillmentOrders WHERE AssignmentStatus = 'CANCELLATION_REQUESTED'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopId | String |
Shop.Id | A globally-unique ID. |
| OrderId | String | A globally-unique ID. | |
| Status | String | The status of the fulfillment order. | |
| FulfillAt | Datetime | The date and time at which the fulfillment order will be fulfillable. When this date and time is reached, the scheduled fulfillment order is automatically transitioned to open. For example, the 'fulfill_at' date for a subscription order might be the 1st of each month, a pre-order 'fulfill_at' date would be 'nil', and a standard order 'fulfill_at' date would be the order creation date. | |
| FulfillBy | Datetime | The latest date and time by which all items in the fulfillment order need to be fulfilled. | |
| RequestStatus | String | The request status of the fulfillment order. | |
| CreatedAt | Datetime | Date and time when the fulfillment order was created. | |
| UpdatedAt | Datetime | The date and time when the fulfillment order was last updated. | |
| AssignedLocationName | String | The name of the location. | |
| AssignedLocationAddress1 | String | The first line of the address for the location. | |
| AssignedLocationAddress2 | String | The second line of the address for the location. | |
| AssignedLocationCity | String | The city of the location. | |
| AssignedLocationPhone | String | The phone number of the location. | |
| AssignedLocationProvince | String | The province of the location. | |
| AssignedLocationZip | String | The ZIP code of the location. | |
| AssignedLocationCountryCode | String | The two-letter country code of the location. | |
| AssignedLocationLocationId | String | A globally-unique ID. | |
| AssignedLocationLocationLegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| AssignedLocationLocationName | String | The name of the location. | |
| AssignedLocationLocationActivatable | Bool | Whether this location can be reactivated. | |
| AssignedLocationLocationDeactivatable | Bool | Whether this location can be deactivated. | |
| AssignedLocationLocationDeletable | Bool | Whether this location can be deleted. | |
| AssignedLocationLocationAddressVerified | Bool | Whether the location address has been verified. | |
| AssignedLocationLocationDeactivatedAt | String | The date and time that the location was deactivated at. For example, 3: 30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as '2019-09-07T15: 50: 00Z'. | |
| AssignedLocationLocationIsActive | Bool | Whether the location is active. | |
| AssignedLocationLocationShipsInventory | Bool | Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
| AssignedLocationLocationFulfillsOnlineOrders | Bool | Whether this location can fulfill online orders. | |
| AssignedLocationLocationHasActiveInventory | Bool | Whether this location has active inventory. | |
| AssignedLocationLocationHasUnfulfilledOrders | Bool | Whether this location has orders that need to be fulfilled. | |
| DeliveryMethodId | String | A globally-unique ID. | |
| DeliveryMethodPresentedName | String | The name of the delivery option that was presented to the buyer during checkout. | |
| DeliveryMethodMethodType | String | The type of the delivery method. | |
| DeliveryMethodMaxDeliveryDateTime | Datetime | The latest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodMinDeliveryDateTime | Datetime | The earliest delivery date and time when the fulfillment is expected to arrive at the buyer's location. | |
| DeliveryMethodServiceCode | String | A reference to the shipping method. | |
| DeliveryMethodSourceReference | String | Promise provider specific data associated with delivery promise. | |
| DeliveryMethodBrandedPromiseName | String | The name of the branded promise. For example: 'Shop Promise'. | |
| DeliveryMethodBrandedPromiseHandle | String | The handle of the branded promise. For example: 'shop_promise'. | |
| DeliveryMethodAdditionalInformationPhone | String | The phone number to contact when performing the delivery. | |
| DeliveryMethodAdditionalInformationInstructions | String | The delivery instructions to follow when performing the delivery. | |
| DestinationId | String | A globally-unique ID. | |
| DestinationFirstName | String | The first name of the customer at the destination. | |
| DestinationLastName | String | The last name of the customer at the destination. | |
| DestinationAddress1 | String | The first line of the address of the destination. | |
| DestinationAddress2 | String | The second line of the address of the destination. | |
| DestinationCity | String | The city of the destination. | |
| DestinationCompany | String | The company of the destination. | |
| DestinationEmail | String | The email of the customer at the destination. | |
| DestinationPhone | String | The phone number of the customer at the destination. | |
| DestinationProvince | String | The province of the destination. | |
| DestinationZip | String | The ZIP code of the destination. | |
| DestinationCountryCode | String | The two-letter country code of the destination. | |
| DestinationLocationId | String | A globally-unique ID. | |
| InternationalDutiesIncoterm | String | The method of duties payment. Example values: 'DDP', 'DAP'. | |
| AssignmentStatus | String | The assigment status of the fulfillment orders that should be returned. If assignmentStatus argument is not provided, then the query will return all assigned fulfillment orders, except those that have the CLOSED status.
The allowed values are CANCELLATION_REQUESTED, FULFILLMENT_ACCEPTED, FULFILLMENT_REQUESTED, FULFILLMENT_UNSUBMITTED. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM BlogEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Blogs.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
List of Business Entities associated with the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM BusinessEntities WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| CompanyName | String | The name of the company associated with the merchant's Business Entity. | |
| DisplayName | String | The display name of the merchant's Business Entity. | |
| Primary | Bool | Whether it's the merchant's primary Business Entity. | |
| Address1 | String | The first line of the address. Typically the street address or PO Box number. | |
| Address2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| AddressCountryCode | String | The country code of the merchant's Business Entity. | |
| AddressProvince | String | The region of the address, such as the province, state, or district. | |
| AddressCity | String | The name of the city, district, village, or town. | |
| AddressZip | String | The zip or postal code of the address. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. |
Retrieves a list of the products inside of a collection.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CollectionProducts WHERE CollectionId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | Globally unique identifier. | |
| CollectionId [KEY] | String |
Collections.Id | A globally-unique identifier for the collection. |
| Title | String | The title of the product. | |
| Position | Int | The position in which the products are sorted. |
Returns available roles for company contacts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyContactRoles WHERE CompanyId = 'Val1'
| Name | Type | References | Description |
| CompanyId | String | The company to which the role belongs. | |
| Id [KEY] | String | A globally-unique ID. | |
| Name | String | The name of a role. For example, 'admin' or 'buyer'. | |
| Note | String | A note for the role. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CompanyEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Companies.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Customers.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
The list of members, such as customers, that's associated with individual segments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM CustomerSegmentMembers WHERE SegmentId = 'Val1'
| Name | Type | References | Description |
| SegmentId [KEY] | String |
Segments.Id | The ID of the segment. |
| Id [KEY] | String | The member's ID. | |
| DisplayName | String | The full name of the member, which is based on the values of the 'first_name' and 'last_name' fields. If the member's first name and last name aren't available, then the customer's email address is used. If the customer's email address isn't available, then the customer's phone number is used. | |
| FirstName | String | The member's first name. | |
| LastName | String | The member's last name. | |
| Note | String | A note about the member. | |
| LastOrderId | String | The ID of the member's most recent order. | |
| NumberOfOrders | String | The total number of orders that the member has made. | |
| AmountSpentAmount | Decimal | Decimal money amount. | |
| AmountSpentCurrencyCode | String | Currency of the money. | |
| DefaultAddressId | String | A globally-unique ID. | |
| DefaultAddressCountry | String | The name of the country. | |
| DefaultAddressProvince | String | The region of the address, such as the province, state, or district. | |
| DefaultAddressCity | String | The name of the city, district, village, or town. | |
| DefaultAddressFormattedArea | String | A comma-separated list of the values for city, province, and country. | |
| DefaultAddressCompany | String | The name of the customer's company or organization. | |
| DefaultAddressAddress1 | String | The first line of the address. Typically the street address or PO Box number. | |
| DefaultAddressAddress2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| DefaultAddressName | String | The full name of the customer, based on firstName and lastName. | |
| DefaultAddressFirstName | String | The first name of the customer. | |
| DefaultAddressLastName | String | The last name of the customer. | |
| DefaultAddressLatitude | Double | The latitude coordinate of the customer address. | |
| DefaultAddressLongitude | Double | The longitude coordinate of the customer address. | |
| DefaultAddressCoordinatesValidated | Bool | Whether the address coordinates are valid. | |
| DefaultAddressValidationResultSummary | String | The validation status that is leveraged by the address validation feature in the Shopify Admin. | |
| DefaultAddressPhone | String | A unique phone number for the customer. Formatted using E. 164 standard. For example, _+16135551111_. | |
| DefaultAddressZip | String | The zip or postal code of the address. | |
| DefaultAddressProvinceCode | String | The alphanumeric code for the region. For example, ON. | |
| DefaultAddressCountryCode | String | The two-letter code for the country of the address. For example, US. | |
| DefaultAddressTimeZone | String | The time zone of the address. | |
| DefaultEmailAddressEmailAddress | String | The customer's default email address. | |
| DefaultEmailAddressMarketingState | String | Whether the customer has subscribed to email marketing. | |
| DefaultEmailAddressMarketingUnsubscribeUrl | String | The URL to unsubscribe a member from all mailing lists. | |
| DefaultEmailAddressOpenTrackingLevel | String | Whether the customer has opted in to having their opened emails tracked. | |
| DefaultEmailAddressOpenTrackingUrl | String | The URL that can be used to opt a customer in or out of email open tracking. | |
| DefaultPhoneNumberMarketingState | String | Whether the customer has subscribed to SMS marketing material. | |
| DefaultPhoneNumberPhoneNumber | String | A customer's phone number. | |
| MergeableReason | String | The reason why the customer can't be merged with another customer. | |
| MergeableErrorFields | String | The list of fields preventing the customer from being merged. | |
| MergeableIsMergeable | Bool | Whether the customer can be merged with another customer. | |
| MergeableMergeInProgressJobId | String | The UUID of the merge job. | |
| MergeableMergeInProgressResultingCustomerId | String | The ID of the customer resulting from the merge. | |
| MergeableMergeInProgressStatus | String | The status of the customer merge request. |
Retrieve customers' store credit accounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM CustomerStoreCreditAccounts WHERE Id = 'Val1'
SELECT * FROM CustomerStoreCreditAccounts WHERE CustomerId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| CustomerId | String | A globally unique-id. | |
| BalanceAmount | Decimal | Decimal money amount. | |
| BalanceCurrencyCode | String | Currency of the money. |
Lists countries already selected in any zone for the specified location group.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroupCountries
| Name | Type | References | Description |
| CountryId [KEY] | String | A globally-unique ID. | |
| LocationGroupId [KEY] | String | A globally-unique ID. | |
| DeliveryProfileId | String | The ID of the DeliveryProfile to return. | |
| Zone | String | The name of the shipping zone. | |
| CountryName | String | The full name of the country. | |
| CountryTranslatedName | String | The translated name of the country. The translation returned is based on the system's locale. | |
| CountryCodeCountryCode | String | The country code in the ISO 3166-1 alpha-2 format. | |
| CountryCodeRestOfWorld | Bool | Whether the country is a part of the 'Rest of World' shipping zone. |
Returns the list of regions associated with this country.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroupCountryProvinces
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| CountryId | String | A globally-unique ID. | |
| Code | String | The code of the region. | |
| Name | String | The full name of the region. | |
| TranslatedName | String | The translated name of the region. The translation returned is based on the system's locale. |
Lists the location groups using this profile.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM DeliveryProfileLocationGroups
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| DeliveryProfileId | String | The ID of the DeliveryProfile to return. | |
| LocationsCount | Int | A count of all locations that are part of this location group. | |
| LocationsCountPrecision | String | The count's precision, or the exactness of the value. |
Lists the applicable zones associated to the specified location group.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DeliveryProfileLocationGroupZones WHERE DeliveryProfileId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LocationGroupId [KEY] | String | Filter the location groups of the profile by location group ID. | |
| DeliveryProfileId | String | The ID of the DeliveryProfile to return. | |
| Name | String | The name of the zone. | |
| MethodDefinitionCountsParticipantDefinitionsCount | Int | The number of participant method definitions for the specified zone. | |
| MethodDefinitionCountsRateDefinitionsCount | Int | The number of merchant-defined method definitions for the specified zone. |
Lists the locations that have not been assigned to a location group for this profile.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DeliveryProfileUnassignedLocations WHERE DeliveryProfileId = 'Val1'
| Name | Type | References | Description |
| DeliveryProfileId [KEY] | String | A globally-unique ID. | |
| LocationId [KEY] | String |
Locations.Id | A globally-unique ID. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DiscountEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String | A globally-unique ID. | |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Returns a list of discounts.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM DiscountsCodeFreeShipping WHERE Title = 'Val1'
SELECT * FROM DiscountsCodeFreeShipping WHERE DiscountClass = 'Val1'
SELECT * FROM DiscountsCodeFreeShipping WHERE EndsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeFreeShipping WHERE StartsAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeFreeShipping WHERE CreatedAt = '2023-01-01 11:10:00'
SELECT * FROM DiscountsCodeFreeShipping WHERE UpdatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Title | String | The title of the discount. | |
| Status | String | The status of the discount. | |
| Summary | String | A detailed summary of the discount. | |
| CodesCount | Int | The number of redeem codes for the discount. | |
| CodesCountPrecision | String | The count's precision, or the exactness of the value. | |
| DiscountClass | String | The class of the discount for combining purposes. | |
| EndsAt | Datetime | The date and time when the discount ends. For open-ended discounts, use 'null'. | |
| ShortSummary | String | A short summary of the discount. | |
| StartsAt | Datetime | The date and time when the discount starts. | |
| UsageLimit | Int | The maximum number of times that the discount can be used. | |
| AppliesOnSubscription | Bool | Whether the discount applies on subscription shipping lines. | |
| AsyncUsageCount | Int | The number of times that the discount has been used. | |
| HasTimelineComment | Bool | Indicates whether there are any timeline comments on the discount. | |
| RecurringCycleLimit | Int | The number of times a discount applies on recurring purchases (subscriptions). | |
| AppliesOncePerCustomer | Bool | Whether the discount can be applied only once per customer. | |
| AppliesOnOneTimePurchase | Bool | Whether the discount applies on regular one-time-purchase shipping lines. | |
| CreatedAt | Datetime | The date and time when the discount was created. | |
| UpdatedAt | Datetime | The date and time when the discount was updated. | |
| CombinesWithOrderDiscounts | Bool | Combines with order discounts. | |
| CombinesWithProductDiscounts | Bool | Combines with product discounts. | |
| CombinesWithShippingDiscounts | Bool | Combines with shipping discounts. | |
| DiscountCustomerAllAllCustomers | Bool | Whether the discount can be applied by all customers. This value is always 'true'. | |
| DiscountCountriesCountries | String | The codes for the countries where the discount can be applied. | |
| DiscountCountriesIncludeRestOfWorld | Bool | Whether the discount is applicable to countries that have not been defined in the shop's shipping zones. | |
| DiscountCountryAllAllCountries | Bool | Whether the discount can be applied to all countries as shipping destination. This value is always 'true'. | |
| MaximumShippingPriceAmount | Decimal | Decimal money amount. | |
| MaximumShippingPriceCurrencyCode | String | Currency of the money. | |
| DiscountMinimumQuantityGreaterThanOrEqualToQuantity | String | The minimum quantity of items that's required for the discount to be applied. | |
| TotalSalesAmount | Decimal | Decimal money amount. | |
| TotalSalesCurrencyCode | String | Currency of the money. |
All disputes related to the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM Disputes WHERE Id = 'Val1'
SELECT * FROM Disputes WHERE Status = 'Val1'
SELECT * FROM Disputes WHERE InitiatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| EvidenceDueBy | Date | The deadline for evidence submission. | |
| EvidenceSentOn | Date | The date when evidence was sent. Returns null if evidence hasn't yet been sent. | |
| Status | String | The current state of the dispute. | |
| Type | String | Indicates if this dispute is still in the inquiry phase or has turned into a chargeback. | |
| FinalizedOn | Date | The date when this dispute was resolved. Returns null if the dispute isn't yet resolved. | |
| InitiatedAt | Datetime | The date when this dispute was initiated. | |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| OrderId | String | A globally-unique ID. | |
| ReasonDetailsReason | String | The reason for the dispute provided by the cardholder's banks. | |
| ReasonDetailsNetworkReasonCode | String | The raw code provided by the payment network. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String |
DraftOrders.Id | A globally-unique ID. |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
DraftOrders.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItemCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Returns a list of the line items in the draft order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItems WHERE DraftOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| DraftOrderId | String |
DraftOrders.Id | A globally-unique ID. |
| Name | String | The name of the product. | |
| Title | String | The title of the product or variant. This field only applies to custom line items. | |
| VariantTitle | String | The name of the variant. | |
| Custom | Bool | Whether the line item is a custom line item ('true') or a product variant line item ('false'). | |
| Quantity | Int | The number of product variants that are requested in the draft order. | |
| Sku | String | The SKU number of the product variant. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who created the product variant. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| IsGiftCard | Bool | Whether the line item is a gift card. | |
| AppliedDiscountTitle | String | Name of the order-level discount. | |
| AppliedDiscountDescription | String | Description of the order-level discount. | |
| AppliedDiscountValue | Double | The order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount. | |
| AppliedDiscountValueType | String | Type of the order-level discount. | |
| AppliedDiscountAmountV2Amount | Decimal | Decimal money amount. | |
| AppliedDiscountAmountV2CurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| FulfillmentServiceId | String | The ID of the fulfillment service. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ProductId | String | A globally-unique ID. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| VariantId | String | A globally-unique ID. | |
| WeightValue | Double | The weight value using the unit system specified with 'unit'. | |
| WeightUnit | String | The unit of measurement for 'value'. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String |
DraftOrders.Id | A globally-unique ID. |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of events associated with the shop.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Events
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Line items from orders that are included in fulfillments.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentLineItems WHERE FulfillmentId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| FulfillmentId | String |
Fulfillments.Id | A globally-unique ID. |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| Quantity | Int | Number of line items in the fulfillment. | |
| LineItemId | String | A globally-unique ID. | |
| LineItemName | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| LineItemTitle | String | The title of the product at time of order creation. | |
| LineItemVariantTitle | String | The title of the variant at time of order creation. | |
| LineItemVariantId | String | A globally-unique ID. | |
| LineItemProductId | String | A globally-unique ID. | |
| LineItemSellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| LineItemQuantity | Int | The number of variant units ordered. | |
| LineItemRestockable | Bool | Whether the line item can be restocked. | |
| LineItemSku | String | The variant SKU number. | |
| LineItemTaxable | Bool | Whether the variant is taxable. | |
| LineItemVendor | String | The name of the vendor who made the variant. | |
| LineItemCurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemMerchantEditable | Bool | Whether the line item can be edited or not. | |
| LineItemRefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemRequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| LineItemUnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| LineItemNonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| LineItemIsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| LineItemDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| LineItemDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemDiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemDiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemDiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemImageId | String | A unique ID for the image. | |
| LineItemImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| LineItemImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageUrl | String | The location of the image as a URL. | |
| LineItemOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemOriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemOriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemOriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemTotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemTotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemTotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemTotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| LineItemUnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| LineItemUnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
A list of the fulfillment order's line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM FulfillmentOrderLineItems WHERE FulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The unique identifier of the line item. | |
| FulfillmentOrderId | String | The unique identifier of the fulfillment order. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| InventoryItemId | String | The ID of the inventory item. | |
| Sku | String | The variant SKU number. | |
| ProductTitle | String | The title of the product. | |
| VariantId | String | The product variant associated to the fulfillment order line item. | |
| VariantTitle | String | The name of the variant. | |
| Vendor | String | The name of the vendor who made the variant. | |
| RemainingQuantity | Int | The number of units remaining to be fulfilled. | |
| TotalQuantity | Int | The total number of units to be fulfilled. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| WeightUnit | String | The weight of a line item unit. The unit of measurement for value. | |
| WeightValue | Double | The weight value using the unit system specified with unit. | |
| Warnings | String | Warning messages for a fulfillment order line item. | |
| FinancialSummaries | String | The financial summary for the Fulfillment Order's Line Items. |
A list of the fulfillment order's line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE FulfillmentOrderId = 'Val1'
SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE LocationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The unique identifier of the line item. | |
| FulfillmentOrderId | String | The unique identifier of the fulfillment order. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| InventoryItemId | String | The ID of the inventory item. | |
| Sku | String | The variant SKU number. | |
| ProductTitle | String | The title of the product. | |
| VariantId | String | The product variant associated to the fulfillment order line item. | |
| VariantTitle | String | The name of the variant. | |
| Vendor | String | The name of the vendor who made the variant. | |
| RemainingQuantity | Int | The number of units remaining to be fulfilled. | |
| TotalQuantity | Int | The total number of units to be fulfilled. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| WeightUnit | String | The weight of a line item unit. The unit of measurement for value. | |
| WeightValue | Double | The weight value using the unit system specified with unit. | |
| Warnings | String | Warning messages for a fulfillment order line item. | |
| FinancialSummaries | String | The financial summary for the Fulfillment Order's Line Items. | |
| LocationId [KEY] | String | The unique identifier of the location. |
A list of locations that the fulfillment order can potentially move to.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM FulfillmentOrderLocationsForMove WHERE FulfillmentOrderId = 'Val1'
SELECT * FROM FulfillmentOrderLocationsForMove WHERE LocationId = 'Val1'
| Name | Type | References | Description |
| FulfillmentOrderId [KEY] | String | The unique identifier of the fulfillment order. | |
| LocationId [KEY] | String | The unique identifier of the location. | |
| AvailableLineItemsCount | Int | Total number of fulfillment order line items that can be moved from their current assigned location to the given location. | |
| AvailableLineItemsCountPrecision | String | The count's precision, or the exactness of the value. | |
| UnavailableLineItemsCount | Int | Total number of fulfillment order line items that can't be moved from their current assigned location to the given location. | |
| UnavailableLineItemsCountPrecision | String | The count's precision, or the exactness of the value. | |
| Movable | Bool | Whether the fulfillment order can be moved to the location. | |
| Message | String | A human-readable string with the reason why the fulfillment order, or some of its line items, can't be moved to the location. |
Sets of inventory quantity changes that occurred in inventory events.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND InventoryItemId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND LocationId = 'Val1'
SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND Name = 'Val1'
| Name | Type | References | Description |
| InventoryAdjustmentGroupId [KEY] | String | A globally-unique ID. | |
| InventoryItemId [KEY] | String | A globally-unique ID. | |
| LocationId [KEY] | String | A globally-unique ID. | |
| Name [KEY] | String | The name of the inventory quantity that was changed. | |
| Delta | Int | The amount by which the inventory quantity was changed. | |
| QuantityAfterChange | Int | The quantity of named inventory after the change. | |
| LedgerDocumentUri | String | A URI that represents what the inventory quantity change was applied to. |
Groups of adjustments made as part of inventory operations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryAdjustmentGroups WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Reason | String | The reason for the group of adjustments. | |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. This can be the entity adjusting inventory quantities or the Shopify resource that's associated with the inventory adjustment. For example, a unit in a draft order might have been previously reserved, and a merchant later creates an order from the draft order. In this case, the 'referenceDocumentUri' for the inventory adjustment is a URI referencing the order ID. | |
| CreatedAt | Datetime | The date and time the inventory adjustment group was created. | |
| AppId | String | A globally-unique ID. | |
| StaffMemberId | String | A globally-unique ID. (This column is available only with a ShopifyPlus subscription) |
Returns a list of country specific harmonized system codes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemCountryHarmonizedSystemCodes WHERE InventoryItemId = 'Val1'
| Name | Type | References | Description |
| InventoryItemId | String | A globally-unique ID. | |
| CountryCode | String | The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. | |
| HarmonizedSystemCode [KEY] | String | The country-specific harmonized system code. These are usually longer than 6 digits. |
List quantities for inventory items at specific locations.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM InventoryItemInventoryLevelQuantities WHERE InventoryLevelId = 'Val1'
SELECT * FROM InventoryItemInventoryLevelQuantities WHERE Name = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| InventoryItemId | String | A globally-unique ID. | |
| InventoryLevelId | String | A globally-unique ID. | |
| InventoryLevelLocationId | String | A globally-unique ID. | |
| Name | String | The name that identifies the inventory quantity. | |
| Quantity | Int | The quantity for the quantity name. | |
| UpdatedAt | Datetime | When the quantity was last updated. |
Scheduled changes for inventory levels.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM InventoryItemInventoryLevelScheduledChanges WHERE InventoryLevelId = 'Val1'
| Name | Type | References | Description |
| InventoryItemId | String | A globally-unique ID. | |
| InventoryLevelId | String | A globally-unique ID. | |
| ExpectedAt | Datetime | The date and time that the scheduled change is expected to happen. | |
| FromName | String | The quantity name to transition from. | |
| ToName | String | The quantity name to transition to. | |
| Quantity | Int | The quantity of the scheduled change associated with the ledger document in the 'fromName' state. | |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Jobs WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID that's returned when running an asynchronous mutation. | |
| Done | Bool | This indicates if the job is still queued or has been run. |
Returns the list of countries with enabled localized experiences.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM LocalizationCountries
| Name | Type | References | Description |
| IsoCode [KEY] | String | The ISO code of the country. | |
| Name | String | The name of the country. | |
| UnitSystem | String | The unit system used in the country. | |
| CurrencyIsoCode | String | The ISO code of the currency. | |
| CurrencyName | String | The name of the currency. | |
| CurrencySymbol | String | The symbol of the currency. | |
| MarketId | String | A globally-unique ID. | |
| MarketHandle | String | A human-readable unique string for the market automatically generated from its title. | |
| AvailableLanguages | String | The languages available for the country. |
Returns a list of marketing events associated with the marketing app.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM MarketingEvents WHERE Id = 'Val1'
SELECT * FROM MarketingEvents WHERE AppId = 'Val1'
SELECT * FROM MarketingEvents WHERE Type = 'Val1'
SELECT * FROM MarketingEvents WHERE StartedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| RemoteId | String | An optional ID that helps Shopify validate engagement data. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| AppId | String | A globally-unique ID. | |
| MarketingChannelType | String | The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. | |
| Description | String | A human-readable description of the marketing event. | |
| Type | String | The marketing event type. | |
| EndedAt | Datetime | The date and time when the marketing event ended. | |
| ManageUrl | String | The URL where the marketing event can be managed. | |
| PreviewUrl | String | The URL where the marketing event can be previewed. | |
| StartedAt | Datetime | The date and time when the marketing event started. | |
| UtmCampaign | String | The name of the marketing campaign. | |
| UtmMedium | String | The medium that the marketing campaign is using. Example values: 'cpc', 'banner'. | |
| UtmSource | String | The referrer of the marketing event. Example values: 'google', 'newsletter'. | |
| SourceAndMedium | String | Where the 'MarketingEvent' occurred and what kind of content was used. Because 'utmSource' and 'utmMedium' are often used interchangeably, this is based on a combination of 'marketingChannel', 'referringDomain', and 'type' to provide a consistent representation for any given piece of marketing regardless of the app that created it. | |
| ScheduledToEndAt | Datetime | The date and time when the marketing event is scheduled to end. |
Returns constraint subtype values that metafield definitions apply to.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM MetafieldDefinitionConstraintValues WHERE DefinitionId = 'Val1'
| Name | Type | References | Description |
| DefinitionId | String | A globally-unique ID. | |
| Key | String | The category of resource subtypes that the definition applies to. | |
| Value | String | The specific constraint subtype values that the definition applies to. |
Standard metafield definition templates provide preset configurations to create metafield definitions.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetafieldDefinitionStandardTemplates
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Namespace | String | The namespace owned by the definition after the definition has been activated. | |
| Key | String | The key owned by the definition after the definition has been activated. | |
| Name | String | The human-readable name for the standard metafield definition. | |
| Description | String | The description of the standard metafield definition. | |
| OwnerTypes | String | The list of resource types that the standard metafield definition can be applied to. | |
| Validations | String | The configured validations for the standard metafield definition. | |
| VisibleToStorefrontApi | Bool | Whether metafields for the definition are by default visible using the Storefront API. | |
| TypeName | String | The name of the type for the metafield definition. See the list of. | |
| TypeCategory | String | The category associated with the metafield definition type. | |
| TypeSupportedValidations | String | The supported validations for a metafield definition type. | |
| TypeSupportsDefinitionMigrations | Bool | Whether metafields without a definition can be migrated to a definition of this type. |
Returns metafield definition types which provide the basic foundation and validations for metafields.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetafieldDefinitionTypes
| Name | Type | References | Description |
| Name [KEY] | String | The name of the type for the metafield definition. | |
| Category | String | The category associated with the metafield definition type. | |
| SupportsDefinitionMigrations | Bool | Whether metafields without a definition can be migrated to a definition of this type. | |
| SupportedValidations | String | The supported validations for a metafield definition type. |
Provides the definition of a generic object structure composed of metafields.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM MetaobjectDefinitions
| Name | Type | References | Description |
| ID [KEY] | String | A globally-unique ID. | |
| Name | String | The human-readable name. | |
| MetaobjectsCount | Int | The count of metaobjects created for the definition. | |
| Type | String | The type of the object definition. Defines the namespace of associated metafields. | |
| Description | String | The administrative description. | |
| DisplayNameKey | String | The key of a field to reference as the display name for each object. | |
| AccessAdmin | String | Access configuration for the metaobject definition. Access configuration for Admin API surface areas, including the GraphQL Admin API. | |
| AccessStorefront | String | Access configuration for the metaobject definition. Access configuration for Storefront surface areas, including the GraphQL Storefront API and Liquid. | |
| CapabilitiesPublishableEnabled | Bool | The capabilities of the metaobject definition. Indicate whether a metaobject definition is publishable. Indicates if the capability is enabled. | |
| CapabilitiesTranslatableEnabled | Bool | The capabilities of the metaobject definition. Indicate whether a metaobject definition is translatable. Indicates if the capability is enabled. | |
| CapabilitiesOnlineStoreEnabled | Bool | The capabilities of the metaobject definition. Indicates whether a metaobject definition can be displayed as a page on the Online Store. Indicates if the capability is enabled. | |
| CapabilitiesOnlineStoreDataCanCreateRedirects | Bool | The capabilities of the metaobject definition. Indicates whether a metaobject definition can be displayed as a page on the Online Store. The data associated with the Online Store capability. Flag indicating if a sufficient number of redirects are available to redirect all published entries. | |
| CapabilitiesOnlineStoreDataUrlHandle | String | The capabilities of the metaobject definition. Indicates whether a metaobject definition can be displayed as a page on the Online Store. The data associated with the Online Store capability. The URL handle for accessing pages of this metaobject type in the Online Store. | |
| CapabilitiesRenderableEnabled | Bool | The capabilities of the metaobject definition. Indicate whether a metaobject definition is renderable and exposes SEO data. Indicates if the capability is enabled. | |
| CapabilitiesRenderableDataMetaDescriptionKey | String | The capabilities of the metaobject definition. Indicate whether a metaobject definition is renderable and exposes SEO data. The data associated with the renderable capability. The metaobject field used as an alias for the SEO page description. | |
| CapabilitiesRenderableDataMetaTitleKey | String | The capabilities of the metaobject definition. Indicate whether a metaobject definition is renderable and exposes SEO data. The data associated with the renderable capability. The metaobject field used as an alias for the SEO page title. |
All metaobjects for the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM MetaObjects WHERE Type = 'Val1'
| Name | Type | References | Description |
| ID [KEY] | String | A globally-unique ID. | |
| Handle | String | The unique handle of the object, useful as a custom ID. | |
| DisplayName | String | The preferred display name field value of the metaobject. | |
| CreatedByDeveloperName | String | The name of the app developer. | |
| DefinitionId | String | The identifier of the MetaobjectDefinition that models this object type. | |
| Title | String | Name of the app. | |
| Type | String | The type of the metaobject. | |
| Key [KEY] | String | The object key of this field. | |
| Value | String | The assigned field value, always stored as a string regardless of the field type. | |
| TypeField | String | The type of the field. | |
| UpdatedAt | Datetime | When the object was last updated. | |
| CapabilitiesPublishableStatus | String | Metaobject capabilities for this Metaobject. The publishable capability for this metaobject. | |
| CapabilitiesOnlineStoreTemplateSuffix | String | Metaobject capabilities for this Metaobject. The Online Store capability for this metaobject. The theme template used when viewing the metaobject in a store. | |
| ThumbnailFieldKey | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The object key of this field. | |
| ThumbnailFieldThumbnailHex | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The hexadecimal color code to be used for respresenting this metaobject. | |
| ThumbnailFieldFileId | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. A globally-unique ID. | |
| ThumbnailFieldFileAlt | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. A word or phrase to describe the contents or the function of a file. | |
| ThumbnailFieldFileCreatedAt | Datetime | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The date and time when the file was created. | |
| ThumbnailFieldFileUpdatedAt | Datetime | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The date and time when the file was last updated. | |
| ThumbnailFieldFileFileStatus | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The status of the file. | |
| ThumbnailFieldFileFileErrors | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. Any errors that have occurred on the file. | |
| ThumbnailFieldFilePreviewStatus | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. Current status of the preview image. | |
| ThumbnailFieldFilePreviewImageId | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. A unique ID for the image. | |
| ThumbnailFieldFilePreviewImageAltText | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. A word or phrase to share the nature or contents of an image. | |
| ThumbnailFieldFilePreviewImageHeight | Int | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. The original height of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| ThumbnailFieldFilePreviewImageWidth | Int | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. The original width of the image in pixels. Returns null if the image isn't hosted by Shopify. | |
| ThumbnailFieldFilePreviewImageUrl | String | The recommended field to visually represent this metaobject. May be a file reference or color field. The file to be used for visual representation of this metaobject. The preview image for the media. The location of the image as a URL. |
A list of additional fees applied to the order.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAdditionalFees WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| OrderId | String |
Orders.Id | A globally-unique ID. |
| Name | String | The name of the additional fee. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | A sale associated with an additional fee charge. The additional fees for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | A sale associated with a duty charge. The duty for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | A sale associated with a gift card. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | A sale associated with a product. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales agreements associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| Id [KEY] | String | The unique ID for the agreement. | |
| HappenedAt | Datetime | The date and time at which the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The staff member associated with the agreement. A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| AppApiKey | String | The application that created the agreement. A unique application API identifier. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | A sale associated with a shipping charge. The shipping line item for the associated sale. shippingLine is not available if the SaleActionType is a return. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | A sale associated with a tip. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String |
Orders.Id | A globally-unique ID. |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Returns a list of discounts that are applied to the order, not including order edits and refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderDiscountApplications WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId [KEY] | String |
Orders.Id | A globally-unique ID. |
| AllocationMethod | String | The method by which the discount's value is applied to its entitled items. | |
| Index [KEY] | Int | An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations. | |
| TargetSelection | String | How the discount amount is distributed on the discounted lines. | |
| TargetType | String | Whether the discount is applied on line items or shipping lines. | |
| ValueAmount | Decimal | The value of the discount application. Decimal money amount. | |
| ValueCurrencyCode | String | The value of the discount application. Currency of the money. | |
| ValuePercentage | Double | The value of the discount application. The percentage value of the object. This is a number between -100 (free) and 0 (no discount). | |
| AutomaticDiscountApplicationTitle | String | The title of the discount application. | |
| DiscountCodeApplicationCode | String | The string identifying the discount code that was used at the time of application. | |
| ManualDiscountApplicationTitle | String | The title of the discount application. | |
| ManualDiscountApplicationDescription | String | The description of the discount application. | |
| ScriptDiscountApplicationTitle | String | The title of the discount application. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | A sale associated with an additional fee charge. The additional fees for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | A sale associated with a duty charge. The duty for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | A sale associated with a gift card. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | A sale associated with a product. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales agreements associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| Id [KEY] | String | The unique ID for the agreement. | |
| HappenedAt | Datetime | The date and time at which the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The staff member associated with the agreement. A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| AppApiKey | String | The application that created the agreement. A unique application API identifier. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | A sale associated with a shipping charge. The shipping line item for the associated sale. shippingLine is not available if the SaleActionType is a return. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | A sale associated with a tip. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Orders.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Retrieves custom attributes associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemCustomAttributes WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Key [KEY] | String | Key or name of the attribute. | |
| Value | String | Value of the attribute. |
Retrieves the discounts that have been allocated onto the line item by discount applications, not including order edits and refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemDiscountAllocations WHERE OrderLineItemId = 'Val1'
| Name | Type | References | Description |
| OrderLineItemId [KEY] | String | The ID of the Order to return. | |
| DiscountApplicationIndex [KEY] | Decimal | An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations. | |
| AllocatedAmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AllocatedAmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AllocatedAmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AllocatedAmountSetShopMoneyCurrencyCode | String | Currency of the money. |
Lists the duties associated with the line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemDuties WHERE LineItemId = 'Val1'
| Name | Type | References | Description |
| LineItemId | String | A globally-unique ID. | |
| Id [KEY] | String | A globally-unique ID. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves line items associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Orders.Id | A globally-unique ID. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at time of order creation. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| VariantId | String | A globally-unique ID. | |
| ProductId | String | A globally-unique ID. | |
| SellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| MerchantEditable | Bool | Whether the line item can be edited or not. | |
| RefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OrderUpdatedAt | Datetime | The date and time when the order was modified last. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| FulfillmentService | String | The handle of a fulfillment service that stocks the product variant belonging to a line item. | |
| OrderLineItemCustomAttributes | String | An array of custom information for the item that has been added to the cart. Often used to provide product customization options. | |
| OrderLineItemTaxLines | String | A list of tax line objects, each of which details a tax applied to the item. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderLineItemTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String | A globally-unique ID. | |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Lists the duties associated with the line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderNonFulfillableLineItemDuties WHERE LineItemId = 'Val1'
| Name | Type | References | Description |
| LineItemId | String | A globally-unique ID. | |
| Id [KEY] | String | A globally-unique ID. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of line items in the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderNonFulfillableLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Orders.Id | A globally-unique ID. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at time of order creation. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| VariantId | String | A globally-unique ID. | |
| ProductId | String | A globally-unique ID. | |
| SellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| MerchantEditable | Bool | Whether the line item can be edited or not. | |
| RefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementAdditionalFeeSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| AdditionalFeeSaleAdditionalFeeId | String | A sale associated with an additional fee charge. The additional fees for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementAdjustmentSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementDutySales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| DutySaleDutyId | String | A sale associated with a duty charge. The duty for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementGiftCardSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| GiftCardSaleLineItemId | String | A sale associated with a gift card. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementProductSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ProductSaleLineItemId | String | A sale associated with a product. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales agreements associated with orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreements WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| Id [KEY] | String | The unique ID for the agreement. | |
| HappenedAt | Datetime | The date and time at which the agreement occurred. | |
| Reason | String | The reason the agreement was created. | |
| UserId | String | The staff member associated with the agreement. A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| AppApiKey | String | The application that created the agreement. A unique application API identifier. | |
| RefundId | String |
Refunds.Id | The refund associated with the agreement. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementShippingLineSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| ShippingLineSaleShippingLineId | String | A sale associated with a shipping charge. The shipping line item for the associated sale. shippingLine is not available if the SaleActionType is a return. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementTipSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. | |
| TipSaleLineItemId | String | A sale associated with a tip. The line item for the associated sale. A globally-unique ID. |
Retrieves a list of sales associated with agreements.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderRefundAgreementUnknownSales WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The parent resource of the agreement. |
| AgreementId | String | The unique ID for the agreement. | |
| Id [KEY] | String | The unique ID for the sale. | |
| ActionType | String | The type of order action that the sale represents. | |
| LineType | String | The line type associated with the sale. | |
| Quantity | Int | The number of units either ordered or intended to be returned. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in presentment currency. Decimal money amount. | |
| TotalAmountPresentmentCurrencyCode | String | The total sale amount after taxes and discounts. Amount in presentment currency. Currency of the money. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts. Amount in shop currency. Decimal money amount. | |
| TotalAmountShopMoneyCurrencyCode | String | The total sale amount after taxes and discounts. Amount in shop currency. Currency of the money. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in presentment currency. Decimal money amount. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The total amount of taxes for the sale. Amount in presentment currency. Currency of the money. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes for the sale. Amount in shop currency. Decimal money amount. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The total amount of taxes for the sale. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale before taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale before taxes. Amount in shop currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in presentment currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in presentment currency. Currency of the money. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts allocated to the sale after taxes. Amount in shop currency. Decimal money amount. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The total discounts allocated to the sale after taxes. Amount in shop currency. Currency of the money. | |
| Taxes | String | The individual taxes associated with the sale. |
Retrieve shipping lines attached to orders.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderShippingLines WHERE OrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| CarrierIdentifier | String | A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| Title | String | Returns the title of the shipping line. | |
| Code | String | A reference to the shipping method. | |
| Custom | Bool | Whether the shipping line is custom or not. | |
| DeliveryCategory | String | The general classification of the delivery method. | |
| IsRemoved | Bool | Whether the shipping line has been removed. | |
| Phone | String | The phone number at the shipping address. | |
| ShippingRateHandle | String | A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users. | |
| Source | String | Returns the rate source for the shipping line. | |
| CurrentDiscountedPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| CurrentDiscountedPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| CurrentDiscountedPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| CurrentDiscountedPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedPriceAmount | Decimal | Decimal money amount. | |
| DiscountedPriceCurrencyCode | String | Currency of the money. | |
| DiscountedPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalPriceAmount | Decimal | Decimal money amount. | |
| OriginalPriceCurrencyCode | String | Currency of the money. | |
| OriginalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| RequestedFulfillmentServiceId | String | The ID of the fulfillment service. | |
| OrderId | String |
Orders.Id | A globally-unique ID. |
| TaxLines | String | A list of tax line objects, each of which details a tax applicable to this shipping line. |
Represents a single tax applied to the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM OrderTaxLines WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Title [KEY] | String | The name of the tax. | |
| ResourceId [KEY] | String |
Orders.Id | A globally-unique ID. |
| Source | String | The source of the tax. | |
| Rate | Double | The proportion of the line item price that the tax represents as a decimal. | |
| ChannelLiable | Bool | Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. | |
| RatePercentage | Double | The proportion of the line item price that the tax represents as a percentage. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PageEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Pages.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
A list of prices associated with a price list.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PriceListPrices WHERE PriceListId = 'Val1'
| Name | Type | References | Description |
| PriceListId [KEY] | String |
PriceLists.Id | The unique identifier of the price list. |
| ProductVariantId [KEY] | String | The unique identifier of the product variant associated with this price. | |
| OriginType | String | The origin of a price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration). | |
| PriceAmount | Decimal | The price of the product variant on this price list. Decimal money amount. | |
| PriceCurrencyCode | String | The price of the product variant on this price list. Currency of the money. | |
| CompareAtPriceAmount | Decimal | The compare-at price of the product variant on this price list. Decimal money amount. | |
| CompareAtPriceCurrencyCode | String | The compare-at price of the product variant on this price list. Currency of the money. |
Get relationships between component options and parent options.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductBundleComponentOptionSelections WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String | A globally-unique ID. | |
| ComponentProductId [KEY] | String | A globally-unique ID. | |
| ParentOptionId | String | A globally-unique ID. | |
| ParentOptionName | String | The product option’s name. | |
| ComponentOptionId [KEY] | String | A globally-unique ID. | |
| ComponentOptionName | String | The product option’s name. | |
| Values | String | The component option values that are actively selected for this relationship. |
List products' component information.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductBundleComponents WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String | A globally-unique ID. | |
| ComponentProductId [KEY] | String | A globally-unique ID. | |
| ComponentVariantsCount | Int | The count of elements. | |
| ComponentVariantsCountPrecision | String | The count's precision, or the exactness of the value. | |
| OptionSelections | String | The options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle. | |
| Quantity | Int | The quantity of the component product set for this bundle line. It will be null if there's a quantityOption present. | |
| QuantityOptionName | String | The name of the option value. | |
| QuantityOptionValues | String | The quantity values of the option. | |
| QuantityOptionParentOptionId | String | A globally-unique ID. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String |
Products.Id | A globally-unique ID. |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
An entity that represents details of an asynchronous operation on a product.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductOperations WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The ID of the ProductOperation to return. | |
| ProductId | String | A globally-unique ID. | |
| Status | String | The status of this operation. |
Retrieves a paginated list of events associated with the host subject.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ProductVariantEvents WHERE HostId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| HostId | String | A globally-unique ID. | |
| AppTitle | String | The name of the app that created the event. | |
| AttributeToApp | Bool | Whether the event was created by an app. | |
| AttributeToUser | Bool | Whether the event was caused by an admin user. | |
| CreatedAt | Datetime | The date and time when the event was created. | |
| CriticalAlert | Bool | Whether the event is critical. | |
| Action | String | The action that occurred. | |
| Message | String | Human readable text that describes the event. | |
| BasicEventSubjectId | String | The ID of the resource that generated the event. | |
| BasicEventSubjectType | String | The type of the resource that generated the event. | |
| BasicEventHasAdditionalContent | Bool | Whether this event has additional content. | |
| BasicEventAdditionalContent | String | Provides additional content for collapsible timeline events. | |
| BasicEventAdditionalData | String | Provides additional data for event consumers. | |
| BasicEventSecondaryMessage | String | Human readable text that supports the event message. | |
| BasicEventArguments | String | Refers to a certain event and its resources. | |
| CommentEventAuthorId | String | The id of the staff member that authored the comment event. | |
| CommentEventCanDelete | Bool | Whether the comment event can be deleted. If true, then the comment event can be deleted. | |
| CommentEventCanEdit | Bool | Whether the comment event can edited. If true, then the comment event can be edited. | |
| CommentEventEdited | Bool | Whether the comment event has been edited. If true, then the comment event has been edited. | |
| CommentEventRawMessage | String | The raw body of the comment event. | |
| CommentEventSubjectId | String | The parent subject to which the comment event belongs. | |
| CommentEventSubjectHasTimelineComment | Bool | Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. | |
| CommentEventEmbedCustomerId | String | The object reference associated with the comment event. | |
| CommentEventEmbedDraftOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedOrderId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductId | String | The object reference associated with the comment event. | |
| CommentEventEmbedProductVariantId | String | The object reference associated with the comment event. |
Returns a list of collections published to the publication.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PublicationCollections WHERE PublicationId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| PublicationId [KEY] | String |
Publications.Id | A globally-unique ID. |
Returns the list of publication for products.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM PublicationProducts WHERE ProductId = 'Val1'
| Name | Type | References | Description |
| ProductId [KEY] | String |
Products.Id | A globally-unique ID. |
| PublishDate | Datetime | The date that the resource publication was or is going to be published to the publication. | |
| IsPublished | Bool | Whether the resource publication is published. | |
| PublicationId [KEY] | String | A globally-unique ID. | |
| PublicationName | String | Name of the publication. |
Lists the refunded duties as part of this refund.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundDuties WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| OriginalDutyId [KEY] | String | A globally-unique ID. | |
| RefundId [KEY] | String |
Refunds.Id | A globally-unique ID. |
| OriginalDutyHarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| OriginalDutyCountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. |
Lists the duties associated with the line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundLineItemDuties WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| RefundId | String | A globally-unique ID. | |
| LineItemId | String | A globally-unique ID. | |
| Id [KEY] | String | A globally-unique ID. | |
| CountryCodeOfOrigin | String | The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. | |
| HarmonizedSystemCode | String | The harmonized system code of the item used in calculating the duty. | |
| PricePresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PricePresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves the 'RefundLineItem' resources attached to the refund.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundLineItems WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LineItemId | String | A globally-unique ID. | |
| RefundId | String |
Refunds.Id | A globally-unique ID. |
| LineItemName | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| LineItemTitle | String | The title of the product at time of order creation. | |
| LineItemVariantTitle | String | The title of the variant at time of order creation. | |
| LineItemQuantity | Int | The number of variant units ordered. | |
| LineItemRestockable | Bool | Whether the line item can be restocked. | |
| LineItemSku | String | The variant SKU number. | |
| LineItemTaxable | Bool | Whether the variant is taxable. | |
| LineItemVendor | String | The name of the vendor who made the variant. | |
| LineItemCurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemMerchantEditable | Bool | Whether the line item can be edited or not. | |
| LineItemRefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| LineItemNonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| LineItemRequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| LineItemUnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| LineItemImageId | String | A unique ID for the image. | |
| LineItemImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| LineItemImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| LineItemImageUrl | String | The location of the image as a URL. | |
| LineItemProductId | String | A globally-unique ID. | |
| LineItemVariantId | String | A globally-unique ID. | |
| LineItemSellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| LineItemStaffMemberId | String | A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| Quantity | Int | The quantity of a refunded line item. | |
| Restocked | Bool | Whether the refunded line item was restocked. Not applicable in the context of a SuggestedRefund. | |
| RestockType | String | The type of restock for the refunded line item. | |
| LocationId | String | A globally-unique ID. | |
| PriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| PriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| PriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| SubtotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| SubtotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalTaxSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalTaxSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalTaxSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalTaxSetShopMoneyCurrencyCode | String | Currency of the money. | |
| LineItemContractId | String | A globally-unique ID. |
Retrieve the order adjustments that are attached to refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundOrderAdjustments WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| RefundId | String | A globally-unique ID. | |
| Reason | String | An optional reason that explains a discrepancy between calculated and actual refund amounts. | |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TaxAmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TaxAmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TaxAmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TaxAmountSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieve shipping lines attached to refunds.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundShippingLines WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| RefundId | String |
Refunds.Id | A globally-unique ID. |
| SubtotalAmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalAmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| SubtotalAmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| SubtotalAmountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TaxAmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TaxAmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TaxAmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TaxAmountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineId | String | A globally-unique ID. | |
| ShippingLineCarrierIdentifier | String | A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service. | |
| ShippingLineTitle | String | Returns the title of the shipping line. | |
| ShippingLineCode | String | A reference to the shipping method. | |
| ShippingLineCustom | Bool | Whether the shipping line is custom or not. | |
| ShippingLineDeliveryCategory | String | The general classification of the delivery method. | |
| ShippingLineIsRemoved | Bool | Whether the shipping line has been removed. | |
| ShippingLinePhone | String | The phone number at the shipping address. | |
| ShippingLineShippingRateHandle | String | A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users. | |
| ShippingLineSource | String | Returns the rate source for the shipping line. | |
| ShippingLineCurrentDiscountedPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| ShippingLineCurrentDiscountedPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineCurrentDiscountedPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| ShippingLineCurrentDiscountedPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineDiscountedPriceAmount | Decimal | Decimal money amount. | |
| ShippingLineDiscountedPriceCurrencyCode | String | Currency of the money. | |
| ShippingLineDiscountedPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| ShippingLineDiscountedPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineDiscountedPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| ShippingLineDiscountedPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineOriginalPriceAmount | Decimal | Decimal money amount. | |
| ShippingLineOriginalPriceCurrencyCode | String | Currency of the money. | |
| ShippingLineOriginalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| ShippingLineOriginalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineOriginalPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| ShippingLineOriginalPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ShippingLineRequestedFulfillmentServiceId | String | The ID of the fulfillment service. |
Returns the transaction fees charged on the order transaction. Only present for Shopify Payments transactions.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundTransactionFees WHERE RefundId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| TransactionId | String | A globally-unique ID. | |
| RefundId | String |
Refunds.Id | A globally-unique ID. |
| RateName | String | Name of the credit card rate. | |
| FlatFeeName | String | Name of the credit card flat fee. | |
| Rate | Decimal | Percentage charge. | |
| Type | String | Name of the type of fee. | |
| AmountAmount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| FlatFeeAmount | Decimal | Decimal money amount. | |
| FlatFeeCurrencyCode | String | Currency of the money. | |
| TaxAmountAmount | Decimal | Decimal money amount. | |
| TaxAmountCurrencyCode | String | Currency of the money. |
Retrieves the transactions associated with the resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM RefundTransactions WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId [KEY] | String |
Refunds.Id | A globally-unique ID. |
| PaymentId | String | The payment ID associated with the transaction. | |
| ParentTransactionId | String | The associated parent transaction, for example the authorization of a capture. | |
| AccountNumber | String | The masked account number associated with the payment method. | |
| Gateway | String | The payment gateway used to process the transaction. | |
| Kind | String | The kind of transaction. | |
| Status | String | The status of this transaction. | |
| Test | Bool | Whether the transaction is a test transaction. | |
| AuthorizationCode | String | Authorization code associated with the transaction. | |
| ErrorCode | String | A standardized error code, independent of the payment provider. | |
| FormattedGateway | String | The human-readable payment gateway name used to process the transaction. | |
| ManuallyCapturable | Bool | Whether the transaction can be manually captured. | |
| MultiCapturable | Bool | Whether the transaction can be captured multiple times. | |
| ProcessedAt | Datetime | Date and time when the transaction was processed. | |
| ReceiptJson | String | The transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction. | |
| SettlementCurrency | String | The settlement currency. | |
| AuthorizationExpiresAt | Datetime | The time when the authorization expires. This field is available only to stores on a Shopify Plus plan and is populated only for Shopify Payments authorizations. | |
| SettlementCurrencyRate | Decimal | The rate used when converting the transaction amount to settlement currency. | |
| CreatedAt | Datetime | Date and time when the transaction was created. | |
| CardPaymentDetailsName | String | The holder of the credit card. | |
| CardPaymentDetailsBin | String | The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number. | |
| CardPaymentDetailsCompany | String | The name of the company that issued the customer's credit card. | |
| CardPaymentDetailsNumber | String | The customer's credit card number, with most of the leading digits redacted. | |
| CardPaymentDetailsWallet | String | Digital wallet used for the payment. | |
| CardPaymentDetailsExpirationMonth | Int | The month in which the used credit card expires. | |
| CardPaymentDetailsExpirationYear | Int | The year in which the used credit card expires. | |
| CardPaymentDetailsAvsResultCode | String | The response code from the address verification system (AVS). The code is always a single letter. | |
| CardPaymentDetailsCvvResultCode | String | The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string. | |
| PaymentIconId | String | A unique ID for the image. | |
| PaymentIconWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| PaymentIconAltText | String | A word or phrase to share the nature or contents of an image. | |
| PaymentIconHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| AmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| AmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| AmountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| MaximumRefundableV2Amount | Decimal | Decimal money amount. | |
| MaximumRefundableV2CurrencyCode | String | Currency of the money. | |
| ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt | Datetime | The time after which the extended authorization expires. After the expiry, the merchant is unable to capture the payment. | |
| ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt | Datetime | The time after which capture will incur an additional fee. | |
| ShopifyPaymentsSetRefundSetAcquirerReferenceNumber | String | The acquirer reference number (ARN) code generated for Visa/Mastercard transactions. | |
| TotalUnsettledSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalUnsettledSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalUnsettledSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalUnsettledSetShopMoneyCurrencyCode | String | Currency of the money. |
Retrieves a list of line items in the associated resource.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnExchangeLineItems WHERE ResourceId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ResourceId | String |
Returns.Id | A globally-unique ID. |
| Name | String | The title of the product, optionally appended with the title of the variant (if applicable). | |
| Title | String | The title of the product at time of order creation. | |
| VariantTitle | String | The title of the variant at time of order creation. | |
| VariantId | String | A globally-unique ID. | |
| ProductId | String | A globally-unique ID. | |
| SellingPlanSellingPlanId | String | The ID of the selling plan associated with the line item. | |
| Quantity | Int | The number of variant units ordered. | |
| Restockable | Bool | Whether the line item can be restocked. | |
| Sku | String | The variant SKU number. | |
| Taxable | Bool | Whether the variant is taxable. | |
| Vendor | String | The name of the vendor who made the variant. | |
| CurrentQuantity | Int | The line item's quantity, minus the removed quantity. | |
| MerchantEditable | Bool | Whether the line item can be edited or not. | |
| RefundableQuantity | Int | The line item's quantity, minus the removed quantity. | |
| RequiresShipping | Bool | Whether physical shipping is required for the variant. | |
| UnfulfilledQuantity | Int | The number of units not yet fulfilled. | |
| NonFulfillableQuantity | Int | The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the object for more fulfillment details. | |
| IsGiftCard | Bool | Whether the line item represents the purchase of a gift card. | |
| DiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyAmountWithCodeDiscounts | Decimal | Decimal money amount. | |
| DiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| DiscountedUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| DiscountedUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| ImageId | String | A unique ID for the image. | |
| ImageWidth | Int | The original width of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageAltText | String | A word or phrase to share the nature or contents of an image. | |
| ImageHeight | Int | The original height of the image in pixels. Returns 'null' if the image is not hosted by Shopify. | |
| ImageUrl | String | The location of the image as a URL. | |
| OriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| OriginalUnitPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| OriginalUnitPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| TotalDiscountSetShopMoneyAmount | Decimal | Decimal money amount. | |
| TotalDiscountSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledDiscountedTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| UnfulfilledOriginalTotalSetShopMoneyAmount | Decimal | Decimal money amount. | |
| UnfulfilledOriginalTotalSetShopMoneyCurrencyCode | String | Currency of the money. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| AppliedDiscountValueAmount | Decimal | The discount to be applied to the exchange line item. The value of the discount as a fixed amount. | |
| AppliedDiscountValueAmountCurrencyCode | String | The discount to be applied to the exchange line item. Currency of the money. | |
| AppliedDiscountValuePercentage | Double | The discount to be applied to the exchange line item. The value of the discount as a percentage. | |
| AppliedDiscountDescription | String | The discount to be applied to the exchange line item. The description of the discount. | |
| GiftCardCodes | String | The gift card codes associated with the physical gift cards. |
Retrieves the return line items attached to the return.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnLineItems WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ReturnId [KEY] | String |
Returns.Id | A globally-unique ID. |
| Quantity | Int | The quantity being returned. | |
| CustomerNote | String | A note from the customer that describes the item to be returned. Maximum length: 300 characters. | |
| ProcessableQuantity | Int | The quantity that can be processed. | |
| ProcessedQuantity | Int | The quantity that has been processed. | |
| UnprocessedQuantity | Int | The quantity that hasn't been processed. | |
| RefundableQuantity | Int | The quantity that can be refunded. | |
| RefundedQuantity | Int | The quantity that was refunded. | |
| ReturnReason | String | The reason for returning the item. | |
| ReturnReasonNote | String | Additional information about the reason for the return. Maximum length: 255 characters. | |
| TotalWeightUnit | String | The unit of measurement for `value`. | |
| TotalWeightValue | Double | The weight value using the unit system specified with `unit`. | |
| WithCodeDiscountedTotalPriceSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
| WithCodeDiscountedTotalPriceSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
| WithCodeDiscountedTotalPriceSetShopMoneyAmount | Decimal | Decimal money amount. | |
| WithCodeDiscountedTotalPriceSetShopMoneyCurrencyCode | String | Currency of the money. | |
| FulfillmentLineItemId | String | A globally-unique ID. |
Retrieves the unverified return line items attached to the return.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReturnLineItemsUnverified WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ReturnId [KEY] | String |
Returns.Id | A globally-unique ID. |
| CustomerNote | String | A note from the customer that describes the item to be returned. Maximum length: 300 characters. | |
| Quantity | Int | The quantity being returned. | |
| RefundableQuantity | Int | The quantity that can be refunded. | |
| RefundedQuantity | Int | The quantity that was refunded. | |
| ReturnReason | String | The reason for returning the item. | |
| ReturnReasonNote | String | Additional information about the reason for the return. Maximum length: 255 characters. | |
| UnitPriceAmount | Decimal | Decimal money amount. | |
| UnitPriceCurrencyCode | String | Currency of the money. |
Reverse deliveries are post-fulfillment objects that represents a buyer sending a package to a merchant.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE Id = 'Val1'
SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE ReverseFulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | The ID of the reverse delivery. | |
| ReverseFulfillmentOrderId | String | A globally-unique ID. | |
| DeliverableLabelPublicFileUrl | String | A public link that can be used to download the label image. | |
| DeliverableLabelUpdatedAt | Datetime | The date and time when the reverse delivery label was updated. | |
| DeliverableLabelCreatedAt | Datetime | The date and time when the reverse delivery label was created. | |
| DeliverableTrackingCarrierName | String | The provider of the tracking information, in a human-readable format for display purposes. | |
| DeliverableTrackingNumber | String | The identifier used by the courier to identify the shipment. | |
| DeliverableTrackingUrl | String | The URL to track a shipment. |
Details about reverse delivery line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReverseFulfillmentOrderDeliveryLineItems WHERE ReverseFulfillmentOrderDeliveryId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ReverseFulfillmentOrderDeliveryId | String | A globally-unique ID. | |
| ReverseFulfillmentOrderLineItemId | String | A globally-unique ID. | |
| Dispositions | String | The dispositions of the item. | |
| Quantity | Int | The expected number of units. |
Details about reverse fulfillment order line items.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReverseFulfillmentOrderLineItems WHERE ReverseFulfillmentOrderId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ReverseFulfillmentOrderId | String | A globally-unique ID. | |
| FulfillmentLineItemId | String | A globally-unique ID. | |
| Dispositions | String | The dispositions of the item. | |
| TotalQuantity | Int | The total number of units to be processed. |
Items in returns that will be processed at a fulfillment service.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ReverseFulfillmentOrders WHERE ReturnId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ReturnId | String |
Returns.Id | A globally-unique ID. |
| Status | String | The status of the reverse fulfillment order. | |
| ThirdPartyConfirmationStatus | String | The status of the reverse fulfillment order third-party confirmation. |
The parameters for event segment filters.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM SegmentFilterParameters
| Name | Type | References | Description |
| SegmentFilterQueryName [KEY] | String | The query name of the filter. | |
| QueryName [KEY] | String | The query name of the parameter. | |
| ParameterType | String | The type of the parameter. | |
| Optional | Bool | Whether the parameter is optional. | |
| AcceptsMultipleValues | Bool | Whether the parameter accepts a list of values. | |
| LocalizedName | String | The localized name of the parameter. | |
| LocalizedDescription | String | The localized description of the parameter. | |
| MinRange | Double | The parameter minimum value range. | |
| MaxRange | Double | The parameter maximum value range. |
A list of filters.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM SegmentFilters
| Name | Type | References | Description |
| QueryName [KEY] | String | The query name of the filter. | |
| MultiValue | Bool | Whether a file can have multiple values for a single customer. | |
| LocalizedName | String | The localized name of the filter. | |
| IntegerMinRange | Double | The minimum range a filter can have. | |
| IntegerMaxRange | Double | The maximum range a filter can have. | |
| FloatMinRange | Double | The minimum range a filter can have. | |
| FloatMaxRange | Double | The maximum range a filter can have. | |
| ReturnValueType | String | The return value type for an event segment filter. |
Retrieves selling plans associated to the selling plan group.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM SellingPlanGroupSellingPlans WHERE SellingPlanGroupId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| SellingPlanGroupId | String | A globally-unique ID. | |
| Name | String | A customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies. | |
| Category | String | The category used to classify the selling plan for reporting purposes.
The allowed values are OTHER, PRE_ORDER, SUBSCRIPTION, TRY_BEFORE_YOU_BUY. | |
| Description | String | Buyer facing string which describes the selling plan commitment. | |
| Options | String | The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values. | |
| Position | Int | Relative position of the selling plan for display. A lower position will be displayed before a higher position. | |
| CreatedAt | Datetime | The date and time when the selling plan was created. | |
| InventoryPolicyReserve | String | When to reserve inventory for the order.
The allowed values are ON_FULFILLMENT, ON_SALE. | |
| FixedBillingPolicyCheckoutChargeType | String | The charge type for the checkout charge.
The allowed values are PERCENTAGE, PRICE. | |
| FixedBillingPolicyCheckoutChargeValueAmount | Decimal | The charge value for the checkout charge. Decimal money amount. | |
| FixedBillingPolicyCheckoutChargeValueCurrencyCode | String | The charge value for the checkout charge. Currency of the money. | |
| FixedBillingPolicyCheckoutChargeValuePercentage | Double | The charge value for the checkout charge. The percentage value of the price used for checkout charge. | |
| FixedBillingPolicyRemainingBalanceChargeExactTime | Datetime | The exact time when to capture the full payment. | |
| FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout | String | The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. | |
| FixedBillingPolicyRemainingBalanceChargeTrigger | String | When to capture payment for amount due.
The allowed values are EXACT_TIME, NO_REMAINING_BALANCE, TIME_AFTER_CHECKOUT. | |
| RecurringBillingPolicyAnchors | String | Specific anchor dates upon which the billing interval calculations should be made. Aggregate value. | |
| RecurringBillingPolicyCreatedAt | Datetime | The date and time when the selling plan billing policy was created. | |
| RecurringBillingPolicyInterval | String | The billing frequency, it can be either: day, week, month or year.
The allowed values are DAY, MONTH, WEEK, YEAR. | |
| RecurringBillingPolicyIntervalCount | Int | The number of intervals between billings. | |
| RecurringBillingPolicyMaxCycles | Int | Maximum number of billing iterations. | |
| RecurringBillingPolicyMinCycles | Int | Minimum number of billing iterations. | |
| FixedDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. | |
| FixedDeliveryPolicyCutoff | Int | A buffer period for orders to be included in next fulfillment anchor. | |
| FixedDeliveryPolicyFulfillmentExactTime | Datetime | The date and time when the fulfillment should trigger. | |
| FixedDeliveryPolicyFulfillmentTrigger | String | What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.
The allowed values are ANCHOR, ASAP, EXACT_TIME, UNKNOWN. | |
| FixedDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported. | |
| FixedDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
The allowed values are ASAP, NEXT. | |
| RecurringDeliveryPolicyAnchors | String | The specific anchor dates upon which the delivery interval calculations should be made. Aggregate value. | |
| RecurringDeliveryPolicyCreatedAt | Datetime | The date and time when the selling plan delivery policy was created. | |
| RecurringDeliveryPolicyCutoff | Int | Number of days which represent a buffer period for orders to be included in a cycle. | |
| RecurringDeliveryPolicyIntent | String | Whether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
The allowed values are FULFILLMENT_BEGIN. | |
| RecurringDeliveryPolicyInterval | String | The delivery frequency, it can be either: day, week, month or year. | |
| RecurringDeliveryPolicyIntervalCount | Int | The number of intervals between deliveries. | |
| RecurringDeliveryPolicyPreAnchorBehavior | String | The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
The allowed values are ASAP, NEXT. | |
| FixedPricingPolicies | String | Represents fixed selling plan pricing policies associated to the selling plan. Aggregate value. | |
| RecurringPricingPolicies | String | Represents recurring selling plan pricing policies associated to the selling plan. Aggregate value. |
Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.
| Name | Type | Description | |
| Metafields | String | Attaches additional metadata to a store's resources. |
Returns the Shop resource corresponding to the access token used in the request. The Shop resource contains business and store management settings for the shop.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM Shop
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Name | String | The shop's name. | |
| OwnerName | String | The name of the shop owner. | |
| RichTextEditorUrl | String | The URL of the rich text editor that can be used for mobile devices. | |
| Description | String | The shop's meta description used in search engine results. | |
| String | The shop owner's email address. Shopify will use this email address to communicate with the shop owner. | ||
| Url | String | The URL of the shop's online store. | |
| ContactEmail | String | The public-facing contact email address for the shop. Customers will use this email to communicate with the shop owner. | |
| CurrencyCode | String | The three letter code for the currency that the shop sells in. | |
| CustomerAccounts | String | Whether customer accounts are required, optional, or disabled for the shop. | |
| IanaTimezone | String | The shop's time zone as defined by the IANA. | |
| MyshopifyDomain | String | The shop's . myshopify. com domain name. | |
| PublicationsCount | Int | The number of publications for the shop. | |
| PublicationsCountPrecision | String | The count's precision, or the exactness of the value. | |
| SetupRequired | Bool | Whether the shop has outstanding setup steps. | |
| TaxShipping | Bool | Whether the shop charges taxes for shipping. | |
| TaxesIncluded | Bool | Whether applicable taxes are included in the shop's product prices. | |
| TimezoneAbbreviation | String | The shop's time zone abbreviation. | |
| TimezoneOffset | String | The shop's time zone offset. | |
| UnitSystem | String | The shop's unit system for weights and measures. | |
| WeightUnit | String | The shop's primary unit of weight for products and shipping. | |
| CheckoutApiSupported | Bool | Specifies whether the shop supports checkouts via Checkout API. | |
| EnabledPresentmentCurrencies | String | The presentment currencies enabled for the shop. | |
| ShipsToCountries | String | The list of countries that the shop ships to. | |
| TimezoneOffsetMinutes | Int | The shop's time zone offset expressed as a number of minutes. | |
| TransactionalSmsDisabled | Bool | Whether transactional SMS sent by Shopify have been disabled for a shop. | |
| OrderNumberFormatPrefix | String | The prefix that appears before order numbers. | |
| OrderNumberFormatSuffix | String | The suffix that appears after order numbers. | |
| BillingAddressId | String | A globally-unique ID. | |
| BillingAddressCoordinatesValidated | Bool | Whether the address coordinates are valid. | |
| BillingAddressAddress1 | String | The first line of the address. Typically the street address or PO Box number. | |
| BillingAddressAddress2 | String | The second line of the address. Typically the number of the apartment, suite, or unit. | |
| BillingAddressCity | String | The name of the city, district, village, or town. | |
| BillingAddressCompany | String | The name of the company or organization. | |
| BillingAddressCountry | String | The name of the country. | |
| BillingAddressLatitude | Double | The latitude coordinate of the address. | |
| BillingAddressLongitude | Double | The longitude coordinate of the address. | |
| BillingAddressPhone | String | A phone number associated with the address. Formatted using E. 164 standard. For example, _+16135551111_. | |
| BillingAddressProvince | String | The region of the address, such as the province, state, or district. | |
| BillingAddressZip | String | The zip or postal code of the address. | |
| BillingAddressFormattedArea | String | A comma-separated list of the values for city, province, and country. | |
| BillingAddressProvinceCode | String | The two-letter code for the region. For example, ON. | |
| BillingAddressCountryCodeV2 | String | The two-letter code for the country of the address. For example, US. | |
| CountriesInShippingZonesCountryCodes | String | The list of all the countries from all the combined shipping zones. | |
| CountriesInShippingZonesIncludeRestOfWorld | Bool | Whether 'Rest of World' has been defined in any of the shipping zones. | |
| CurrencyFormatsMoneyFormat | String | Money without currency in HTML. | |
| CurrencyFormatsMoneyInEmailsFormat | String | Money without currency in emails. | |
| CurrencyFormatsMoneyWithCurrencyFormat | String | Money with currency in HTML. | |
| CurrencyFormatsMoneyWithCurrencyInEmailsFormat | String | Money with currency in emails. | |
| FeaturesInternationalPriceOverrides | Bool | Whether a shop can enable international price overrides. | |
| FeaturesStorefront | Bool | Whether a shop has an online store. | |
| FeaturesGiftCards | Bool | Whether a shop can create gift cards. | |
| FeaturesSellsSubscriptions | Bool | Whether a shop has ever had subscription products. | |
| FeaturesEligibleForSubscriptions | Bool | Whether a shop is configured properly to sell subscriptions. | |
| FeaturesInternationalPriceRules | Bool | Whether a shop can enable international price rules. | |
| FeaturesEligibleForSubscriptionMigration | Bool | Whether a shop can be migrated to use Shopify subscriptions. | |
| FeaturesLegacySubscriptionGatewayEnabled | Bool | Whether a shop has enabled a legacy subscription gateway to handle older subscriptions. | |
| FeaturesPaypalExpressSubscriptionGatewayStatus | String | Whether a shop is configured to sell subscriptions with PayPal Express. | |
| PendingOrdersCount | Int | The count of elements. | |
| PendingOrdersPrecision | String | The count's precision, or the exactness of the value. | |
| PaymentSettingsSupportedDigitalWallets | String | List of the digital wallets which the shop supports. | |
| PlanPublicDisplayName | String | The public display name of the shop's billing plan. | |
| PlanPartnerDevelopment | Bool | Whether the shop is a partner development shop for testing purposes. | |
| PlanShopifyPlus | Bool | Whether the shop has a Shopify Plus subscription. | |
| PrimaryDomainId | String | A globally-unique ID. | |
| PrimaryDomainHost | String | The host name of the domain. For example, 'example. com'. | |
| PrimaryDomainUrl | String | The URL of the domain (for example, 'https: //example. com'). | |
| PrimaryDomainSslEnabled | Bool | Whether SSL is enabled. | |
| PrimaryDomainLocalizationCountry | String | The ISO code for the country assigned to the domain. For example, 'CA' or '*' for a domain set to 'Rest of world'. | |
| PrimaryDomainLocalizationAlternateLocales | String | The ISO codes for the domain's alternate locales. For example, '['en']'. | |
| PrimaryDomainLocalizationDefaultLocale | String | The ISO code for the domain's default locale. For example, 'en'. | |
| PrimaryDomainMarketWebPresenceId | String | A globally-unique ID. | |
| PrimaryDomainMarketWebPresenceAlternateLocales | String | The ISO codes for the alternate locales. When a domain is used, these locales will be available as language-specific subfolders. For example, if English is an alternate locale, and 'example. ca' is the market's domain, then 'example. ca/en' will load in English. | |
| PrimaryDomainMarketWebPresenceDefaultLocale | String | The ShopLocale object for the default locale. The locale ISO code. | |
| PrimaryDomainMarketWebPresenceDefaultLocaleMarketWebPresencesId | String | The ShopLocale object for the default locale. The market web presences that use the locale. | |
| PrimaryDomainMarketWebPresenceDefaultLocaleName | String | The ShopLocale object for the default locale. The human-readable locale name. | |
| PrimaryDomainMarketWebPresenceDefaultLocalePrimary | Bool | The ShopLocale object for the default locale. Whether the locale is the default locale for the shop. | |
| PrimaryDomainMarketWebPresenceDefaultLocalePublished | Bool | The ShopLocale object for the default locale. Whether the locale is visible to buyers. | |
| PrimaryDomainMarketWebPresenceSubfolderSuffix | String | The market-specific suffix of the subfolders defined by the web presence. Example: in '/en-us' the subfolder suffix is 'us'. This field will be null if 'domain' isn't null. | |
| ResourceLimitsLocationLimit | Int | Maximum number of locations allowed. | |
| ResourceLimitsMaxProductOptions | Int | Maximum number of product options allowed. | |
| ResourceLimitsMaxProductVariants | Int | The maximum number of variants allowed per product. | |
| ResourceLimitsRedirectLimitReached | Bool | Whether the shop has reached the limit of the number of URL redirects it can make for resources. |
Returns Shopify Payments account information, including balances and payouts.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccount
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Activated | Bool | Whether the Shopify Payments setup is completed. | |
| Country | String | The Shopify Payments account country. | |
| Onboardable | Bool | Whether the Shopify Payments account can be onboarded. | |
| DefaultCurrency | String | The default payout currency for the Shopify Payments account. | |
| PayoutStatementDescriptor | String | The descriptor used for payouts. The descriptor appears on a merchant's bank statement when they receive a payout. | |
| PayoutScheduleInterval | String | The interval at which payouts are sent to the connected bank account. | |
| PayoutScheduleMonthlyAnchor | Int | The day of the month funds will be paid out. The value can be any day of the month from the 1st to the 31st. If the payment interval is set to monthly, this value will be used. Payouts scheduled between 29-31st of the month are sent on the last day of shorter months. | |
| PayoutScheduleWeeklyAnchor | String | The day of the week funds will be paid out. The value can be any weekday from Monday to Friday. If the payment interval is set to weekly, this value will be used. |
Returns current balances in all currencies for the account.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalance
| Name | Type | References | Description |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| Amount | Decimal | Decimal money amount. | |
| CurrencyCode [KEY] | String | Currency of the money. |
The adjustment orders associated to the transaction.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders WHERE ShopifyPaymentsAccountBalanceTransactionId = 'Val1'
| Name | Type | References | Description |
| Link [KEY] | String | The link to the adjustment order. | |
| Name | String | The name of the adjustment order. | |
| Amount | Decimal | The amount of the adjustment order. Decimal money amount. | |
| Fee | Decimal | The fee of the adjustment order. Decimal money amount. | |
| Net | Decimal | The net of the adjustment order. Decimal money amount. | |
| AmountCurrencyCode | String | The amount of the adjustment order. Currency of the money. | |
| ShopifyPaymentsAccountBalanceTransactionId [KEY] | String | A globally-unique ID. |
A list of balance transactions associated with a Shopify Payments account balance.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBalanceTransactions
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| NetAmount | Decimal | The net amount contributing to the merchant's balance. Decimal money amount. | |
| NetCurrencyCode | String | The net amount contributing to the merchant's balance. Currency of the money. | |
| TransactionDate | Datetime | The date and time when the balance transaction was processed. | |
| SourceId | String | The ID of the resource leading to the transaction. | |
| SourceType | String | The source type of the balance transaction. | |
| SourceOrderTransactionId | String | The id of the Order Transaction that resulted in this balance transaction. | |
| AdjustmentReason | String | The reason for the adjustment that's associated with the transaction. If the source_type isn't an adjustment, the value will be null. | |
| Type | String | The type of the transaction. | |
| Test | Bool | Whether the transaction was created in test mode. | |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| FeeAmount | Decimal | Decimal money amount. | |
| FeeCurrencyCode | String | Currency of the money. | |
| AssociatedOrderId | String | The ID of the associated order. | |
| AssociatedOrderName | String | The name of the associated order. | |
| AssociatedPayoutId | String | The ID of the payout associated with the balance transaction. | |
| AssociatedPayoutStatus | String | The status of the payout associated with the balance transaction. |
Lists all bank accounts configured for the Shopify Payments account.
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM ShopifyPaymentsAccountBankAccounts
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| BankName | String | The name of the bank. | |
| Country | String | The country of the bank. | |
| Currency | String | The currency of the bank account. | |
| Status | String | The status of the bank account. | |
| AccountNumberLastDigits | String | The last digits of the account number (the rest is redacted). | |
| CreatedAt | Datetime | The date that the bank account was created. |
Lists all disputes related to the Shopify Payments account.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Id = 'Val1'
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Status = 'Val1'
SELECT * FROM ShopifyPaymentsAccountDisputes WHERE InitiatedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| EvidenceDueBy | Date | The deadline for evidence submission. | |
| EvidenceSentOn | Date | The date when evidence was sent. Returns null if evidence has not yet been sent. | |
| Status | String | The current state of the dispute. | |
| Type | String | Indicates if this dispute is still in the inquiry phase or has turned into a chargeback. | |
| FinalizedOn | Date | The date when this dispute was resolved. Returns null if the dispute is not yet resolved. | |
| InitiatedAt | Datetime | The date when this dispute was initiated. | |
| AmountAmount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| OrderId | String | A globally-unique ID. | |
| ReasonDetailsReason | String | The reason for the dispute provided by the cardholder's banks. | |
| ReasonDetailsNetworkReasonCode | String | The raw code provided by the payment network. |
Returns all current and previous payouts made between the account and the bank account. Its avaible only in a few certain countries.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM ShopifyPaymentsAccountPayouts WHERE Id = 'Val1'
SELECT * FROM ShopifyPaymentsAccountPayouts WHERE Status = 'Val1'
SELECT * FROM ShopifyPaymentsAccountPayouts WHERE IssuedAt = '2023-01-01 11:10:00'
SELECT * FROM ShopifyPaymentsAccountPayouts WHERE TransactionType = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| LegacyResourceId | String | The ID of the corresponding resource in the REST Admin API. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| Status | String | The transfer status of the payout. | |
| IssuedAt | Datetime | The exact time when the payout was issued. The payout only contains balance transactions that were available at this time. | |
| TransactionType | String | The direction of the payout. | |
| BusinessEntityId | String | The business entity associated with the payout. | |
| BankAccountId | String | A globally-unique ID. | |
| NetAmount | Decimal | Decimal money amount. | |
| NetCurrencyCode | String | Currency of the money. | |
| SummaryAdjustmentsFeeAmount | Decimal | Decimal money amount. | |
| SummaryAdjustmentsFeeCurrencyCode | String | Currency of the money. | |
| SummaryAdjustmentsGrossAmount | Decimal | Decimal money amount. | |
| SummaryAdjustmentsGrossCurrencyCode | String | Currency of the money. | |
| SummaryChargesFeeAmount | Decimal | Decimal money amount. | |
| SummaryChargesFeeCurrencyCode | String | Currency of the money. | |
| SummaryChargesGrossAmount | Decimal | Decimal money amount. | |
| SummaryChargesGrossCurrencyCode | String | Currency of the money. | |
| SummaryRefundsFeeAmount | Decimal | Decimal money amount. | |
| SummaryRefundsFeeCurrencyCode | String | Currency of the money. | |
| SummaryRefundsFeeGrossAmount | Decimal | Decimal money amount. | |
| SummaryRefundsFeeGrossCurrencyCode | String | Currency of the money. | |
| SummaryReservedFundsFeeAmount | Decimal | Decimal money amount. | |
| SummaryReservedFundsFeeCurrencyCode | String | Currency of the money. | |
| SummaryReservedFundsGrossAmount | Decimal | Decimal money amount. | |
| SummaryReservedFundsGrossCurrencyCode | String | Currency of the money. | |
| SummaryRetriedPayoutsFeeAmount | Decimal | Decimal money amount. | |
| SummaryRetriedPayoutsFeeCurrencyCode | String | Currency of the money. | |
| SummaryRetriedPayoutsGrossAmount | Decimal | Decimal money amount. | |
| SummaryRetriedPayoutsGrossCurrencyCode | String | Currency of the money. | |
| SummaryAdvanceFeesAmount | Decimal | A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99. | |
| SummaryAdvanceFeesCurrencyCode | String | The three-letter currency code that represents a world currency used in a store. Currency codes include standard [standard ISO 4217 codes](https: //en. wikipedia. org/wiki/ISO 4217), legacy codes, and non-standard codes. For example, USD. | |
| SummaryAdvanceGrossAmount | Decimal | A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99. | |
| SummaryAdvanceGrossCurrencyCode | String | The three-letter currency code that represents a world currency used in a store. Currency codes include standard [standard ISO 4217 codes](https: //en. wikipedia. org/wiki/ISO 4217), legacy codes, and non-standard codes. For example, USD. |
Returns the verifications necessary for this account.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM ShopifyPaymentsAccountVerifications WHERE Id = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopifyPaymentsAccountId | String | A globally-unique ID. | |
| Status | String | The status of the verification. | |
| SubjectFamilyName | String | The family name of the individual to verify. | |
| SubjectGivenName | String | The given name of the individual to verify. |
Retrieves a paginated list of the shop's staff members. (This table is available only with a ShopifyPlus subscription)
The Cloud processes all filters client-side within the Cloud. The following query is the only one processed server-side:
SELECT * FROM StaffMembers
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| ShopId | String |
Shop.Id | A globally-unique ID. |
| Name | String | The staff member's full name. | |
| FirstName | String | The staff member's first name. | |
| LastName | String | The staff member's last name. | |
| Active | Bool | Whether the staff member is active. | |
| String | The staff member's email address. | ||
| Exists | Bool | Whether the staff member's account exists. | |
| Initials | String | The staff member's initials, if available. | |
| Locale | String | The staff member's preferred locale. Locale values use the format 'language' or 'language-COUNTRY', where 'language' is a two-letter language code, and 'COUNTRY' is a two-letter country code. For example: 'en' or 'en-US' | |
| Phone | String | The staff member's phone number. | |
| IsShopOwner | Bool | Whether the staff member is the shop owner. | |
| AccountType | String | The type of account the staff member has. | |
| PrivateDataAccountSettingsUrl | String | The URL to the staff member's account settings page. | |
| PrivateDataCreatedAt | Datetime | The date and time when the staff member was created. |
Debit revert transactions created when a store credit account debit transaction is reverted.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| DebitTransactionId | String | The reverted debit transaction. | |
| BalanceAfterTransactionAmount | Decimal | Decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | Currency of the money. | |
| CreatedAt | Datetime | The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | A globally-unique ID. |
Expiration transactions created when a store credit account credit transaction expires.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following column and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM StoreCreditAccountExpirationTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
| Name | Type | References | Description |
| Amount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| CreditTransactionId | String | The credit transaction which expired. | |
| BalanceAfterTransactionAmount | Decimal | Decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | Currency of the money. | |
| CreatedAt | Datetime | The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | A globally-unique ID. |
Returns a list of TenderTransactions associated with the shop.
The Cloud uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
For example, the following queries are processed server-side:
SELECT * FROM TenderTransactions WHERE Id = 'Val1'
SELECT * FROM TenderTransactions WHERE Test = true
SELECT * FROM TenderTransactions WHERE ProcessedAt = '2023-01-01 11:10:00'
| Name | Type | References | Description |
| Id [KEY] | String | A globally-unique ID. | |
| Test | Bool | Whether the transaction is a test transaction. | |
| PaymentMethod | String | Information about the payment method used for the transaction. | |
| ProcessedAt | Datetime | Date and time when the transaction was processed. | |
| RemoteReference | String | The remote gateway reference associated with the tender transaction. | |
| AmountAmount | Decimal | Decimal money amount. | |
| AmountCurrencyCode | String | Currency of the money. | |
| TenderTransactionCreditCardDetailsCreditCardCompany | String | The name of the company that issued the customer's credit card. Example: 'Visa'. | |
| TenderTransactionCreditCardDetailsCreditCardNumber | String | The customer's credit card number, with all digits except the last 4 redacted. Example: '???? ???? ???? 1234' | |
| UserId | String | A globally-unique ID. (This column is available only with a ShopifyPlus subscription) | |
| OrderId | String | A globally-unique ID. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| AcceptCancellationRequest | Accepts a cancellation request sent to a fulfillment service for a fulfillment order. |
| AcceptFulfillmentRequest | Accepts a fulfillment request sent to a fulfillment service for a fulfillment order. |
| ApproveComment | Approves a comment. |
| CollectionReorder | Reorders a set of products within a specified collection. |
| CompanyContactRemoveFromCompany | Removes a company contact from a Company. |
| CreateFile | Creates file assets using an external URL or for files that were previously uploaded using the stagedUploadsCreate mutation. |
| EnableStandardMetafieldDefinition | Activates the specified standard metafield definition from its template. |
| FulfillmentOrderMerge | Merges a set or multiple sets of fulfillment orders together into one based on line item inputs and quantities. |
| FulfillmentOrderSplit | Splits a fulfillment order or orders based on line item inputs and quantities. |
| InventoryAdjustQuantities | Apply changes to inventory quantities. |
| InventoryBulkToggleActivation | Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location. |
| InventoryMoveQuantities | Moves inventory between inventory quantity names at a single location. |
| InventorySetQuantities | Set quantities of specified name using absolute values. |
| InventorySetScheduledChanges | Set up scheduled changes of inventory items. |
| MarkCommentNotSpam | Marks a comment as not spam. |
| MarkCommentSpam | Marks a comment as spam. |
| OrderCancel | Cancels an order. |
| OrderCreateManualPayment | Creates a manual payment for an order. |
| PublishTheme | Publishes a theme. |
| RejectCancellationRequest | Rejects a cancellation request sent to a fulfillment service for a fulfillment order. |
| RejectFulfillmentRequest | Rejects a fulfillment request sent to a fulfillment service for a fulfillment order. |
| SendCancellationRequest | Sends a cancellation request to the fulfillment service of a fulfillment order. |
| SendFulfillmentRequest | Sends a fulfillment request to the fulfillment service of a fulfillment order. |
| TransactionVoid | Trigger the voiding of an uncaptured authorization transaction. |
| UpdateFile | Updates an existing file asset that was uploaded to Shopify. |
Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the cancellation request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Approves a comment.
| Name | Type | Description |
| Id | String | The ID of the comment to be approved. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
| Status | String | The status of the comment. |
Reorders a set of products within a specified collection.
| Name | Type | Description |
| CollectionID | String | The ID of the collection on which to reorder products. |
| ProductIDs | String | A comma separated list of product IDs to be reordered. |
| NewPositions | String | A comma separated list of the new positions for the products. |
| WaitJob | String | The Store Procedure will wait until the Job is done.
The default value is true. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| JobID | String | The Job Id. |
| Status | String | The status of the Job. |
Removes a company contact from a Company.
| Name | Type | Description |
| CompanyContactId | String | The ID of the company contact to remove from the Company. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| RemovedCompanyContactId | String | The ID of the removed company contact. |
Creates file assets using an external URL or for files that were previously uploaded using the stagedUploadsCreate mutation.
| Name | Type | Description |
| OriginalSource | String | An external URL (for images only) or a staged upload URL. |
| FileName | String | When provided, the file will be created with the given filename, otherwise the filename in the originalSource will be used. |
| Description | String | The alternative text description of the file. |
| ContentType | String | The file content type. If omitted, then Shopify will attempt to determine the content type during file processing. |
| DuplicateResolutionMode | String | How to handle if filename is already in use.
The allowed values are APPEND_UUID, RAISE_ERROR, REPLACE. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
| Status | String | The status of the file. |
Activates the specified standard metafield definition from its template.
| Name | Type | Description |
| Id | String | The ID of the standard metafield definition template to enable. |
| Namespace | String | The namespace of the standard metafield to enable. Used in combination with key. |
| Key | String | The key of the standard metafield to enable. Used in combination with namespace. |
| OwnerType | String | The resource type that the metafield definition is scoped to. |
| UseAsCollectionCondition | Boolean | Whether the metafield definition can be used as a collection condition. |
| Pin | Boolean | Whether to pin the metafield definition. |
| AccessAdmin | String | The Admin API access setting to use for the metafields under this definition. |
| AccessCustomerAccount | String | The Customer Account API access setting to use for the metafields under this definition. |
| AccessStorefront | String | The Storefront API access setting to use for the metafields under this definition. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
Merges a set or multiple sets of fulfillment orders together into one based on line item inputs and quantities.
| Name | Type | Description |
| MergeIntents | String | Temp table or aggregate (json/xml) array of objects containing fulfillmentOrderId, fulfillmentOrderLineItemId and fulfillmentOrderLineItemQuantity. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderId | String | The id of the new fulfillment order as a result of the merge. |
Splits a fulfillment order or orders based on line item inputs and quantities.
| Name | Type | Description |
| FulfillmentOrderId | String | The ID of the fulfillment order to be split. |
| FulfillmentOrderLineItemIDs | String | A comma separated list of IDs corresponding to the FulfillmentOrderLineItems to be split out. |
| FulfillmentOrderLineItemQuantities | String | A comma separated list of quantities corresponding to each FulfillmentOrderLineItem to be split out. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderId | String | The id of the original fulfillment order as a result of the split. |
| RemainingFulfillmentOrderId | String | The id of the remaining fulfillment order as a result of the split. |
| ReplacementFulfillmentOrderId | String | The id of the replacement fulfillment order if the original fulfillment order wasn't in a state to be split. |
Apply changes to inventory quantities.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| InventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| Delta | Int | The amount by which the inventory quantity will be changed. |
| Name | Type | Description |
| Name | String | The quantity name to be adjusted.
The allowed values are available, damaged, quality_control, reserved, safety_stock. |
| Reason | String | The reason for the quantity changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| InventoryAdjustChanges | String | The quantity changes of items at locations to be made. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | The ID of the group of changes made by the operation. |
Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| Activate | Bool | Whether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location. |
| LocationId | String | The ID of the location to modify the inventory item's stocked status. |
| Name | Type | Description |
| InventoryItemId | String | The ID of the inventory item to modify the activation status locations for. |
| InventoryItemUpdates | String | A list of pairs of locations and activate status to update for the specified inventory item. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| InventoryItemId | String | The ID of the inventory item to modify the activation status locations for. |
| InventoryLevelIds | String | The activated inventory levels. |
Moves inventory between inventory quantity names at a single location.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| Quantity | Int | The amount by which the inventory quantity will be changed. |
| FromName | String | The quantity name to be moved. |
| FromInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| FromLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| ToName | String | The quantity name to be moved. |
| ToInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| ToLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| Name | Type | Description |
| Reason | String | The reason for the quantity changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| InventoryMoveChanges | String | The quantity changes of items at locations to be made. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | The ID of the group of changes made by the operation. |
Set quantities of specified name using absolute values.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the quantity will be set. |
| InventoryLevelLocationId | String | Specifies the location at which the quantity will be set. |
| CompareQuantity | Int | The current quantity to be compared against the persisted quantity. |
| Quantity | Int | The quantity to which the inventory quantity will be set. |
| Name | Type | Description |
| Name | String | The name of quantities to be changed.
The allowed values are available, on_hand. |
| Reason | String | The reason for the quantity changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| IgnoreCompareQuantity | Boolean | Skip the compare quantity check in the quantities field. |
| InventorySetChanges | String | The values to which each quantities will be set. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | The ID of the group of changes made by the operation. |
Set up scheduled changes of inventory items.
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| InventoryLevelLocationId | String | The ID of the location. |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| InventorySetScheduledItemChanges (references InventorySetScheduledItemChanges) | String | An array of all the scheduled changes for the item. |
| Column Name | Type | Description |
| FromName | String | The quantity name to transition from. |
| ToName | String | The quantity name to transition to. |
| ExpectedAt | Datetime | The date and time that the scheduled change is expected to happen. |
| Name | Type | Description |
| Reason | String | The reason for setting up the scheduled changes.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A freeform URI that represents why the inventory change happened. |
| InventorySetScheduledItems | String | The list of all the items on which the scheduled changes need to be applied. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| ScheduledChanges | String | The scheduled changes that were created. |
Marks a comment as not spam.
| Name | Type | Description |
| Id | String | The ID of the comment to be marked as not spam. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
| Status | String | The status of the comment. |
Marks a comment as spam.
| Name | Type | Description |
| Id | String | The ID of the comment to be marked as spam. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
| Status | String | The status of the comment. |
Cancels an order.
| Name | Type | Description |
| NotifyCustomer | Bool | Whether to send a notification to the customer about the order cancellation. |
| OrderId | String | The ID of the order to be canceled. |
| Reason | String | The reason for canceling the order.
The allowed values are CUSTOMER, DECLINED, FRAUD, INVENTORY, OTHER, STAFF. |
| RefundMethodOriginalPaymentMethodsRefund | Bool | Whether to refund to the original payment method. |
| RefundMethodStoreCreditRefundExpiresAt | Datetime | Whether to refund to store credit. |
| Restock | Bool | Whether to restock the inventory committed to the order. |
| StaffNote | String | A staff-facing note about the order cancellation. This is not visible to the customer. |
| WaitJob | Bool | The Store Procedure will wait until the Job is done.
The default value is true. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| JobID | String | The Job Id. |
| Status | String | The status of the Job. |
Creates a manual payment for an order.
| Name | Type | Description |
| Amount | Decimal | Decimal money amount. |
| CurrencyCode | String | Currency of the money. |
| OrderId | String | The ID of the order to create a manual payment for. |
| PaymentMethodName | String | The name of the payment method used for creating the payment. If none is provided, then the default manual payment method ('Other') will be used. |
| ProcessedAt | Datetime | The date and time (ISO 8601 format) when a manual payment was processed. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
Publishes a theme.
| Name | Type | Description |
| Id | String | ID of the theme to be published. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the cancellation request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with the fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| Reason | String | Whether the customer should be notified when fulfillments are created for this fulfillment order.
The allowed values are INCORRECT_ADDRESS, INELIGIBLE_PRODUCT, INVENTORY_OUT_OF_STOCK, OTHER, UNDELIVERABLE_DESTINATION. |
| LineItems | String | An optional array of line item rejection details. If none are provided, all line items will be assumed to be unfulfillable.. Ex: [{fulfillmentOrderLineItemId: 'xxx', message: 'xx'}] |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Sends a cancellation request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Sends a fulfillment request to the fulfillment service of a fulfillment order.
| Name | Type | Description |
| Id | String | The ID of the fulfillment order associated with a fulfillment request. |
| Message | String | An optional message for the fulfillment request. |
| NotifyCustomer | String | Whether the customer should be notified when fulfillments are created for this fulfillment order. |
| FulfillmentOrderLineItems | String | The fulfillment order line items to be requested for fulfillment. If left blank, all line items of the fulfillment order are requested for fulfillment. Ex: [{id: 'xxx', quantity: 1}] |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| FulfillmentOrderID | String | A globally-unique ID. |
| RequestStatus | String | The status of the SP. |
Trigger the voiding of an uncaptured authorization transaction.
| Name | Type | Description |
| ParentTransactionId | String | An uncaptured authorization transaction. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| TransactionId | String | The created void transaction. |
Updates an existing file asset that was uploaded to Shopify.
| Name | Type | Description |
| Id | String | The ID of the file to be updated. |
| FileName | String | The name of the file including its extension. |
| Description | String | The alternative text description of the file. |
| OriginalSource | String | The source from which to update a media image or generic file. An external URL (for images only) or a staged upload URL. |
| PreviewImageSource | String | The source from which to update the media preview image. May be an external URL or a staged upload URL. |
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| Id | String | A globally-unique ID. |
| Status | String | The status of the file. |
You can query the system tables described in this section to access schema information, information on data source functionality, and batch operation statistics.
The following tables return database metadata for Shopify:
The following tables return information about how to connect to and query the data source:
The following table returns query statistics for data modification queries:
Lists the available databases.
The following query retrieves all databases determined by the connection string:
SELECT * FROM sys_catalogs
| Name | Type | Description |
| CatalogName | String | The database name. |
Lists the available schemas.
The following query retrieves all available schemas:
SELECT * FROM sys_schemas
| Name | Type | Description |
| CatalogName | String | The database name. |
| SchemaName | String | The schema name. |
Lists the available tables.
The following query retrieves the available tables and views:
SELECT * FROM sys_tables
| Name | Type | Description |
| CatalogName | String | The database containing the table or view. |
| SchemaName | String | The schema containing the table or view. |
| TableName | String | The name of the table or view. |
| TableType | String | The table type (table or view). |
| Description | String | A description of the table or view. |
| IsUpdateable | Boolean | Whether the table can be updated. |
Describes the columns of the available tables and views.
The following query returns the columns and data types for the Customers table:
SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Customers'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the table or view. |
| SchemaName | String | The schema containing the table or view. |
| TableName | String | The name of the table or view containing the column. |
| ColumnName | String | The column name. |
| DataTypeName | String | The data type name. |
| DataType | Int32 | An integer indicating the data type. This value is determined at run time based on the environment. |
| Length | Int32 | The storage size of the column. |
| DisplaySize | Int32 | The designated column's normal maximum width in characters. |
| NumericPrecision | Int32 | The maximum number of digits in numeric data. The column length in characters for character and date-time data. |
| NumericScale | Int32 | The column scale or number of digits to the right of the decimal point. |
| IsNullable | Boolean | Whether the column can contain null. |
| Description | String | A brief description of the column. |
| Ordinal | Int32 | The sequence number of the column. |
| IsAutoIncrement | String | Whether the column value is assigned in fixed increments. |
| IsGeneratedColumn | String | Whether the column is generated. |
| IsHidden | Boolean | Whether the column is hidden. |
| IsArray | Boolean | Whether the column is an array. |
| IsReadOnly | Boolean | Whether the column is read-only. |
| IsKey | Boolean | Indicates whether a field returned from sys_tablecolumns is the primary key of the table. |
| ColumnType | String | The role or classification of the column in the schema. Possible values include SYSTEM, LINKEDCOLUMN, NAVIGATIONKEY, REFERENCECOLUMN, and NAVIGATIONPARENTCOLUMN. |
Lists the available stored procedures.
The following query retrieves the available stored procedures:
SELECT * FROM sys_procedures
| Name | Type | Description |
| CatalogName | String | The database containing the stored procedure. |
| SchemaName | String | The schema containing the stored procedure. |
| ProcedureName | String | The name of the stored procedure. |
| Description | String | A description of the stored procedure. |
| ProcedureType | String | The type of the procedure, such as PROCEDURE or FUNCTION. |
Describes stored procedure parameters.
The following query returns information about all of the input parameters for the SendInvite stored procedure:
SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'SendInvite' AND Direction = 1 OR Direction = 2
To include result set columns in addition to the parameters, set the IncludeResultColumns pseudo column to True:
SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'SendInvite' AND IncludeResultColumns='True'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the stored procedure. |
| SchemaName | String | The name of the schema containing the stored procedure. |
| ProcedureName | String | The name of the stored procedure containing the parameter. |
| ColumnName | String | The name of the stored procedure parameter. |
| Direction | Int32 | An integer corresponding to the type of the parameter: input (1), input/output (2), or output(4). input/output type parameters can be both input and output parameters. |
| DataType | Int32 | An integer indicating the data type. This value is determined at run time based on the environment. |
| DataTypeName | String | The name of the data type. |
| NumericPrecision | Int32 | The maximum precision for numeric data. The column length in characters for character and date-time data. |
| Length | Int32 | The number of characters allowed for character data. The number of digits allowed for numeric data. |
| NumericScale | Int32 | The number of digits to the right of the decimal point in numeric data. |
| IsNullable | Boolean | Whether the parameter can contain null. |
| IsRequired | Boolean | Whether the parameter is required for execution of the procedure. |
| IsArray | Boolean | Whether the parameter is an array. |
| Description | String | The description of the parameter. |
| Ordinal | Int32 | The index of the parameter. |
| Values | String | The values you can set in this parameter are limited to those shown in this column. Possible values are comma-separated. |
| SupportsStreams | Boolean | Whether the parameter represents a file that you can pass as either a file path or a stream. |
| IsPath | Boolean | Whether the parameter is a target path for a schema creation operation. |
| Default | String | The value used for this parameter when no value is specified. |
| SpecificName | String | A label that, when multiple stored procedures have the same name, uniquely identifies each identically-named stored procedure. If there's only one procedure with a given name, its name is simply reflected here. |
| IsCDataProvided | Boolean | Whether the procedure is added/implemented by CData, as opposed to being a native Shopify procedure. |
| Name | Type | Description |
| IncludeResultColumns | Boolean | Whether the output should include columns from the result set in addition to parameters. Defaults to False. |
Describes the primary and foreign keys.
The following query retrieves the primary key for the Customers table:
SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Customers'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the key. |
| SchemaName | String | The name of the schema containing the key. |
| TableName | String | The name of the table containing the key. |
| ColumnName | String | The name of the key column. |
| IsKey | Boolean | Whether the column is a primary key in the table referenced in the TableName field. |
| IsForeignKey | Boolean | Whether the column is a foreign key referenced in the TableName field. |
| PrimaryKeyName | String | The name of the primary key. |
| ForeignKeyName | String | The name of the foreign key. |
| ReferencedCatalogName | String | The database containing the primary key. |
| ReferencedSchemaName | String | The schema containing the primary key. |
| ReferencedTableName | String | The table containing the primary key. |
| ReferencedColumnName | String | The column name of the primary key. |
Describes the foreign keys.
The following query retrieves all foreign keys which refer to other tables:
SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the key. |
| SchemaName | String | The name of the schema containing the key. |
| TableName | String | The name of the table containing the key. |
| ColumnName | String | The name of the key column. |
| PrimaryKeyName | String | The name of the primary key. |
| ForeignKeyName | String | The name of the foreign key. |
| ReferencedCatalogName | String | The database containing the primary key. |
| ReferencedSchemaName | String | The schema containing the primary key. |
| ReferencedTableName | String | The table containing the primary key. |
| ReferencedColumnName | String | The column name of the primary key. |
| ForeignKeyType | String | Designates whether the foreign key is an import (points to other tables) or export (referenced from other tables) key. |
Describes the primary keys.
The following query retrieves the primary keys from all tables and views:
SELECT * FROM sys_primarykeys
| Name | Type | Description |
| CatalogName | String | The name of the database containing the key. |
| SchemaName | String | The name of the schema containing the key. |
| TableName | String | The name of the table containing the key. |
| ColumnName | String | The name of the key column. |
| KeySeq | String | The sequence number of the primary key. |
| KeyName | String | The name of the primary key. |
Describes the available indexes. By filtering on indexes, you can write more selective queries with faster query response times.
The following query retrieves all indexes that are not primary keys:
SELECT * FROM sys_indexes WHERE IsPrimary='false'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the index. |
| SchemaName | String | The name of the schema containing the index. |
| TableName | String | The name of the table containing the index. |
| IndexName | String | The index name. |
| ColumnName | String | The name of the column associated with the index. |
| IsUnique | Boolean | True if the index is unique. False otherwise. |
| IsPrimary | Boolean | True if the index is a primary key. False otherwise. |
| Type | Int16 | An integer value corresponding to the index type: statistic (0), clustered (1), hashed (2), or other (3). |
| SortOrder | String | The sort order: A for ascending or D for descending. |
| OrdinalPosition | Int16 | The sequence number of the column in the index. |
Returns information on the available connection properties and those set in the connection string.
The following query retrieves all connection properties that have been set in the connection string or set through a default value:
SELECT * FROM sys_connection_props WHERE Value <> ''
| Name | Type | Description |
| Name | String | The name of the connection property. |
| ShortDescription | String | A brief description. |
| Type | String | The data type of the connection property. |
| Default | String | The default value if one is not explicitly set. |
| Values | String | A comma-separated list of possible values. A validation error is thrown if another value is specified. |
| Value | String | The value you set or a preconfigured default. |
| Required | Boolean | Whether the property is required to connect. |
| Category | String | The category of the connection property. |
| IsSessionProperty | String | Whether the property is a session property, used to save information about the current connection. |
| Sensitivity | String | The sensitivity level of the property. This informs whether the property is obfuscated in logging and authentication forms. |
| PropertyName | String | A camel-cased truncated form of the connection property name. |
| Ordinal | Int32 | The index of the parameter. |
| CatOrdinal | Int32 | The index of the parameter category. |
| Hierarchy | String | Shows dependent properties associated that need to be set alongside this one. |
| Visible | Boolean | Informs whether the property is visible in the connection UI. |
| ETC | String | Various miscellaneous information about the property. |
Describes the SELECT query processing that the Cloud can offload to the data source.
See SQL Compliance for SQL syntax details.
Below is an example data set of SQL capabilities. Some aspects of SELECT functionality are returned in a comma-separated list if supported; otherwise, the column contains NO.
| Name | Description | Possible Values |
| AGGREGATE_FUNCTIONS | Supported aggregation functions. | AVG, COUNT, MAX, MIN, SUM, DISTINCT |
| COUNT | Whether COUNT function is supported. | YES, NO |
| IDENTIFIER_QUOTE_OPEN_CHAR | The opening character used to escape an identifier. | [ |
| IDENTIFIER_QUOTE_CLOSE_CHAR | The closing character used to escape an identifier. | ] |
| SUPPORTED_OPERATORS | A list of supported SQL operators. | =, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR |
| GROUP_BY | Whether GROUP BY is supported, and, if so, the degree of support. | NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE |
| OJ_CAPABILITIES | The supported varieties of outer joins supported. | NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS |
| OUTER_JOINS | Whether outer joins are supported. | YES, NO |
| SUBQUERIES | Whether subqueries are supported, and, if so, the degree of support. | NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED |
| STRING_FUNCTIONS | Supported string functions. | LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE |
| NUMERIC_FUNCTIONS | Supported numeric functions. | ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE |
| TIMEDATE_FUNCTIONS | Supported date/time functions. | NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT |
| REPLICATION_SKIP_TABLES | Indicates tables skipped during replication. | |
| REPLICATION_TIMECHECK_COLUMNS | A string array containing a list of columns which will be used to check for (in the given order) to use as a modified column during replication. | |
| IDENTIFIER_PATTERN | String value indicating what string is valid for an identifier. | |
| SUPPORT_TRANSACTION | Indicates if the provider supports transactions such as commit and rollback. | YES, NO |
| DIALECT | Indicates the SQL dialect to use. | |
| KEY_PROPERTIES | Indicates the properties which identify the uniform database. | |
| SUPPORTS_MULTIPLE_SCHEMAS | Indicates if multiple schemas may exist for the provider. | YES, NO |
| SUPPORTS_MULTIPLE_CATALOGS | Indicates if multiple catalogs may exist for the provider. | YES, NO |
| DATASYNCVERSION | The CData Data Sync version needed to access this driver. | Standard, Starter, Professional, Enterprise |
| DATASYNCCATEGORY | The CData Data Sync category of this driver. | Source, Destination, Cloud Destination |
| SUPPORTSENHANCEDSQL | Whether enhanced SQL functionality beyond what is offered by the API is supported. | TRUE, FALSE |
| SUPPORTS_BATCH_OPERATIONS | Whether batch operations are supported. | YES, NO |
| SQL_CAP | All supported SQL capabilities for this driver. | SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX |
| PREFERRED_CACHE_OPTIONS | A string value specifies the preferred cacheOptions. | |
| ENABLE_EF_ADVANCED_QUERY | Indicates if the driver directly supports advanced queries coming from Entity Framework. If not, queries will be handled client side. | YES, NO |
| PSEUDO_COLUMNS | A string array indicating the available pseudo columns. | |
| MERGE_ALWAYS | If the value is true, The Merge Mode is forcibly executed in Data Sync. | TRUE, FALSE |
| REPLICATION_MIN_DATE_QUERY | A select query to return the replicate start datetime. | |
| REPLICATION_MIN_FUNCTION | Allows a provider to specify the formula name to use for executing a server side min. | |
| REPLICATION_START_DATE | Allows a provider to specify a replicate startdate. | |
| REPLICATION_MAX_DATE_QUERY | A select query to return the replicate end datetime. | |
| REPLICATION_MAX_FUNCTION | Allows a provider to specify the formula name to use for executing a server side max. | |
| IGNORE_INTERVALS_ON_INITIAL_REPLICATE | A list of tables which will skip dividing the replicate into chunks on the initial replicate. | |
| CHECKCACHE_USE_PARENTID | Indicates whether the CheckCache statement should be done against the parent key column. | TRUE, FALSE |
| CREATE_SCHEMA_PROCEDURES | Indicates stored procedures that can be used for generating schema files. |
The following query retrieves the operators that can be used in the WHERE clause:
SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
Note that individual tables may have different limitations or requirements on the WHERE clause; refer to the Data Model section for more information.
| Name | Type | Description |
| NAME | String | A component of SQL syntax, or a capability that can be processed on the server. |
| VALUE | String | Detail on the supported SQL or SQL syntax. |
Returns information about attempted modifications.
The following query retrieves the Ids of the modified rows in a batch operation:
SELECT * FROM sys_identity
| Name | Type | Description |
| Id | String | The database-generated Id returned from a data modification operation. |
| Batch | String | An identifier for the batch. 1 for a single operation. |
| Operation | String | The result of the operation in the batch: INSERTED, UPDATED, or DELETED. |
| Message | String | SUCCESS or an error message if the update in the batch failed. |
Describes the available system information.
The following query retrieves all columns:
SELECT * FROM sys_information
| Name | Type | Description |
| Product | String | The name of the product. |
| Version | String | The version number of the product. |
| Datasource | String | The name of the datasource the product connects to. |
| NodeId | String | The unique identifier of the machine where the product is installed. |
| HelpURL | String | The URL to the product's help documentation. |
| License | String | The license information for the product. (If this information is not available, the field may be left blank or marked as 'N/A'.) |
| Location | String | The file path location where the product's library is stored. |
| Environment | String | The version of the environment or rumtine the product is currently running under. |
| DataSyncVersion | String | The tier of CData Sync required to use this connector. |
| DataSyncCategory | String | The category of CData Sync functionality (e.g., Source, Destination). |
The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.
For more information on establishing a connection, see Establishing a Connection.
| Property | Description |
| ShopURL | Specifies the full URL of your Shopify store. |
| AuthScheme | Specifies the authentication method used to connect to your Shopify store. |
| AccessToken | Specifies the Admin API access token used to authenticate requests from a custom app to your Shopify store. |
| Property | Description |
| OAuthClientId | Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication. |
| OAuthClientSecret | Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.). |
| Scope | Specifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created. |
| Property | Description |
| SSLServerCert | Specifies the certificate to be accepted from the server when connecting using TLS/SSL. |
| Property | Description |
| Verbosity | Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5. |
| Property | Description |
| BrowsableSchemas | Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC . |
| Schema | Specifies the Shopify API version and schema (GraphQL or REST) the provider uses when connecting to your store. |
| Property | Description |
| UseBulkAPI | Specifies whether the provider uses Shopify Bulk Operations when querying data through the GraphQL schema. This property has no effect when using the REST API schema. This property is useful when you are querying high-volume datasets, such as thousands of orders, products, or customers and want to optimize performance or reduce the likelihood of API throttling from real-time queries. |
| BulkTimeout | Specifies how long, in minutes, the provider waits for a Shopify bulk operation to complete before returning an error. |
| BulkPollingInterval | Specifies the maximum time interval (in milliseconds) between each status check when polling for the results of a Shopify Bulk API operation. |
| BulkPageSize | Specifies the number of records retrieved per batch when UseBulkAPI is set to true. |
| EnableShopifyPlus | Specifies whether the app is installed on a Shopify Plus account. Set this to true to enable access to additional Shopify Plus-specific features. |
| IncludeCustomFields | Specifies whether the provider includes custom fields in queries to the Products and ProductVariants tables. |
| MaxPointsPerCall | Specifies the maximum number of GraphQL cost points that each call is allowed to consume. |
| MaxRows | Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY. |
| Pagesize | Specifies the maximum number of results the provider requests per page when querying data from Shopify. |
| PointsBufferSize | Specifies a point buffer used to increase the calculated wait time for throttling prevention. |
| PseudoColumns | Specifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'. |
| ShowAggregate | Specifies whether the provider includes aggregate values in the result set and how they are structured. |
| ThrowsKeyNotFound | Specifies whether or not throws an exception if there is no rows updated. |
| Timeout | Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. |
This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.
| Property | Description |
| ShopURL | Specifies the full URL of your Shopify store. |
| AuthScheme | Specifies the authentication method used to connect to your Shopify store. |
| AccessToken | Specifies the Admin API access token used to authenticate requests from a custom app to your Shopify store. |
Specifies the full URL of your Shopify store.
string
""
Set this property to the full store URL assigned by Shopify when you created your shop. This URL is used to direct all API requests and should include the full domain in the format: https://yourstorename.myshopify.com
This property is required for all schemas and must match the store where your app is installed or where your access token or credentials are valid.
Specifies the authentication method used to connect to your Shopify store.
string
"AccessToken"
Use this property to control how the Cloud authenticates with the Shopify API:
Specifies the Admin API access token used to authenticate requests from a custom app to your Shopify store.
string
""
This token is required to connect to the Shopify Admin API when using a custom app. It authorizes the Cloud to perform operations based on the access scopes configured in your Shopify store.
To learn how to create a custom app and obtain an Admin API access token, see Establishing a Connection.
This section provides a complete list of the OAuth properties you can configure in the connection string for this provider.
| Property | Description |
| OAuthClientId | Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication. |
| OAuthClientSecret | Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.). |
| Scope | Specifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created. |
Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
string
""
This property is required in two cases:
(When the driver provides embedded OAuth credentials, this value may already be provided by the Cloud and thus not require manual entry.)
OAuthClientId is generally used alongside other OAuth-related properties such as OAuthClientSecret and OAuthSettingsLocation when configuring an authenticated connection.
OAuthClientId is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can usually find this value in your identity provider’s application registration settings. Look for a field labeled Client ID, Application ID, or Consumer Key.
While the client ID is not considered a confidential value like a client secret, it is still part of your application's identity and should be handled carefully. Avoid exposing it in public repositories or shared configuration files.
For more information on how this property is used when configuring a connection, see Establishing a Connection.
Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).
string
""
This property (sometimes called the application secret or consumer secret) is required when using a custom OAuth application in any flow that requires secure client authentication, such as web-based OAuth, service-based connections, or certificate-based authorization flows. It is not required when using an embedded OAuth application.
The client secret is used during the token exchange step of the OAuth flow, when the driver requests an access token from the authorization server. If this value is missing or incorrect, authentication fails with either an invalid_client or an unauthorized_client error.
OAuthClientSecret is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can obtain this value from your identity provider when registering the OAuth application.
Notes:
For more information on how this property is used when configuring a connection, see Establishing a Connection
Specifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created.
string
""
Scopes are set to define what kind of access the authenticating user will have; for example, read, read and write, restricted access to sensitive information. System administrators can use scopes to selectively enable access by functionality or security clearance.
When InitiateOAuth is set to GETANDREFRESH, you must use this property if you want to change which scopes are requested.
When InitiateOAuth is set to either REFRESH or OFF, you can change which scopes are requested using either this property or the Scope input.
This section provides a complete list of the SSL properties you can configure in the connection string for this provider.
| Property | Description |
| SSLServerCert | Specifies the certificate to be accepted from the server when connecting using TLS/SSL. |
Specifies the certificate to be accepted from the server when connecting using TLS/SSL.
string
""
If you are using a TLS/SSL connection, use this property to specify the TLS/SSL certificate to be accepted from the server. If you specify a value for this property, all other certificates that are not trusted by the machine are rejected.
This property can take the following forms:
| Description | Example |
| A full PEM Certificate (example shortened for brevity) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
| A path to a local file containing the certificate | C:\cert.cer |
| The public key (example shortened for brevity) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
| The MD5 Thumbprint (hex values can also be either space- or colon-separated) | ecadbdda5a1529c58a1e9e09828d70e4 |
| The SHA1 Thumbprint (hex values can also be either space- or colon-separated) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
Note: It is possible to use '*' to signify that all certificates should be accepted, but due to security concerns this is not recommended.
This section provides a complete list of the Logging properties you can configure in the connection string for this provider.
| Property | Description |
| Verbosity | Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5. |
Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.
string
"1"
This property defines the level of detail the Cloud includes in the log file. Higher verbosity levels increase the detail of the logged information, but may also result in larger log files and slower performance due to the additional data being captured.
The default verbosity level is 1, which is recommended for regular operation. Higher verbosity levels are primarily intended for debugging purposes. For more information on each level, refer to Logging.
When combined with the LogModules property, Verbosity can refine logging to specific categories of information.
This section provides a complete list of the Schema properties you can configure in the connection string for this provider.
| Property | Description |
| BrowsableSchemas | Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC . |
| Schema | Specifies the Shopify API version and schema (GraphQL or REST) the provider uses when connecting to your store. |
Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
string
""
Listing all available database schemas can take extra time, thus degrading performance. Providing a list of schemas in the connection string saves time and improves performance.
Specifies the Shopify API version and schema (GraphQL or REST) the provider uses when connecting to your store.
string
"GRAPHQL-2024-07"
This property determines which API (REST or GraphQL) and version the Cloud targets when retrieving data from Shopify.
Use this property to:
Shopify typically releases new API versions quarterly. Deprecated versions may continue to function temporarily, but will redirect to the oldest supported public version.
This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.
| Property | Description |
| UseBulkAPI | Specifies whether the provider uses Shopify Bulk Operations when querying data through the GraphQL schema. This property has no effect when using the REST API schema. This property is useful when you are querying high-volume datasets, such as thousands of orders, products, or customers and want to optimize performance or reduce the likelihood of API throttling from real-time queries. |
| BulkTimeout | Specifies how long, in minutes, the provider waits for a Shopify bulk operation to complete before returning an error. |
| BulkPollingInterval | Specifies the maximum time interval (in milliseconds) between each status check when polling for the results of a Shopify Bulk API operation. |
| BulkPageSize | Specifies the number of records retrieved per batch when UseBulkAPI is set to true. |
| EnableShopifyPlus | Specifies whether the app is installed on a Shopify Plus account. Set this to true to enable access to additional Shopify Plus-specific features. |
| IncludeCustomFields | Specifies whether the provider includes custom fields in queries to the Products and ProductVariants tables. |
| MaxPointsPerCall | Specifies the maximum number of GraphQL cost points that each call is allowed to consume. |
| MaxRows | Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY. |
| Pagesize | Specifies the maximum number of results the provider requests per page when querying data from Shopify. |
| PointsBufferSize | Specifies a point buffer used to increase the calculated wait time for throttling prevention. |
| PseudoColumns | Specifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'. |
| ShowAggregate | Specifies whether the provider includes aggregate values in the result set and how they are structured. |
| ThrowsKeyNotFound | Specifies whether or not throws an exception if there is no rows updated. |
| Timeout | Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. |
Specifies whether the provider uses Shopify Bulk Operations when querying data through the GraphQL schema. This property has no effect when using the REST API schema. This property is useful when you are querying high-volume datasets, such as thousands of orders, products, or customers and want to optimize performance or reduce the likelihood of API throttling from real-time queries.
bool
false
Use this property only when the Schema property is set to a GRAPHQL-value. When set to true, the Cloud submits GraphQL queries using Shopify's Bulk Operations API. This allows the Cloud to handle large data sets more efficiently by running asynchronous export jobs behind the scenes. The Cloud monitors job status and retrieves the results once they are available.
Note: The Shopify Bulk API has several limitations and is primarily suited for data replication tasks. Shopify allows only one bulk operation to run at a time per shop. If a second operation is started before the first completes, it fails. Disabling parallel operations or concurrent execution in your client application or custom implementation code does not guarantee prevention of conflicts caused by the Bulk API's single-operation limit. Additionally, each bulk query operation must complete within 10 days. Otherwise, the operation is terminated and marked as failed. Furthermore, certain tables and columns that do not meet the requirements of the Bulk API are not exposed when this property is enabled. Evaluate whether your use case is better served by asynchronous bulk jobs or real-time GraphQL queries.
Use BulkPollingInterval, BulkTimeout, and BulkPageSize to tune responsiveness and resource usage.
Specifies how long, in minutes, the provider waits for a Shopify bulk operation to complete before returning an error.
int
25
When UseBulkAPI is set to true, the Cloud submits queries as asynchronous jobs using Shopify's Bulk API. Shopify allows only one active bulk operation per store. If another job is already running, Shopify rejects the new request.
The Cloud checks for an active job and waits up to the duration specified by BulkTimeout for it to complete. If the existing job doesn't finish in time, the Cloud cancels the request and returns an error.
This setting helps manage conflicts in shared environments where overlapping bulk queries might occur. Use it to control how long you're willing to wait before timing out a queued job.
Specifies the maximum time interval (in milliseconds) between each status check when polling for the results of a Shopify Bulk API operation.
int
10000
When UseBulkAPI is set to true, the Cloud submits queries as asynchronous jobs to the Shopify Bulk API. The API responds with a job ID, and the Cloud periodically checks the job status until the export is complete.
This property defines the maximum wait time between polling attempts. The Cloud initially waits 1 second (1000 ms) before the first poll and may increase the interval between subsequent polls up to the limit specified by BulkPollingInterval.
Lower values result in more frequent polling, which can lead to faster job completion detection but may increase the number of API requests.
Higher values reduce polling frequency, which can conserve resources and API usage but may introduce latency in receiving results once jobs are complete.
This setting can be adjusted to balance responsiveness and API rate efficiency based on your environment and expected data volume.
Specifies the number of records retrieved per batch when UseBulkAPI is set to true.
int
1000
When using Shopify's Bulk API, this property controls how many records are returned at a time to the user once the bulk operation has started. Although Shopify's Bulk API performs asynchronous exports behind the scenes, the Cloud paginates the downloaded results to return them incrementally based on the value of BulkPageSize.
Higher values may improve throughput by reducing the number of read cycles between the local client and downloaded result set.
Lower values may reduce memory usage, which can be beneficial when working with very large exports or constrained environments.
This setting does not influence the number of records returned by Shopify itself. It only affects how the Cloud processes and returns the completed export results.
Specifies whether the app is installed on a Shopify Plus account. Set this to true to enable access to additional Shopify Plus-specific features.
bool
false
This setting only has an effect if the connected store is on a Shopify Plus plan.
Set this property to true if your app is authorized on a Shopify Plus store. When enabled, the Cloud exposes additional columns and tables that are only available to Shopify Plus merchants. These may include advanced analytics, checkout customization features, or B2B-related data.
Note: Enabling this property requires an updated OAuth access token that includes additional scopes, specifically read_users to retrieve data from Shopify Plus-specific resources. If your app was previously authorized without this property enabled, you must reauthenticate to obtain a token with the correct scopes. Failing to reauthenticate may result in empty datasets or API errors due to insufficient permissions.
Specifies whether the provider includes custom fields in queries to the Products and ProductVariants tables.
bool
false
Set this property to true to include custom fields, such as metafields, when querying or updating records in the Products and ProductVariants tables.
This functionality is supported in:
When set to false, the Cloud skips custom field processing to improve performance, especially during large reads. However, with this setting disabled, you cannot read or update custom fields in these tables.
This property is useful when you need access to Shopify metafields or other extended product metadata.
Specifies the maximum number of GraphQL cost points that each call is allowed to consume.
string
"50"
Shopify’s GraphQL API enforces a throttling system based on cost points. Each query consumes cost points, and apps operate under a shared budget that refills over time.
Use this property to cap the cost of individual GraphQL requests generated by the Cloud. By setting a maximum, you can prevent large queries from exhausting your available quota and help avoid throttling errors.
Note: Shopify applies different rate limits based on your account type. Standard accounts are limited to 1,000 cost points with a default refill rate of 100 points per second. Shopify Plus and enterprise plans have higher refill rates, up to 2,000 points per second.
This property is useful when you're working with large datasets or multiple concurrent queries and need to manage resource usage carefully to avoid hitting Shopify's rate limits.
Lowering the point cap may reduce the risk of hitting API limits but can lead to more, smaller API calls. Higher values may improve performance by allowing more data per call, but increase the likelihood of throttling.
Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
int
-1
The default value for this property, -1, means that no row limit is enforced unless the query explicitly includes a LIMIT clause. (When a query includes a LIMIT clause, the value specified in the query takes precedence over the MaxRows setting.)
Setting MaxRows to a whole number greater than 0 ensures that queries do not return excessively large result sets by default.
This property is useful for optimizing performance and preventing excessive resource consumption when executing queries that could otherwise return very large datasets.
Specifies the maximum number of results the provider requests per page when querying data from Shopify.
int
-1
This property controls how many records the Cloud retrieves in each paged request to Shopify.
When using the REST schema, Shopify allows a maximum of 250 records per page.
When using the GraphQL schema, the Cloud calculates the effective page size dynamically based on the available point budget (in combination with MaxPointsPerCall).
To use Shopify's default behavior, set PageSize to -1.
This property is useful when you need to tune the balance between query performance and memory usage. For example, reducing the page size may help in environments with limited resources or unstable network conditions.
Larger page sizes may reduce the number of API calls needed for a full result set, improving performance. However, large responses can increase memory usage and the risk of timeouts or throttling, especially in GraphQL mode where point costs vary by query complexity.
Specifies a point buffer used to increase the calculated wait time for throttling prevention.
int
0
Shopify’s GraphQL API manages usage with a budget of "cost points" that refill over time. To avoid running out of points, the Cloud intelligently calculates when to pause before making its next request.
This property makes the Cloud more cautious by increasing the number of points required before making a request. The Cloud then waits for the amount of time that would be required to recover a number of points equal to the query's cost plus the buffer size. This provides a "safe spot" that helps prevent throttling errors from other concurrent connections sharing the same API quota.
For example, if a query costs 200 points and you set this property to 100, the Cloud will calculate the time required to restore a total of 300 points and will wait for that duration before sending the request.
Using any buffer may cause the Cloud to pause more often, but it increases safety. A smaller buffer provides a good safety margin without significantly affecting speed. A larger buffer offers more protection but may impact performance more noticeably. A value of 0 (the default) is suitable when you do not have multiple connections sharing the same API quota.
Specifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
string
""
This property allows you to define which pseudocolumns the Cloud exposes as table columns.
To specify individual pseudocolumns, use the following format:
Table1=Column1;Table1=Column2;Table2=Column3
To include all pseudocolumns for all tables use:
*=*
Specifies whether the provider includes aggregate values in the result set and how they are structured.
string
"None"
This property controls whether the Cloud appends aggregate values, such as totals or group-level summaries to the result set, and how those values are aligned with the output.
This property is useful when consuming paged data and needing consistent row alignment between raw data and aggregate metrics.
Enabling aggregation may increase processing time slightly, especially when working with large datasets and paging. Use this setting only when you need structured aggregation output.
Specifies whether or not throws an exception if there is no rows updated.
bool
false
Specifies whether or not throws an exception if there is no rows updated.
Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
int
60
The timeout applies to each individual communication with the server rather than the entire query or operation. For example, a query could continue running beyond 60 seconds if each paging call completes within the timeout limit.
Timeout is set to 60 seconds by default. To disable timeouts, set this property to 0.
Disabling the timeout allows operations to run indefinitely until they succeed or fail due to other conditions such as server-side timeouts, network interruptions, or resource limits on the server.
Note: Use this property cautiously to avoid long-running operations that could degrade performance or result in unresponsive behavior.
LZMA from 7Zip LZMA SDK
LZMA SDK is placed in the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
LZMA2 from XZ SDK
Version 1.9 and older are in the public domain.
Xamarin.Forms
Xamarin SDK
The MIT License (MIT)
Copyright (c) .NET Foundation Contributors
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NSIS 3.10
Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
1. DEFINITIONS
"Contribution" means:
a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:
i) changes to the Program, and
ii) additions to the Program;
where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
"Contributor" means any person or entity that distributes the Program.
"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
"Program" means the Contributions distributed in accordance with this Agreement.
"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
2. GRANT OF RIGHTS
a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
3. REQUIREMENTS
A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
a) it complies with the terms and conditions of this Agreement; and
b) its license agreement:
i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
When the Program is made available in source code form:
a) it must be made available under this Agreement; and
b) a copy of this Agreement must be included with each copy of the Program.
Contributors may not remove or alter any copyright notices contained within the Program.
Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
4. COMMERCIAL DISTRIBUTION
Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
5. NO WARRANTY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
6. DISCLAIMER OF LIABILITY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. GENERAL
If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.