aboutsummaryrefslogtreecommitdiffstats
path: root/testdata/jobsresp.json
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-05-21 14:40:50 -0400
committerSam Anthony <sam@samanthony.xyz>2026-05-21 14:40:50 -0400
commit4370a8133c8e9c870d7d2c659f27ac655896eec0 (patch)
treea36bfb14030c6a01a9753aa0162c06d5c175fcfd /testdata/jobsresp.json
parent473bfaddb6acd44e208406a224d75b75fdf9ec97 (diff)
downloadlulu-4370a8133c8e9c870d7d2c659f27ac655896eec0.zip
shorten client method names; implement order cancelation
Diffstat (limited to 'testdata/jobsresp.json')
-rw-r--r--testdata/jobsresp.json119
1 files changed, 119 insertions, 0 deletions
diff --git a/testdata/jobsresp.json b/testdata/jobsresp.json
new file mode 100644
index 0000000..3f43d2c
--- /dev/null
+++ b/testdata/jobsresp.json
@@ -0,0 +1,119 @@
+{
+ "count": 1,
+ "next": "https://api.lulu.com/resources/?page=1&page_size=1",
+ "previous": "https://api.lulu.com/resources/?page=1&page_size=1",
+ "results": [
+ {
+ "contact_email": "test@test.com",
+ "costs": {
+ "line_item_costs": null,
+ "shipping_cost": {
+ "total_cost_excl_tax": "132.74",
+ "total_cost_incl_tax": "132.74",
+ "total_tax": "0.00",
+ "tax_rate": "0.000000"
+ },
+ "fulfillment_cost": {
+ "total_cost_excl_tax": "0.75",
+ "total_cost_incl_tax": "0.81",
+ "total_tax": "0.06",
+ "tax_rate": "0.080000"
+ },
+ "fees": [
+ {
+ "currency": "USD",
+ "fee_type": "HANDLING_FEE",
+ "sku": "HANDLING_FEE_6",
+ "tax_rate": "0.088750",
+ "total_cost_excl_tax": "4.00",
+ "total_cost_incl_tax": "4.36",
+ "total_tax": "0.36"
+ }
+ ],
+ "total_cost_excl_tax": "123.45",
+ "total_cost_incl_tax": "678.00",
+ "total_tax": "0.123400"
+ },
+ "date_created": "2017-08-07T08:47:26.485456Z",
+ "date_modified": "2017-08-07T08:47:26.485490Z",
+ "estimated_shipping_dates": {
+ "arrival_max": "2017-08-12",
+ "arrival_min": "2017-08-10",
+ "dispatch_max": "2017-08-09",
+ "dispatch_min": "2017-08-07"
+ },
+ "external_id": "demo-time",
+ "id": 1,
+ "line_items": [
+ {
+ "external_id": "item-reference-1",
+ "id": 1,
+ "printable_id": null,
+ "printable_normalization": {
+ "cover": {
+ "job_id": null,
+ "normalized_file": null,
+ "page_count": null,
+ "source_file": null,
+ "source_md5_sum": "e78512c777e7f5841fe8f1992cefb898",
+ "source_url": "https://www.dropbox.com/sh/p3zh22vzsaegiri/AADP367j0bTWlt8fCu-_tm2ia/161025/139056_cover.pdf?dl=1"
+ },
+ "interior": {
+ "job_id": null,
+ "normalized_file": null,
+ "page_count": null,
+ "source_file": null,
+ "source_md5_sum": "7f8af20c296747689756f8e310135d79",
+ "source_url": "https://www.dropbox.com/sh/p3zh22vzsaegiri/AACOUn3LFKsITDzylh13bQpsa/161025/thesis2.pdf?dl=1"
+ },
+ "pod_package_id": "0600X0900.BW.STD.PB.060UW444.MXX"
+ },
+ "quantity": 20,
+ "status": {
+ "messages": {
+ "info": "Line-item is currently being validated"
+ },
+ "name": "CREATED"
+ },
+ "title": "My Book"
+ }
+ ],
+ "production_delay": 120,
+ "production_due_time": null,
+ "shipping_address": {
+ "city": "Lübeck",
+ "country_code": "DE",
+ "is_business": false,
+ "name": "Hans Dampf",
+ "phone_number": "844-212-0689",
+ "postcode": "23552",
+ "state_code": "",
+ "street1": "Holstenstr. 40",
+ "street2": "",
+ "warnings": [
+ {
+ "type": "validation_warning",
+ "path": "external",
+ "code": "REPLACED",
+ "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
+ }
+ },
+ "shipping_level": "MAIL",
+ "shipping_option_level": "MAIL",
+ "status": {
+ "changed": "2017-08-07T08:47:26.480493Z",
+ "message": "Print-job is currently being validated",
+ "name": "CREATED"
+ }
+ }
+ ]
+}