Fliplist
Search
K
Comment on page

SP-API Example

How to use the AWS4 plugin with the Seller Partner API (SP-API)

#1 : Setup your backend workflow

Create new API workflow

# 2 : Setup your actions

Add an action

#3 : Search for SHA256, AWS signature plugins (ADD THEM)

#4 : Fill in SHA256 fields for Cannonical

#5 : Fill in the AWS signature plugin

#6 : Save result on current user until API is initialized

Note : You have limited time to pass this data to the API connector manually for initialization ...
Use the user field you defined, "sign cannon" in this case (result of step 2) as part of the signature in the API connector under AUTHORIZATION (header)

#7 : Bubble API Connector Setup

API connector Setup

Full URI

https://sellingpartnerapi-na.amazon.com/orders/v0/orders?MarketplaceIds=[markePlacetId]&CreatedAfter=[createdAfter]&MaxResultPerPage=[maxResultsPerPage]

Authorization Header Details ***with exact spacing

AWS4-HMAC-SHA256 Credential=AKSRERGDGDEXAMPLE/20230704/us-east-1/execute-api/aws4_request, SignedHeaders=host;x-amz-access-token;x-amz-date, Signature=cef4094a781626a728a46c7082353f96bae9b4beb6654927132884baac02fd7

Breakdown of Authorization Header
  • 1
    AWS4-HMAC-SHA256
    2
    Credential=AKSRERGDGDEXAMPLE/20230704/us-east-1/execute-api/aws4_request,
    3
    SignedHeaders=host;x-amz-access-token;x-amz-date,
    4
    Signature=cef4094a781626a728a46c7082353f96bae9b4beb6654927132884baac02fd7
Copy and paste the authorization header (exact spacing) and replace with your own credentials.

# 8 : Initialize the bubble API connector

# 9 : Pass data/values through the backend workflow to the API connector directly.