Een orderbevestiging voor webwinkels. Ze bedankt de klant bij naam en toont het ordernummer, de geschatte levering en de verzendmethode, elk artikel met variant, artikelnummer en prijs, de korting, verzending, belasting en het totaal, het verzend- en factuuradres, de betaalmethode en een link om de bestelling te volgen. Download het Word-bestand om het aan te passen aan uw winkel en verstuur een bevestiging voor elke bestelling.
Upload het sjabloon en stuur daarna de gestructureerde data om het voltooide document te ontvangen. Vervang YOUR_API_KEY door uw unieke sleutel en YOUR_TEMPLATE_ID door de ID van uw sjabloon.
Stuur een array van JSON-objecten en ontvang één document per object in een ZIP-archief. Gebruik de parameter output_name om elke bestandsnaam te bepalen met de merge-tags van uw sjabloon.
curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"data": {
"store_name": "Wildgrove Outdoors",
"store_address": "310 Pine Street, Portland, OR 97204",
"support_email": "help@wildgrove.shop",
"support_phone": "(800) 555-0166",
"currency": "USD",
"order_number": "#WG-58231",
"order_date": "October 16, 2026",
"customer_first_name": "Sophie",
"delivery_estimate": "October 21 to 23, 2026",
"shipping_method": "Standard ground shipping",
"discount_code": "WELCOME10",
"shipping_name": "Sophie Laurent",
"shipping_address": "2200 SW Park Avenue, Apt 5, Portland, OR 97201",
"billing_name": "Sophie Laurent",
"billing_address": "2200 SW Park Avenue, Apt 5, Portland, OR 97201",
"payment_method": "Visa ending in 4242",
"tracking_url": "https://wildgrove.shop/track/WG-58231",
"items": [
{
"name": "Trail Backpack 28L",
"variant": "Forest green",
"sku": "WG-BPK-28G",
"quantity": "1",
"unit_price": "89.00",
"amount": "89.00"
},
{
"name": "Insulated Bottle 750 ml",
"variant": "Matte black",
"sku": "WG-BTL-75B",
"quantity": "2",
"unit_price": "28.00",
"amount": "56.00"
},
{
"name": "Rechargeable Headlamp",
"variant": "Standard",
"sku": "WG-LMP-01",
"quantity": "1",
"unit_price": "34.50",
"amount": "34.50"
}
],
"subtotal": "179.50",
"has_discount": true,
"discount": "17.95",
"shipping": "Free",
"tax": "12.92",
"total": "174.47"
}
}' curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"single_file": false,
"output_name": "Order Confirmation [order_number]",
"data": [
{ "store_name": "Wildgrove Outdoors", "store_address": "310 Pine Street, Portland, OR 97204", "support_email": "help@wildgrove.shop", "support_phone": "(800) 555-0166", "currency": "USD", "order_number": "#WG-58231", "order_date": "October 16, 2026", "customer_first_name": "Sophie", "delivery_estimate": "October 21 to 23, 2026", "shipping_method": "Standard ground shipping", "discount_code": "WELCOME10", "shipping_name": "Sophie Laurent", "shipping_address": "2200 SW Park Avenue, Apt 5, Portland, OR 97201", "billing_name": "Sophie Laurent", "billing_address": "2200 SW Park Avenue, Apt 5, Portland, OR 97201", "payment_method": "Visa ending in 4242", "tracking_url": "https://wildgrove.shop/track/WG-58231", "items": [{"name":"Trail Backpack 28L","variant":"Forest green","sku":"WG-BPK-28G","quantity":"1","unit_price":"89.00","amount":"89.00"},{"name":"Insulated Bottle 750 ml","variant":"Matte black","sku":"WG-BTL-75B","quantity":"2","unit_price":"28.00","amount":"56.00"},{"name":"Rechargeable Headlamp","variant":"Standard","sku":"WG-LMP-01","quantity":"1","unit_price":"34.50","amount":"34.50"}], "subtotal": "179.50", "has_discount": true, "discount": "17.95", "shipping": "Free", "tax": "12.92", "total": "174.47" },
{ "store_name": "Wildgrove Outdoors", "store_address": "310 Pine Street, Portland, OR 97204", "support_email": "help@wildgrove.shop", "support_phone": "(800) 555-0166", "currency": "USD", "order_number": "#WG-58236", "order_date": "October 17, 2026", "customer_first_name": "Daniel", "delivery_estimate": "October 22 to 24, 2026", "shipping_method": "Standard ground shipping", "discount_code": "", "shipping_name": "Daniel Okafor", "shipping_address": "88 Oak Street, Apt 3, Beaverton, OR 97005", "billing_name": "Daniel Okafor", "billing_address": "88 Oak Street, Apt 3, Beaverton, OR 97005", "payment_method": "Mastercard ending in 5521", "tracking_url": "https://wildgrove.shop/track/WG-58236", "items": [{"name":"Sleeping Bag 3-Season","variant":"Regular, slate blue","sku":"WG-SLP-3S","quantity":"1","unit_price":"149.00","amount":"149.00"},{"name":"Sleeping Pad","variant":"Standard","sku":"WG-PAD-ST","quantity":"1","unit_price":"79.00","amount":"79.00"},{"name":"Dry Bag 10 L","variant":"Orange","sku":"WG-DRY-10","quantity":"2","unit_price":"18.00","amount":"36.00"}], "subtotal": "264.00", "has_discount": false, "discount": "0.00", "shipping": "Free", "tax": "21.12", "total": "285.12" },
{ "store_name": "Wildgrove Outdoors", "store_address": "310 Pine Street, Portland, OR 97204", "support_email": "help@wildgrove.shop", "support_phone": "(800) 555-0166", "currency": "USD", "order_number": "#WG-58240", "order_date": "October 18, 2026", "customer_first_name": "Mei", "delivery_estimate": "October 20 to 21, 2026", "shipping_method": "Express 2-day shipping", "discount_code": "AUTUMN15", "shipping_name": "Mei Tanaka", "shipping_address": "1204 NE Alberta Street, Portland, OR 97211", "billing_name": "Mei Tanaka", "billing_address": "1204 NE Alberta Street, Portland, OR 97211", "payment_method": "PayPal", "tracking_url": "https://wildgrove.shop/track/WG-58240", "items": [{"name":"Trekking Poles","variant":"Pair, black","sku":"WG-POL-TR","quantity":"1","unit_price":"64.00","amount":"64.00"},{"name":"Merino Hiking Socks","variant":"Medium, charcoal","sku":"WG-SOK-MC","quantity":"2","unit_price":"22.00","amount":"44.00"},{"name":"Water Filter Bottle","variant":"Blue","sku":"WG-WFB-01","quantity":"1","unit_price":"39.00","amount":"39.00"}], "subtotal": "147.00", "has_discount": true, "discount": "22.05", "shipping": "14.95", "tax": "10.00", "total": "149.90" },
{ "store_name": "Wildgrove Outdoors", "store_address": "310 Pine Street, Portland, OR 97204", "support_email": "help@wildgrove.shop", "support_phone": "(800) 555-0166", "currency": "USD", "order_number": "#WG-58244", "order_date": "October 19, 2026", "customer_first_name": "Lucas", "delivery_estimate": "October 24 to 26, 2026", "shipping_method": "Standard ground shipping", "discount_code": "", "shipping_name": "Emma Bernard", "shipping_address": "19 Willow Court, Eugene, OR 97401", "billing_name": "Lucas Bernard", "billing_address": "455 Grove Avenue, Salem, OR 97301", "payment_method": "Visa ending in 1188", "tracking_url": "https://wildgrove.shop/track/WG-58244", "items": [{"name":"Rain Shell Jacket","variant":"Medium, sage","sku":"WG-JKT-RS","quantity":"1","unit_price":"129.00","amount":"129.00"},{"name":"Fleece Beanie","variant":"One size, charcoal","sku":"WG-BNI-01","quantity":"1","unit_price":"24.00","amount":"24.00"},{"name":"Camp Mug 350 ml","variant":"Enamel, white","sku":"WG-MUG-35","quantity":"2","unit_price":"14.00","amount":"28.00"}], "subtotal": "181.00", "has_discount": false, "discount": "0.00", "shipping": "Free", "tax": "14.48", "total": "195.48" },
{ "store_name": "Wildgrove Outdoors", "store_address": "310 Pine Street, Portland, OR 97204", "support_email": "help@wildgrove.shop", "support_phone": "(800) 555-0166", "currency": "USD", "order_number": "#WG-58249", "order_date": "October 20, 2026", "customer_first_name": "Anika", "delivery_estimate": "October 25 to 27, 2026", "shipping_method": "Standard ground shipping", "discount_code": "WELCOME10", "shipping_name": "Anika Rao", "shipping_address": "2750 SE Hawthorne Boulevard, Portland, OR 97214", "billing_name": "Anika Rao", "billing_address": "2750 SE Hawthorne Boulevard, Portland, OR 97214", "payment_method": "Apple Pay", "tracking_url": "https://wildgrove.shop/track/WG-58249", "items": [{"name":"2-Person Tent","variant":"Sand","sku":"WG-TNT-2S","quantity":"1","unit_price":"219.00","amount":"219.00"},{"name":"Sleeping Pad","variant":"Standard","sku":"WG-PAD-ST","quantity":"2","unit_price":"79.00","amount":"158.00"},{"name":"Rechargeable Headlamp","variant":"Standard","sku":"WG-LMP-01","quantity":"1","unit_price":"34.50","amount":"34.50"}], "subtotal": "411.50", "has_discount": true, "discount": "41.15", "shipping": "Free", "tax": "29.63", "total": "399.98" },
{ "store_name": "Wildgrove Outdoors", "store_address": "310 Pine Street, Portland, OR 97204", "support_email": "help@wildgrove.shop", "support_phone": "(800) 555-0166", "currency": "USD", "order_number": "#WG-58253", "order_date": "October 21, 2026", "customer_first_name": "Tomas", "delivery_estimate": "October 26 to 28, 2026", "shipping_method": "Standard ground shipping", "discount_code": "", "shipping_name": "Tomas Rivera", "shipping_address": "630 Harbor Drive, Astoria, OR 97103", "billing_name": "Tomas Rivera", "billing_address": "630 Harbor Drive, Astoria, OR 97103", "payment_method": "Amex ending in 3004", "tracking_url": "https://wildgrove.shop/track/WG-58253", "items": [{"name":"Trail Backpack 28L","variant":"Forest green","sku":"WG-BPK-28G","quantity":"1","unit_price":"89.00","amount":"89.00"},{"name":"Packable Daypack","variant":"Orange","sku":"WG-DPK-PK","quantity":"1","unit_price":"45.00","amount":"45.00"},{"name":"Dry Bag 10 L","variant":"Orange","sku":"WG-DRY-10","quantity":"2","unit_price":"18.00","amount":"36.00"}], "subtotal": "170.00", "has_discount": false, "discount": "0.00", "shipping": "Free", "tax": "13.60", "total": "183.60" },
{ "store_name": "Wildgrove Outdoors", "store_address": "310 Pine Street, Portland, OR 97204", "support_email": "help@wildgrove.shop", "support_phone": "(800) 555-0166", "currency": "USD", "order_number": "#WG-58258", "order_date": "October 22, 2026", "customer_first_name": "Chloe", "delivery_estimate": "October 27 to 29, 2026", "shipping_method": "Standard ground shipping", "discount_code": "WELCOME10", "shipping_name": "Chloe Martin", "shipping_address": "17 Cedar Street, Vancouver, WA 98660", "billing_name": "Chloe Martin", "billing_address": "17 Cedar Street, Vancouver, WA 98660", "payment_method": "Visa ending in 7710", "tracking_url": "https://wildgrove.shop/track/WG-58258", "items": [{"name":"Insulated Bottle 750 ml","variant":"Matte black","sku":"WG-BTL-75B","quantity":"2","unit_price":"28.00","amount":"56.00"},{"name":"Camp Mug 350 ml","variant":"Enamel, white","sku":"WG-MUG-35","quantity":"2","unit_price":"14.00","amount":"28.00"},{"name":"Titanium Spork","variant":"Matte grey","sku":"WG-SPK-02","quantity":"1","unit_price":"9.00","amount":"9.00"}], "subtotal": "93.00", "has_discount": true, "discount": "9.30", "shipping": "7.95", "tax": "6.70", "total": "98.35" },
{ "store_name": "Wildgrove Outdoors", "store_address": "310 Pine Street, Portland, OR 97204", "support_email": "help@wildgrove.shop", "support_phone": "(800) 555-0166", "currency": "USD", "order_number": "#WG-58262", "order_date": "October 22, 2026", "customer_first_name": "Ravi", "delivery_estimate": "October 27 to 29, 2026", "shipping_method": "Standard ground shipping", "discount_code": "", "shipping_name": "Ravi Patel", "shipping_address": "905 NW 23rd Avenue, Portland, OR 97210", "billing_name": "Ravi Patel", "billing_address": "905 NW 23rd Avenue, Portland, OR 97210", "payment_method": "Mastercard ending in 9033", "tracking_url": "https://wildgrove.shop/track/WG-58262", "items": [{"name":"Compact Camp Stove","variant":"Single burner","sku":"WG-STV-01","quantity":"1","unit_price":"42.00","amount":"42.00"},{"name":"Gas Canister 230 g","variant":"Pack of 1","sku":"WG-GAS-230","quantity":"4","unit_price":"7.50","amount":"30.00"},{"name":"First Aid Kit","variant":"Compact","sku":"WG-FAK-C","quantity":"1","unit_price":"26.00","amount":"26.00"}], "subtotal": "98.00", "has_discount": false, "discount": "0.00", "shipping": "7.95", "tax": "7.84", "total": "113.79" },
{ "store_name": "Wildgrove Outdoors", "store_address": "310 Pine Street, Portland, OR 97204", "support_email": "help@wildgrove.shop", "support_phone": "(800) 555-0166", "currency": "USD", "order_number": "#WG-58267", "order_date": "October 23, 2026", "customer_first_name": "Hannah", "delivery_estimate": "October 25 to 26, 2026", "shipping_method": "Express 2-day shipping", "discount_code": "AUTUMN15", "shipping_name": "Hannah Fischer", "shipping_address": "3301 Lakeview Road, Bend, OR 97702", "billing_name": "Hannah Fischer", "billing_address": "3301 Lakeview Road, Bend, OR 97702", "payment_method": "Visa ending in 2467", "tracking_url": "https://wildgrove.shop/track/WG-58267", "items": [{"name":"Rain Shell Jacket","variant":"Medium, sage","sku":"WG-JKT-RS","quantity":"1","unit_price":"129.00","amount":"129.00"},{"name":"Merino Hiking Socks","variant":"Medium, charcoal","sku":"WG-SOK-MC","quantity":"2","unit_price":"22.00","amount":"44.00"},{"name":"Trail Backpack 28L","variant":"Forest green","sku":"WG-BPK-28G","quantity":"1","unit_price":"89.00","amount":"89.00"}], "subtotal": "262.00", "has_discount": true, "discount": "39.30", "shipping": "14.95", "tax": "17.82", "total": "255.47" },
{ "store_name": "Wildgrove Outdoors", "store_address": "310 Pine Street, Portland, OR 97204", "support_email": "help@wildgrove.shop", "support_phone": "(800) 555-0166", "currency": "USD", "order_number": "#WG-58271", "order_date": "October 23, 2026", "customer_first_name": "Oliver", "delivery_estimate": "October 28 to 30, 2026", "shipping_method": "Standard ground shipping", "discount_code": "", "shipping_name": "Oliver Grant", "shipping_address": "81 Ridge Way, Hood River, OR 97031", "billing_name": "Oliver Grant", "billing_address": "81 Ridge Way, Hood River, OR 97031", "payment_method": "PayPal", "tracking_url": "https://wildgrove.shop/track/WG-58271", "items": [{"name":"Sleeping Bag 3-Season","variant":"Regular, slate blue","sku":"WG-SLP-3S","quantity":"1","unit_price":"149.00","amount":"149.00"},{"name":"Rechargeable Headlamp","variant":"Standard","sku":"WG-LMP-01","quantity":"1","unit_price":"34.50","amount":"34.50"},{"name":"Fleece Beanie","variant":"One size, charcoal","sku":"WG-BNI-01","quantity":"2","unit_price":"24.00","amount":"48.00"}], "subtotal": "231.50", "has_discount": false, "discount": "0.00", "shipping": "Free", "tax": "18.52", "total": "250.02" }
]
}' Veelgestelde vragen over onze bestelsjablonen
Ga aan de slag met 20 gratis documenten per maand en onze kant-en-klare bestelsjablonen.