Paid Returns & Delivery Intelligence API via x402. Unpaid tool calls return 402.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Classify a supplied carrier code or order status only when it matches a documented token. Any other code stays unrecognized, and no tracking scan is added. Price $0.04 USDC. POST /api/v1/returns-delivery/exception-classify. An unpaid call returns the x402 payment terms and does not run.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http returns-delivery https://www.brainiac.software/mcp/returns-delivery
Classify a supplied carrier code or order status only when it matches a documented token. Any other code stays unrecognized, and no tracking scan is added. Price $0.04 USDC. POST /api/v1/returns-delivery/exception-classify. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| json | string | |
| text | string | |
| rates | array | |
| rules | array | |
| events | array | |
| orders | array | |
| window | object | |
| returns | array | |
| addresses | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"json": {
"type": "string",
"maxLength": 200000
},
"text": {
"type": "string",
"maxLength": 200000
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"basis": {
"type": "string",
"maxLength": 40
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
}
}
},
"maxItems": 40
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 8
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40
},
"id": {
"type": "string",
"maxLength": 80
},
"code": {
"type": "string",
"maxLength": 80
},
"detail": {
"type": "string",
"maxLength": 500
},
"orderId": {
"type": "string",
"maxLength": 80
}
}
},
"maxItems": 80
},
"orders": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"status": {
"type": "string",
"maxLength": 80
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"ordered": {
"type": "string",
"maxLength": 40
},
"postcode": {
"type": "string",
"maxLength": 20
},
"promised": {
"type": "string",
"maxLength": 40
},
"addressId": {
"type": "string",
"maxLength": 80
},
"delivered": {
"type": "string",
"maxLength": 40
},
"windowDays": {
"type": "number",
"maximum": 3650,
"minimum": 0
}
}
},
"maxItems": 80
},
"window": {
"type": "object",
"properties": {
"days": {
"type": "number",
"maximum": 3650,
"minimum": 0
},
"from": {
"type": "string",
"maxLength": 40
}
}
},
"returns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"cost": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"reason": {
"type": "string",
"maxLength": 160
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"orderId": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
},
"requested": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 80
},
"addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"city": {
"type": "string",
"maxLength": 80
},
"line1": {
"type": "string",
"maxLength": 160
},
"line2": {
"type": "string",
"maxLength": 160
},
"region": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"postcode": {
"type": "string",
"maxLength": 20
}
}
},
"maxItems": 80
}
}
}Group supplied failed, undeliverable, refused, or returned orders by postcode, address, or carrier. A pattern needs at least three orders. One failure is not a carrier finding. Price $0.05 USDC. POST /api/v1/returns-delivery/failed-pattern-detect. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| json | string | |
| text | string | |
| rates | array | |
| rules | array | |
| events | array | |
| orders | array | |
| window | object | |
| returns | array | |
| addresses | array |
Combine supplied exceptions, failed-order groups, address structure, return rates, promise variance, and the return window. The report does not contact a carrier or grant a refund. Price $0.12 USDC. POST /api/v1/returns-delivery/logistics-report. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| json | string | |
| text | string | |
| rates | array | |
| rules | array | |
| events | array | |
| orders | array | |
| window | object | |
| returns | array | |
| addresses | array |
Subtract the supplied promise timestamp from the supplied delivery timestamp. A missing timestamp is not filled in, and the comparison is not a carrier guarantee. Price $0.04 USDC. POST /api/v1/returns-delivery/promise-variance. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| json | string | |
| text | string | |
| rates | array | |
| rules | array | |
| events | array | |
| orders | array | |
| window | object | |
| returns | array | |
| addresses | array |
Count supplied return reasons exactly as written. A reason is a pattern only at three or more returns. The reason text is not rewritten and no refund is granted. Price $0.04 USDC. POST /api/v1/returns-delivery/return-reason-analyze. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| json | string | |
| text | string | |
| rates | array | |
| rules | array | |
| events | array | |
| orders | array | |
| window | object | |
| returns | array | |
| addresses | array |
Apply one matching caller-supplied rate to a return. A missing rate is not estimated, currencies are not converted, and the result is not a refund. Price $0.04 USDC. POST /api/v1/returns-delivery/return-shipping-cost-calculate. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| json | string | |
| text | string | |
| rates | array | |
| rules | array | |
| events | array | |
| orders | array | |
| window | object | |
| returns | array | |
| addresses | array |
Add the supplied day count to the supplied delivered or ordered date and compare a return request with that end date. No day count is assumed, and an inside date is not a refund entitlement. Price $0.04 USDC. POST /api/v1/returns-delivery/return-window-calculate. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| json | string | |
| text | string | |
| rates | array | |
| rules | array | |
| events | array | |
| orders | array | |
| window | object | |
| returns | array | |
| addresses | array |
Check that the supplied lines, city, postcode, and country are present, and compare a postcode with a published shape for nine country codes. The check does not confirm that a carrier can deliver. Price $0.04 USDC. POST /api/v1/returns-delivery/shipping-address-validate. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| csv | string | |
| file | object | |
| json | string | |
| text | string | |
| rates | array | |
| rules | array | |
| events | array | |
| orders | array | |
| window | object | |
| returns | array | |
| addresses | array |
We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 19, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"json": {
"type": "string",
"maxLength": 200000
},
"text": {
"type": "string",
"maxLength": 200000
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"basis": {
"type": "string",
"maxLength": 40
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
}
}
},
"maxItems": 40
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 8
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40
},
"id": {
"type": "string",
"maxLength": 80
},
"code": {
"type": "string",
"maxLength": 80
},
"detail": {
"type": "string",
"maxLength": 500
},
"orderId": {
"type": "string",
"maxLength": 80
}
}
},
"maxItems": 80
},
"orders": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"status": {
"type": "string",
"maxLength": 80
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"ordered": {
"type": "string",
"maxLength": 40
},
"postcode": {
"type": "string",
"maxLength": 20
},
"promised": {
"type": "string",
"maxLength": 40
},
"addressId": {
"type": "string",
"maxLength": 80
},
"delivered": {
"type": "string",
"maxLength": 40
},
"windowDays": {
"type": "number",
"maximum": 3650,
"minimum": 0
}
}
},
"maxItems": 80
},
"window": {
"type": "object",
"properties": {
"days": {
"type": "number",
"maximum": 3650,
"minimum": 0
},
"from": {
"type": "string",
"maxLength": 40
}
}
},
"returns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"cost": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"reason": {
"type": "string",
"maxLength": 160
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"orderId": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
},
"requested": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 80
},
"addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"city": {
"type": "string",
"maxLength": 80
},
"line1": {
"type": "string",
"maxLength": 160
},
"line2": {
"type": "string",
"maxLength": 160
},
"region": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"postcode": {
"type": "string",
"maxLength": 20
}
}
},
"maxItems": 80
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"json": {
"type": "string",
"maxLength": 200000
},
"text": {
"type": "string",
"maxLength": 200000
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"basis": {
"type": "string",
"maxLength": 40
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
}
}
},
"maxItems": 40
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 8
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40
},
"id": {
"type": "string",
"maxLength": 80
},
"code": {
"type": "string",
"maxLength": 80
},
"detail": {
"type": "string",
"maxLength": 500
},
"orderId": {
"type": "string",
"maxLength": 80
}
}
},
"maxItems": 80
},
"orders": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"status": {
"type": "string",
"maxLength": 80
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"ordered": {
"type": "string",
"maxLength": 40
},
"postcode": {
"type": "string",
"maxLength": 20
},
"promised": {
"type": "string",
"maxLength": 40
},
"addressId": {
"type": "string",
"maxLength": 80
},
"delivered": {
"type": "string",
"maxLength": 40
},
"windowDays": {
"type": "number",
"maximum": 3650,
"minimum": 0
}
}
},
"maxItems": 80
},
"window": {
"type": "object",
"properties": {
"days": {
"type": "number",
"maximum": 3650,
"minimum": 0
},
"from": {
"type": "string",
"maxLength": 40
}
}
},
"returns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"cost": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"reason": {
"type": "string",
"maxLength": 160
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"orderId": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
},
"requested": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 80
},
"addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"city": {
"type": "string",
"maxLength": 80
},
"line1": {
"type": "string",
"maxLength": 160
},
"line2": {
"type": "string",
"maxLength": 160
},
"region": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"postcode": {
"type": "string",
"maxLength": 20
}
}
},
"maxItems": 80
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"json": {
"type": "string",
"maxLength": 200000
},
"text": {
"type": "string",
"maxLength": 200000
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"basis": {
"type": "string",
"maxLength": 40
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
}
}
},
"maxItems": 40
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 8
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40
},
"id": {
"type": "string",
"maxLength": 80
},
"code": {
"type": "string",
"maxLength": 80
},
"detail": {
"type": "string",
"maxLength": 500
},
"orderId": {
"type": "string",
"maxLength": 80
}
}
},
"maxItems": 80
},
"orders": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"status": {
"type": "string",
"maxLength": 80
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"ordered": {
"type": "string",
"maxLength": 40
},
"postcode": {
"type": "string",
"maxLength": 20
},
"promised": {
"type": "string",
"maxLength": 40
},
"addressId": {
"type": "string",
"maxLength": 80
},
"delivered": {
"type": "string",
"maxLength": 40
},
"windowDays": {
"type": "number",
"maximum": 3650,
"minimum": 0
}
}
},
"maxItems": 80
},
"window": {
"type": "object",
"properties": {
"days": {
"type": "number",
"maximum": 3650,
"minimum": 0
},
"from": {
"type": "string",
"maxLength": 40
}
}
},
"returns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"cost": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"reason": {
"type": "string",
"maxLength": 160
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"orderId": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
},
"requested": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 80
},
"addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"city": {
"type": "string",
"maxLength": 80
},
"line1": {
"type": "string",
"maxLength": 160
},
"line2": {
"type": "string",
"maxLength": 160
},
"region": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"postcode": {
"type": "string",
"maxLength": 20
}
}
},
"maxItems": 80
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"json": {
"type": "string",
"maxLength": 200000
},
"text": {
"type": "string",
"maxLength": 200000
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"basis": {
"type": "string",
"maxLength": 40
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
}
}
},
"maxItems": 40
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 8
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40
},
"id": {
"type": "string",
"maxLength": 80
},
"code": {
"type": "string",
"maxLength": 80
},
"detail": {
"type": "string",
"maxLength": 500
},
"orderId": {
"type": "string",
"maxLength": 80
}
}
},
"maxItems": 80
},
"orders": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"status": {
"type": "string",
"maxLength": 80
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"ordered": {
"type": "string",
"maxLength": 40
},
"postcode": {
"type": "string",
"maxLength": 20
},
"promised": {
"type": "string",
"maxLength": 40
},
"addressId": {
"type": "string",
"maxLength": 80
},
"delivered": {
"type": "string",
"maxLength": 40
},
"windowDays": {
"type": "number",
"maximum": 3650,
"minimum": 0
}
}
},
"maxItems": 80
},
"window": {
"type": "object",
"properties": {
"days": {
"type": "number",
"maximum": 3650,
"minimum": 0
},
"from": {
"type": "string",
"maxLength": 40
}
}
},
"returns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"cost": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"reason": {
"type": "string",
"maxLength": 160
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"orderId": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
},
"requested": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 80
},
"addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"city": {
"type": "string",
"maxLength": 80
},
"line1": {
"type": "string",
"maxLength": 160
},
"line2": {
"type": "string",
"maxLength": 160
},
"region": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"postcode": {
"type": "string",
"maxLength": 20
}
}
},
"maxItems": 80
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"json": {
"type": "string",
"maxLength": 200000
},
"text": {
"type": "string",
"maxLength": 200000
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"basis": {
"type": "string",
"maxLength": 40
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
}
}
},
"maxItems": 40
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 8
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40
},
"id": {
"type": "string",
"maxLength": 80
},
"code": {
"type": "string",
"maxLength": 80
},
"detail": {
"type": "string",
"maxLength": 500
},
"orderId": {
"type": "string",
"maxLength": 80
}
}
},
"maxItems": 80
},
"orders": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"status": {
"type": "string",
"maxLength": 80
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"ordered": {
"type": "string",
"maxLength": 40
},
"postcode": {
"type": "string",
"maxLength": 20
},
"promised": {
"type": "string",
"maxLength": 40
},
"addressId": {
"type": "string",
"maxLength": 80
},
"delivered": {
"type": "string",
"maxLength": 40
},
"windowDays": {
"type": "number",
"maximum": 3650,
"minimum": 0
}
}
},
"maxItems": 80
},
"window": {
"type": "object",
"properties": {
"days": {
"type": "number",
"maximum": 3650,
"minimum": 0
},
"from": {
"type": "string",
"maxLength": 40
}
}
},
"returns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"cost": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"reason": {
"type": "string",
"maxLength": 160
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"orderId": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
},
"requested": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 80
},
"addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"city": {
"type": "string",
"maxLength": 80
},
"line1": {
"type": "string",
"maxLength": 160
},
"line2": {
"type": "string",
"maxLength": 160
},
"region": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"postcode": {
"type": "string",
"maxLength": 20
}
}
},
"maxItems": 80
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"json": {
"type": "string",
"maxLength": 200000
},
"text": {
"type": "string",
"maxLength": 200000
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"basis": {
"type": "string",
"maxLength": 40
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
}
}
},
"maxItems": 40
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 8
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40
},
"id": {
"type": "string",
"maxLength": 80
},
"code": {
"type": "string",
"maxLength": 80
},
"detail": {
"type": "string",
"maxLength": 500
},
"orderId": {
"type": "string",
"maxLength": 80
}
}
},
"maxItems": 80
},
"orders": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"status": {
"type": "string",
"maxLength": 80
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"ordered": {
"type": "string",
"maxLength": 40
},
"postcode": {
"type": "string",
"maxLength": 20
},
"promised": {
"type": "string",
"maxLength": 40
},
"addressId": {
"type": "string",
"maxLength": 80
},
"delivered": {
"type": "string",
"maxLength": 40
},
"windowDays": {
"type": "number",
"maximum": 3650,
"minimum": 0
}
}
},
"maxItems": 80
},
"window": {
"type": "object",
"properties": {
"days": {
"type": "number",
"maximum": 3650,
"minimum": 0
},
"from": {
"type": "string",
"maxLength": 40
}
}
},
"returns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"cost": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"reason": {
"type": "string",
"maxLength": 160
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"orderId": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
},
"requested": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 80
},
"addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"city": {
"type": "string",
"maxLength": 80
},
"line1": {
"type": "string",
"maxLength": 160
},
"line2": {
"type": "string",
"maxLength": 160
},
"region": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"postcode": {
"type": "string",
"maxLength": 20
}
}
},
"maxItems": 80
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string"
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1
}
}
},
"json": {
"type": "string",
"maxLength": 200000
},
"text": {
"type": "string",
"maxLength": 200000
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"basis": {
"type": "string",
"maxLength": 40
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
}
}
},
"maxItems": 40
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"value": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 8
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40
},
"id": {
"type": "string",
"maxLength": 80
},
"code": {
"type": "string",
"maxLength": 80
},
"detail": {
"type": "string",
"maxLength": 500
},
"orderId": {
"type": "string",
"maxLength": 80
}
}
},
"maxItems": 80
},
"orders": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"status": {
"type": "string",
"maxLength": 80
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"ordered": {
"type": "string",
"maxLength": 40
},
"postcode": {
"type": "string",
"maxLength": 20
},
"promised": {
"type": "string",
"maxLength": 40
},
"addressId": {
"type": "string",
"maxLength": 80
},
"delivered": {
"type": "string",
"maxLength": 40
},
"windowDays": {
"type": "number",
"maximum": 3650,
"minimum": 0
}
}
},
"maxItems": 80
},
"window": {
"type": "object",
"properties": {
"days": {
"type": "number",
"maximum": 3650,
"minimum": 0
},
"from": {
"type": "string",
"maxLength": 40
}
}
},
"returns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"cost": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"reason": {
"type": "string",
"maxLength": 160
},
"weight": {
"type": "number",
"maximum": 1000000,
"minimum": 0
},
"carrier": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"orderId": {
"type": "string",
"maxLength": 80
},
"currency": {
"type": "string",
"maxLength": 12
},
"requested": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 80
},
"addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"city": {
"type": "string",
"maxLength": 80
},
"line1": {
"type": "string",
"maxLength": 160
},
"line2": {
"type": "string",
"maxLength": 160
},
"region": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 80
},
"postcode": {
"type": "string",
"maxLength": 20
}
}
},
"maxItems": 80
}
}
}