Discussing APIs and development related to customers, discounts, and order management.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
We're trying to migrate our custom checkout script to use a custom pixel, but we're missing some key information.
We're using the checkout_completed event and need the order.name at this point. All we get on the object is the order.id.
We'd like to put in a request to add this missing data. Without this information, the order names that our return partners are passing us cannot be correlated to the orders.
Solved! Go to the solution
This is an accepted solution.
Hi David,
Could you use the order.id field that you get from the checkout_completed event, and query orders to get the order name?
Liam | Developer Advocate @ 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
This is an accepted solution.
Hi David,
Could you use the order.id field that you get from the checkout_completed event, and query orders to get the order name?
Liam | Developer Advocate @ 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 Liam,
Thanks for the response. I figured that might be a solution, but if i understand it correctly, we'd need an app (or our partner to give us an API key) and then we'd have to call the API for each order? We can't just call the admin API from a pixel can we?
Correct - you'll need an API key to make an authenticated API call.
Liam | Developer Advocate @ 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 Liam,
We're trying to roll this into an App Pixel, but we're stuck unable to update the pixel during development. We came across this other issue, which aligns with what we're seeing
Could someone on your side update this issue, and provide work arounds if they exist?
We're currently blocked by this, from moving our checkout scripts to pixels.