Orders API
This pages provides instructions on what transform code should be added to a script manifest file to transform Amazon data from the Order API
Last updated
Was this helpful?
Was this helpful?
uos_amazon_selling_partner:
integrations:
- amazon_selling_partner
scripts:
- "github://platform-sql-shared/scripts/base/0500_uos/amazon_selling_partner/0540_UOS_BAS_AMAZON_locations.sql"
- "github://platform-sql-shared/scripts/base/0500_uos/amazon_selling_partner/0542_UOS_BAS_AMAZON_customers.sql"
- "github://platform-sql-shared/scripts/base/0500_uos/amazon_selling_partner/0543_UOS_BAS_AMAZON_products.sql"
- "github://platform-sql-shared/scripts/base/0500_uos/amazon_selling_partner/0544_UOS_BAS_AMAZON_product_variants.sql"
- "github://platform-sql-shared/scripts/base/0500_uos/amazon_selling_partner/0545_UOS_BAS_AMAZON_orders.sql"
ℹ️ Note: This script generates the customer ID and populates buyer email, buyer name, and shipping name for Amazon orders. For Amazon-fulfilled (AFN) orders, these fields are now sourced from the FBA Amazon Fulfilled Shipments Report (AMAZON_SELLER_CENTRAL.GET_AMAZON_FULFILLED_SHIPMENTS_DATA_GENERAL) when not available in the Orders API data. Merchant-fulfilled (MFN) orders continue to use the existing data source. This change improves customer identification accuracy for AFN orders.
- "github://platform-sql-shared/scripts/base/0500_uos/amazon_selling_partner/0546_UOS_BAS_AMAZON_order_line_items.sql"
- "github://platform-sql-shared/scripts/base/0500_uos/amazon_selling_partner/0549_UOS_BAS_AMAZON_order_payments.sql"
- "github://platform-sql-shared/scripts/base/0500_uos/amazon_selling_partner/0550_UOS_BAS_AMAZON_transactions.sql"
- "github://platform-sql-shared/scripts/base/0500_uos/amazon_selling_partner/0553_UOS_BAS_AMAZON_fulfillments.sql"
- "github://platform-sql-shared/scripts/base/0500_uos/amazon_selling_partner/0554_UOS_BAS_AMAZON_order_item_fulfillments.sql"
- "github://platform-sql-internal/scripts/base/0500_uos/amazon_selling_partner/0557_UOS_BAS_AMAZON_sales_report.sql"