You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there,
great API, I truly love it!
There is just one issue, when trying to add a order ID as custom field to my invoice.
I used this syntax: invoice_data["custom_fields"] = [{'name': "Bestellnummer", 'value': order.get_order_id()}] and when printing this out -> print(data['custom_fields'][0]['value']) I also reccieve the correct value or name. But when including this in my request json, the PDF becomes invalid. When commenting this out, everything is fine.
Thanks for helping me out here!
Kind regards
Ric
The text was updated successfully, but these errors were encountered:
Hey there,
great API, I truly love it!
There is just one issue, when trying to add a order ID as custom field to my invoice.
I used this syntax:
invoice_data["custom_fields"] = [{'name': "Bestellnummer", 'value': order.get_order_id()}]
and when printing this out -> print(data['custom_fields'][0]['value']) I also reccieve the correct value or name. But when including this in my request json, the PDF becomes invalid. When commenting this out, everything is fine.Thanks for helping me out here!
Kind regards
Ric
The text was updated successfully, but these errors were encountered: