Paw Paw Wine API Info
All results of accessing the API will return JSON as the response. There is no XML option.
- https://api.ppwd.barnesbrothers.net/item
Returns a list of items in the database. Returns the following attributes for each item:
- name
- quantity
- pack
- created_at
- updated_at
- https://api.ppwd.barnesbrothers.net/item/{id}
Returns a specific item in the database based on id that is passed in the URL. Returns the following attributes for each item:
- name
- quantity
- pack
- created_at
- updated_at
- https://api.ppwd.barnesbrothers.net/item_bs/{id}
Returns an array of all the locations and associated quantities for a given item. The item id must be part of the URL to get a response.
- item_id
- backstock_id
- quantity
- receive_date
- cycle_date
- created_at
- updated_at