|
void
|
addCategoryProduct(int categoryId, Integer productId, String productSku, String productIdOrSku, String position)
Assign product to category.
|
|
void
|
addOrderComment(String orderId, String status, String comment, boolean sendEmail)
Adds a comment to the given order id
|
|
void
|
addOrderInvoiceComment(String invoiceId, String comment, boolean sendEmail, boolean includeCommentInEmail)
Adds a comment to the given order's invoice
|
|
void
|
addOrderShipmentComment(String shipmentId, String comment, boolean sendEmail, boolean includeCommentInEmail)
Adds a comment to the shipment.
|
|
int
|
addOrderShipmentTrack(String shipmentId, String carrierCode, String title, String trackId)
Adds a new tracking number
|
|
void
|
addProductLink(String type, Integer productId, String productSku, String productIdOrSku, String linkedProductIdOrSku, Map<String, Object> attributes)
Links two products, given its source and destination productIdOrSku.
|
|
boolean
|
addShoppingCartCoupon(int quoteId, String couponCode, String storeId)
Adds a coupon code for a shopping cart (quote).
|
|
boolean
|
addShoppingCartProduct(int quoteId, List<Map<String, Object>> productsAttributes, List<Map<String, Object>> productsOptions, List<Map<String, Object>> productsBundleOptions, List<Map<String, Object>> productsBundleOptionsQty, String storeId)
Adds one or more products to the shopping cart (quote).
|
|
void
|
cancelOrder(String orderId)
|
|
void
|
cancelOrderInvoice(String invoiceId)
Cancels an order's invoice
|
|
void
|
captureOrderInvoice(String invoiceId)
|
|
int
|
createCategory(int parentId, Map<String, Object> attributes, String storeViewIdOrCode)
Creates a new category.
|
|
int
|
createCustomer(Map<String, Object> attributes)
Creates a customer with the given attributes
|
|
int
|
createCustomerAddress(int customerId, Map<String, Object> attributes)
Creates a new address for the given customer using the given address
attributes
|
|
String
|
createOrderInvoice(String orderId, Map<Integer, Double> itemsQuantities, String comment, boolean sendEmail, boolean includeCommentInEmail)
Creates an invoice for the given order
|
|
String
|
createOrderShipment(String orderId, Map<Integer, Double> itemsQuantities, String comment, boolean sendEmail, boolean includeCommentInEmail)
Creates a shipment for order
|
|
int
|
createProduct(String type, int set, String sku, Map<String, Object> attributes, Map<String, Object> additionalAttributes, String storeViewIdOrCode)
|
|
String
|
createProductAttributeMedia(Integer productId, String productSku, String productIdOrSku, Map<String, Object> attributes, String storeViewIdOrCode, Object payload, MediaMimeType mimeType, String baseFileName)
Creates a new product media.
|
|
int
|
createShoppingCart(String storeId)
Creates an empty shopping cart.
|
|
String
|
createShoppingCartOrder(int quoteId, String storeId, List<String> licenses)
Creates an order from a shopping cart (quote).
|
|
void
|
deleteCategory(int categoryId)
Deletes a category.
|
|
void
|
deleteCategoryProduct(int categoryId, Integer productId, String productSku, String productIdOrSku)
Remove a product assignment.
|
|
void
|
deleteCustomer(int customerId)
Deletes a customer given its id
|
|
void
|
deleteCustomerAddress(int addressId)
Deletes a Customer Address
|
|
void
|
deleteOrderShipmentTrack(String shipmentId, String trackId)
Deletes the given track of the given order's shipment
|
|
void
|
deleteProduct(Integer productId, String productSku, String productIdOrSku)
Deletes a product.
|
|
void
|
deleteProductAttributeMedia(Integer productId, String productSku, String productIdOrSku, String fileName)
Removes a product image.
|
|
void
|
deleteProductLink(String type, Integer productId, String productSku, String productIdOrSku, String linkedProductIdOrSku)
Deletes a product's link.
|
|
String
|
getAddress()
|
|
int
|
getCatalogCurrentStoreView()
Answers the current default catalog store view id for this session
|
|
Map<String, Object>
|
getCategory(int categoryId, String storeViewIdOrCode, List<String> attributeNames)
Answers category attributes.
|
|
Map<String, Object>
|
getCategoryTree(String parentId, String storeViewIdOrCode)
Answers the category tree.
|
|
Map<String, Object>
|
getCustomer(int customerId, List<String> attributeNames)
Answers customer attributes for the given id.
|
|
Map<String, Object>
|
getCustomerAddress(int addressId)
Answers the customer address attributes
|
|
Map<String, Object>
|
getInfoShoppingCart(int quoteId, String storeId)
Retrieves full information about the shopping cart (quote).
|
|
Map<String, Object>
|
getOrder(String orderId)
Answers the order properties for the given orderId
|
|
Map<String, Object>
|
getOrderInvoice(String invoiceId)
Retrieves order invoice information
|
|
Map<String, Object>
|
getOrderShipment(String shipmentId)
Retrieves the order shipment attributes
|
|
List<Carrier>
|
getOrderShipmentCarriers(String orderId)
Retrieves the order shipment carriers.
|
|
String
|
getPassword()
|
|
Map<String, Object>
|
getProduct(Integer productId, String productSku, String productIdOrSku, String storeViewIdOrCode, List<String> attributesNames, List<String> additionalAttributeNames)
Answers a product's specified attributes.
|
|
Map<String, Object>
|
getProductAttributeMedia(Integer productId, String productSku, String productIdOrSku, String fileName, String storeViewIdOrCode)
Lists linked products to the given product and for the given link type.
|
|
Map<String, Object>
|
getProductSpecialPrice(Integer productId, String productSku, String productIdOrSku, String storeViewIdOrCode)
Answers a product special price.
|
|
String
|
getUsername()
|
|
void
|
holdOrder(String orderId)
Puts order on hold.
|
|
void
|
initialiseConnector()
|
|
List<Map<String, Object>>
|
listCategoryAttributeOptions(String attributeId, String storeViewIdOrCode)
Retrieves attribute options.
|
|
List<Map<String, Object>>
|
listCategoryAttributes()
Retrieve product image types.
|
|
List<Map<String, Object>>
|
listCategoryLevels(String website, String storeViewIdOrCode, String parentCategoryId)
Answers levels of categories for a website, store view and parent category
|
|
List<Map<String, Object>>
|
listCategoryProducts(int categoryId)
Lists product of a given category.
|
|
List<Map<String, Object>>
|
listCustomerAddresses(int customerId)
Lists the customer address for a given customer id
|
|
List<Map<String, Object>>
|
listCustomerGroups()
Lists all the customer groups
|
|
List<Map<String, Object>>
|
listCustomers(String filter)
Answers a list of customer attributes for the given filter expression.
|
|
List<Map<String, Object>>
|
listDirectoryCountries()
Answers the list of countries
|
|
List<Map<String, Object>>
|
listDirectoryRegions(String countryId)
Answers a list of regions for the given county
|
|
List<Map<String, Object>>
|
listInventoryStockItems(List<String> productIdOrSkus)
Lists inventory stock items.
|
|
List<Map<String, Object>>
|
listOrders(String filter)
Lists order attributes that match the given filtering expression.
|
|
List<Map<String, Object>>
|
listOrdersInvoices(String filter)
Lists order invoices that match the given filtering expression
|
|
List<Map<String, Object>>
|
listOrdersShipments(String filter)
Lists order shipment atrributes that match the given
optional filtering expression
|
|
List<Map<String, Object>>
|
listProductAttributeMedia(Integer productId, String productSku, String productIdOrSku, String storeViewIdOrCode)
Retrieves product image list.
|
|
List<Map<String, Object>>
|
listProductAttributeMediaTypes(int setId)
Retrieve product image types.
|
|
List<Map<String, Object>>
|
listProductAttributeOptions(String attributeId, String storeViewIdOrCode)
Answers the product attribute options.
|
|
List<Map<String, Object>>
|
listProductAttributeSets()
Retrieves product attribute sets.
|
|
List<Map<String, Object>>
|
listProductAttributeTierPrices(Integer productId, String productSku, String productIdOrSku)
Retrieve product tier prices.
|
|
List<Map<String, Object>>
|
listProductAttributes(int setId)
Retrieves product attributes list.
|
|
List<Map<String, Object>>
|
listProductLink(String type, Integer productId, String productSku, String productIdOrSku)
Lists linked products to the given product and for the given link type
|
|
List<Map<String, Object>>
|
listProductLinkAttributes(String type)
Lists all the attributes for the given product link type
|
|
List<String>
|
listProductLinkTypes()
Answers product link types
|
|
List<Map<String, Object>>
|
listProductTypes()
Answers product types.
|
|
List<Map<String, Object>>
|
listProducts(String filter, String storeViewIdOrCode)
Retrieve products list by filters.
|
|
List<Map<String, Object>>
|
listShoppingCartLicenses(int quoteId, String storeId)
Retrieves the website license agreement for the quote according to the website (store).
|
|
Map<String, Object>
|
listShoppingCartPaymentMethods(int quoteId, String storeId)
Retrieves a list of available payment methods for a shopping cart (quote).
|
|
List<Map<String, Object>>
|
listShoppingCartProducts(int quoteId, String storeId)
Retrieves the list of products in the shopping cart (quote).
|
|
List<Map<String, Object>>
|
listShoppingCartShippingMethods(int quoteId, String storeId)
Retrieves the list of available shipping methods for a shopping cart (quote).
|
|
List<Map<String, Object>>
|
listShoppingCartTotals(int quoteId, String storeId)
Retrieves total prices for a shopping cart (quote).
|
|
List<Map<String, Object>>
|
listStockItems(List<String> productIdOrSkus)
Retrieve stock data by product ids
|
|
void
|
moveCategory(int categoryId, int parentId, String afterId)
Move category in tree.
|
|
boolean
|
moveShoppingCartProductToCustomerQuote(int quoteId, List<Map<String, Object>> productsAttributes, List<Map<String, Object>> productsOptions, List<Map<String, Object>> productsBundleOptions, List<Map<String, Object>> productsBundleOptionsQty, String storeId)
Moves products from the current quote to a customer quote.
|
|
boolean
|
removeShoppingCartCoupon(int quoteId, String storeId)
Removes a coupon code from a shopping cart (quote).
|
|
boolean
|
removeShoppingCartProduct(int quoteId, List<Map<String, Object>> productsAttributes, List<Map<String, Object>> productsOptions, List<Map<String, Object>> productsBundleOptions, List<Map<String, Object>> productsBundleOptionsQty, String storeId)
Removes one or several products from a shopping cart (quote).
|
|
void
|
setAddress(String address)
|
|
void
|
setCatalogClient(MagentoCatalogClient<?, ?, ?> catalogClient)
|
|
void
|
setCustomerClient(MagentoCustomerClient<?, ?, ?> customerClient)
|
|
void
|
setDirectoryClient(MagentoDirectoryClient<?, ?> directoryClient)
|
|
void
|
setInventoryClient(MagentoInventoryClient<?, ?> inventoryClient)
|
|
void
|
setOrderClient(MagentoOrderClient<?, ?, ?> magentoOrderClient)
|
|
void
|
setPassword(String password)
|
|
void
|
setShoppingCartClient(MagentoShoppingCartClient<?, ?, ?> catalogClient)
|
|
boolean
|
setShoppingCartCustomer(int quoteId, Map<String, Object> customer, String storeId)
Adds information about the customer to a shopping cart (quote).
|
|
boolean
|
setShoppingCartCustomerAddresses(int quoteId, List<Map<String, Object>> addresses, String storeId)
Sets the customer addresses in the shopping cart (quote).
|
|
boolean
|
setShoppingCartPaymentMethod(int quoteId, Map<String, Object> method, String storeId)
Sets a payment method for a shopping cart (quote), cart must not be empty.
|
|
boolean
|
setShoppingCartShippingMethod(int quoteId, String method, String storeId)
Retrieves a shipping method for a shopping cart (quote).
|
|
void
|
setUsername(String username)
|
|
void
|
unholdOrder(String orderId)
|
|
void
|
updateCategory(int categoryId, Map<String, Object> attributes, String storeViewIdOrCode)
Updates a category.
|
|
void
|
updateCategoryAttributeStoreView(String storeViewIdOrCode)
Set the default catalog store view for this session
|
|
void
|
updateCategoryProduct(int categoryId, Integer productId, String productSku, String productIdOrSku, String position)
Updates a category product.
|
|
void
|
updateCustomer(int customerId, Map<String, Object> attributes)
Updates the given customer attributes, for the given customer id.
|
|
void
|
updateCustomerAddress(int addressId, Map<String, Object> attributes)
Updates the given map of customer address attributes, for the given customer address
|
|
void
|
updateInventoryStockItem(Integer productId, String productSku, String productIdOrSku, Map<String, Object> attributes)
Updates an stock inventory item
|
|
void
|
updateProduct(Integer productId, String productSku, String productIdOrSku, Map<String, Object> attributes, Map<String, Object> additionalAttributes, String storeViewIdOrCode)
Updates a product.
|
|
void
|
updateProductAttributeMedia(Integer productId, String productSku, String productIdOrSku, String fileName, Map<String, Object> attributes, String storeViewIdOrCode)
Updates product media.
|
|
void
|
updateProductAttributeTierPrice(Integer productId, String productSku, String productIdOrSku, Map<String, Object> attributes)
Updates a single product tier price.
|
|
void
|
updateProductLink(String type, Integer productId, String productSku, String productIdOrSku, String linkedProductIdOrSku, Map<String, Object> attributes)
|
|
void
|
updateProductSpecialPrice(Integer productId, String productSku, String productIdOrSku, String specialPrice, String fromDate, String toDate, String storeViewIdOrCode)
Sets a product special price.
|
|
boolean
|
updateShoppingCartProduct(int quoteId, List<Map<String, Object>> productsAttributes, List<Map<String, Object>> productsOptions, List<Map<String, Object>> productsBundleOptions, List<Map<String, Object>> productsBundleOptionsQty, String storeId)
Updates one or several products in the shopping cart (quote).
|
|
void
|
updateStockItem(String productIdOrSku, Map<String, Object> attributes)
Update product stock data given its id or sku
|
|
void
|
voidOrderInvoice(String invoiceId)
|