Discussing APIs and development related to customers, discounts, and order management.
Sometime in the last week the API is no longer returning the source_name of "shopify_draft_order" for orders that originated from a draft. It is now returning a number, 1830279. Was this an intentional change? For orders originating from the online store the value of source_name is still "web"
Hey @SKULynk,
Our Order API resource states that the property source_name
can only be set during an order's creation. A string of choice can be entered for this value in the order creation process, but if not specified new orders created will automatically be assigned value.
Would you be able to provide me with a X-Request-ID header for a request that is returning the unexpected number value, the version of our API used, as well as a screenshot of the returned payload (please feel free to blur out any sensitive info)?
With that I would be happy to take a closer look.
awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi,
In the response i am getting "source_name": "web" but my question is where are we defining the "source_name"? Is this system generated or not? Also, where i can find "source_name" on Shopify?
I need to create a written documentation and help the customer understand how they can find the "source_name" value.
Also, do you have a list of values that is being mapped to your sales channel?
Hi @Avalara,
I have the same issue where the value of source_name is 1830279 for orders that are created from draft orders.
Does anyone know why is this happening?
The documentation says the source_name can only be field with those values: web, pos, shopify_draft_order, iphone, and android