Shopify Price XML
Important
This page documents the XML used by the legacy REST API based Shopify tasks, and is no longer being updated. Shopify have deprecated their REST API, so new integrations should use the GraphQL tasks instead. See Shopify XML for the GraphQL formats.
The XML format documented here is used for the import of prices into Shopify, via the Import Price Updates to Shopify task.
We recommend that the external_id field be populated with the unique ID of the product from the external system, Zynk uses this field to track data already imported into Shopify.
XML
Any fields not documented below are not supported by our Shopify connector. Examples of where in the XML the fields should appear are shown in the samples below.
<?xml version="1.0" encoding="utf-8"?>
<products>
<product>
<external_id>123456</external_id>
<sku>MER99AMP2</sku>
<price>200</price>
</product>
</products>
In each of the following sections most of the XML has been omitted to make the samples easier to read. The whole structure of the products schema is used below as a reference of where fields should be in the object model.
Product
The following information can be provided within the 'product' element.
| Shopify Field | XML Field | Type | Input | Notes |
|---|---|---|---|---|
| - | external_id | string | Optional | Stored in Zynk's internal DB and used in conjunction with the 'Prevent Reprocessing' setting |
| SKU | sku | string | Required | Used for matching products |
| Price | price | decimal | Required |