Skip to main content

Create Amazon Integration Instance

POST 

//:domain/api/amazon

Create a new Amazon integration instance. Validated by StoreAmazonIntegrationData. After creation the controller also ensures a PaymentType for Amazon exists, then returns the redirect URL the user must follow to authorize the SP-API connection.

Fields

  • name (string, required) — display name for this instance
  • integration_id (int, required, must exist in integrations table) — id of the Amazon integration row
  • country (string, optional) — ISO country code (e.g. US, CA, UK)
  • is_automatic_sync_enabled (bool, default false)
  • connection_settings (object, optional) — typically populated by OAuth callback
  • integration_settings (object, required) — AmazonIntegrationSettingsData fields (see show response for available keys)

Request

Responses

Created

Response Headers
    Content-Type