Skip to content
On this page

Internal Notes

For our custom integrations to work, when importing Shopify products into our store, there are two pieces that connect data together:

1. Fulfillment location

When an order is created, it's products are grouped into fulfillment locations. Since we are a dropshipping solution, we transform suborders (orders grouped by fulfillment locations), and send those orders to our partners. Therefore, each product must be grouped to the correct location, or else we will be unable to send data to our partners.

The fulfillment location must match the true Shopify name.

The "true" Shopify name is the first part of this format: <SHOPIFY_NAME>.myshopify.com

Our order creation webhook will take the grouped products, and send them to the partners with this mapping.

2. SKU = Variant ID

In order to mark the correct line items in the partners' stores, we must pass the variant.id and the quantity.

To simplify this approach, we are subverting the variant SKU, and are instead storing the variant.id there. This way, when our webhooks activate, we can easily map variant.sku -> variant.id and correctly inform the partners which products to include in the order.

Shopify API does not require us passing the SKU, so this can safely omitted. The variant.id is mandatory.