public interface IJetAPIProduct extends IJetAPI
Modifier and Type | Method and Description |
---|---|
boolean |
addProduct(ProductRec product)
Add a product to the Jet catalog
|
boolean |
archiveSku(String sku,
boolean isArchived)
Archive a product sku.
|
ProductRec |
getFullProduct(String sku)
Retrieve product data, pricing, variations, returns exceptions and
shipping exceptions
|
ProductRec |
getProduct(String sku)
Retrieve product data
|
ProductInventoryRec |
getProductInventory(String sku)
Retrieve product inventory by sku.
|
ProductPriceRec |
getProductPrice(String sku)
At Jet, the price the retailer sets is not the same as the price the
customer pays.
|
ProductVariationGroupRec |
getProductVariations(String sku)
Retrieve product variations exceptions by sku.
|
ReturnsExceptionRec |
getReturnsExceptions(String sku)
Retrieve product returns exceptions by sku.
|
List<FNodeShippingRec> |
getShippingExceptions(String sku)
Retrieve a set of product shipping exceptions.
|
List<String> |
getSkuList(int offset,
int limit)
This call allows you visibility into the total number of SKUs you have
uploaded.
|
ProductSalesDataRec |
getSkuSalesData(String sku)
Get sales data.
|
IJetAPIResponse |
sendGetProductInventory(String sku)
Retrieve product inventory by sku.
|
IJetAPIResponse |
sendGetProductPrice(String sku)
At Jet, the price the retailer sets is not the same as the price the
customer pays.
|
IJetAPIResponse |
sendGetProductReturnsExceptions(String sku)
Retrieve product returns exceptions by sku.
|
IJetAPIResponse |
sendGetProductShippingExceptions(String sku)
Retrieve product shipping exceptions by sku.
|
IJetAPIResponse |
sendGetProductSku(String sku)
Retrieve a single product by sku.
|
IJetAPIResponse |
sendGetProductVariations(String sku)
Retrieve product variations exceptions by sku.
|
IJetAPIResponse |
sendGetSkuList(int offset,
int limit)
This call allows you visibility into the total number of SKUs you have
uploaded.
|
IJetAPIResponse |
sendGetSkuSalesData(String sku)
Get sales data.
|
IJetAPIResponse |
sendPutArchiveSku(String sku,
boolean isArchived)
Archive a product sku.
|
IJetAPIResponse |
sendPutProductImage(ProductRec product)
Adds image url's
|
IJetAPIResponse |
sendPutProductInventory(ProductRec product)
Adds product quantity and inventory data
|
IJetAPIResponse |
sendPutProductPrice(ProductRec product)
Adds product price data
|
IJetAPIResponse |
sendPutProductPrice(String sku,
ProductPriceRec price)
Send product price data
|
IJetAPIResponse |
sendPutProductShippingExceptions(String sku,
List<FNodeShippingRec> nodes)
Send shipping exceptions to jet
|
IJetAPIResponse |
sendPutProductSku(ProductRec product)
Adds a product sku.
|
IJetAPIResponse |
sendPutProductVariation(ProductVariationGroupRec group)
The variation request is used to create a variation-type relationship
between several SKUs.
|
IJetAPIResponse |
sendPutReturnsException(String sku,
List<String> hashes)
The returns exceptions call is used to set up specific methods that will
overwrite your default settings on a fulfillment node level for returns.
|
boolean |
setProductImages(ProductRec product)
Adds image url's
|
boolean |
setProductInventory(ProductRec product)
Adds product quantity and inventory data
|
boolean |
setProductPrice(ProductRec product)
Adds product price data
|
boolean |
setProductShippingExceptions(String sku,
List<FNodeShippingRec> nodes)
Send shipping exceptions to jet
|
boolean |
setProductSku(ProductRec product)
Adds a product sku.
|
boolean |
setProductVariations(ProductVariationGroupRec group)
The variation request is used to create a variation-type relationship
between several SKUs.
|
boolean |
setReturnsException(String sku,
List<String> hashes)
The returns exceptions call is used to set up specific methods that will
overwrite your default settings on a fulfillment node level for returns.
|
get, getHeaderBuilder, getJSONHeaderBuilder, getPlainHeaderBuilder, post, post, post, put, put, put, setErrorHandler
boolean addProduct(ProductRec product) throws APIException, JetException, ValidateException
product
- Product to addJetException
- if there is an error from the jet apiAPIException
- if there is some sort of error with the api
library itself. A network issue, etc.ValidateException
- if the product fails pre-submit validationboolean archiveSku(String sku, boolean isArchived) throws APIException, JetException
sku
- isArchived
- Indicates whether the specified SKU is archived.
'true' - SKU is inactive
'false' - SKU is potentially sellableAPIException
JetException
ProductRec getFullProduct(String sku) throws APIException, JetException
sku
- product skuAPIException
JetException
ProductRec getProduct(String sku) throws APIException, JetException
sku
- Sku to retrieveAPIException
JetException
ProductInventoryRec getProductInventory(String sku) throws APIException, JetException
sku
- Product skuAPIException
JetException
ProductPriceRec getProductPrice(String sku) throws APIException, JetException
sku
- Product skuAPIException
JetException
ProductVariationGroupRec getProductVariations(String sku) throws APIException, JetException
sku
- Product skuAPIException
JetException
ReturnsExceptionRec getReturnsExceptions(String sku) throws APIException, JetException
sku
- Product skuAPIException
JetException
List<FNodeShippingRec> getShippingExceptions(String sku) throws APIException, JetException
sku
- SkuAPIException
JetException
List<String> getSkuList(int offset, int limit) throws APIException, JetException
offset
- The first SKU # you wish to appear in the returnlimit
- The last SKU # you wish to appear in the returnAPIException
JetException
ProductSalesDataRec getSkuSalesData(String sku) throws APIException, JetException
sku
- Product skuAPIException
JetException
IJetAPIResponse sendGetProductInventory(String sku) throws APIException, JetException
sku
- Product skuAPIException
JetException
IJetAPIResponse sendGetProductPrice(String sku) throws APIException, JetException
sku
- Product skuAPIException
JetException
IJetAPIResponse sendGetProductReturnsExceptions(String sku) throws APIException, JetException
sku
- Product skuAPIException
JetException
IJetAPIResponse sendGetProductShippingExceptions(String sku) throws APIException, JetException
sku
- Product skuAPIException
JetException
IJetAPIResponse sendGetProductSku(String sku) throws APIException, JetException
sku
- Product SkuAPIException
JetException
IJetAPIResponse sendGetProductVariations(String sku) throws APIException, JetException
sku
- Product skuAPIException
JetException
IJetAPIResponse sendGetSkuList(int offset, int limit) throws APIException, JetException
offset
- The first SKU # you wish to appear in the returnlimit
- The last SKU # you wish to appear in the returnAPIException
JetException
IJetAPIResponse sendGetSkuSalesData(String sku) throws APIException, JetException
sku
- Product skuAPIException
JetException
IJetAPIResponse sendPutArchiveSku(String sku, boolean isArchived) throws APIException, JetException
sku
- isArchived
- Indicates whether the specified SKU is archived.
'true' - SKU is inactive
'false' - SKU is potentially sellableAPIException
JetException
IJetAPIResponse sendPutProductImage(ProductRec product) throws APIException, JetException
product
- product dataAPIException
JetException
IJetAPIResponse sendPutProductInventory(ProductRec product) throws APIException, JetException
product
- product dataAPIException
JetException
IJetAPIResponse sendPutProductPrice(ProductRec product) throws APIException, JetException
product
- APIException
JetException
IJetAPIResponse sendPutProductPrice(String sku, ProductPriceRec price) throws APIException, JetException
sku
- merchant skuprice
- price dataAPIException
JetException
IJetAPIResponse sendPutProductShippingExceptions(String sku, List<FNodeShippingRec> nodes) throws APIException, JetException
sku
- Skunodes
- Filfillment nodesAPIException
JetException
IJetAPIResponse sendPutProductSku(ProductRec product) throws APIException, JetException
product
- product dataAPIException
JetException
IJetAPIResponse sendPutProductVariation(ProductVariationGroupRec group) throws APIException, JetException
group
- data to sendAPIException
- if there's a problemJetException
IJetAPIResponse sendPutReturnsException(String sku, List<String> hashes) throws APIException, JetException
sku
- Product SKU to modifyhashes
- A list of md5 hashes - Each hash is the ID of the returns
node that was created on partner.jet.com under fulfillment settings.
Must be a valid return node ID set up by the merchantAPIException
JetException
boolean setProductImages(ProductRec product) throws APIException, JetException
product
- product dataAPIException
JetException
boolean setProductInventory(ProductRec product) throws APIException, JetException
product
- product dataAPIException
JetException
boolean setProductPrice(ProductRec product) throws APIException, JetException
product
- APIException
JetException
boolean setProductShippingExceptions(String sku, List<FNodeShippingRec> nodes) throws APIException, JetException
sku
- Skunodes
- Filfillment nodesAPIException
JetException
boolean setProductSku(ProductRec product) throws APIException, JetException
product
- product dataAPIException
JetException
boolean setProductVariations(ProductVariationGroupRec group) throws APIException, JetException
group
- data to sendAPIException
- if there's a problemJetException
boolean setReturnsException(String sku, List<String> hashes) throws APIException, JetException
sku
- Product SKU to modifyhashes
- A list of md5 hashes - Each hash is the ID of the returns
node that was created on partner.jet.com under fulfillment settings.
Must be a valid return node ID set up by the merchantAPIException
JetException
Copyright © 2017. All rights reserved.