{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","params":[],"results":{"codes":[]}},"next":{"description":"","pages":[]},"title":"Shipment Batch Methods","type":"basic","slug":"shipment-batch-methods","excerpt":"","body":"The following methods operate on the [Shipment Batch](doc:shipment-batches) resource.\n\n# List all shipment_batches\n[block:html]\n{\n  \"html\": \"<div class=\\\"endpoint list\\\">\\n  <span class=\\\"method get\\\">GET</span>\\n  <span class=\\\"uri\\\">\\n    http://api.cratejoy.com/v1/shipment_batches/\\n  </span>\\n</div>\"\n}\n[/block]\n# List Carts\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$.get('https://api.cratejoy.com/v1/shipment_batches/');\",\n      \"language\": \"javascript\",\n      \"name\": \"List\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"count\\\": 1,\\n  \\\"next\\\": null,\\n  \\\"prev\\\": null,\\n  \\\"results\\\": [{\\n    'end': '2016-07-04T00:00:00Z', \\n    'start': '2016-06-04T00:00:00Z', \\n    'end_inclusive': '2016-07-03T00:00:00Z', \\n    'product_billing_id': 84, \\n    'type': 'shipping_batch', \\n    'id': 108\\n  }]\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Response: 200 OK\"\n    }\n  ]\n}\n[/block]","updates":[],"order":9,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"58112e72ded0340f0085d042","user":"55253acaf0f4610d00f7193f","githubsync":"","project":"551e85be610f400d00837db7","parentDoc":null,"__v":0,"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Merchant API Methods","slug":"merchant-api-methods","order":7,"from_sync":false,"reference":false,"_id":"58112e72ded0340f0085d032","project":"551e85be610f400d00837db7","__v":0,"version":"58112e71ded0340f0085d02a","createdAt":"2015-08-17T19:28:09.961Z"},"createdAt":"2016-06-11T16:53:44.699Z","version":{"version":"2.0","version_clean":"2.0.0","codename":"new designer","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["58112e72ded0340f0085d02b","58112e72ded0340f0085d02c","58112e72ded0340f0085d02d","58112e72ded0340f0085d02e","58112e72ded0340f0085d02f","58112e72ded0340f0085d030","58112e72ded0340f0085d031","58112e72ded0340f0085d032","58112e72ded0340f0085d033","58112e72ded0340f0085d034","581137cc604d3c230048b7e4","58dc367221742d0f00a73f98","590768e54669da0f00db5c0b"],"_id":"58112e71ded0340f0085d02a","createdAt":"2016-10-26T22:30:09.862Z","project":"551e85be610f400d00837db7","releaseDate":"2016-10-26T22:30:09.862Z","__v":4}}

Shipment Batch Methods


The following methods operate on the [Shipment Batch](doc:shipment-batches) resource. # List all shipment_batches [block:html] { "html": "<div class=\"endpoint list\">\n <span class=\"method get\">GET</span>\n <span class=\"uri\">\n http://api.cratejoy.com/v1/shipment_batches/\n </span>\n</div>" } [/block] # List Carts [block:code] { "codes": [ { "code": "$.get('https://api.cratejoy.com/v1/shipment_batches/');", "language": "javascript", "name": "List" } ] } [/block] [block:code] { "codes": [ { "code": "{\n \"count\": 1,\n \"next\": null,\n \"prev\": null,\n \"results\": [{\n 'end': '2016-07-04T00:00:00Z', \n 'start': '2016-06-04T00:00:00Z', \n 'end_inclusive': '2016-07-03T00:00:00Z', \n 'product_billing_id': 84, \n 'type': 'shipping_batch', \n 'id': 108\n }]\n}", "language": "json", "name": "Response: 200 OK" } ] } [/block]