Create Client
create_clientCreate a 3PL client (publisher/owner). Name and code are required; code must be unique within the tenant (re-using an existing code is rejected, not duplicated). Management mode is pssc_managed (default) or publisher_managed. Requires an operator (unpinned) org token on a 3PL tenant. Returns the created client, whose id is what you pin subsequent inventory/price-book/quote work to.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>"
},
"name": "create_client"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The client to create (name and code required). | |
| preview | No | Step 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing is created until the commit call. | |
| idempotencyKey | No | Caller-generated idempotency key; required with previewReceipt to commit. | |
| previewReceipt | No | Step 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| code | No | ||
| name | No | ||
| preview | No | ||
| isActive | No | ||
| expiresAt | No | ||
| isEntitled | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| managementMode | No | ||
| previewReceipt | No | ||
| idempotentReplay | No | ||
| externalFeedSource | No | ||
| orderHorizonMonths | No | ||
| optionMethodologyOverride | No | ||
| idealOrderCadenceDaysOverride | No | ||
| annualHoldingCostRatePctOverride | No | ||
| externalFeedExpectedCadenceHours | No | ||
| externalFeedStalenessThresholdHours | No |