shipping_containers
Description
This link relationship returns a collection of resources. You can easily paginate through this collection using the hypermedia links provided and the link relationships of first, prev, next, and last. Scroll down to view a representation of a single resource embedded within this collection.
Sandbox Example
You can interact with this resource and run actions against the sandbox API via our HAL Brower.
Actions
- GET
- View a list of shipping_containers
- HEAD
- Get just the header response
- OPTIONS
- Get a response explaining which HTTP methods are supported
- GET
- View a shipping_container
- HEAD
- Get just the header response
- OPTIONS
- Get a response explaining which HTTP methods are supported
Example Representation
{ "_links": { "curies": [ { "name": "fx", "href": "https://api.foxycart.com/rels/{rel}", "templated": true } ], "self": { "href": "...", "title": "This Collection" }, "first": { "href": "...?offset=0", "title": "First Page of this Collection" }, "prev": { "href": "...?offset=0", "title": "Previous Page of this Collection" }, "next": { "href": "...?offset=0", "title": "Next Page of this Collection" }, "last": { "href": "...?offset=0", "title": "Last Page of this Collection" } }, "_embedded": { "fx:shipping_containers": [...] }, "total_items": "5", "returned_items": 5, "limit": 20, "offset": 0 }
<?xml version="1.0" encoding="UTF-8"?> <resource href="..."> <link rel="self" href="..." title="This Collection"/> <link rel="first" href="...?offset=0" title="First Page of this Collection"/> <link rel="prev" href="...?offset=0" title="Previous Page of this Collection"/> <link rel="next" href="...?offset=0" title="Next Page of this Collection"/> <link rel="last" href="...?offset=0" title="Last Page of this Collection"/> <resource href="..." rel="https://api.foxycart.com/rels/shipping_container"> ... </resource> <total_items>5</total_items> <returned_items>5</returned_items> <limit>20</limit> <offset>0</offset> </resource>
{ "properties": { "total_items": "5", "returned_items": 5, "limit": 20, "offset": 0 }, "entities": [...], "links": [ { "rel": [ "self" ], "href": "..." }, { "rel": [ "first" ], "href": "...?offset=0" }, { "rel": [ "prev" ], "href": "...?offset=0" }, { "rel": [ "next" ], "href": "...?offset=0" }, { "rel": [ "last" ], "href": "...?offset=0" } ], "actions": [ ] }
Embedded Resource: shipping_container
Description
A property helper supported shipping method container.
Sandbox Example
You can interact with this resource and run actions against the sandbox API via our HAL Brower.
Actions
Properties
Property | Description | Type | Constraints |
---|---|---|---|
name | The name of this shipping container | String | Read only |
code | The code for this shipping container | String | Read only |
date_created | The date this resource was created. | Date | Read only |
date_modified | The date this resource was last modified. | Date | Read only |
Example Representation
{ "_links": { "curies": [ { "name": "fx", "href": "https://api.foxycart.com/rels/{rel}", "templated": true } ], "self": { "href": "https://api-sandbox.foxycart.com/property_helpers/shipping_containers/3", "title": "This Shipping Container" }, "fx:shipping_containers": { "href": "https://api-sandbox.foxycart.com/property_helpers/shipping_methods/1/shipping_containers", "title": "All Shipping Containers for this Shipping Method" }, "fx:shipping_method": { "href": "https://api-sandbox.foxycart.com/property_helpers/shipping_methods/1", "title": "This Shipping Method" }, "fx:shipping_methods": { "href": "https://api-sandbox.foxycart.com/property_helpers/shipping_methods", "title": "All Shipping Methods" }, "fx:property_helpers": { "href": "https://api-sandbox.foxycart.com/property_helpers/", "title": "Property Helpers Home Page" } }, "name": "Regular Size", "code": "VARIABLE", "date_created": null, "date_modified": null }
<?xml version="1.0" encoding="UTF-8"?> <resource href="https://api-sandbox.foxycart.com/property_helpers/shipping_containers/3"> <link rel="self" href="https://api-sandbox.foxycart.com/property_helpers/shipping_containers/3" title="This Shipping Container"/> <link rel="https://api.foxycart.com/rels/shipping_containers" href="https://api-sandbox.foxycart.com/property_helpers/shipping_methods/1/shipping_containers" title="All Shipping Containers for this Shipping Method"/> <link rel="https://api.foxycart.com/rels/shipping_method" href="https://api-sandbox.foxycart.com/property_helpers/shipping_methods/1" title="This Shipping Method"/> <link rel="https://api.foxycart.com/rels/shipping_methods" href="https://api-sandbox.foxycart.com/property_helpers/shipping_methods" title="All Shipping Methods"/> <link rel="https://api.foxycart.com/rels/property_helpers" href="https://api-sandbox.foxycart.com/property_helpers/" title="Property Helpers Home Page"/> <name>Regular Size</name> <code>VARIABLE</code> <date_created></date_created> <date_modified></date_modified> </resource>
{ "class": [ "shipping_container" ], "properties": { "name": "Regular Size", "code": "VARIABLE", "date_created": null, "date_modified": null }, "links": [ { "rel": [ "self" ], "href": "https://api-sandbox.foxycart.com/property_helpers/shipping_containers/3" }, { "rel": [ "https://api.foxycart.com/rels/shipping_containers" ], "href": "https://api-sandbox.foxycart.com/property_helpers/shipping_methods/1/shipping_containers" }, { "rel": [ "https://api.foxycart.com/rels/shipping_method" ], "href": "https://api-sandbox.foxycart.com/property_helpers/shipping_methods/1" }, { "rel": [ "https://api.foxycart.com/rels/shipping_methods" ], "href": "https://api-sandbox.foxycart.com/property_helpers/shipping_methods" }, { "rel": [ "https://api.foxycart.com/rels/property_helpers" ], "href": "https://api-sandbox.foxycart.com/property_helpers/" } ], "actions": [] }
Zoomable Resources
This resource has no linked resources which can be "zoomed" in on, filtered and embedded within this resource.