FlxpointAPI Help CenterBeta

Link Unmanaged Orders/Items

patchhttps://api.flxpoint.com/orders/link

Use 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.

Attempt to link unmanaged order items based on the IDs passed. You can only pass one of the defined GET parameters at a time, otherwise a 400 will be returned.

Request

Example request

patch/orders/link
curl -X PATCH "https://api.flxpoint.com/orders/link" \
  -H "Accept: application/json" \
  -H "X-API-TOKEN: YOUR_TOKEN"

Responses

200OKapplication/json
array[integer]
A list of order IDs that had at least one unmanaged item that was set to linked.
integer
Example response
[
  0
]
400Bad Request. Will be returned if more than one GET parameter is defined & passed at a time or no get parameters are passed.

No schema documented for this status.

401Unauthorized

No schema documented for this status.

OpenAPI fragment
{
  "patch": {
    "summary": "Link Unmanaged Orders/Items",
    "description": "Attempt to link unmanaged order items based on the IDs passed. You can only pass one of the defined GET parameters at a time, otherwise a 400 will be returned.",
    "parameters": [],
    "responses": {
      "200": {
        "description": "OK",
        "content": {
          "application/json": {
            "schema": {
              "type": "array",
              "description": "A list of order IDs that had at least one unmanaged item that was set to linked.",
              "items": {
                "type": "integer"
              }
            }
          }
        }
      },
      "400": {
        "description": "Bad Request. Will be returned if more than one GET parameter is defined & passed at a time or no get parameters are passed."
      },
      "401": {
        "description": "Unauthorized"
      }
    }
  }
}
Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight