POST /allowed-tags.json

POST /allowed-tags.json
application/json

Body Required

  • resource string Required

    Resource

    Values are all, customers, dropshipments, dropshipProviders, fulfillments, goodsReceipts, purchases, resellers, saleReturns, or sales. Default value is all.

  • tag string Required

    Tag

Responses

  • 200 application/json

    Successful response

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

      Created at

    • id integer(int32)

      Id

    • resource string Required

      Resource

      Values are all, customers, dropshipments, dropshipProviders, fulfillments, goodsReceipts, purchases, resellers, saleReturns, or sales. Default value is all.

    • tag string Required

      Tag

    • updatedAt string(date-time)

      Updated at

POST /allowed-tags.json
curl \
 -X POST http://api.example.com/v1/allowed-tags.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"resource":"all","tag":"string"}'
Request example
{
  "resource": "all",
  "tag": "string"
}
Response examples (200)
{
  "createdAt": "2024-05-04T09:42:00+00:00",
  "id": 42,
  "resource": "all",
  "tag": "string",
  "updatedAt": "2024-05-04T09:42:00+00:00"
}