Amazon Selling Partner Component

Amazon Selling Partner

Amazon Selling Partner Component is designed to work with Selling Partner API.

Description

The Selling Partner API (SP-API) is a REST-based API that helps Amazon selling partners programmatically access their data on orders, shipments, payments, and much more.

Credentials

To fill up all parameters, you need:

  1. Create IAM policies to add new access key
  2. Register your Application
  3. Authorize Application

From IAM: image image

From Application: image

After Application authorization: image

Component credentials configuration fields:

Credentials

  • The marketplace endpoint (string, required) - Indicates what URL base needs to be used, one of the following
  • Client identifier (string, required) - Application Client identifier
  • Client secret (string, required) - Application Client secret
  • Refresh token (string, required) - Token that you got after application authorization
  • App region (string, required) - region depends on The marketplace endpoint
  • AWS access key (string, required) - IAM user access key
  • AWS secret access key (string, required) - IAM user secret access key
  • Role (string, required) - IAM ARN
  • Role Session Name (string, optional) - Session Name (may be leaved empty)
  • AWS role region (string, required) - IAM user region

Triggers

Get New and Updated Objects Polling

Retrieve all the updated or created objects within a given start time.

Configuration Fields

  • Object Type - (dropdown, required): Object-type to lookup on. E.g Retail Procurement Orders v1 getPurchaseOrders.
  • Timestamp field to poll on - (dropdown, optional): Currently supported Created After option only.
  • Emit Behavior - (dropdown, optional): output method. Defaults to: Emit individually
  • Start Time - (string, optional): The timestamp, in ISO8601 format, to start polling from (inclusive). Default value is the beginning of time (January 1, 1970 at 00:00.000).

Input Metadata

There is no Input Metadata in this trigger.

Output Metadata

Depend on fields Object Type and Emit Behavior. Generated dynamically - if Emit Behavior is set as Emit individually - each item from results will be emitted individually, if Emit page - all found objects will be emitted in one array results. A maximum of 100 elements will be returned per execution.

Actions

Execute operation

Execute operation based on prided information

Execute operation

Configuration Fields

  • Api - (dropdown, required): Select an Api and version to use for this request
  • Operation - (dropdown, required): Select an operation supported by this Api

Input Metadata

And dynamically generated fields according to chosen Api and Operation

Output Metadata

Result of execution provided by server

Make Raw Request

Executes custom request.

Make Raw Request

Configuration Fields

  • Don’t throw error on 404 Response - (optional, boolean): Treat 404 HTTP responses not as error, defaults to false.

Input Metadata

  • Url - (string, required): Path of the resource relative to the base URL.
  • Method - (string, required): HTTP verb to use in the request, one of GET, POST, PUT, PATCH, DELETE.
  • Request Body - (object, optional): Body of the request to send.

Output Metadata

  • Status Code - (number, required): HTTP status code of the response.
  • HTTP headers - (object, required): HTTP headers of the response.
  • Response Body - (object, optional): HTTP response body.

Limitation

All schemas for Execute operation action based on this Amazon repository models