🚀 New: Edit Shoppex themes from the dashboard, the CLI, or an AI agent — one unified workflow. Learn more →
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
}
}Developer API operation for PATCH /dev/v1/invoices/.
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
}
}