PUT /2024-09/channels/amazon/{channel}/call/{endpoint}

Proxies PUT requests to the specified Amazon API endpoint.

Path parameters

  • channel string(uuid) Required

    The UUID of the Amazon channel.

  • endpoint string Required

    The Amazon API endpoint to call.

application/json

Body

The request body to send to the Amazon API.

object object

Additional properties are allowed.

Responses

  • 200 application/json

    A successful response returning the response from the Amazon API.

    Additional properties are allowed.

  • 401 application/json

    The request requires user authentication or the user is not authorized to access this resource.

    Hide response attribute Show response attribute object
    • message string
  • 403 application/json

    Forbidden - The user does not have permission to access this resource.

    Hide response attribute Show response attribute object
    • message string Required
  • 404 application/json

    The specified resource was not found

    Hide response attribute Show response attribute object
    • message string
PUT /2024-09/channels/amazon/{channel}/call/{endpoint}
curl \
 --request PUT 'https://app.merchanthq.com/api/2024-09/channels/amazon/1e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4/call/reports/2021-06-30/reports' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json"
Request examples
{}
Response examples (200)
{}
Response examples (401)
{
  "message": "Unauthorized"
}
Response examples (403)
{
  "message": "This action is unauthorized."
}
Response examples (404)
{
  "message": "Not found"
}