https://api.warehousefs.com/public/v1/fulfillment-request-submissions
The fulfillment request submission resource allows merchants to send their orders to Shipvine Logistics. These submissions are queued up as API Submissions. Every few seconds, the system picks up an API Submission and attempts to validate it, running through a series of checks (such as cleansing the shipping address or verifying the units are in stock). If the request is not valid, then it is saved as a Candidate Request with a detailed description of what's wrong. The merchant can correct the errors directly within the Shipvine Logistics Web site. If the request is valid, then it is saved as a Fulfillment Request, which means it's in the queue to be picked, packed, and shipped.
The POST verb on this resource does not accept any query parameters.
The entity body of the request should be the FulfillmentRequestSubmission element as defined in the XML schema. See the XML schema for element-specific documentation.
Example Entity Body
<?xml version="1.0"?> <FulfillmentRequestSubmission xmlns="urn:WarehouseFS-1.0"> <!-- (1) --> <MerchantCode>CONTOSO</MerchantCode> <MerchantIdentifier>100000011</MerchantIdentifier> <Currency>USD</Currency> <EmailAddress>john.doe@example.com</EmailAddress> <Address type="Shipping"> <Country>FR</Country> <PersonalName> <First>John</First> <Last>Doe</Last> </PersonalName> <StreetLines> <StreetLine>161 rue Fromage</StreetLine> </StreetLines> <CityOrTown>Paris</CityOrTown> <StateOrProvince /> <!-- (2) --> <PostalCode>31500</PostalCode> <Phone>+330561339336</Phone> <!-- (3) --> </Address> <Lines> <!-- (4) --> <Line> <Item> <MerchantIdentifier>6161115-Black-Small</MerchantIdentifier> </Item> <Quantity>1</Quantity> <!-- (5) --> <UnitPrice> <Amount>19.50</Amount> <!-- (6) --> <Currency>USD</Currency> </UnitPrice> </Line> </Lines> <ShippingMethod>INTL-DEFERRED</ShippingMethod> <Discount> <Amount>0.00</Amount> <Currency>USD</Currency> </Discount> <Tax> <Amount>0.00</Amount> <Currency>USD</Currency> </Tax> <Shipping> <Amount>5.78</Amount> <Currency>USD</Currency> </Shipping> </FulfillmentRequestSubmission>
If the fulfillment request submission is successfully received, then Shipvine Logistics will respond with 200 OK
and an empty entity body.
If any error occurs, the HTTP status code will not be 200 OK
. An <Errors /> element may be present in the entity body.