Ad

Can Bigcommerce Orders Have Additional Details And Line Items Properties

- 1 answer

Migrating from Shopify to Bigcommerce and found that orders in Shopify has line items properties and additional details that must be migrated to Bigcommerce orders through API or Apps.

Official API specification of Bigcommerce has no as such provision. Wondering if it's still possible or require different approach to store such additional details of Shopify orders.

Ad

Answer

Here is a procedure you can try:

  1. Migrate Products from Shopify to BigCommerce -. either via API or App

Shopify API: https://shopify.dev/api/admin/rest/reference/products/product#index-2021-07
BigCommerce API: https://developer.bigcommerce.com/api-reference/store-management/catalog/products/createproduct

  1. Fetch Orders along with Line Items from Shopify

API: https://shopify.dev/api/admin/rest/reference/orders/order#index-2021-07

  1. Create Orders to BigCommerce and with Product's Name instead of variant IDs (Check Examples available in below API).

API: https://developer.bigcommerce.com/api-reference/store-management/orders/orders/createanorder

  1. Add additional LineItem Shopify details in BigCommerce Orders via BigCommerce v3 API.

API: https://developer.bigcommerce.com/api-reference/store-management/order-transactions/metafields/createordermetafield

Note:There could be other ways to create orders in BigCommerce with exact LineItem details via API but, this process would need mapping of Shopify Variant's option IDs to BigCommerce Variant's option IDs.

Ad
source: stackoverflow.com
Ad