SDSamtec Developer Portal
APIsOrdersReference

Submits changes to an existing order.

CLIENT SCOPE: intended for use by clients submitting order changes to Samtec

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

Order and line item data. All dates should be passed in ISO 8601 date + no time + time zone offset format, e.g. 2023-06-17T00:00:00+00:00. Lines.ChangeType values can be 0-New, 1-Update, 2-Cancel. Lines only need MfgLineNumber (if known), LineNumber, Quantity, and DateRequested when Cancel or Update is requested, for New lines most properties are required. For New lines, use a HoldReason if you need to make sure a Customer Service representative review this order and contact you for details.

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"]