diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-05-13 15:47:33 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-05-13 15:47:33 -0400 |
| commit | 48f85453ffbe36f6c428a5d9a23b74122686b64c (patch) | |
| tree | 13720a581029307fd9303f025d9cd8c1012261b3 /testdata | |
| parent | 66ef9438a3489bf8a0b80bb44e320c85261a6658 (diff) | |
| download | lulu-48f85453ffbe36f6c428a5d9a23b74122686b64c.zip | |
test marshal print and reprint requests
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/printreq.json | 31 | ||||
| -rw-r--r-- | testdata/reprintreq.json | 29 |
2 files changed, 60 insertions, 0 deletions
diff --git a/testdata/printreq.json b/testdata/printreq.json new file mode 100644 index 0000000..c1bde40 --- /dev/null +++ b/testdata/printreq.json @@ -0,0 +1,31 @@ +{ + "contact_email": "test@test.com", + "external_id": "demo-time", + "line_items": [ + { + "external_id": "item-reference-1", + "cover": "https://www.dropbox.com/s/7bv6mg2tj0h3l0r/lulu_trade_perfect_template.pdf?dl=1&raw=1", + "interior": "https://www.dropbox.com/s/r20orb8umqjzav9/lulu_trade_interior_template-32.pdf?dl=1&raw=1", + "pod_package_id": "0600X0900.BW.STD.PB.060UW444.MXX", + "quantity": 30, + "title": "My Book" + } + ], + "production_delay": 120, + "shipping_address": { + "city": "Lübeck", + "country_code": "DE", + "name": "Hans Dampf", + "phone_number": "844-212-0689", + "postcode": "23552", + "state_code": "", + "street1": "Holstenstr. 40", + "street2": "", + "email": "", + "title": "", + "is_business": false, + "organization": "", + "recipient_tax_id": "" + }, + "shipping_level": "MAIL" +} diff --git a/testdata/reprintreq.json b/testdata/reprintreq.json new file mode 100644 index 0000000..75544cd --- /dev/null +++ b/testdata/reprintreq.json @@ -0,0 +1,29 @@ +{ + "contact_email": "test@test.com", + "external_id": "demo-time", + "line_items": [ + { + "external_id": "item-reference-1", + "printable_id": "11606ab3-9355-46d3-ae90-338db6f5d271", + "quantity": 30, + "title": "My Book" + } + ], + "production_delay": 120, + "shipping_address": { + "city": "Lübeck", + "country_code": "DE", + "name": "Hans Dampf", + "phone_number": "844-212-0689", + "postcode": "23552", + "state_code": "", + "street1": "Holstenstr. 40", + "street2": "", + "email": "", + "title": "", + "is_business": false, + "organization": "", + "recipient_tax_id": "" + }, + "shipping_level": "MAIL" +} |