Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Developer API operation for PATCH /dev/v1/invoices/.
cURL
curl --request PATCH \ --url https://api.shoppex.io/dev/v1/invoices/{uniqid} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "gateway": "PANDABASE", "apmMethod": "card", "name": "Alex", "surname": "Buyer", "addressLine1": "Example Street 1", "addressCity": "Berlin", "addressCountry": "DE", "addressPostalCode": "10115" } '
{ "data": { "id": "inv_2", "uniqid": "22222222-2222-4222-8222-222222222222", "type": "PRODUCT", "shop_id": "shop_1", "customer_email": "[email protected]", "currency": "USD", "total": 19.99, "total_display": 19.99, "status": "PENDING", "payment_status": "PENDING", "gateway": "PANDABASE", "items": [ { "product_id": "prod_2", "product_title": "Pro Pack", "quantity": 1, "unit_price": 19.99, "total": 19.99, "delivered_items": { "service_text": "Join the private channel" } } ], "created_at": 1711957200, "updated_at": 1711957800 } }
Use your Shoppex API key in the Authorization header.
The body is of type object.
object
Successful response