POST /accounting-integrations.json

POST /accounting-integrations.json
application/json

Body Required

  • dropshipEndpoint string | null

    Dropship endpoint

  • name string Required

    Name

  • replenishmentEndpoint string | null

    Replenishment endpoint

  • saleEndpoint string | null

    Sale endpoint

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • createdAt string(date-time)

      Created at

    • dropshipEndpoint string | null

      Dropship endpoint

    • id integer(int32)

      Id

    • name string Required

      Name

    • replenishmentEndpoint string | null

      Replenishment endpoint

    • saleEndpoint string | null

      Sale endpoint

    • updatedAt string(date-time)

      Updated at

POST /accounting-integrations.json
curl \
 --request POST 'http://api.example.com/v1/accounting-integrations.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"dropshipEndpoint":"string","name":"string","replenishmentEndpoint":"string","saleEndpoint":"string"}'
Request examples
{
  "dropshipEndpoint": "string",
  "name": "string",
  "replenishmentEndpoint": "string",
  "saleEndpoint": "string"
}
Response examples (200)
{
  "createdAt": "2025-05-04T09:42:00Z",
  "dropshipEndpoint": "string",
  "id": 42,
  "name": "string",
  "replenishmentEndpoint": "string",
  "saleEndpoint": "string",
  "updatedAt": "2025-05-04T09:42:00Z"
}