| Namespace | http://www.mulesoft.org/schema/mule/fws |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/fws/2.0/mule-fws.xsd |
| Version | 2.0 |
| Minimum Mule Version | 3.2 |
With Amazon FWS, merchants can directly integrate with the FBA system, allowing them to automatically process shipments to Amazon and then out to customers. This functionality is contained in three key APIs: the inbound service, the outbound service, and the inventory service.
The inbound service allows merchants to create and send inbound shipments of inventory to Amazon’s fulfillment centers.
The outbound service allows merchants to use Amazon’s fulfillment processing for orders sold on the merchant’s website or other non-Amazon channels.
The inventory service allows merchants to stay up to date on the status of inventory in Amazon’s fulfillment centers.
| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Requests Amazon not to fulfill an existing fulfillment order.
| |||||||||||
Generates a request for Amazon to ship items from the merchant's inventory to a destination address.
| |||||||||||
Removes items from a pre-existing shipment specified by the ShipmentId.
| |||||||||||
Gets the Fulfillment Network SKU (FNSKU) for the supplied merchant item - creating it if needed.
| |||||||||||
Gets the Fulfillment Network SKU (FNSKU) for the supplied merchant item - creating it if needed.
| |||||||||||
Gets fulfillment item data for the provided Fulfillment Network SKU (FNSKU).
| |||||||||||
Gets fulfillment item data for the provided Merchant SKU.
| |||||||||||
Gets the original fulfillment order request, the status of
both the order and its items in the Amazon Fulfillment Network,
and the shipments that have been generated to fulfill the order.
| |||||||||||
Answers estimated shipping dates and fees for a given set of merchant SKUs and quantities.
| |||||||||||
Answers a brief status message from the service
| |||||||||||
Gets inbound shipment data without the item details for a given ShipmentId.
| |||||||||||
Gets the information needed to create a set of shipments for a given set of items and the ship from address.
| |||||||||||
Answers a brief status message from the service
| |||||||||||
Gets information about the supply of merchant-owned inventory in Amazon's fulfillment network.
| |||||||||||
Answers a brief status message from the service
| |||||||||||
Lazily lists fulfillment items registered.
| |||||||||||
Lazily lists all the fulfillment orders
| |||||||||||
Lazily retrieved the all the inbound shipment items for the given shipmentId.
| |||||||||||
Lazily lists the inbound shipments a merchant has created, according to the specified query parameters.
| |||||||||||
Lazily retrieves all the information about the supply of merchant-owned inventory in Amazon's fulfillment network, for
inventory items that may have had recent changes in inventory levels.
| |||||||||||
Adds or replaces inbound shipment for a given shipmentId.
| |||||||||||
Adds or replaces the merchant's inbound shipment header information
for the given ShipmentId.
| |||||||||||
Adds line items to a pre-existing shipment that the ShipmentId specifies.
| |||||||||||
Sets the inbound shipment status to the specified ShipmentStatus.
| |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:fws="http://www.mulesoft.org/schema/mule/fws"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/fws
http://www.mulesoft.org/schema/mule/fws/2.0/mule-fws.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necesary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
| Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Name | Default Value | Description | Optional. Give a name to this configuration so it can be later referenced. | |||||||
| The Amazon AWS account public key | |||||||||||
| Optional. The FWSClient. | |||||||||||
| The Amazon AWS account private key | |||||||||||
Requests Amazon not to fulfill an existing fulfillment order. This is just a hint, already shipped orders may not be canceled.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory order's id |
Generates a request for Amazon to ship items from the merchant's inventory to a destination address.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory fulfillment order id | ||
| Optional. The order id displayed in the fulfillment. If not specified, the orderId is used. | ||
| Optional. The optional fulfillment policy | ||
| Optional. The optional fulfillment method | ||
| The mandatory shipping speed category | ||
| The mandatory comment that will be displayed in the order | ||
| The mandatory order date displayed in the fulfillment |
Removes items from a pre-existing shipment specified by the ShipmentId. This operation removes the items specified in each MerchantSKU parameter from the shipment in their entirety, no matter the quantity. If the MerchantSKU is not currently a part of the shipment, then that particular line item is ignored, but others are still processed.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The msku of the items to delete | ||
| The id of the shipment |
Gets the Fulfillment Network SKU (FNSKU) for the supplied merchant item - creating it if needed. This operation is idempotent in that it can be called multiple times without any adverse effects. This operation is required whenever you need to register items for Amazon fulfillment that require labeling and when you need to get the identifier prior to creating an offer. This operation is necessary to register items for Amazon fulfillment in order to send them to Amazon, but does not do the work of marking any offer for this item as Amazon fulfilled. A response does not imply that the item has an offer for which it can be fulfilled; only that the Amazon Fulfillment Network can track it. An inactive item can have a quantity in the fulfillment center, but will never be fulfilled. Use this operation instead of getFulfillmentIdentifierForMSKU if an offer does not already exist for the MerchantSKU.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory Aamzon's identifier | ||
| The mandatory item's condition | ||
| The mandatory merchant's sku |
Gets the Fulfillment Network SKU (FNSKU) for the supplied merchant item - creating it if needed. This operation is idempotent in that you can call it multiple times without any adverse effects. This operation is required whenever you need to register items for Amazon fulfillment that require labeling. This operation is necessary to register items for Amazon fulfillment in order to send them to Amazon, but doesn't mark any offer for this item as Amazon fulfilled. A response does not imply that the item has an offer for which it can be fulfilled; only that the Amazon Fulfillment Network can track it. An inactive item can have a quantity in the fulfillment center, but will never be fulfilled. Use this operation instead of GetFulfillmentIdentifier if an offer already exists for the SKU.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The merchant's sku |
Gets fulfillment item data for the provided Fulfillment Network SKU (FNSKU). Throws an FWSException if the fnsku is invalid. A response does not imply that the item has an offer for which it can be fulfilled; only that the Amazon Fulfillment Network can track it. An inactive item can have a quantity in the fulfillment center, but will never be fulfilled.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory fulfillment network sku - aka nsku, aka fnsku |
Gets fulfillment item data for the provided Merchant SKU. Throws an FWSException if the msku is invalid. A response does not imply that the item has an offer for which it can be fulfilled; only that the Amazon Fulfillment Network can track it. An inactive item can have a quantity in the fulfillment center, but will never be fulfille
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory merchant's sku |
Gets the original fulfillment order request, the status of both the order and its items in the Amazon Fulfillment Network, and the shipments that have been generated to fulfill the order.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory order id of the fulfillment |
Answers estimated shipping dates and fees for a given set of merchant SKUs and quantities.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The optional shipping categories | ||
| The mandatory order item id |
Answers a brief status message from the service
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. |
Gets inbound shipment data without the item details for a given ShipmentId.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory shipment id |
Gets the information needed to create a set of shipments for a given set of items and the ship from address. You might need to create multiple shipments for various reasons, but the most common reason is when there are sortable and non-sortable items. In this case, there is one shipment for each of the shipment sets returned.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The optional label preference |
Answers a brief status message from the service
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. |
Gets information about the supply of merchant-owned inventory in Amazon's fulfillment network. Throws a FWSException if inventory is unsellable or is already bound to a customer order or bound to internal fulfillment center processing (for example, labeling).
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory merchant's sku | ||
| Optional. The optional response group |
Answers a brief status message from the service
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. |
Lazily lists fulfillment items registered. If IncludeInactive is set to True, the operation returns both active (available for fulfillment) and inactive (not available for fulfillment) mappings. This parameter defaults to False. You can use inactive mappings to track inventory in Amazon's fulfillment centers; however, inactive items can't be fulfilled.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. Optional. Whether non available items for fulfillment should be listed |
Lazily lists all the fulfillment orders
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The start date of the query |
Lazily retrieved the all the inbound shipment items for the given shipmentId.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory shipment's id |
Lazily lists the inbound shipments a merchant has created, according to the specified query parameters.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory status of listed items | ||
| Optional. Optional. The min creation date of listed shipment | ||
| Optional. Optional. The max creation date of listed shipments |
Lazily retrieves all the information about the supply of merchant-owned inventory in Amazon's fulfillment network, for inventory items that may have had recent changes in inventory levels. The type of inventory data returned by this operation is the same as that returned by getInventorySupply. This operation provides the most efficient mechanism for clients to maintain local copies of inventory supply data.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory start date | ||
| Optional. A response group string |
Adds or replaces inbound shipment for a given shipmentId. If the shipment does not exist, one will be created. Note, the merchant should call SetInboundShipmentStatus with a status of 'Shipped' when the shipment is picked up, or set the status to 'Cancelled' if the shipment is abandoned. The intial status of a shipment will be set to 'Working'. Once a shipment's status has been set to 'Shipped', the merchant may make no further changes except to update the status to 'Cancelled'. Any items not received at the time a shipment is 'Cancelled' will be sidelined if they arrive at the fulfillment center. NOTE: If you are experiencing time-outs due to too many items in the shipment, calling this operation with a subset of the items should work. You may add more items to the shipment by calling putInboundShipmentItems.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory shipment's id | ||
| The mandatory shipment name | ||
| The mandatory Amazon's fulfillment center where the client's products are stored | ||
| Optional. The optional label preference |
Adds or replaces the merchant's inbound shipment header information for the given ShipmentId.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory shipment's id | ||
| The mandatory shipment name | ||
| The mandatory Amazon's fulfillment center where the client's products are stored | ||
| Optional. The optional label preference |
Adds line items to a pre-existing shipment that the ShipmentId specifies. If the MerchantSKU is already in the shipment, then that particular line item is replaced. Call PutInboundShipment to create a new shipment. This call returns an exception if you attempt to add line items to a shipment that is in a status other than Working.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory shipment's id |
Sets the inbound shipment status to the specified ShipmentStatus. Once a shipment's status has been set to Shipped, you cannot make any further changes except to update the status to Cancelled. Any item not received at the time a shipment is cancelled is put into problem receive at the fulfillment center. This operation returns a RequestId upon success, otherwise an explicit error is returned.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The mandatory shipment's id | ||
| The mandatory new status for the given shipment |