Interparcel MCP by usefulapi

Track parcels, price courier quotes, book orders and add shipments in Interparcel.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
78%
이름 품질
80%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~4,985토큰 (도구 정의)
~5.8 KB일반적인 응답 크기
상당한 주의 영향 (128k 컨텍스트의 3.89%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "interparcel": {
      "url": "https://interparcel.usefulapi.io/mcp"
    }
  }
}

원격 엔드포인트

https://interparcel.usefulapi.io/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (9)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢interparcel_track_parcel(trackingNumber)

Track a parcel by its 12-digit Interparcel tracking number. Returns the current tracking events. Interparcel API: GET /tracking/{trackingNumber}.

입력 스키마

{
  "type": "object",
  "properties": {
    "trackingNumber": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{12}$",
      "description": "The 12-character Interparcel tracking number, for example GB9999999999."
    }
  },
  "required": [
    "trackingNumber"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢interparcel_get_quote(collection, delivery, filter, parcels)

READ ONLY: price the available services for one or more parcels between two addresses. Books nothing and takes no payment. Use the service names and pickup dates it returns when you create an order or shipment. Interparcel API: POST /quote.

입력 스키마

{
  "type": "object",
  "properties": {
    "collection": {
      "type": "object",
      "properties": {
        "city": {
          "type": "string",
          "description": "Town or city."
        },
        "state": {
          "description": "State or province, where the country needs one.",
          "type": "string"
        },
        "postcode": {
          "type": "string",
          "description": "Postcode."
        },
        "country": {
          "type": "string",
          "description": "Country name or ISO country code, for example GB, AU, NZ, FR."
        }
      },
      "required": [
        "city",
        "postcode",
        "country"
      ],
      "additionalProperties": {},
      "description": "Collection address."
    },
    "delivery": {
      "type": "object",
      "properties": {
        "city": {
          "type": "string",
          "description": "Town or city."
        },
        "state": {
          "description": "State or province, where the country needs one.",
          "type": "string"
        },
        "postcode": {
          "type": "string",
          "description": "Postcode."
        },
        "country": {
          "type": "string",
          "description": "Country name or ISO country code, for example GB, AU, NZ, FR."
        }
      },
      "required": [
        "city",
        "postcode",
        "country"
      ],
      "additionalProperties": {},
      "description": "Delivery address."
    },
    "filter": {
      "description": "Optional filters on the quote results.",
      "type": "object",
      "properties": {
        "serviceLevel": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "standard",
              "express",
              "timed",
              "sameday",
              "pallet"
            ]
          }
        },
        "carriers": {
          "description": "Carrier names, for example DX or Parcelforce.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "services": {
          "description": "Service names or codes.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "pickupType": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "collection",
              "dropoff"
            ]
          }
        }
      },
      "additionalProperties": {}
    },
    "parcels": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "weight": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "Parcel weight in kg."
          },
          "length": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "Parcel length in cm."
          },
          "width": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "Parcel width in cm."
          },
          "height": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "Parcel height in cm."
          }
        },
        "required": [
          "weight",
          "length",
          "width",
          "height"
        ],
        "additionalProperties": {}
      },
      "description": "One or more parcels."
    }
  },
  "required": [
    "collection",
    "delivery",
    "parcels"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢interparcel_get_order(orderId)

Get one booked order by its Interparcel order id: status (processing, booked or requires_staff_attention), tracking numbers, price and label status. Interparcel API: GET /orders/{orderId}.

입력 스키마

{
  "type": "object",
  "properties": {
    "orderId": {
      "anyOf": [
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        {
          "type": "string",
          "pattern": "^\\d+$"
        }
      ],
      "description": "The Interparcel order id returned when the order was created."
    }
  },
  "required": [
    "orderId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢interparcel_search_shipments(query, filters, pagination, sort)

READ ONLY: search shipments in Shipping Manager by text or structured filters (status ready, incomplete or on_hold; created and pickup date ranges; reference; names; countries). Paged. Interparcel API: POST /shipments/search.

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "description": "Free text: shipment id, reference, names, addresses, contents.",
      "type": "string"
    },
    "filters": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "reference": {
          "type": "string"
        },
        "service": {
          "type": "string"
        },
        "status": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ready",
              "incomplete",
              "on_hold"
            ]
          }
        },
        "created": {
          "type": "object",
          "properties": {
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            },
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            }
          },
          "additionalProperties": {}
        },
        "pickup": {
          "type": "object",
          "properties": {
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            },
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            }
          },
          "additionalProperties": {}
        },
        "country": {
          "description": "Country name or ISO code (exact match).",
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "postcode": {
          "type": "string"
        },
        "company": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "source": {
          "type": "string"
        }
      },
      "additionalProperties": {}
    },
    "pagination": {
      "type": "object",
      "properties": {
        "page": {
          "description": "Results page, starting at 1.",
          "type": "integer",
          "minimum": 1,
          "maximum": 9007199254740991
        },
        "limit": {
          "description": "Results per page, 1 to 100 (default 50).",
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        }
      },
      "additionalProperties": {}
    },
    "sort": {
      "type": "object",
      "properties": {
        "field": {
          "type": "string",
          "enum": [
            "createdAt",
            "id",
            "reference",
            "service",
            "value",
            "pickupDate"
          ]
        },
        "direction": {
          "type": "string",
          "enum": [
            "asc",
            "desc"
          ]
        }
      },
      "additionalProperties": {}
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢interparcel_get_shipment(shipmentId)

Get one shipment from Shipping Manager by its shipment id: status (ready, incomplete or on_hold), addresses, parcels, selected service, price and validation errors. Interparcel API: GET /shipments/{shipmentId}.

입력 스키마

{
  "type": "object",
  "properties": {
    "shipmentId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,100}$",
      "description": "The shipment id, for example S260921-A8V53CNvn63F."
    }
  },
  "required": [
    "shipmentId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢interparcel_list_saved_cards

List the saved payment cards on the account (id, brand, last four digits, expiry). Use an id as payment.cardId when you create an order. Interparcel API: GET /account/saved-cards.

입력 스키마

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢interparcel_get_prepay_balance

Get the current PrePay balance and currency of the account. Interparcel API: GET /account/prepay/balance.

입력 스키마

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴interparcel_create_order(idempotencyKey, orders, payment)

WRITE, COSTS MONEY: books 1 to 20 courier orders and charges the payment method (saved card or PrePay). Each order books a paid courier job. Get the service and a pickup date from interparcel_get_quote first. Use a unique idempotencyKey (8 to 100 characters): repeating the same request with the same key returns the first result and charges nothing again. Interparcel API: POST /orders (version 2).

입력 스키마

{
  "type": "object",
  "properties": {
    "idempotencyKey": {
      "description": "Unique key for this booking, 8 to 100 characters. Strongly recommended.",
      "type": "string",
      "minLength": 8,
      "maxLength": 100
    },
    "orders": {
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "reference": {
            "description": "Your reference for the order.",
            "type": "string"
          },
          "collection": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 30,
                "description": "Contact name, 30 characters maximum."
              },
              "company": {
                "description": "Company name, 30 characters maximum.",
                "type": "string",
                "maxLength": 30
              },
              "add1": {
                "type": "string",
                "maxLength": 30,
                "description": "Address line 1, 30 characters maximum."
              },
              "add2": {
                "description": "Address line 2.",
                "type": "string"
              },
              "city": {
                "type": "string",
                "description": "Town or city."
              },
              "state": {
                "description": "State or province, where the country needs one.",
                "type": "string"
              },
              "postcode": {
                "description": "Postcode, where the country uses one.",
                "type": "string"
              },
              "country": {
                "type": "string",
                "description": "Country name or ISO country code."
              },
              "email": {
                "description": "Contact email address.",
                "type": "string"
              },
              "telephone": {
                "type": "string",
                "description": "Contact telephone number (required for orders)."
              }
            },
            "required": [
              "name",
              "add1",
              "city",
              "country",
              "telephone"
            ],
            "additionalProperties": {}
          },
          "delivery": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 30,
                "description": "Contact name, 30 characters maximum."
              },
              "company": {
                "description": "Company name, 30 characters maximum.",
                "type": "string",
                "maxLength": 30
              },
              "add1": {
                "type": "string",
                "maxLength": 30,
                "description": "Address line 1, 30 characters maximum."
              },
              "add2": {
                "description": "Address line 2.",
                "type": "string"
              },
              "city": {
                "type": "string",
                "description": "Town or city."
              },
              "state": {
                "description": "State or province, where the country needs one.",
                "type": "string"
              },
              "postcode": {
                "description": "Postcode, where the country uses one.",
                "type": "string"
              },
              "country": {
                "type": "string",
                "description": "Country name or ISO country code."
              },
              "email": {
                "description": "Contact email address.",
                "type": "string"
              },
              "telephone": {
                "type": "string",
                "description": "Contact telephone number (required for orders)."
              }
            },
            "required": [
              "name",
              "add1",
              "city",
              "country",
              "telephone"
            ],
            "additionalProperties": {}
          },
          "parcels": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "weight": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "description": "Parcel weight in kg."
                },
                "length": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "description": "Parcel length in cm."
                },
                "width": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "description": "Parcel width in cm."
                },
                "height": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "description": "Parcel height in cm."
                }
              },
              "required": [
                "weight",
                "length",
                "width",
                "height"
              ],
              "additionalProperties": {}
            }
          },
          "contents": {
            "type": "string",
            "minLength": 3,
            "description": "General description of the contents, at least 3 characters."
          },
          "value": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "Total goods value in the site currency. With customs items, equal to the sum of quantity x value."
          },
          "service": {
            "type": "string",
            "minLength": 1,
            "description": "Service ID or name returned by interparcel_get_quote."
          },
          "pickup": {
            "type": "object",
            "properties": {
              "date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Available pickup date, YYYY-MM-DD. Get it from interparcel_get_quote."
              },
              "earliest": {
                "type": "string",
                "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                "description": "Earliest pickup time, HH:MM."
              },
              "latest": {
                "type": "string",
                "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                "description": "Latest pickup time, HH:MM."
              }
            },
            "required": [
              "date",
              "earliest",
              "latest"
            ],
            "additionalProperties": {}
          },
          "transitCover": {
            "description": "Buy the available extra transit cover. Adds cost.",
            "type": "boolean"
          },
          "customs": {
            "description": "Required when the route needs customs information.",
            "type": "object",
            "properties": {
              "incoterms": {
                "description": "ddu, no_duties, ddp_guaranteed or ddp_not_guaranteed. Default ddu.",
                "type": "string"
              },
              "reason": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "Sale",
                      "Sample",
                      "Repair",
                      "Return",
                      "Gift",
                      "Documents",
                      "Personal Effects"
                    ]
                  },
                  {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 7
                  }
                ],
                "description": "Sale (1), Sample (2), Repair (3), Return (4), Gift (5), Documents (6), Personal Effects (7)."
              },
              "sender": {
                "type": "object",
                "properties": {
                  "taxStatus": {
                    "anyOf": [
                      {
                        "type": "number",
                        "const": 1
                      },
                      {
                        "type": "number",
                        "const": 2
                      },
                      {
                        "type": "number",
                        "const": 3
                      }
                    ],
                    "description": "1 private individual, 2 company not tax registered, 3 company tax registered."
                  },
                  "taxNumber": {
                    "type": "string"
                  },
                  "eori": {
                    "type": "string"
                  },
                  "ukims": {
                    "type": "string"
                  }
                },
                "required": [
                  "taxStatus"
                ],
                "additionalProperties": {}
              },
              "receiver": {
                "type": "object",
                "properties": {
                  "taxStatus": {
                    "anyOf": [
                      {
                        "type": "number",
                        "const": 1
                      },
                      {
                        "type": "number",
                        "const": 2
                      },
                      {
                        "type": "number",
                        "const": 3
                      }
                    ]
                  },
                  "taxNumber": {
                    "type": "string"
                  },
                  "eori": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "items": {
                "minItems": 1,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "parcel": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "description": "One-based parcel number that holds this item."
                    },
                    "description": {
                      "type": "string",
                      "minLength": 5,
                      "maxLength": 40,
                      "description": "Specific item description, 5 to 40 characters."
                    },
                    "hsCode": {
                      "description": "Destination HS code, where the route requires it.",
                      "type": "string"
                    },
                    "quantity": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "description": "Whole number of units."
                    },
                    "value": {
                      "type": "number",
                      "minimum": 0.1,
                      "description": "Value of one unit, minimum 0.10, in the site currency."
                    },
                    "country": {
                      "type": "string",
                      "description": "Country of manufacture, name or ISO code."
                    },
                    "sku": {
                      "description": "Your SKU. Send as a JSON string, not a number.",
                      "type": "string"
                    },
                    "manufacturerReference": {
                      "description": "Manufacturer product ID. Send as a JSON string.",
                      "type": "string"
                    },
                    "barcode": {
                      "description": "GTIN, EAN, UPC or ISBN. Send as a JSON string, or empty when unknown.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "parcel",
                    "description",
                    "quantity",
                    "value",
                    "country"
                  ],
                  "additionalProperties": {}
                },
                "description": "Flat list of customs items. Each item names its parcel."
              }
            },
            "required": [
              "reason",
              "sender",
              "items"
            ],
            "additionalProperties": {}
          },
          "notifications": {
            "description": "Email and SMS tracking notification settings.",
            "type": "object",
            "properties": {},
            "additionalProperties": {}
          }
        },
        "required": [
          "collection",
          "delivery",
          "parcels",
          "contents",
          "value",
          "service",
          "pickup"
        ],
        "additionalProperties": {}
      },
      "description": "The orders to book, 1 to 20."
    },
    "payment": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "method": {
              "type": "string",
              "const": "stored_card"
            },
            "cardId": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "string",
                  "minLength": 1
                }
              ],
              "description": "Saved card id from interparcel_list_saved_cards."
            }
          },
          "required": [
            "method",
            "cardId"
          ],
          "additionalProperties": {}
        },
        {
          "type": "object",
          "properties": {
            "method": {
              "type": "string",
              "const": "prepay"
            }
          },
          "required": [
            "method"
          ],
          "additionalProperties": {}
        }
      ],
      "description": "Pay by a saved card (stored_card with cardId) or from the PrePay balance (prepay)."
    }
  },
  "required": [
    "orders",
    "payment"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴interparcel_add_shipment(validate, reference, collection, delivery, parcels, ...)

WRITE: imports one shipment into Shipping Manager for later booking. It does not book a courier and takes no payment. With validate true (default) the import fails on any validation error; set validate false to import an incomplete shipment for correction. Interparcel API: POST /shipments/add (version 3).

입력 스키마

{
  "type": "object",
  "properties": {
    "validate": {
      "description": "Default true. false imports an incomplete shipment and returns its validation errors.",
      "type": "boolean"
    },
    "reference": {
      "description": "Your reference for the shipment.",
      "type": "string"
    },
    "collection": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 30,
          "description": "Contact name, 30 characters maximum."
        },
        "company": {
          "description": "Company name, 30 characters maximum.",
          "type": "string",
          "maxLength": 30
        },
        "add1": {
          "type": "string",
          "maxLength": 30,
          "description": "Address line 1, 30 characters maximum."
        },
        "add2": {
          "description": "Address line 2.",
          "type": "string"
        },
        "city": {
          "type": "string",
          "description": "Town or city."
        },
        "state": {
          "description": "State or province, where the country needs one.",
          "type": "string"
        },
        "postcode": {
          "description": "Postcode, where the country uses one.",
          "type": "string"
        },
        "country": {
          "type": "string",
          "description": "Country name or ISO country code."
        },
        "email": {
          "description": "Contact email address.",
          "type": "string"
        },
        "telephone": {
          "description": "Contact telephone number.",
          "type": "string"
        }
      },
      "required": [
        "name",
        "add1",
        "city",
        "country"
      ],
      "additionalProperties": {}
    },
    "delivery": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 30,
          "description": "Contact name, 30 characters maximum."
        },
        "company": {
          "description": "Company name, 30 characters maximum.",
          "type": "string",
          "maxLength": 30
        },
        "add1": {
          "type": "string",
          "maxLength": 30,
          "description": "Address line 1, 30 characters maximum."
        },
        "add2": {
          "description": "Address line 2.",
          "type": "string"
        },
        "city": {
          "type": "string",
          "description": "Town or city."
        },
        "state": {
          "description": "State or province, where the country needs one.",
          "type": "string"
        },
        "postcode": {
          "description": "Postcode, where the country uses one.",
          "type": "string"
        },
        "country": {
          "type": "string",
          "description": "Country name or ISO country code."
        },
        "email": {
          "description": "Contact email address.",
          "type": "string"
        },
        "telephone": {
          "description": "Contact telephone number.",
          "type": "string"
        }
      },
      "required": [
        "name",
        "add1",
        "city",
        "country"
      ],
      "additionalProperties": {}
    },
    "parcels": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "weight": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "Parcel weight in kg."
          },
          "length": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "Parcel length in cm."
          },
          "width": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "Parcel width in cm."
          },
          "height": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "Parcel height in cm."
          }
        },
        "required": [
          "weight",
          "length",
          "width",
          "height"
        ],
        "additionalProperties": {}
      }
    },
    "contents": {
      "type": "string",
      "minLength": 3,
      "description": "General description of the contents, at least 3 characters."
    },
    "value": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Total goods value in the site currency."
    },
    "service": {
      "description": "Service ID or name from interparcel_get_quote.",
      "type": "string"
    },
    "pickup": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Available pickup date, YYYY-MM-DD. Get it from interparcel_get_quote."
        },
        "earliest": {
          "type": "string",
          "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
          "description": "Earliest pickup time, HH:MM."
        },
        "latest": {
          "type": "string",
          "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
          "description": "Latest pickup time, HH:MM."
        }
      },
      "required": [
        "date",
        "earliest",
        "latest"
      ],
      "additionalProperties": {}
    },
    "transitCover": {
      "type": "boolean"
    },
    "customs": {
      "description": "Required when the route needs customs information.",
      "type": "object",
      "properties": {
        "incoterms": {
          "description": "ddu, no_duties, ddp_guaranteed or ddp_not_guaranteed. Default ddu.",
          "type": "string"
        },
        "reason": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "Sale",
                "Sample",
                "Repair",
                "Return",
                "Gift",
                "Documents",
                "Personal Effects"
              ]
            },
            {
              "type": "integer",
              "minimum": 1,
              "maximum": 7
            }
          ],
          "description": "Sale (1), Sample (2), Repair (3), Return (4), Gift (5), Documents (6), Personal Effects (7)."
        },
        "sender": {
          "type": "object",
          "properties": {
            "taxStatus": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "number",
                  "const": 2
                },
                {
                  "type": "number",
                  "const": 3
                }
              ],
              "description": "1 private individual, 2 company not tax registered, 3 company tax registered."
            },
            "taxNumber": {
              "type": "string"
            },
            "eori": {
              "type": "string"
            },
            "ukims": {
              "type": "string"
            }
          },
          "required": [
            "taxStatus"
          ],
          "additionalProperties": {}
        },
        "receiver": {
          "type": "object",
          "properties": {
            "taxStatus": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "number",
                  "const": 2
                },
                {
                  "type": "number",
                  "const": 3
                }
              ]
            },
            "taxNumber": {
              "type": "string"
            },
            "eori": {
              "type": "string"
            }
          },
          "additionalProperties": {}
        },
        "items": {
          "minItems": 1,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "parcel": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "description": "One-based parcel number that holds this item."
              },
              "description": {
                "type": "string",
                "minLength": 5,
                "maxLength": 40,
                "description": "Specific item description, 5 to 40 characters."
              },
              "hsCode": {
                "description": "Destination HS code, where the route requires it.",
                "type": "string"
              },
              "quantity": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "description": "Whole number of units."
              },
              "value": {
                "type": "number",
                "minimum": 0.1,
                "description": "Value of one unit, minimum 0.10, in the site currency."
              },
              "country": {
                "type": "string",
                "description": "Country of manufacture, name or ISO code."
              },
              "sku": {
                "description": "Your SKU. Send as a JSON string, not a number.",
                "type": "string"
              },
              "manufacturerReference": {
                "description": "Manufacturer product ID. Send as a JSON string.",
                "type": "string"
              },
              "barcode": {
                "description": "GTIN, EAN, UPC or ISBN. Send as a JSON string, or empty when unknown.",
                "type": "string"
              }
            },
            "required": [
              "parcel",
              "description",
              "quantity",
              "value",
              "country"
            ],
            "additionalProperties": {}
          },
          "description": "Flat list of customs items. Each item names its parcel."
        }
      },
      "required": [
        "reason",
        "sender",
        "items"
      ],
      "additionalProperties": {}
    }
  },
  "required": [
    "collection",
    "delivery",
    "parcels",
    "contents",
    "value",
    "pickup"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 9개