Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

Re: Order API Error

Order API Error

flyingsam
Visitor
2 0 2

I need some help. I've been stuck on this issue all day.

 

I'm trying to create a test order via the Order API.

I'm currently using Celigo as a middleware, which hasn't given me any issues with any of the GET requests for Shopify.

The error I receive when I try to create the order is as follows:

"{\"errors\":{\"line_items\":[\"product variant 0 not found, `price` must provided.\"]}}"


I've added two pieces of information:

1. Variant ID

2. Quantity

I'm unclear as to what the issue is as the product has both the PRICE and COMPARE AT PRICE.

 

Has anyone else run into similar issues? 

Reply 1 (1)

Jason
Shopify Partner
11207 226 2321

Can you post json the data you're sending, along with the request ID you get back in the headers?

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★