This is Documentation for the V1 API
V2 API docmentation is located at developers.getwhiplash.com/
HTTP/1.1 200 OK [ { "id":12345, "parent_item_id":null, "item_id":1234, "quantity":5, "bundle_id":1234, "max_per_package"=>1, "created_at":"2017-05-18T07:38:27-04:00", "updated_at":"2017-05-18T07:38:27-04:00" } ]
Name | Type | Description |
---|---|---|
limit | Integer | The number of results returned. Default is 50 |
offset/page | Integer | Page to show (defaults to 1) |
order_by | String | Order (defaults to updated_at DESC |
since_id | Integer | Restrict results to after the specified ID |
created_at_min | Datetime | Show results created after date (format: 2008-01-01 03:00) |
created_at_max | Datetime | Show results created before date (format: 2008-01-01 03:00) |
updated_at_min | Datetime | Show results last updated after date (format: 2008-01-01 03:00) |
updated_at_max | Datetime | Show results last updated before date (format: 2008-01-01 03:00) |
HTTP/1.1 200 OK { "id":12345, "parent_item_id":null, "item_id":1234, "quantity":5, "bundle_id":1234, "max_per_package"=>1, "created_at":"2017-05-18T07:38:27-04:00", "updated_at":"2017-05-18T07:38:27-04:00" }
HTTP/1.1 200 OK { "id":12345, "parent_item_id":null, "item_id":1234, "quantity":5, "bundle_id":1234, "max_per_package"=>1, "created_at":"2017-05-18T07:38:27-04:00", "updated_at":"2017-05-18T07:38:27-04:00" }
Name | Type | Description |
---|---|---|
item_id | Integer | The item this bundle item belongs to (required) |
bundle_id | Integer | The bundle this bundle item belongs to (required) |
quantity | Integer | Number of this bundle item in the bundle (required) |
max_per_package | Integer | The max number of this bundle item per package |
HTTP/1.1 204 OK
Name | Type | Description |
---|---|---|
item_id | Integer | The item this bundle item belongs to |
bundle_id | Integer | The bundle this bundle item belongs to |
quantity | Integer | Number of this bundle item in the bundle |
max_per_package | Integer | The max number of this bundle item per package |
HTTP/1.1 204 OK