Hey Guys,
I have a problem with order created using Shopify Admin API REST (latest) .
I've build custom checkout Page for a clients to just create orders in Shopify.
Order is created successfully, however when I mark this order as "paid" and click Fulfill item
inventory is not affected at all? there is only one inventory location in target store...
Any ideas why?
Here is my JSON:
{
"order": {
"line_items": [
{
"name": "Marttiini CKP CHEF'S KNIFE 15 (755114P)",
"title": "Marttiini CKP CHEF'S KNIFE 15 (755114P)",
"price": 138,
"quantity": 1,
"variant_id": 40626893881459,
"location_id":35835314291
},
{
"name": "SOG Trident AT - Black + Red - Serrated",
"title": "SOG Trident AT - Black + Red - Serrated",
"price": 327,
"quantity": 1,
"variant_id": 39426742812787,
"location_id":35835314291
},
{
"name": "Delivery",
"title": "Delivery",
"price": 10,
"quantity": 1,
"variant_id": 39368476983411
}
],
"customer": {
"first_name": "oto",
"last_name": "test",
"email": "test@gmail.com"
},
"billing_address": {
"address1": "Tbilisi",
"city": "Tbilisi",
"phone": "555112233",
"country": "geo",
"first_name": "test",
"last_name": "test",
"zip": "01001010910",
"province": "Tbilisi"
},
"shipping_address": {
"address1": "Tbilisi",
"city": "Tbilisi",
"phone": "555112233",
"country": "geo",
"first_name": "test",
"last_name": "test",
"zip": "01001010910",
"province": "Tbilisi"
},
"email": "test123@gmail.com",
"financial_status": "pending"
}
}