https://api.warehousefs.com/public/v1/outbound-shipments
The outbound shipments resource represents a "collection" of all of the outbound shipments recorded in the Shipvine Logistics system. Merchants can extract information about their outbound shipments by sending GET requests to this resource.
The method supports the following query parameters:
Parameter | Required? | Description |
---|---|---|
merchant-code | Yes | The unique merchant code assigned to the merchant's account. |
created-since | No |
A date and time, universal coordinated time (UTC). If specified, only outbound shipments that have been created at Shipvine Logistics since the specified date and time will be returned in the response. If not specified, the first few hundred outbound shipments associated with the merchant's account will be returned. The date and time should be in a format that is readily parsable. The canonical date and time format is ISO 8601 format. For example, 1994-11-05T13:15:30Z. For most integrations, the typical behavior is to leave out the created-since parameter on the first request, and then send the parameter on each subsequent request. Doing this keeps transfer times between the Shipvine Logistics API and the merchant's e-commerce server low by only sending the outbound shipments that have been created since the last request. We recommend "backdating" the created-since parameter by a few minutes in case the time on your e-commerce server drifts from the time on the Shipvine Logistics API server. An integration should gracefully handle the scenario where the same outbound shipment is encountered multiple times. |
Example Request Query String
https://api.warehousefs.com/public/v1/outbound-shipments?merchant-code=CONTOSO
Example Request Query String
https://api.warehousefs.com/public/v1/outbound-shipments?merchant-code=CONTOSO&created-since=2009-10-15T04:45:00Z
No entity body may be specified in the request.
If successful, the API will return 200 OK as well as a <OutboundShipments/> element in the entity body. See the XML schema for details about that element.
If any error occurs, the HTTP status code will not be
200 OK
. An <Errors /> element
may
be present in the entity body.
Example Response Entity Body
<?xml version="1.0" encoding="utf-8"?> <OutboundShipments xmlns="urn:WarehouseFS-1.0"> <OutboundShipment> <FulfillmentRequest> <!-- (1) --> <MerchantIdentifier>100000099</MerchantIdentifier> <WfsIdentifier>2-09-288-99999-012-3</WfsIdentifier> </FulfillmentRequest> <IdentificationNo>LN999999999US</IdentificationNo> <!-- (2) --> <CarrierMethod> <!-- (3) --> <Code>FirstClassMailInternational</Code> <Name>USPS First Class Mail International</Name> </CarrierMethod> <PackagingType> <Code>BAG</Code> <Name>Polyamide Bag</Name> </PackagingType> <ShippedAtUtc>2009-10-15T13:54:13</ShippedAtUtc> <Cost> <!-- (4) --> <Amount>5.6400</Amount> <Currency>USD</Currency> </Cost> <Weight> <Magnitude>0.35</Magnitude> <Unit>Pounds</Unit> </Weight> <MerchantPrepaid>True</MerchantPrepaid> <!-- (5) --> <Lines> <!-- (6) --> <Line> <Item> <MerchantIdentifier>6161115-Black-Small</MerchantIdentifier> </Item> <Quantity>1</Quantity> </Line> </Lines> </OutboundShipment> <OutboundShipment> <FulfillmentRequest> <MerchantIdentifier>100000888</MerchantIdentifier> <WfsIdentifier>2-09-288-47940-888-1</WfsIdentifier> </FulfillmentRequest> <IdentificationNo>9101148999600291296735</IdentificationNo> <CarrierMethod> <Code>PriorityMail</Code> <Name>USPS Priority Mail</Name> </CarrierMethod> <PackagingType> <Code>BAG</Code> <Name>Polyamide Bag</Name> </PackagingType> <ShippedAtUtc>2009-10-15T13:23:56</ShippedAtUtc> <Cost> <Amount>4.8000</Amount> <Currency>USD</Currency> </Cost> <Weight> <Magnitude>0.95</Magnitude> <Unit>Pounds</Unit> </Weight> <MerchantPrepaid>True</MerchantPrepaid> <Lines> <Line> <Item> <MerchantIdentifier>6219523-Glacier Grey-Small</MerchantIdentifier> </Item> <Quantity>2</Quantity> </Line> <Line> <Item> <MerchantIdentifier>6219422-Limelight-Small</MerchantIdentifier> </Item> <Quantity>2</Quantity> </Line> </Lines> </OutboundShipment> </OutboundShipments>