Hi,
For a client of mine, I need to use the Pokamark’s API, however, it’s structured as follows:
order[cards_attributes][0][product_name]=standard
order[cards_attributes][0][picture]=@/front.jpg
order[cards_attributes][0][name]=Max Mustermann
order[cards_attributes][0][street]=Musterstr. 22
order[cards_attributes][0][zip]=22345
order[cards_attributes][0][city]=Berlin
order[cards_attributes][0][country]=DE
order[cards_attributes][0][text]="This is a greeting text.\nSecond line..."
order[cards_attributes][0][text_color]=#000000
=> Status: 201, Body:
{"id":1950418,"cards":[{"id":1950777,"company":null,"title":null,"name":"Tester","store
et":null,"zip":null,"city":null,"state":null,"country":"Germany","product_name":"stand
ard","text_color":"#123456","text":"halooooo","picture_id":2386966,"font_id":24,"ship_
date":"2014-02-01"}]}
Anyone who could share some light on using an API like this? Thanks!
Here’s the full documentation: https://pokamax.com/docs/Reseller-Api-Documentation-V1-EN.pdf
Maybe you @Jici ?