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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024