diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-05-11 16:16:24 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-05-11 16:16:24 -0400 |
| commit | af2de318402df1fd8d33192d71613c21c4ee96bf (patch) | |
| tree | 473c33981032bc73f5a5f4282ef8b1292333ce28 /testdata/printjobcostresp.json | |
| parent | fcfe73600c8548d45820176d58f1c8cfc2327810 (diff) | |
| download | lulu-af2de318402df1fd8d33192d71613c21c4ee96bf.zip | |
implement POST /print-job-cost-calculations
Diffstat (limited to 'testdata/printjobcostresp.json')
| -rw-r--r-- | testdata/printjobcostresp.json | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/testdata/printjobcostresp.json b/testdata/printjobcostresp.json new file mode 100644 index 0000000..f633183 --- /dev/null +++ b/testdata/printjobcostresp.json @@ -0,0 +1,95 @@ +{ + "shipping_address": { + "city": "Lübeck", + "postcode": "23552", + "street1": "Holstenstr. 40", + "phone_number": "844-212-0689", + "state": "", + "country": "DE", + "is_business": false, + "first_name": ".", + "last_name": ".", + "warnings": [ + { + "type": "validation_warning", + "code": "REPLACED", + "path": "external", + "message": "street1: Holstenstr. 40 -> Holstenstraße 40" + } + ], + "suggested_address": { + "country_code": "DE", + "state_code": null, + "postcode": "23552", + "city": "Lübeck", + "street1": "Holstenstraße 40", + "street2": null + } + }, + "fees": [ + { + "currency": "USD", + "fee_type": "HANDLING_FEE", + "sku": "HANDLING_FEE", + "tax_rate": "0.060000", + "total_cost_excl_tax": "14.00", + "total_cost_incl_tax": "14.84", + "total_tax": "0.84" + }, + { + "currency": "USD", + "fee_type": "FULFILLMENT_FEE", + "sku": "FULFILLMENT_FEE", + "tax_rate": "0.060000", + "total_cost_excl_tax": "0.75", + "total_cost_incl_tax": "0.80", + "total_tax": "0.05" + } + ], + "line_item_costs": [ + { + "cost_excl_discounts": "4.95", + "total_tax": "6.93", + "tax_rate": "0.070000", + "quantity": 20, + "total_cost_excl_tax": "99.00", + "total_cost_excl_discounts": "99.00", + "total_cost_incl_tax": "105.93", + "discounts": [], + "unit_tier_cost": "4.95" + }, + { + "cost_excl_discounts": "16.19", + "total_tax": "215.33", + "tax_rate": "0.070000", + "quantity": 200, + "total_cost_excl_tax": "3076.10", + "total_cost_excl_discounts": "3238.00", + "total_cost_incl_tax": "3291.43", + "discounts": [ + { + "amount": "161.90", + "description": "Volume Discount 5%" + } + ], + "unit_tier_cost": "16.19" + } + ], + "shipping_cost": { + "total_cost_excl_tax": "1085.50", + "total_cost_incl_tax": "1161.49", + "total_tax": "75.99", + "tax_rate": "0.19" + }, + "fulfillment_cost": { + "total_cost_excl_tax": "1.05", + "total_cost_incl_tax": "1.12", + "total_tax": "0.07", + "tax_rate": "0.19" + }, + "total_tax": "298.32", + "total_cost_excl_tax": "4261.65", + "total_cost_incl_tax": "4559.97", + "total_discount_amount": "161.90", + "currency": "CAD" +} |