I am trying to connect Prodigi Printing API to my app. I don’t understand how to put arrays into API parameters and cannot find a suitable reference. I tried just pasting the JSON code but it doesn’t work.
How do I set up the following API Post Call in the API connector? TIA
{
“merchantReference”: “ORDER-12345”,
“shippingMethod”: “standard”,
“recipient”: {
“name”: “John Doe”,
“address”: {
“line1”: “123 Main Street”,
“city”: “London”,
“postcode”: “W1A 1AA”,
“countryCode”: “GB”
}
},
“items”: [
{
“sku”: “GLOBAL-CAN-16X24”,
“copies”: 1,
“assets”: [
{
“printArea”: “default”,
“url”: “https://your-image-url.com/image.jpg”
}
]
}
]
}