Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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.

Activity

Total releases
1
First release
Sep 2025
Latest release
10 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.0 Stable Sep 15, 2025