public interface IJetAPIOrder extends IJetAPI
Modifier and Type | Method and Description |
---|---|
List<String> |
getDirectCancelTokens(boolean includePath)
Poll jet for direct cancel uri's and return the list of tokens
|
OrderRec |
getOrderDetail(String jetOrderId)
Retrieve details about an order
|
List<String> |
getOrderStatusTokens(OrderStatus status)
Poll Jet and retrieve a list of order status tokens for doing stuff
with orders.
|
List<String> |
getOrderStatusTokens(OrderStatus status,
boolean includePath)
Poll Jet and retrieve a list of order status tokens for doing stuff
with orders.
|
IJetAPIResponse |
sendGetOrderDetail(String jetOrderId)
Retrieve details about an order
|
IJetAPIResponse |
sendPollDirectedCancel()
Poll jet for directed cancel uri's
|
IJetAPIResponse |
sendPollOrders(OrderStatus status)
Poll Jet for some orders by status.
|
IJetAPIResponse |
sendPutAckOrder(String jetOrderId,
AckRequestRec req)
The order acknowledge call is utilized to allow a retailer to accept or
reject an order.
|
IJetAPIResponse |
sendPutShipOrder(String jetOrderId,
ShipRequestRec req)
The order shipped call is utilized to provide Jet with the SKUs that
have been shipped or cancelled in an order, the tracking information,
carrier information and any additional returns information for the order.
|
get, getHeaderBuilder, getJSONHeaderBuilder, getPlainHeaderBuilder, post, post, post, put, put, put, setErrorHandler
IJetAPIResponse sendPollOrders(OrderStatus status) throws APIException, JetException
status
- The jet status to pollAPIException
JetException
List<String> getOrderStatusTokens(OrderStatus status) throws APIException, JetException
status
- status to pollAPIException
JetException
List<String> getOrderStatusTokens(OrderStatus status, boolean includePath) throws APIException, JetException
status
- status to pollincludePath
- If this is false, only the rightmost path part
is returned from the uri.APIException
JetException
IJetAPIResponse sendPollDirectedCancel() throws APIException, JetException
APIException
JetException
List<String> getDirectCancelTokens(boolean includePath) throws APIException, JetException
includePath
- Toggle including full uriAPIException
JetException
IJetAPIResponse sendGetOrderDetail(String jetOrderId) throws APIException, JetException
jetOrderId
- Jet order id (need to poll for these first)APIException
JetException
OrderRec getOrderDetail(String jetOrderId) throws APIException, JetException
jetOrderId
- Jet order id (need to poll for these first)APIException
JetException
IJetAPIResponse sendPutAckOrder(String jetOrderId, AckRequestRec req) throws APIException, JetException
jetOrderId
- Jet-defined order idreq
- The acknowledgement request to reply to jet withAPIException
JetException
IJetAPIResponse sendPutShipOrder(String jetOrderId, ShipRequestRec req) throws APIException, JetException
jetOrderId
- Jet-defined order idreq
- shipment requestAPIException
JetException
Copyright © 2017. All rights reserved.