Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
We're trying to post orders to picqer through Flow but this json format only sends orders with only one product, if it has anything more than two products in the order, the order won't get posted to picqer(http request). What do we have to change?
{
"idcustomer": null,
"deliveryname": "{{order.customer.displayName}}",
"deliveryaddress": "{{order.shippingAddress.address1}}, {{order.shippingAddress.address2}}",
"deliveryzipcode": "{{order.shippingAddress.zip}}",
"deliverycity": "{{order.shippingAddress.city}}",
"deliverycountry": "{{order.shippingAddress.countryCodeV2}}",
"invoicename": "{{order.billingAddress.name}}",
"invoiceaddress": "{{order.billingAddress.address1}}, {{order.billingAddress.address2}}",
"invoicezipcode": "{{order.billingAddress.zip}}",
"invoicecity": "{{order.billingAddress.city}}",
"invoicecountry": "{{order.billingAddress.countryCodeV2}}",
"products": [
{% for lineItems_item in order.lineItems %}
{
"productcode": "{{lineItems_item.variant.sku}}",
"amount": {{lineItems_item.quantity}}
}
{% endfor %}
]
}
Hi @tison3iai
yes we can send multiple products in order
you can check here : https://shopify.dev/api/admin-rest/2021-10/resources/order#resource_object
User | RANK |
---|---|
3 | |
2 | |
2 | |
2 | |
1 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023