Channels

GET/channels

List channels

Request

GET/channels
curl -G https://YOUR_DOMAIN/api/channels \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json"
Loading response...
POST/channels/amazon/connection-invitation

Create an Amazon channel connection invitation

Required attributes

  • Name
    marketplace
    Type
    string
    Description
    The Amazon marketplace identifier to connect ATVPDKIKX0DER
  • Name
    redirect_url
    Type
    string
    Description
    The URL to redirect the merchant to after they successfully connect their Amazon channel https://app.example.com/channels/connected

Optional attributes

  • Name
    nickname
    Type
    string
    Description
    An optional nickname for the channel

Request

POST/channels/amazon/connection-invitation
curl -X POST https://YOUR_DOMAIN/api/channels/amazon/connection-invitation \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "marketplace": "ATVPDKIKX0DER",
    "nickname": "string",
    "redirect_url": "https://app.example.com/channels/connected"
}'
Loading response...