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 instanceintegration_id(int, required, must exist inintegrationstable) — id of the Amazon integration rowcountry(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 callbackintegration_settings(object, required) — AmazonIntegrationSettingsData fields (see show response for available keys)
Request
Responses
- 201
Created
Response Headers
Content-Type