Update Order Tags
patch
https://api.flxpoint.com/orders/{id}/tagsUse this when you want to update order data through the API.
๐ X-API-TOKENโฑ 2 req/sToken: Account ยท Source ยท Channel
This page explains the endpoint. To send a live test request, use the interactive tester in Stoplight or your own Postman / HTTP client.
Request
Body
application/jsonaddarray[string]string
removearray[string]string
Example request
patch
/orders/{id}/tagscurl -X PATCH "https://api.flxpoint.com/orders/{id}/tags" \
-H "Accept: application/json" \
-H "X-API-TOKEN: YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"add": [
"string"
],
"remove": [
"string"
]
}'Example body ยท application/json
{
"add": [
"string"
],
"remove": [
"string"
]
}Responses
200OKapplication/json
array[string]
string
Example response
[
"string"
]400Bad Request
No schema documented for this status.
401Unauthorized
No schema documented for this status.
403Forbidden
No schema documented for this status.
404Not Found
No schema documented for this status.
OpenAPI fragment
{
"patch": {
"summary": "Update Order Tags",
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateOrderTagsRequest"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"400": {
"description": "Bad Request"
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
}
}
}Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight