aboutsummaryrefslogtreecommitdiffstats
path: root/testdata/jobsresp.json
blob: 3f43d2c8065ff9e0c38d579349372018b0dffa80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
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"
      }
    }
  ]
}