SDSamtec Developer Portal
APIsOrdersReference

Submits changes to an existing Samtec order.

Supports adding new lines, modifying quantities or dates on existing lines, and cancelling lines — mixed within a single request. All dates must be in ISO 8601 format with time zone offset, e.g. 2023-06-17T00:00:00+00:00. For Update and Cancel lines, provide LineNumber, Quantity, and DateRequested. Include MfgLineNumber if known. For New lines, all line fields apply as they do on a new order submission. Each line must have a LineNumber greater than 0, unique across all lines in the request.

PUT
/v1/change
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

In: header

Header Parameters

client-app-name?string

Name of the client application

Default"samtec-dev-portal"

Request Body

Change order header and line item data.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v1/change" \  -H "Content-Type: application/json" \  -d '{}'
[  "TTQ55YUKN7Q9"]