Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module integrates Drupal Commerce with the Amazon Selling Partner API to sync inventory with Drupal product variations. It allows you to create Amazon fulfillment orders from Drupal based on specific conditions and track their status, updating your Drupal orders accordingly.

Drupal Commerce Core integration with Amazon Selling Partner API.

https://developer-docs.amazon.com/sp-api/

Integrated SP API features:

What this module does?

Sync stock/inventory from your Amazon Merchant account and link them with existing product variations inside Drupal. Set marketplace conditions upon which you can create fulfillment orders on Amazon. Track your Amazon fulfillment order and transition your Drupal order based on status updates from Amazon.

Is this module what I need?

If you want to place orders from Drupal to fulfill with Amazon, this is the module for you. If you want to manage your Amazon listings, this is not the module for you.

The module has API calls for Amazon Product listing, but this feature is not implemented fully within Drupal Commerce.

REQUIREMENTS

This module requires Drupal Commerce Core (v2 or v3) and Commerce Shipping.

ARCHITECTURE

Drupal module provides four entity types which are interacting with Amazon SP API.

  • Amazon App
    • the app which you created under you Amazon Seller Central account.
    • List all available markets from your Amazon merchant account.
    • handles authentication
  • Amazon Marketplace
    • The Amazon marketplace by region (as associated with parent Amazon App).
    • references Amazon APP
    • references items from that marketplace with Amazon Item entity.
  • Amazon Item
    • The items from Amazon inventory linked to your Drupal variations.
    • Items are listed under the Amazon marketplace.
  • Amazon Fulfillment
    • the order created on Amazon based on conditions from Amazon Marketplace entity.
    • holds reference to Amazon Marketplace, Commerce Core order

INITIAL SETUP

  • Create SP API type app in Amazon Seller Central (choose Sellers under Business entities)
    • Self-authorize your app - copy refresh token
  • Create Amazon App inside Drupal - /admin/commerce/amazon/apps
    • Fill all token and client data
    • Choose mode
  • Create Amazon Marketplace inside Drupal - /admin/commerce/amazon/marketplace
    • Choose the Amazon App that you created in the previous step
    • Choose Marketplace - you can select only one region
    • Leave Sync items from FBA inventory checked on if you want to automate inventory sync
    • Select desired conditions upon an order placed in Drupal are going to be sent to the Amazon to be fulfilled.
  • Run cron to initially sync inventory
  • Go to general settings - /admin/commerce/config/amazon-sp-api/settings
    • Set desired sync period - from 10 to 60 minutes
    • Enable order integration and map states if you want to automate Commerce Core order workflow based on Fulfillment status from Amazon
  • Place an order to test.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2025
Latest release
11 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Sep 15, 2025