Skip to content

Using the add-on

  1. A customer pays. When the order reaches the sending status (default Processed), the add-on checks it and queues it for Amazon: at least one line must be a mapped “fulfil by Amazon” product, the payment must not be cash on delivery, and the shipping address needs a name, address, postal code and country.
  2. The next cron run sends it (createFulfillmentOrder). Orders > Amazon fulfilment shows it as At Amazon.
  3. Amazon picks, packs and ships. Every N minutes the add-on reads the order back: when a package ships, its tracking number appears in the order’s Amazon fulfilment tab and as a CS-Cart shipment; when everything has shipped the order moves to the complete status you chose.
  4. The tab also shows the public tracking link and the delivery state of each package.

Orders > Amazon fulfilment > SKU map decides what Amazon ships.

  • Each row maps a CS-Cart product (or an option combination) to a seller SKU, the SKU you see in Seller Central under Manage Inventory (up to 50 characters).
  • Fulfil on: orders with this product are sent to Amazon, and the product is offered the Amazon shipping rates.
  • Copy stock on: the shop stock follows the FBA fulfillable quantity.
  • Import by product code takes one product per line: product code, seller SKU (the code of a product or of an option combination). Without a SKU the product code is used. Imported rows are switched on.
  • Map every product with a code adds a row for every product that has none, with the product code as seller SKU. The rows start switched off (or on, if you tick the box).
  • Products without a row, or with Fulfil off, are shipped by you.

Make sure inventory tracking is on for products whose stock is copied; the add-on writes the stock value, CS-Cart decides what to do with it.

Open an order: the Amazon fulfilment tab shows

  • the state (sending, at Amazon, shipped, cancelled, failed), the Amazon status, the Amazon order id and the speed;
  • the reason when an order was not sent (not connected, cash on delivery, no mapped product, mixed order, incomplete address);
  • the packages with carrier, tracking number, tracking link, status and a Refresh tracking button;
  • Send to Amazon (when the order qualifies and is not sent yet), Send to Amazon again (after a failure or a cancel; Amazon gets a new order id, <id>-r2), Refresh from Amazon and Cancel at Amazon.

Amazon can only cancel before the package is picked. If it refuses, the order stays open and the reason is shown.

Create a shipping method with the carrier Amazon and a service (Standard, Expedited, Priority). At checkout the add-on asks Amazon for a fulfillment preview of the cart (getFulfillmentPreview) and offers the method with a price and an estimated delivery date. The method is offered only when every line of the cart is a “fulfil by Amazon” product (or when “Orders that also contain other products” is set to partial) and Amazon says the order can be fulfilled. Answers are cached for ten minutes because the API allows two calls per second.

  • Sending: saved locally, Amazon has not confirmed yet. A lost answer is reconciled with a lookup, an order is never created twice.
  • Failed: Amazon refused the request, or reported the order as Unfulfillable or Invalid. The reason is shown; fix the cause (for example the address) and use Send to Amazon again.
  • A job that cannot reach Amazon is retried automatically; see Jobs and Log.

A vendor sees and maps only their own products and orders. In owner mode the marketplace account ships every vendor’s FBA products; otherwise each vendor connects their own Amazon account in the vendor panel.

GET /api/kv_amazon_mcf_orders, GET /api/kv_amazon_mcf_orders/<order id> (with packages and tracking numbers), POST /api/kv_amazon_mcf_orders with {"order_id": 1001} (queues the send, answers 202), DELETE /api/kv_amazon_mcf_orders/<order id> (queues the cancel). Authentication and privileges are the standard CS-Cart ones (view and update orders); a vendor administrator reaches only their own orders.