Order source_name issue

SKULynk
New Member
2 0 0

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"

Replies 2 (2)
awwdam
Shopify Staff
176 32 18

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

Avalara
New Member
2 0 0

Hi,

In the response i am getting "source_name": "webbut 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?