Overview
Add Amazon Selling Partner to any ModuleX agent or workflow. Manage orders, inventory, pricing, and reports on Amazon marketplaces via the Amazon Selling Partner API (sellingpartnerapi-na.amazon.com).
Categories : E-Commerce · Marketplace · Fulfillment · Auth : OAuth2 · Actions : 8
Authentication
OAuth2 Authentication
Connect using Amazon Selling Partner OAuth (Login with Amazon)
Required Credentials
Field Description Required Format Client ID Amazon SP-API OAuth App Client ID from your developer application Yes -Client Secret Amazon SP-API OAuth App Client Secret Yes -SP-API Base URL Selling Partner API regional endpoint. Use https://sellingpartnerapi-na.amazon.com for North America (default), https://sellingpartnerapi-eu.amazon.com for Europe, or https://sellingpartnerapi-fe.amazon.com for the Far East. Pick the endpoint that matches your seller account’s region. Yes https://sellingpartnerapi-na.amazon.com
OAuth Configuration
Authorization URL : https://www.amazon.com/ap/oa
Token URL : https://api.amazon.com/auth/o2/token
Available Actions
check_fba_inventory_levels — Retrieves inventory summaries from Amazon fulfillment centers to monitor stock availability
Parameters The Amazon Marketplace ID (e.g. ATVPDKIKX0DER for US)
Set to true to return inventory summaries with additional summarized inventory details and quantities (Default: false)
A start date and time in ISO8601 format. If specified, all inventory summaries that have changed since then are returned. Must be no earlier than 18 months prior to the current date.
A list of seller SKUs for which to return inventory summaries (up to 50 SKUs). Elements are strings.
Response {
"$defs" : {
"InventorySummary" : {
"additionalProperties" : false ,
"properties" : {
"asin" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Asin"
},
"fn_sku" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Fn Sku"
},
"seller_sku" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Seller Sku"
},
"condition" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Condition"
},
"total_quantity" : {
"anyOf" : [
{
"type" : "integer"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Total Quantity"
},
"product_name" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Product Name"
}
},
"title" : "InventorySummary" ,
"type" : "object"
}
},
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"inventory_summaries" : {
"items" : {
"$ref" : "#/$defs/InventorySummary"
},
"title" : "Inventory Summaries" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "CheckFbaInventoryLevelsOutput" ,
"type" : "object"
}
fetch_orders_by_date_range — Retrieves a list of orders based on a specified date range, buyer email, or order ID
Parameters The Amazon Marketplace ID
Fetch orders created after this ISO date
Fetch orders created before this ISO date
The email address of a buyer to filter orders
An order identifier specified by the seller. If provided, other filters like FulfillmentChannels, OrderStatuses, PaymentMethod cannot be used.
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"orders" : {
"items" : {
"additionalProperties" : true ,
"type" : "object"
},
"title" : "Orders" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "FetchOrdersByDateRangeOutput" ,
"type" : "object"
}
generate_sales_inventory_reports — Requests reports on sales, inventory, and fulfillment performance
get_order_details — Fetches detailed information about a specific order using its order ID
list_inbound_shipments — Fetches inbound shipment details to track stock movement and replenishment
Parameters The Amazon Marketplace ID
Filter inbound shipments by status. Valid values: WORKING, SHIPPED, RECEIVING, CANCELLED, DELETED, CLOSED, ERROR, IN_TRANSIT, DELIVERED, CHECKED_IN. Elements are strings.
A date for selecting inbound shipments that were last updated after (or at) a specified time
A date for selecting inbound shipments that were last updated before (or at) a specified time
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"shipments" : {
"items" : {
"additionalProperties" : true ,
"type" : "object"
},
"title" : "Shipments" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "ListInboundShipmentsOutput" ,
"type" : "object"
}
list_marketplace_id_options — Retrieves available marketplace participation options for the authenticated seller
Response {
"$defs" : {
"MarketplaceOption" : {
"additionalProperties" : false ,
"properties" : {
"label" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Label"
},
"value" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Value"
}
},
"title" : "MarketplaceOption" ,
"type" : "object"
}
},
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"marketplaces" : {
"items" : {
"$ref" : "#/$defs/MarketplaceOption"
},
"title" : "Marketplaces" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "ListMarketplaceIdOptionsOutput" ,
"type" : "object"
}
optimize_product_pricing — Retrieves competitive pricing data to adjust product prices dynamically based on market trends
Parameters The Amazon Marketplace ID
Indicates whether ASIN values or seller SKU values are used to identify items. Valid values: Asin, Sku
A list of ASINs or seller SKUs depending on item_type (up to 20 identifiers). Elements are strings.
Filters the offer listings based on customer type. Valid values: Consumer, Business
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"pricing_data" : {
"items" : {
"additionalProperties" : true ,
"type" : "object"
},
"title" : "Pricing Data" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "OptimizeProductPricingOutput" ,
"type" : "object"
}
retrieve_sales_performance_reports — Fetches sales order metrics for visualization in dashboarding tools
Limits & Quotas
SP-API enforces per-endpoint rate limits varying by selling partner type (standard vs. grantless). Typical burst: 1-30 requests/second depending on the endpoint.
Orders API: 1 request per second burst, with a restore rate of 1 request per second.
Inventory API: 2 requests per second burst.
Pricing API: 10 requests per 1 second burst (for getCompetitivePrice).
Reports API: varies per report type; creation is throttled at a lower rate than retrieval.
Error model: non-2xx responses and timeouts are caught and returned as success=False + error rather than raising.
Links