invalid attribute order api

Antonio84
Shopify Partner
49 1 3

Hello, I am trying to create an order but after I called save method I am getting false as result.

This is the json:

 

{
"order": {
"note": "ordine MANOMANO, id: M220241295199",
"note_attributes": [
{
"name": "manomano order id",
"value": "M220241295199"
}
],
"email": "m_CBHGJJEA3EBCJFBJJ2DECGGGJ11@preprod-message.manomano.com",
"total_price": 14.98,
"financial_status": "paid",
"created_at": "2022-02-15 14:50:06",
"processed_at": "2022-02-15 14:50:06",
"currency": "EUR",
"shipping_address": {
"address1": "Via62ffb8939",
"address2": null,
"city": "Mig9bd932227",
"company": null,
"country": "Italie",
"first_name": "Bib9ce45fff9",
"last_name": "Mor248eacd92",
"name": "Bib9ce45fff9 Mor248eacd92",
"phone": "0114573789",
"email": "m_CBHGJJEA3EBCJFBJJ2DECGGGJ11@preprod-message.manomano.com",
"zip": "66010"
},
"billing_address": {
"address1": "Via62ffb8939",
"address2": null,
"city": "Mig9bd932227",
"company": null,
"country": "Italie",
"first_name": "Bib9ce45fff9",
"last_name": "Mor248eacd92",
"name": "Bib9ce45fff9 Mor248eacd92",
"phone": "0165113183",
"email": "m_CBHGJJEA3EBCJFBJJ2DECGGGJ11@preprod-message.manomano.com",
"zip": "66010"
},
"total_shipping_price_set": {
"shop_money": {
"amount": "6.00",
"currency_code": "EUR"
}
},
"customer": {
"first_name": "Biba",
"last_name": "Morena",
"phone": "0114573789"
},
"fulfillment_status": "unfulfilled",
"shipping_lines": [
{
"id": 68285595815,
"title": "Standard Manomano",
"carrier_identifier": "GLS",
"discounted_price": 0.0,
"price": "6.00",
"source": "shopify"
}
],
"transactions": {
"kind": "capture",
"status": "success",
"currency": "EUR",
"gateway": "manual",
"amount": 14.98,
"source": "external"
},
"inventory_behaviour": "decrement_obeying_policy",
"location_id": 61781770407,
"phone": "0114573789",
"tags": [
"manomano"
],
"total_weight": 200.0,
"line_items": [
{
"quantity": 2,
"price": 4.49,
"variant_id": 41987372548263,
"title": "Pannelli 3D Rivestimento a parete in PVC effetto pietra GRIGIA NATURALE Realistici e isolanti."
}
]
}
}

 

 

What is wrong?

Replies 0 (0)