A single subscription to parcels.event.created delivers two unrelated response shapes, selected by data.event.event_type:
event.event_type
Response shape
What it represents
carrier, calculated, internal
Tracking Event
A parcel tracking update: phase/exception/status_type/sub_status plus location and carrier metadata.
claim
Claim Event
A Support Automation ticket update: its own phase/sub_status values, ticket/category identifiers, and refund/resolution fields.
The two shapes do not share fields beyond event_type and timestamp — in particular, phase and sub_status are different enums on each shape. Always check event.event_type first and parse the rest of event according to that value; do not assume a tracking field (e.g. exception) is present on a claim event, or vice versa.
Parsing the payload
Whatever language you use, the approach is the same:
Read data.event.event_type.
Pick the model: carrier, calculated or internal → Tracking Event; claim → Claim Event.
Parse data.event with that model. Treat phase, sub_status, category, resolution and origin as plain strings, because new values can be added at any time.
<?php$event = $payload['data']['event'];switch ($event['event_type']) { case 'carrier': case 'calculated': case 'internal': handleTrackingEvent($event); // phase, exception, status_type, sub_status, ... break; case 'claim': handleClaimEvent($event); // phase, sub_status, ticket_id, claim_event_id, ... break; default: // Unknown event type: acknowledge with a 2xx and ignore it. break;}
Identifying the parcel
data.parcel.parcel_id: the Sendcloud tracking parcel ID. It is not the Shipping API parcel ID.
data.parcel.source_id: the parcel ID in the source system. The value depends on data.parcel.source:
shipping: the Shipping API parcel ID.
external_parcel: the ID you sent when you registered the parcel with the Parcel Tracking API.
source_id is unique for shipping parcels.
For external_parcel parcels, source_id is your own reference. Do not use it as a unique key: if you use the same reference with a different carrier, two parcels have the same source_id.
Internal events
Events with event_typeinternal come from Sendcloud, not from the carrier.
Examples: announcing, announced, ready to send, cancelled.
An internal event can arrive before the parcel.created event for the same parcel.
Events sent again
Sendcloud can send the same carrier event more than one time.
event.id stays the same for each copy. For internal and calculated events, event.id is null.
The data can change between copies. When you get an event.id that you already have, replace the earlier copy.
Example: a carrier sends a status code that Sendcloud does not know yet. Sendcloud sends the event with an unknown status. When Sendcloud maps the status code, it sends the event again with the correct status. Sendcloud does this only for carrier events from the last 7 days.
Body
application/json
Event data delivered to your endpoint
Event payload delivered to your endpoint when a parcel tracking event occurs.
event_type
enum<string>
required
The event type identifier.
Available options:
parcels.event.created
Example:
"parcels.event.created"
data
object
required
The event payload.
Show child attributes
Response
200
Return a 2xx status to acknowledge receipt of the event.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sendcloud API Developer Portal","colors":{"primary":"#007deb","light":"#4aacff","dark":"#007deb"},"logo":{"light":"https://mintcdn.com/sendcloud/XCwUHYDXpvdKQUUZ/images/logo/sendcloud-light.svg?fit=max\u0026auto=format\u0026n=XCwUHYDXpvdKQUUZ\u0026q=85\u0026s=7f1beaa17361a486dea3cfbda34467ac","dark":"https://mintcdn.com/sendcloud/XCwUHYDXpvdKQUUZ/images/logo/sendcloud-dark.svg?fit=max\u0026auto=format\u0026n=XCwUHYDXpvdKQUUZ\u0026q=85\u0026s=d3f06cc6feef9092376cf6119275f26e"},"favicon":"https://mintcdn.com/sendcloud/LIehat_olPczp-rn/favicon.ico?fit=max\u0026auto=format\u0026n=LIehat_olPczp-rn\u0026q=85\u0026s=d41952b19261251914b518e534693461","footer":{"socials":{"facebook":"https://www.facebook.com/sendcloud","instagram":"https://instagram.com/sendcloud","linkedin":"https://www.linkedin.com/company/sendcloud"},"links":[{"header":"Product","items":[{"label":"About us","href":"https://sendcloud.com"},{"label":"Sendcloud platform","href":"https://app.sendcloud.com"},{"label":"Release log","href":"https://releaselog.sendcloud.com/changelog"},{"label":"Jobs 🚀","href":"https://jobs.sendcloud.com"}]},{"header":"Support","items":[{"label":"Help center","href":"https://support.sendcloud.com"},{"label":"Status page","href":"https://status.sendcloud.com"}]}]},"seo":{"metatags":{"google-site-verification":"Wl-7Uz7alSq_fG01AMbtDKMMQIDt-yQ4u7uFB3QuV8k"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","download-spec"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sendcloud","hasAudioNarration":false,"actualSubdomain":"sendcloud","customDomains":["sendcloud.dev"],"gitSource":{"type":"gitlab","owner":"sendcloud/platform/api","repo":"sendcloud-public-api-documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"projectId":75015551,"mountPath":"","label":"","_id":"6b0934046971750a5e498611"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0934046971750a5e498616","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"API v3","count":150},{"language":"default","tag":"API v2","count":92},{"language":"default","tag":"Developer guides","count":66},{"language":"default","tag":"Shipping","count":40},{"language":"default","tag":"Tracking \u0026 post-purchase","count":30},{"language":"default","tag":"Shipments","count":24},{"language":"default","tag":"Events \u0026 notifications","count":22},{"language":"default","tag":"Support","count":20},{"language":"default","tag":"Getting started","count":17},{"language":"default","tag":"Event subscriptions","count":15}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".mermaid svg{margin-inline:auto}"}]}
{"page":{"pagePath":"api/v3/event-subscriptions/parcel-event-created","slug":"/api/v3/event-subscriptions/parcel-event-created","pageMetadata":{"title":"Parcel event created","description":"Delivered to your connection endpoint when a parcel tracking event occurs (e.g., a status change such as shipped, delivered, or returned).\n\nSubscribe to this event type using `parcels.event.created` when creating a subscription.","version":null,"deprecated":null,"openapi":"/.openapi/v3/event-subscriptions/openapi.yaml webhook ParcelEventCreated","href":"/api/v3/event-subscriptions/parcel-event-created","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Delivered to your connection endpoint when a parcel tracking event occurs (e.g., a status change such as shipped, delivered, or returned).\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Subscribe to this event type using \", _jsx(_components.code, {\n children: \"parcels.event.created\"\n }), \" when creating a subscription.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`A single subscription to `,_jsx(_components.code,{children:`parcels.event.created`}),` delivers two unrelated response shapes, selected by `,_jsx(_components.code,{children:`data.event.event_type`}),`:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`event.event_type`})}),_jsx(_components.th,{children:`Response shape`}),_jsx(_components.th,{children:`What it represents`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`carrier`}),`, `,_jsx(_components.code,{children:`calculated`}),`, `,_jsx(_components.code,{children:`internal`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Tracking Event`})}),_jsxs(_components.td,{children:[`A parcel tracking update: `,_jsx(_components.code,{children:`phase`}),`/`,_jsx(_components.code,{children:`exception`}),`/`,_jsx(_components.code,{children:`status_type`}),`/`,_jsx(_components.code,{children:`sub_status`}),` plus location and carrier metadata.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`claim`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Claim Event`})}),_jsxs(_components.td,{children:[`A Support Automation ticket update: its own `,_jsx(_components.code,{children:`phase`}),`/`,_jsx(_components.code,{children:`sub_status`}),` values, ticket/category identifiers, and refund/resolution fields.`]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The two shapes do not share fields beyond `,_jsx(_components.code,{children:`event_type`}),` and `,_jsx(_components.code,{children:`timestamp`}),` — in particular, `,_jsx(_components.code,{children:`phase`}),` and `,_jsx(_components.code,{children:`sub_status`}),` are `,_jsx(_components.em,{children:`different enums`}),` on each shape. Always check `,_jsx(_components.code,{children:`event.event_type`}),` first and parse the rest of `,_jsx(_components.code,{children:`event`}),` according to that value; do not assume a tracking field (e.g. `,_jsx(_components.code,{children:`exception`}),`) is present on a claim event, or vice versa.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`parsing-the-payload`,children:`Parsing the payload`}),`\n`,_jsx(_components.p,{children:`Whatever language you use, the approach is the same:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Read `,_jsx(_components.code,{children:`data.event.event_type`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Pick the model: `,_jsx(_components.code,{children:`carrier`}),`, `,_jsx(_components.code,{children:`calculated`}),` or `,_jsx(_components.code,{children:`internal`}),` → `,_jsx(_components.code,{children:`Tracking Event`}),`; `,_jsx(_components.code,{children:`claim`}),` → `,_jsx(_components.code,{children:`Claim Event`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Parse `,_jsx(_components.code,{children:`data.event`}),` with that model. Treat `,_jsx(_components.code,{children:`phase`}),`, `,_jsx(_components.code,{children:`sub_status`}),`, `,_jsx(_components.code,{children:`category`}),`, `,_jsx(_components.code,{children:`resolution`}),` and `,_jsx(_components.code,{children:`origin`}),` as plain strings, because new values can be added at any time.`]}),`\n`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Python (Pydantic v2)`,numberOfLines:`21`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` typing `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Annotated, Literal, Union`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pydantic `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` BaseModel, Field`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` TrackingEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`BaseModel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` event_type: Literal[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"carrier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"calculated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"internal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` timestamp: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` phase: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` sub_status: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # ...other tracking fields`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` ClaimEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`BaseModel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` event_type: Literal[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"claim\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` timestamp: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` phase: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` sub_status: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ticket_id: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`int`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` claim_event_id: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`int`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # ...other claim fields`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` EventData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`BaseModel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` event: Annotated[Union[TrackingEvent, ClaimEvent], Field(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`discriminator`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)]`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`TypeScript (Zod)`,numberOfLines:`28`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`28`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"zod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` TrackingEvent`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` event_type:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`enum`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`([`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"carrier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"calculated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"internal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` timestamp:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` phase:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sub_status:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // ...other tracking fields`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` ClaimEvent`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` event_type:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`literal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"claim\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` timestamp:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` phase:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sub_status:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ticket_id:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`number`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`int`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` claim_event_id:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`number`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`int`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // ...other claim fields`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` EventData`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` event:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`discriminatedUnion`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` TrackingEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`extend`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`event_type:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`literal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"carrier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) }),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` TrackingEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`extend`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`event_type:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`literal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"calculated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) }),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` TrackingEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`extend`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`event_type:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` z`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`literal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"internal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) }),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ClaimEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`PHP`,numberOfLines:`16`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c?`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`php`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$event`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $payload`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'data'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'event'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`];`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`switch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'event_type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'carrier'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'calculated'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'internal'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` handleTrackingEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// phase, exception, status_type, sub_status, ...`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` break`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'claim'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` handleClaimEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// phase, sub_status, ticket_id, claim_event_id, ...`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` break`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` default`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Unknown event type: acknowledge with a 2xx and ignore it.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` break`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`identifying-the-parcel`,children:`Identifying the parcel`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`data.parcel.parcel_id`}),`: the Sendcloud tracking parcel ID. It is not the Shipping API parcel ID.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`data.parcel.source_id`}),`: the parcel ID in the source system. The value depends on `,_jsx(_components.code,{children:`data.parcel.source`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`shipping`}),`: the Shipping API parcel ID.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`external_parcel`}),`: the ID you sent when you registered the parcel with the Parcel Tracking API.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`source_id`}),` is unique for `,_jsx(_components.code,{children:`shipping`}),` parcels.`]}),`\n`,_jsxs(_components.li,{children:[`For `,_jsx(_components.code,{children:`external_parcel`}),` parcels, `,_jsx(_components.code,{children:`source_id`}),` is your own reference. Do not use it as a unique key: if you use the same reference with a different carrier, two parcels have the same `,_jsx(_components.code,{children:`source_id`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`internal-events`,children:`Internal events`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Events with `,_jsx(_components.code,{children:`event_type`}),` `,_jsx(_components.code,{children:`internal`}),` come from Sendcloud, not from the carrier.`]}),`\n`,_jsx(_components.li,{children:`Examples: announcing, announced, ready to send, cancelled.`}),`\n`,_jsxs(_components.li,{children:[`An internal event can arrive before the `,_jsx(_components.code,{children:`parcel.created`}),` event for the same parcel.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`events-sent-again`,children:`Events sent again`}),`\n`,_jsx(_components.p,{children:`Sendcloud can send the same carrier event more than one time.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`event.id`}),` stays the same for each copy. For internal and calculated events, `,_jsx(_components.code,{children:`event.id`}),` is `,_jsx(_components.code,{children:`null`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`The data can change between copies. When you get an `,_jsx(_components.code,{children:`event.id`}),` that you already have, replace the earlier copy.`]}),`\n`,_jsx(_components.li,{children:`Example: a carrier sends a status code that Sendcloud does not know yet. Sendcloud sends the event with an unknown status. When Sendcloud maps the status code, it sends the event again with the correct status. Sendcloud does this only for carrier events from the last 7 days.`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Parcel event created","description":"Delivered to your connection endpoint when a parcel tracking event occurs (e.g., a status change such as shipped, delivered, or returned).\n\nSubscribe to this event type using `parcels.event.created` when creating a subscription.","version":null,"deprecated":null,"openapi":"/.openapi/v3/event-subscriptions/openapi.yaml webhook ParcelEventCreated","href":"/api/v3/event-subscriptions/parcel-event-created","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Parsing the payload","slug":"parsing-the-payload","depth":3,"children":[]},{"title":"Identifying the parcel","slug":"identifying-the-parcel","depth":3,"children":[]},{"title":"Internal events","slug":"internal-events","depth":3,"children":[]},{"title":"Events sent again","slug":"events-sent-again","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/sendcloud/85bcd80b47d42300/js/cookiebot.js"],"openApiReferenceData":{"operation":{"operationId":"sc-public-v3-event-subscriptions-parcel_event_created","summary":"Parcels event created","description":"Delivered to your connection endpoint when a parcel tracking event occurs (e.g., a status change such as shipped, delivered, or returned).\n\nSubscribe to this event type using `parcels.event.created` when creating a subscription.","x-mint":{"href":"/api/v3/event-subscriptions/parcel-event-created","content":"A single subscription to `parcels.event.created` delivers two unrelated response shapes, selected by `data.event.event_type`:\n\n| `event.event_type` | Response shape | What it represents |\n| --- | --- | --- |\n| `carrier`, `calculated`, `internal` | `Tracking Event` | A parcel tracking update: `phase`/`exception`/`status_type`/`sub_status` plus location and carrier metadata. |\n| `claim` | `Claim Event` | A Support Automation ticket update: its own `phase`/`sub_status` values, ticket/category identifiers, and refund/resolution fields. |\n\n\u003cWarning>\n The two shapes do not share fields beyond `event_type` and `timestamp` — in particular, `phase` and `sub_status` are *different enums* on each shape. Always check `event.event_type` first and parse the rest of `event` according to that value; do not assume a tracking field (e.g. `exception`) is present on a claim event, or vice versa.\n\u003c/Warning>\n\n### Parsing the payload\n\nWhatever language you use, the approach is the same:\n\n1. Read `data.event.event_type`.\n2. Pick the model: `carrier`, `calculated` or `internal` → `Tracking Event`; `claim` → `Claim Event`.\n3. Parse `data.event` with that model. Treat `phase`, `sub_status`, `category`, `resolution` and `origin` as plain strings, because new values can be added at any time.\n\n\u003cCodeGroup>\n```python Python (Pydantic v2)\nfrom typing import Annotated, Literal, Union\nfrom pydantic import BaseModel, Field\n\nclass TrackingEvent(BaseModel):\n event_type: Literal[\"carrier\", \"calculated\", \"internal\"]\n timestamp: str\n phase: str\n sub_status: str\n # ...other tracking fields\n\nclass ClaimEvent(BaseModel):\n event_type: Literal[\"claim\"]\n timestamp: str\n phase: str\n sub_status: str\n ticket_id: int\n claim_event_id: int\n # ...other claim fields\n\nclass EventData(BaseModel):\n event: Annotated[Union[TrackingEvent, ClaimEvent], Field(discriminator=\"event_type\")]\n```\n\n```typescript TypeScript (Zod)\nimport { z } from \"zod\";\n\nconst TrackingEvent = z.object({\n event_type: z.enum([\"carrier\", \"calculated\", \"internal\"]),\n timestamp: z.string(),\n phase: z.string(),\n sub_status: z.string(),\n // ...other tracking fields\n});\n\nconst ClaimEvent = z.object({\n event_type: z.literal(\"claim\"),\n timestamp: z.string(),\n phase: z.string(),\n sub_status: z.string(),\n ticket_id: z.number().int(),\n claim_event_id: z.number().int(),\n // ...other claim fields\n});\n\nconst EventData = z.object({\n event: z.discriminatedUnion(\"event_type\", [\n TrackingEvent.extend({ event_type: z.literal(\"carrier\") }),\n TrackingEvent.extend({ event_type: z.literal(\"calculated\") }),\n TrackingEvent.extend({ event_type: z.literal(\"internal\") }),\n ClaimEvent,\n ]),\n});\n```\n\n```php PHP\n\u003c?php\n$event = $payload['data']['event'];\n\nswitch ($event['event_type']) {\n case 'carrier':\n case 'calculated':\n case 'internal':\n handleTrackingEvent($event); // phase, exception, status_type, sub_status, ...\n break;\n case 'claim':\n handleClaimEvent($event); // phase, sub_status, ticket_id, claim_event_id, ...\n break;\n default:\n // Unknown event type: acknowledge with a 2xx and ignore it.\n break;\n}\n```\n\u003c/CodeGroup>\n\n### Identifying the parcel\n\n- `data.parcel.parcel_id`: the Sendcloud tracking parcel ID. It is not the Shipping API parcel ID.\n- `data.parcel.source_id`: the parcel ID in the source system. The value depends on `data.parcel.source`:\n - `shipping`: the Shipping API parcel ID.\n - `external_parcel`: the ID you sent when you registered the parcel with the Parcel Tracking API.\n- `source_id` is unique for `shipping` parcels.\n- For `external_parcel` parcels, `source_id` is your own reference. Do not use it as a unique key: if you use the same reference with a different carrier, two parcels have the same `source_id`.\n\n### Internal events\n\n- Events with `event_type` `internal` come from Sendcloud, not from the carrier.\n- Examples: announcing, announced, ready to send, cancelled.\n- An internal event can arrive before the `parcel.created` event for the same parcel.\n\n### Events sent again\n\nSendcloud can send the same carrier event more than one time.\n\n- `event.id` stays the same for each copy. For internal and calculated events, `event.id` is `null`.\n- The data can change between copies. When you get an `event.id` that you already have, replace the earlier copy.\n- Example: a carrier sends a status code that Sendcloud does not know yet. Sendcloud sends the event with an unknown status. When Sendcloud maps the status code, it sends the event again with the correct status. Sendcloud does this only for carrier events from the last 7 days."},"tags":["Events"],"security":[],"requestBody":"aa4c2819-0441-4586-bbdf-57b17fb21299","responses":{"200":"7033d15d-c8a1-4715-b82c-cc5a6c910046"},"method":"post","type":"webhook","servers":["3b7a012d-1076-46a0-bd1d-e7f53ddb4c62"],"path":"ParcelEventCreated","baseUrlOptions":["https://panel.sendcloud.sc/api/v3"],"title":"Parcels event created","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"language":"json","filename":"InTransit","code":"{\n \"event_type\": \"parcels.event.created\",\n \"data\": {\n \"parcel\": {\n \"parcel_id\": 12345678,\n \"tracking_number\": \"3SYZXG132912330\",\n \"carrier_code\": \"dpd\",\n \"announced_at\": \"2026-01-15T10:00:00Z\",\n \"order_number\": \"ORDER-12345\",\n \"source\": \"shipping\",\n \"source_id\": \"412345678\"\n },\n \"event\": {\n \"id\": 734512001,\n \"event_type\": \"carrier\",\n \"timestamp\": \"2026-01-15T10:30:00Z\",\n \"phase\": \"in_transit\",\n \"exception\": \"none\",\n \"status_type\": \"success\",\n \"sub_status\": \"none\",\n \"description\": \"Parcel is on its way\",\n \"end_of_tracking\": false,\n \"is_offered\": false,\n \"is_carrier_responsible\": null,\n \"is_returned\": false,\n \"location_details\": {\n \"city\": \"Eindhoven\",\n \"country\": \"NL\",\n \"house_number\": null,\n \"postal_code\": null,\n \"street\": null,\n \"service_point_id\": null,\n \"depot\": null\n },\n \"extra_data\": null\n }\n }\n}"},{"language":"json","filename":"Delivered","code":"{\n \"event_type\": \"parcels.event.created\",\n \"data\": {\n \"parcel\": {\n \"parcel_id\": 12345678,\n \"tracking_number\": \"3SYZXG132912330\",\n \"carrier_code\": \"dpd\",\n \"announced_at\": \"2026-01-15T10:00:00Z\",\n \"order_number\": \"ORDER-12345\",\n \"source\": \"shipping\",\n \"source_id\": \"412345678\"\n },\n \"event\": {\n \"id\": 734512088,\n \"event_type\": \"carrier\",\n \"timestamp\": \"2026-01-16T14:22:00Z\",\n \"phase\": \"delivered\",\n \"exception\": \"none\",\n \"status_type\": \"success\",\n \"sub_status\": \"none\",\n \"description\": \"Parcel has been delivered\",\n \"end_of_tracking\": true,\n \"is_offered\": true,\n \"is_carrier_responsible\": null,\n \"is_returned\": false,\n \"location_details\": null,\n \"extra_data\": null\n }\n }\n}"},{"language":"json","filename":"ClaimTicketCreated","code":"{\n \"event_type\": \"parcels.event.created\",\n \"data\": {\n \"parcel\": {\n \"parcel_id\": 12345678,\n \"tracking_number\": \"3SYZXG132912330\",\n \"carrier_code\": \"dpd\",\n \"announced_at\": \"2026-01-15T10:00:00Z\",\n \"order_number\": \"ORDER-12345\",\n \"source\": \"shipping\",\n \"source_id\": \"412345678\"\n },\n \"event\": {\n \"event_type\": \"claim\",\n \"timestamp\": \"2026-01-17T09:00:00Z\",\n \"phase\": \"open\",\n \"sub_status\": \"none\",\n \"category\": \"lost\",\n \"ticket_id\": 987654,\n \"claim_event_id\": 555111,\n \"refund_price\": null,\n \"refund_price_eur\": null,\n \"request_id\": null,\n \"attachment_type\": null,\n \"title\": null,\n \"message\": null,\n \"resolution\": null,\n \"origin\": \"public\"\n }\n }\n}"},{"language":"json","filename":"ClaimActionRequired","code":"{\n \"event_type\": \"parcels.event.created\",\n \"data\": {\n \"parcel\": {\n \"parcel_id\": 12345678,\n \"tracking_number\": \"3SYZXG132912330\",\n \"carrier_code\": \"dpd\",\n \"announced_at\": \"2026-01-15T10:00:00Z\",\n \"order_number\": \"ORDER-12345\",\n \"source\": \"shipping\",\n \"source_id\": \"412345678\"\n },\n \"event\": {\n \"event_type\": \"claim\",\n \"timestamp\": \"2026-01-18T11:15:00Z\",\n \"phase\": \"action_required\",\n \"sub_status\": \"customer_documents_requested\",\n \"category\": \"lost\",\n \"ticket_id\": 987654,\n \"claim_event_id\": 555112,\n \"refund_price\": {\n \"value\": \"54.90\",\n \"currency\": \"USD\"\n },\n \"refund_price_eur\": {\n \"value\": \"50.12\",\n \"currency\": \"EUR\"\n },\n \"request_id\": 4321,\n \"attachment_type\": \"photo\",\n \"title\": \"We need a photo of the damaged item\",\n \"message\": \"Please upload a photo showing the damage to proceed with your claim.\",\n \"resolution\": null,\n \"origin\": \"public\"\n }\n }\n}"},{"language":"json","filename":"ClaimResolved","code":"{\n \"event_type\": \"parcels.event.created\",\n \"data\": {\n \"parcel\": {\n \"parcel_id\": 12345678,\n \"tracking_number\": \"3SYZXG132912330\",\n \"carrier_code\": \"dpd\",\n \"announced_at\": \"2026-01-15T10:00:00Z\",\n \"order_number\": \"ORDER-12345\",\n \"source\": \"shipping\",\n \"source_id\": \"412345678\"\n },\n \"event\": {\n \"event_type\": \"claim\",\n \"timestamp\": \"2026-01-20T16:45:00Z\",\n \"phase\": \"manually_solved_stage\",\n \"sub_status\": \"solved\",\n \"category\": \"lost\",\n \"ticket_id\": 987654,\n \"claim_event_id\": 555113,\n \"refund_price\": {\n \"value\": \"54.90\",\n \"currency\": \"USD\"\n },\n \"refund_price_eur\": {\n \"value\": \"50.12\",\n \"currency\": \"EUR\"\n },\n \"request_id\": null,\n \"attachment_type\": null,\n \"title\": null,\n \"message\": null,\n \"resolution\": \"claim_approved\",\n \"origin\": \"public\"\n }\n }\n}"}],"requestExampleType":"webhook","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"Event data delivered to your endpoint","content":{"application/json":{"schema":{"type":"object","description":"Event payload delivered to your endpoint when a parcel tracking event occurs.","required":["event_type","data"],"properties":{"event_type":{"type":"string","description":"The event type identifier.","example":"parcels.event.created","enum":["parcels.event.created"],"isRequired":true,"uniqueKey":"event_type","typeLabel":"enum\u003cstring>"},"data":{"type":"object","description":"The event payload.","required":["parcel","event"],"properties":{"parcel":{"type":"object","description":"Parcel identifiers included in event deliveries.","required":["parcel_id","carrier_code"],"properties":{"parcel_id":{"type":"integer","description":"Sendcloud tracking parcel ID, used by event subscriptions. Not the Shipping API parcel ID. For that, use `source_id` when `source` is `shipping`.","example":12345678,"isRequired":true,"uniqueKey":"data.parcel.parcel_id","typeLabel":"integer"},"carrier_code":{"type":"string","description":"Short carrier code (e.g. `dpd`, `dhl`, `postnl`).","example":"dpd","isRequired":true,"uniqueKey":"data.parcel.carrier_code","typeLabel":"string"},"tracking_number":{"oneOf":[{"type":"string","description":"Carrier-issued tracking number.","example":"3SYZXG132912330","uniqueKey":"data.parcel.tracking_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Carrier-issued tracking number.","example":"3SYZXG132912330","uniqueKey":"data.parcel.tracking_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.parcel.tracking_number","typeLabel":"string | null"},"announced_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the carrier was announced for this parcel.","example":"2026-01-15T10:00:00Z","uniqueKey":"data.parcel.announced_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 timestamp of when the carrier was announced for this parcel.","example":"2026-01-15T10:00:00Z","uniqueKey":"data.parcel.announced_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.parcel.announced_at","typeLabel":"string\u003cdate-time> | null"},"order_number":{"oneOf":[{"type":"string","description":"Order number associated with the parcel.","example":"ORDER-12345","uniqueKey":"data.parcel.order_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Order number associated with the parcel.","example":"ORDER-12345","uniqueKey":"data.parcel.order_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.parcel.order_number","typeLabel":"string | null"},"source":{"oneOf":[{"type":"string","description":"How the parcel entered Sendcloud tracking. `shipping`: the parcel was made with the Sendcloud panel, the Shipping API, or an integration. `external_parcel`: the parcel was registered with the Parcel Tracking API (Create an external parcel for tracking) or came from order sync. `support`: the parcel was made by Sendcloud support automation. `null` when the source is not known.","example":"shipping","enum":["shipping","external_parcel","support",null],"uniqueKey":"data.parcel.source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"How the parcel entered Sendcloud tracking. `shipping`: the parcel was made with the Sendcloud panel, the Shipping API, or an integration. `external_parcel`: the parcel was registered with the Parcel Tracking API (Create an external parcel for tracking) or came from order sync. `support`: the parcel was made by Sendcloud support automation. `null` when the source is not known.","example":"shipping","enum":["shipping","external_parcel","support",null],"uniqueKey":"data.parcel.source.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.parcel.source","typeLabel":"enum\u003cstring> | null"},"source_id":{"oneOf":[{"type":"string","description":"Parcel ID in its source system. When `source` is `shipping`, this is the Shipping API parcel ID. When `source` is `external_parcel`, this is the ID you sent (for order sync, an ID generated from the order). Not unique: a carrier can reuse a tracking number for another parcel. `null` when the source is not known.","example":"412345678","uniqueKey":"data.parcel.source_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Parcel ID in its source system. When `source` is `shipping`, this is the Shipping API parcel ID. When `source` is `external_parcel`, this is the ID you sent (for order sync, an ID generated from the order). Not unique: a carrier can reuse a tracking number for another parcel. `null` when the source is not known.","example":"412345678","uniqueKey":"data.parcel.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.parcel.source_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.parcel","typeLabel":"object"},"event":{"oneOf":[{"type":"object","title":"Tracking Event","description":"Parcel tracking event data for carrier, calculated and internal events. Does not apply to claim events — see `Claim Event` for those.","required":["event_type","timestamp","phase","exception","status_type","sub_status"],"properties":{"event_type":{"type":"string","description":"Always one of the tracking event types for this shape. `internal` events come from Sendcloud, not from the carrier, and can arrive before `parcel.created`.","example":"carrier","enum":["carrier","calculated","internal"],"isRequired":true,"uniqueKey":"data.event.oneOf.0.event_type","typeLabel":"enum\u003cstring>"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the event occurred.","example":"2026-01-15T10:30:00Z","isRequired":true,"uniqueKey":"data.event.oneOf.0.timestamp","typeLabel":"string\u003cdate-time>"},"phase":{"type":"string","title":"Parcel Event Phase","description":"Current delivery phase of a carrier, calculated or internal tracking event. Support Automation claim events use a separate set of phase values; see `Support Investigation Phase`.","enum":["accepted","announced","announcing","attempted","cancelled","customs","delivered","delivery_forced","dropped","in_delivery","in_transit","labelled","no_label","none","pup","ready_to_send","sorted","unknown"],"example":"in_transit","isRequired":true,"uniqueKey":"data.event.oneOf.0.phase","typeLabel":"enum\u003cstring>"},"exception":{"type":"string","title":"Parcel Event Exception","description":"Exception on the current phase, or `none` when on the expected path.","enum":["address_error","announcement_failed","calculated_delivery_delay","calculated_handover_delay","cancellation_failed","cancelled","cancelled_upstream","cancelling","cancelling_upstream","changed","claim","claimable","customer_rejected","customer_support","customs_issue","damaged","delay_unknown","delivery_delay","dropoff_expiration","handover_delay","hold","missing","none","non_conformity","off_radar","pup_expiration","refused","relabelled","returned_sender","sorting_delay","unknown"],"example":"none","isRequired":true,"uniqueKey":"data.event.oneOf.0.exception","typeLabel":"enum\u003cstring>"},"status_type":{"type":"string","title":"Parcel Event Status Type","description":"Severity of the event.","enum":["error","success","warning"],"example":"success","isRequired":true,"uniqueKey":"data.event.oneOf.0.status_type","typeLabel":"enum\u003cstring>"},"sub_status":{"type":"string","title":"Parcel Event Sub Status","description":"Additional granularity within the phase/exception combination of a carrier/calculated tracking event. Support Automation claim events use a separate set of sub-status values; see `Support Investigation Sub Status`.","enum":["accepted","additional_information","carrier","company_closed","connection_missed","content","cut_off","damaged","delay","delivery_change","disposed","documents","duplicate","expired","high_volume","inaccessible","incorrect_information","in_progress","late","locker","mailbox","max_measure","max_weight","mechanical","misrouted","missort","neighbour","none","not_home","not_ordered","packaging","parcel_found","partly","passed","payment","postal_box","prohibited_item","pup","pup_closed","receiver","rejected","requested","resolved","safeplace","sender","shop","signature","traffic","undeliverable","unknown","unknown_receiver","updated","weather_conditions","1","2","3"],"example":"none","isRequired":true,"uniqueKey":"data.event.oneOf.0.sub_status","typeLabel":"enum\u003cstring>"},"id":{"oneOf":[{"type":"integer","description":"Sendcloud ID of the carrier event. It stays the same when Sendcloud sends the event again, and the data can change. Replace the earlier copy. `null` for internal and calculated events.","example":734512001,"uniqueKey":"data.event.oneOf.0.id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Sendcloud ID of the carrier event. It stays the same when Sendcloud sends the event again, and the data can change. Replace the earlier copy. `null` for internal and calculated events.","example":734512001,"uniqueKey":"data.event.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.id","typeLabel":"integer | null"},"description":{"oneOf":[{"type":"string","description":"Human-readable carrier description of the event.","example":"Parcel is on its way","uniqueKey":"data.event.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable carrier description of the event.","example":"Parcel is on its way","uniqueKey":"data.event.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.description","typeLabel":"string | null"},"end_of_tracking":{"oneOf":[{"type":"boolean","description":"True when there will be no further tracking updates.","example":false,"uniqueKey":"data.event.oneOf.0.end_of_tracking.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"True when there will be no further tracking updates.","example":false,"uniqueKey":"data.event.oneOf.0.end_of_tracking.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.end_of_tracking","typeLabel":"boolean | null"},"is_offered":{"oneOf":[{"type":"boolean","description":"True when the parcel was offered for delivery.","example":false,"uniqueKey":"data.event.oneOf.0.is_offered.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"True when the parcel was offered for delivery.","example":false,"uniqueKey":"data.event.oneOf.0.is_offered.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.is_offered","typeLabel":"boolean | null"},"is_carrier_responsible":{"oneOf":[{"type":"boolean","description":"True when the carrier is responsible for the event.","example":null,"uniqueKey":"data.event.oneOf.0.is_carrier_responsible.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"True when the carrier is responsible for the event.","example":null,"uniqueKey":"data.event.oneOf.0.is_carrier_responsible.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.is_carrier_responsible","typeLabel":"boolean | null"},"is_returned":{"oneOf":[{"type":"boolean","description":"True when this event belongs to a return shipment.","example":false,"uniqueKey":"data.event.oneOf.0.is_returned.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"True when this event belongs to a return shipment.","example":false,"uniqueKey":"data.event.oneOf.0.is_returned.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.is_returned","typeLabel":"boolean | null"},"location_details":{"oneOf":[{"type":"object","description":"Location where the event occurred, if available.","properties":{"city":{"oneOf":[{"type":"string","description":"City where the event occurred.","example":"Eindhoven","uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City where the event occurred.","example":"Eindhoven","uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"ISO 3166-1 alpha-2 country code.","example":"NL","uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 3166-1 alpha-2 country code.","example":"NL","uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.country","typeLabel":"string | null"},"house_number":{"oneOf":[{"type":"string","description":"Street house number.","example":"10","uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.house_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Street house number.","example":"10","uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.house_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.house_number","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal / zip code.","example":"5611 EM","uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal / zip code.","example":"5611 EM","uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.postal_code","typeLabel":"string | null"},"street":{"oneOf":[{"type":"string","description":"Street name.","example":"Stadhuisplein","uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.street.oneOf.0","typeLabel":"string"},{"type":"null","description":"Street name.","example":"Stadhuisplein","uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.street.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.street","typeLabel":"string | null"},"service_point_id":{"oneOf":[{"type":"integer","description":"Service point identifier, if applicable.","example":null,"uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.service_point_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Service point identifier, if applicable.","example":null,"uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.service_point_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.service_point_id","typeLabel":"integer | null"},"depot":{"oneOf":[{"type":"string","description":"Carrier depot name, if applicable.","example":null,"uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.depot.oneOf.0","typeLabel":"string"},{"type":"null","description":"Carrier depot name, if applicable.","example":null,"uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.depot.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.location_details.oneOf.0.depot","typeLabel":"string | null"}},"uniqueKey":"data.event.oneOf.0.location_details.oneOf.0","typeLabel":"object"},{"type":"null","description":"Location where the event occurred, if available.","uniqueKey":"data.event.oneOf.0.location_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.location_details","typeLabel":"object | null"},"extra_data":{"oneOf":[{"type":"object","description":"Additional carrier-specific data. Structure varies per carrier.","example":null,"uniqueKey":"data.event.oneOf.0.extra_data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Additional carrier-specific data. Structure varies per carrier.","example":null,"uniqueKey":"data.event.oneOf.0.extra_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.0.extra_data","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"data.event.oneOf.0","typeLabel":"Tracking Event · object"},{"type":"object","title":"Claim Event","description":"Support Automation ticket investigation data for claim events. Does not share fields with `Tracking Event` beyond `event_type` and `timestamp` — `phase` and `sub_status` here are different enums than on a tracking event.","required":["event_type","timestamp","phase","sub_status","category","ticket_id","claim_event_id"],"properties":{"event_type":{"type":"string","description":"Always `claim` for this shape.","example":"claim","enum":["claim"],"isRequired":true,"uniqueKey":"data.event.oneOf.1.event_type","typeLabel":"enum\u003cstring>"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the event occurred.","example":"2026-01-17T09:00:00Z","isRequired":true,"uniqueKey":"data.event.oneOf.1.timestamp","typeLabel":"string\u003cdate-time>"},"phase":{"type":"string","title":"Support Investigation Phase","description":"Current stage of a Support Automation ticket investigation. This list is not exhaustive and may be extended with new values in the future. Integrations should be able to handle values they do not recognize.","enum":["open","in_progress","action_required","solved_by_automation_stage","manually_solved_stage","unknown"],"example":"open","isRequired":true,"uniqueKey":"data.event.oneOf.1.phase","typeLabel":"enum\u003cstring>"},"sub_status":{"type":"string","title":"Support Investigation Sub Status","description":"Additional granularity within the current investigation phase. This list is not exhaustive and may be extended with new values in the future. Integrations should be able to handle values they do not recognize.","enum":["none","action_required","customer_documents_requested","customer_reminder_sent","delivery_confirmation_requested","smart_refund_available","waiting_for_customer","escalated_ava","processing","pending","carrier_reminder_sent","communicated_to_carrier","delayed","hold","smart_refund_update","new_scan_received","delivered_scan_received","carrier_update_received","waiting_for_carrier","waiting_for_scan","documents_forwarded_to_carrier","delivery_confirmation_rejected","escalated","customer_escalation_requested","claim_paid","solved","manually_solved","closed","solved_by_automation","unknown"],"example":"customer_documents_requested","isRequired":true,"uniqueKey":"data.event.oneOf.1.sub_status","typeLabel":"enum\u003cstring>"},"category":{"type":"string","title":"Support Investigation Category","description":"Category of the underlying investigation ticket. This list is not exhaustive and may be extended with new values in the future. Integrations should be able to handle values they do not recognize.","enum":["address_change","damaged","delayed","delivered_not_received","exception_report","late_delivery","lost","other_shipping","unjust_return"],"example":"lost","isRequired":true,"uniqueKey":"data.event.oneOf.1.category","typeLabel":"enum\u003cstring>"},"ticket_id":{"type":"integer","description":"Support Automation ticket identifier.","example":987654,"isRequired":true,"uniqueKey":"data.event.oneOf.1.ticket_id","typeLabel":"integer"},"claim_event_id":{"type":"integer","description":"Sendcloud claim event identifier.","example":555111,"isRequired":true,"uniqueKey":"data.event.oneOf.1.claim_event_id","typeLabel":"integer"},"refund_price":{"oneOf":[{"type":"object","description":"Refund amount associated with the ticket, in its original currency, if any.","properties":{"value":{"oneOf":[{"type":"string","description":"Amount as a decimal string.","example":"54.90","uniqueKey":"data.event.oneOf.1.refund_price.oneOf.0.value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Amount as a decimal string.","example":"54.90","uniqueKey":"data.event.oneOf.1.refund_price.oneOf.0.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.1.refund_price.oneOf.0.value","typeLabel":"string | null"},"currency":{"oneOf":[{"type":"string","description":"ISO 4217 currency code.","example":"EUR","uniqueKey":"data.event.oneOf.1.refund_price.oneOf.0.currency.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 4217 currency code.","example":"EUR","uniqueKey":"data.event.oneOf.1.refund_price.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.1.refund_price.oneOf.0.currency","typeLabel":"string | null"}},"uniqueKey":"data.event.oneOf.1.refund_price.oneOf.0","typeLabel":"object"},{"type":"null","description":"Refund amount associated with the ticket, in its original currency, if any.","uniqueKey":"data.event.oneOf.1.refund_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.1.refund_price","typeLabel":"object | null"},"refund_price_eur":{"oneOf":[{"type":"object","description":"Refund amount associated with the ticket, converted to euro, if any.","properties":{"value":{"oneOf":[{"type":"string","description":"Amount as a decimal string.","example":"54.90","uniqueKey":"data.event.oneOf.1.refund_price_eur.oneOf.0.value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Amount as a decimal string.","example":"54.90","uniqueKey":"data.event.oneOf.1.refund_price_eur.oneOf.0.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.1.refund_price_eur.oneOf.0.value","typeLabel":"string | null"},"currency":{"oneOf":[{"type":"string","description":"ISO 4217 currency code.","example":"EUR","uniqueKey":"data.event.oneOf.1.refund_price_eur.oneOf.0.currency.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 4217 currency code.","example":"EUR","uniqueKey":"data.event.oneOf.1.refund_price_eur.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.1.refund_price_eur.oneOf.0.currency","typeLabel":"string | null"}},"uniqueKey":"data.event.oneOf.1.refund_price_eur.oneOf.0","typeLabel":"object"},{"type":"null","description":"Refund amount associated with the ticket, converted to euro, if any.","uniqueKey":"data.event.oneOf.1.refund_price_eur.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.1.refund_price_eur","typeLabel":"object | null"},"request_id":{"oneOf":[{"type":"integer","description":"The id of the status update. Use this in the Support Public API to upload required files.","example":null,"uniqueKey":"data.event.oneOf.1.request_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The id of the status update. Use this in the Support Public API to upload required files.","example":null,"uniqueKey":"data.event.oneOf.1.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.1.request_id","typeLabel":"integer | null"},"attachment_type":{"oneOf":[{"type":"string","description":"The requested type of attachment for the ticket, if any file is requested.","example":null,"uniqueKey":"data.event.oneOf.1.attachment_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The requested type of attachment for the ticket, if any file is requested.","example":null,"uniqueKey":"data.event.oneOf.1.attachment_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.1.attachment_type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","description":"Human readable title associated with the ticket's update.","example":null,"uniqueKey":"data.event.oneOf.1.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human readable title associated with the ticket's update.","example":null,"uniqueKey":"data.event.oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.1.title","typeLabel":"string | null"},"message":{"oneOf":[{"type":"string","description":"Human readable message associated with the ticket's update.","example":null,"uniqueKey":"data.event.oneOf.1.message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human readable message associated with the ticket's update.","example":null,"uniqueKey":"data.event.oneOf.1.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.1.message","typeLabel":"string | null"},"resolution":{"oneOf":[{"type":"string","title":"Support Investigation Resolution","description":"Reason the investigation was solved. Only present on solved statuses; `null` otherwise.","enum":["claim_closed_in_carrier_portal","claim_approved","claim_declined","delivered","returned","solved_merchant","address_change_confirmed","address_change_declined","address_change_requested","impossible_to_open_claim","impossible_to_upload_documents"],"example":"claim_approved","uniqueKey":"data.event.oneOf.1.resolution.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Reason the investigation was solved. Only present on solved statuses; `null` otherwise.","uniqueKey":"data.event.oneOf.1.resolution.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.1.resolution","typeLabel":"enum\u003cstring> | null"},"origin":{"oneOf":[{"type":"string","title":"Support Investigation Origin","description":"Who or what created the investigation. Corresponds to the \"Created by\" field in the Sendcloud panel. `ava` means it was created by automation.","enum":["ava","portal_import","panel","public","csv_import","external_event"],"example":"public","uniqueKey":"data.event.oneOf.1.origin.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Who or what created the investigation. Corresponds to the \"Created by\" field in the Sendcloud panel. `ava` means it was created by automation.","uniqueKey":"data.event.oneOf.1.origin.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event.oneOf.1.origin","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"data.event.oneOf.1","typeLabel":"Claim Event · object"}],"isRequired":true,"uniqueKey":"data.event","typeLabel":"Tracking Event · object | Claim Event · object"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"InTransit":{"title":"InTransit","summary":"Parcel in transit","value":{"event_type":"parcels.event.created","data":{"parcel":{"parcel_id":12345678,"tracking_number":"3SYZXG132912330","carrier_code":"dpd","announced_at":"2026-01-15T10:00:00Z","order_number":"ORDER-12345","source":"shipping","source_id":"412345678"},"event":{"id":734512001,"event_type":"carrier","timestamp":"2026-01-15T10:30:00Z","phase":"in_transit","exception":"none","status_type":"success","sub_status":"none","description":"Parcel is on its way","end_of_tracking":false,"is_offered":false,"is_carrier_responsible":null,"is_returned":false,"location_details":{"city":"Eindhoven","country":"NL","house_number":null,"postal_code":null,"street":null,"service_point_id":null,"depot":null},"extra_data":null}}}},"Delivered":{"title":"Delivered","summary":"Parcel delivered","value":{"event_type":"parcels.event.created","data":{"parcel":{"parcel_id":12345678,"tracking_number":"3SYZXG132912330","carrier_code":"dpd","announced_at":"2026-01-15T10:00:00Z","order_number":"ORDER-12345","source":"shipping","source_id":"412345678"},"event":{"id":734512088,"event_type":"carrier","timestamp":"2026-01-16T14:22:00Z","phase":"delivered","exception":"none","status_type":"success","sub_status":"none","description":"Parcel has been delivered","end_of_tracking":true,"is_offered":true,"is_carrier_responsible":null,"is_returned":false,"location_details":null,"extra_data":null}}}},"ClaimTicketCreated":{"title":"ClaimTicketCreated","summary":"Claim: Support Automation ticket created for a parcel","value":{"event_type":"parcels.event.created","data":{"parcel":{"parcel_id":12345678,"tracking_number":"3SYZXG132912330","carrier_code":"dpd","announced_at":"2026-01-15T10:00:00Z","order_number":"ORDER-12345","source":"shipping","source_id":"412345678"},"event":{"event_type":"claim","timestamp":"2026-01-17T09:00:00Z","phase":"open","sub_status":"none","category":"lost","ticket_id":987654,"claim_event_id":555111,"refund_price":null,"refund_price_eur":null,"request_id":null,"attachment_type":null,"title":null,"message":null,"resolution":null,"origin":"public"}}}},"ClaimActionRequired":{"title":"ClaimActionRequired","summary":"Claim: Support Automation ticket requires customer action","value":{"event_type":"parcels.event.created","data":{"parcel":{"parcel_id":12345678,"tracking_number":"3SYZXG132912330","carrier_code":"dpd","announced_at":"2026-01-15T10:00:00Z","order_number":"ORDER-12345","source":"shipping","source_id":"412345678"},"event":{"event_type":"claim","timestamp":"2026-01-18T11:15:00Z","phase":"action_required","sub_status":"customer_documents_requested","category":"lost","ticket_id":987654,"claim_event_id":555112,"refund_price":{"value":"54.90","currency":"USD"},"refund_price_eur":{"value":"50.12","currency":"EUR"},"request_id":4321,"attachment_type":"photo","title":"We need a photo of the damaged item","message":"Please upload a photo showing the damage to proceed with your claim.","resolution":null,"origin":"public"}}}},"ClaimResolved":{"title":"ClaimResolved","summary":"Claim: Support Automation ticket resolved","value":{"event_type":"parcels.event.created","data":{"parcel":{"parcel_id":12345678,"tracking_number":"3SYZXG132912330","carrier_code":"dpd","announced_at":"2026-01-15T10:00:00Z","order_number":"ORDER-12345","source":"shipping","source_id":"412345678"},"event":{"event_type":"claim","timestamp":"2026-01-20T16:45:00Z","phase":"manually_solved_stage","sub_status":"solved","category":"lost","ticket_id":987654,"claim_event_id":555113,"refund_price":{"value":"54.90","currency":"USD"},"refund_price_eur":{"value":"50.12","currency":"EUR"},"request_id":null,"attachment_type":null,"title":null,"message":null,"resolution":"claim_approved","origin":"public"}}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"7033d15d-c8a1-4715-b82c-cc5a6c910046":{"description":"Return a 2xx status to acknowledge receipt of the event.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{},"servers":{"3b7a012d-1076-46a0-bd1d-e7f53ddb4c62":{"url":"https://panel.sendcloud.sc/api/v3","description":"Sendcloud Production"}}},"originalFileLocation":".openapi/v3/event-subscriptions/openapi.yaml"},"subdomain":"sendcloud","siteName":"Sendcloud API Developer Portal","title":"Parcel event created - Sendcloud API Developer Portal","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T10:40:13.899Z","originalFileLocation":"api/v3/event-subscriptions/parcel-event-created.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Delivered to your connection endpoint when a parcel tracking event occurs (e.g., a status change such as shipped, delivered, or returned). Subscribe to this event type using parcels.event.created when creating a subscription.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sendcloud API Developer Portal\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Parcel event created - Sendcloud API Developer Portal\">\u003cmeta data-mint-head property=\"og:description\" content=\"Delivered to your connection endpoint when a parcel tracking event occurs (e.g., a status change such as shipped, delivered, or returned). Subscribe to this event type using parcels.event.created when creating a subscription.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sendcloud API Developer Portal\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://sendcloud.dev/api/v3/event-subscriptions/parcel-event-created\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sendcloud.mintlify.site/_mintlify/api/og/v2?division=Event+payloads\u0026amp;title=Parcel+event+created\u0026amp;description=Delivered+to+your+connection+endpoint+when+a+parcel+tracking+event+occurs+%28e.g.%2C+a+status+change+such+as+shipped%2C+delivered%2C+or+returned%29.%0A%0ASubscribe+to+this+ev\u0026amp;theme=98143dbb82b5eecb925033ee\u0026amp;signature=dc448b6549cde41c4fe83f767b03217bbf7da46df306f1232258038809f937ea\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Parcel event created - Sendcloud API Developer Portal\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Delivered to your connection endpoint when a parcel tracking event occurs (e.g., a status change such as shipped, delivered, or returned). Subscribe to this event type using parcels.event.created when creating a subscription.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sendcloud.mintlify.site/_mintlify/api/og/v2?division=Event+payloads\u0026amp;title=Parcel+event+created\u0026amp;description=Delivered+to+your+connection+endpoint+when+a+parcel+tracking+event+occurs+%28e.g.%2C+a+status+change+such+as+shipped%2C+delivered%2C+or+returned%29.%0A%0ASubscribe+to+this+ev\u0026amp;theme=98143dbb82b5eecb925033ee\u0026amp;signature=dc448b6549cde41c4fe83f767b03217bbf7da46df306f1232258038809f937ea\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sendcloud API Developer Portal\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#007deb\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"Wl-7Uz7alSq_fG01AMbtDKMMQIDt-yQ4u7uFB3QuV8k\">\u003clink data-mint-head rel=\"canonical\" href=\"https://sendcloud.dev/api/v3/event-subscriptions/parcel-event-created\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/v3/event-subscriptions/parcel-event-created.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://sendcloud.dev/#organization\",\"name\":\"Sendcloud API Developer Portal\",\"url\":\"https://sendcloud.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sendcloud/XCwUHYDXpvdKQUUZ/images/logo/sendcloud-light.svg?fit=max\u0026auto=format\u0026n=XCwUHYDXpvdKQUUZ\u0026q=85\u0026s=7f1beaa17361a486dea3cfbda34467ac\"}},{\"@type\":\"WebSite\",\"@id\":\"https://sendcloud.dev#website\",\"name\":\"Sendcloud API Developer Portal\",\"url\":\"https://sendcloud.dev\",\"publisher\":{\"@id\":\"https://sendcloud.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://sendcloud.dev/api/v3/event-subscriptions/parcel-event-created#webpage\",\"url\":\"https://sendcloud.dev/api/v3/event-subscriptions/parcel-event-created\",\"name\":\"Parcel event created\",\"description\":\"Delivered to your connection endpoint when a parcel tracking event occurs (e.g., a status change such as shipped, delivered, or returned). Subscribe to this event type using parcels.event.created when creating a subscription.\",\"dateModified\":\"2026-11-05T10:40:13.899Z\",\"isPartOf\":{\"@id\":\"https://sendcloud.dev#website\"},\"breadcrumb\":{\"@id\":\"https://sendcloud.dev/api/v3/event-subscriptions/parcel-event-created#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://sendcloud.dev/api/v3/event-subscriptions/parcel-event-created#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Events \u0026 notifications\",\"item\":\"https://sendcloud.dev/api/v3/webhooks\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Event subscriptions\",\"item\":\"https://sendcloud.dev/api/v3/event-subscriptions\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Parcel event created\",\"item\":\"https://sendcloud.dev/api/v3/event-subscriptions/parcel-event-created\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://sendcloud.dev/api/v3/event-subscriptions/parcel-event-created#apireference\",\"headline\":\"Parcel event created\",\"name\":\"Parcel event created\",\"description\":\"Delivered to your connection endpoint when a parcel tracking event occurs (e.g., a status change such as shipped, delivered, or returned). Subscribe to this event type using parcels.event.created when creating a subscription.\",\"url\":\"https://sendcloud.dev/api/v3/event-subscriptions/parcel-event-created\",\"mainEntityOfPage\":{\"@id\":\"https://sendcloud.dev/api/v3/event-subscriptions/parcel-event-created#webpage\"},\"dateModified\":\"2026-11-05T10:40:13.899Z\",\"publisher\":{\"@id\":\"https://sendcloud.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://sendcloud.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sendcloud API Developer Portal\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sendcloud API Developer Portal\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/v3/event-subscriptions/parcel-event-created.md","siteName":"Sendcloud API Developer Portal","nav":{"global":null,"tabs":[{"tab":"Developer guides","pages":[{"title":"Developer guides","href":""}]},{"tab":"API v3","groups":[{"group":"General","pages":[{"title":"Introduction","icon":"map","href":"/api/v3"},{"title":"API v3 Changelog","icon":"list-timeline","href":"/api/v3/changelog"},{"title":"Pagination","icon":"arrow-right-arrow-left","href":"/api/v3/pagination"},{"title":"Scopes for OAuth apps","icon":"user-key","href":"/api/v3/scopes"}]},{"group":"Authentication \u0026 account","icon":"key","pages":[{"group":"OAuth2","icon":"key","pages":[{"title":"OAuth 2.0 token","deprecated":null,"version":null,"sidebarTitle":"Token","openapi":"/.openapi/v3/auth/openapi.yaml post /oauth2/token","href":"/api/v3/oauth2/token"}]},{"group":"User","icon":"user","pages":[{"title":"Retrieve metadata associated with the authentication method","deprecated":null,"version":null,"sidebarTitle":"Retrieve metadata associated with the authentication method","openapi":"/.openapi/v3/user/openapi.yaml get /user/auth/metadata","href":"/api/v3/user/retrieve-metadata-associated-with-the-authentication-method"}]},{"group":"Organization","icon":"sitemap","pages":[{"title":"Retrieve organization information","deprecated":null,"version":null,"sidebarTitle":"Retrieve information about the organization","openapi":"/.openapi/v3/organization/openapi.yaml get /organization","href":"/api/v3/organization/retrieve-information-about-the-organization"}]},{"group":"Sender addresses","icon":"address-card","pages":[{"title":"Retrieve a list of sender addresses","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of sender addresses","openapi":"/.openapi/v3/sender-addresses/openapi.yaml get /addresses/sender-addresses","href":"/api/v3/sender-addresses/retrieve-a-list-of-sender-addresses"},{"title":"Retrieve a sender address","deprecated":null,"version":null,"sidebarTitle":"Retrieve a sender address","openapi":"/.openapi/v3/sender-addresses/openapi.yaml get /addresses/sender-addresses/{id}","href":"/api/v3/sender-addresses/retrieve-a-sender-address"}]},{"group":"Brands","icon":"copyright","pages":[{"title":"Retrieve a list of brands","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of brands","openapi":"/.openapi/v3/brands/openapi.yaml get /brands","href":"/api/v3/brands/retrieve-a-list-of-brands"},{"title":"Retrieve a brand","deprecated":null,"version":null,"sidebarTitle":"Retrieve a brand","openapi":"/.openapi/v3/brands/openapi.yaml get /brands/{id}","href":"/api/v3/brands/retrieve-a-brand"}]}]},{"group":"Shipping","icon":"truck-fast","pages":[{"group":"Shipping options","icon":"list-check","pages":[{"title":"Create a list of shipping options","deprecated":true,"version":null,"sidebarTitle":"Create a list of shipping options","openapi":"/.openapi/v3/shipping-options/openapi.yaml post /fetch-shipping-options","href":"/api/v3/shipping-options/create-a-list-of-shipping-options"},{"title":"Return a list of available shipping options","deprecated":null,"version":null,"sidebarTitle":"Return a list of available shipping options","openapi":"/.openapi/v3/shipping-options/openapi.yaml post /shipping-options","href":"/api/v3/shipping-options/return-a-list-of-available-shipping-options"},{"title":"Retrieve a list of shipping options","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of shipping options","openapi":"/.openapi/v3/compat/openapi.yaml post /compat/shipping-options","href":"/api/v3/compat/retrieve-a-list-of-shipping-options"}]},{"group":"Address validation","icon":"address-card","pages":[{"title":"Validate an address","deprecated":null,"version":null,"sidebarTitle":"Validate","openapi":"/.openapi/v3/shipments/openapi.yaml post /addresses/validate","href":"/api/v3/address/validate"}]},{"group":"Orders","icon":"receipt","pages":[{"title":"Orders API overview","href":"/api/v3/orders/index"},{"title":"Create/Update orders in batch","deprecated":null,"version":null,"sidebarTitle":"Create update orders in batch","openapi":"/.openapi/v3/orders/openapi.yaml post /orders","href":"/api/v3/orders/create-update-orders-in-batch"},{"title":"Retrieve a list of orders","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of orders","openapi":"/.openapi/v3/orders/openapi.yaml get /orders","href":"/api/v3/orders/retrieve-a-list-of-orders"},{"title":"Retrieve an order","deprecated":null,"version":null,"sidebarTitle":"Retrieve an order","openapi":"/.openapi/v3/orders/openapi.yaml get /orders/{id}","href":"/api/v3/orders/retrieve-an-order"},{"title":"Update an order","deprecated":null,"version":null,"sidebarTitle":"Update an order","openapi":"/.openapi/v3/orders/openapi.yaml patch /orders/{id}","href":"/api/v3/orders/update-an-order"},{"title":"Delete an order","deprecated":null,"version":null,"sidebarTitle":"Delete an order","openapi":"/.openapi/v3/orders/openapi.yaml delete /orders/{id}","href":"/api/v3/orders/delete-an-order"}]},{"group":"Ship an order","icon":"box","pages":[{"title":"Ship an Order API overview","href":"/api/v3/ship-an-order/index"},{"title":"Request a label for a single order synchronously","deprecated":null,"version":null,"sidebarTitle":"Request a label for a single order synchronously","openapi":"/.openapi/v3/ship-an-order/openapi.yaml post /orders/create-label-sync","href":"/api/v3/ship-an-order/request-a-label-for-a-single-order-synchronously"},{"title":"Request a label for one or more orders asynchronously","deprecated":null,"version":null,"sidebarTitle":"Request a label for one or more orders asynchronously","openapi":"/.openapi/v3/ship-an-order/openapi.yaml post /orders/create-labels-async","href":"/api/v3/ship-an-order/request-a-label-for-one-or-more-orders-asynchronously"}]},{"group":"Shipments","icon":"truck-fast","pages":[{"title":"Shipments API overview","href":"/api/v3/shipments/index"},{"title":"Create and announce a shipment synchronously","deprecated":null,"version":null,"sidebarTitle":"Create and announce a shipment synchronously","openapi":"/.openapi/v3/shipments/openapi.yaml post /shipments/announce","href":"/api/v3/shipments/create-and-announce-a-shipment-synchronously"},{"title":"Create and announce a shipment asynchronously","deprecated":null,"version":null,"sidebarTitle":"Create and announce a shipment asynchronously","openapi":"/.openapi/v3/shipments/openapi.yaml post /shipments","href":"/api/v3/shipments/create-and-announce-a-shipment-asynchronously"},{"title":"Create a shipment with rules and/or defaults and announce it synchronously","deprecated":null,"version":null,"sidebarTitle":"Create a shipment with rules and or default and announce it synchronously","openapi":"/.openapi/v3/shipments/openapi.yaml post /shipments/announce-with-shipping-rules","href":"/api/v3/shipments/create-a-shipment-with-rules-and-or-default-and-announce-it-synchronously"},{"title":"Create a shipment with rules and/or defaults and announce it asynchronously","deprecated":null,"version":null,"sidebarTitle":"Create a shipment with rules and or default and announce it asynchronously","openapi":"/.openapi/v3/shipments/openapi.yaml post /shipments/create-with-shipping-rules","href":"/api/v3/shipments/create-a-shipment-with-rules-and-or-default-and-announce-it-asynchronously"},{"title":"Retrieve shipments","deprecated":null,"version":null,"sidebarTitle":"Retrieve shipments","openapi":"/.openapi/v3/shipments/openapi.yaml get /shipments","href":"/api/v3/shipments/retrieve-shipments"},{"title":"Retrieve a shipment","deprecated":null,"version":null,"sidebarTitle":"Retrieve a shipment","openapi":"/.openapi/v3/shipments/openapi.yaml get /shipments/{id}","href":"/api/v3/shipments/retrieve-a-shipment"},{"title":"Retrieve a return portal URL","deprecated":null,"version":null,"sidebarTitle":"Retrieve a return portal url","openapi":"/.openapi/v3/shipments/openapi.yaml get /shipments/{id}/return-portal-url","href":"/api/v3/shipments/retrieve-a-return-portal-url"},{"title":"Cancel a shipment","deprecated":null,"version":null,"sidebarTitle":"Cancel a shipment","openapi":"/.openapi/v3/shipments/openapi.yaml post /shipments/{id}/cancel","href":"/api/v3/shipments/cancel-a-shipment"},{"title":"Upload a customs document","deprecated":null,"version":null,"sidebarTitle":"Upload a customs document","tag":"Beta","openapi":"/.openapi/v3/shipments/openapi.yaml post /shipments/documents","href":"/api/v3/shipments/upload-a-customs-document"}]},{"group":"Parcel documents","icon":"file-lines","pages":[{"title":"Retrieve a parcel document","deprecated":null,"version":null,"sidebarTitle":"Retrieve a parcel document","openapi":"/.openapi/v3/parcel-documents/openapi.yaml get /parcels/{id}/documents/{type}","href":"/api/v3/parcel-documents/retrieve-a-parcel-document"},{"title":"Retrieve multiple parcel documents","deprecated":null,"version":null,"sidebarTitle":"Retrieve multiple parcel documents","openapi":"/.openapi/v3/parcel-documents/openapi.yaml get /parcel-documents/{type}","href":"/api/v3/parcel-documents/retrieve-multiple-parcel-documents"}]},{"group":"Shipping rules","icon":"sliders","pages":[{"title":"Shipping Rules API overview","href":"/api/v3/shipping-rules/index"},{"title":"Retrieve a list of shipping rules","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of shipping rules","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/rules","href":"/api/v3/shipping-rules/retrieve-a-list-of-shipping-rules"},{"title":"Create a shipping rule","deprecated":null,"version":null,"sidebarTitle":"Create a shipping rule","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml post /shipping-rules/rules","href":"/api/v3/shipping-rules/create-a-shipping-rule"},{"title":"Reorder your shipping rules","deprecated":null,"version":null,"sidebarTitle":"Reorder your shipping rules","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml post /shipping-rules/rules/reorder","href":"/api/v3/shipping-rules/reorder-your-shipping-rules"},{"title":"Retrieve a shipping rule","deprecated":null,"version":null,"sidebarTitle":"Retrieve a shipping rule","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/rules/{rule_id}","href":"/api/v3/shipping-rules/retrieve-a-shipping-rule"},{"title":"Update a shipping rule","deprecated":null,"version":null,"sidebarTitle":"Update a shipping rule","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml patch /shipping-rules/rules/{rule_id}","href":"/api/v3/shipping-rules/update-a-shipping-rule"},{"title":"Delete a shipping rule","deprecated":null,"version":null,"sidebarTitle":"Delete a shipping rule","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml delete /shipping-rules/rules/{rule_id}","href":"/api/v3/shipping-rules/delete-a-shipping-rule"},{"title":"Retrieve a list of available actions","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of available actions","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/actions","href":"/api/v3/shipping-rules/retrieve-a-list-of-available-actions"},{"title":"Retrieve an action","deprecated":null,"version":null,"sidebarTitle":"Retrieve an action","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/actions/{identifier}","href":"/api/v3/shipping-rules/retrieve-an-action"},{"title":"Retrieve a list of available operators","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of available operators","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/operators","href":"/api/v3/shipping-rules/retrieve-a-list-of-available-operators"},{"title":"Retrieve a list of available conditions","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of available conditions","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/conditions","href":"/api/v3/shipping-rules/retrieve-a-list-of-available-conditions"},{"title":"Retrieve a condition property","deprecated":null,"version":null,"sidebarTitle":"Retrieve a condition property","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/conditions/{identifier}","href":"/api/v3/shipping-rules/retrieve-a-condition-property"}]},{"group":"Shipping defaults","icon":"gear","pages":[{"title":"Shipping Defaults API overview","href":"/api/v3/shipping-defaults/index"},{"title":"Retrieve your shipping defaults","deprecated":null,"version":null,"sidebarTitle":"Retrieve your shipping defaults","tag":"Beta","openapi":"/.openapi/v3/shipping-defaults/openapi.yaml get /shipping-defaults","href":"/api/v3/shipping-defaults/retrieve-your-shipping-defaults"},{"title":"Update your shipping defaults","deprecated":null,"version":null,"sidebarTitle":"Update your shipping defaults","tag":"Beta","openapi":"/.openapi/v3/shipping-defaults/openapi.yaml patch /shipping-defaults","href":"/api/v3/shipping-defaults/update-your-shipping-defaults"}]}]},{"group":"Checkout \u0026 delivery options","icon":"cart-shopping","pages":[{"group":"Dynamic checkout","icon":"cart-shopping","pages":[{"title":"Dynamic Checkout API overview","href":"/api/v3/dynamic-checkout/index"},{"title":"Retrieve a list of delivery options","deprecated":true,"version":null,"sidebarTitle":"Retrieve a list of delivery options","openapi":"/.openapi/v3/dynamic-checkout/openapi.yaml get /checkout/configurations/{configuration_id}/delivery-options","href":"/api/v3/dynamic-checkout/retrieve-a-list-of-delivery-options"},{"title":"Generate a list of delivery options","deprecated":null,"version":null,"sidebarTitle":"Generate a list of delivery options","tag":"Beta","openapi":"/.openapi/v3/dynamic-checkout/openapi.yaml post /checkout/delivery-options","href":"/api/v3/dynamic-checkout/generate-a-list-of-delivery-options"}]},{"group":"Service points","icon":"map-location-dot","pages":[{"title":"Service Points API overview","href":"/api/v3/service-points/index"},{"title":"Retrieve a list of service points","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of service points","openapi":"/.openapi/v3/service-points/openapi.yaml get /service-points","href":"/api/v3/service-points/retrieve-a-list-of-service-points"},{"title":"Retrieve a service point","deprecated":null,"version":null,"sidebarTitle":"Retrieve a service point","openapi":"/.openapi/v3/service-points/openapi.yaml get /service-points/{service_point_id}","href":"/api/v3/service-points/retrieve-a-service-point"},{"title":"Check availability of a service point","deprecated":null,"version":null,"sidebarTitle":"Check availability of a service point","openapi":"/.openapi/v3/service-points/openapi.yaml post /service-points/{service_point_id}/check-availability","href":"/api/v3/service-points/check-availability-of-a-service-point"}]},{"group":"Duties \u0026 taxes","icon":"scale-balanced","pages":[{"title":"Create a duties and taxes calculation","deprecated":null,"version":null,"sidebarTitle":"Create a duties and taxes calculation","tag":"Beta","openapi":"/.openapi/v3/duties-and-taxes/openapi.yaml post /shipping/duties-and-taxes","href":"/api/v3/duties-and-taxes/create-a-duties-and-taxes-calculation"}]}]},{"group":"Tracking \u0026 post-purchase","icon":"location-dot","pages":[{"group":"Parcel tracking","icon":"location-dot","pages":[{"title":"Create an external parcel for tracking","deprecated":null,"version":null,"sidebarTitle":"Create an external parcel for tracking","openapi":"/.openapi/v3/parcel-tracking/openapi.yaml post /parcels/tracking","href":"/api/v3/parcel-tracking/create-an-external-parcel-for-tracking"},{"title":"Retrieve tracking information for a parcel","deprecated":null,"version":null,"sidebarTitle":"Retrieve tracking information for a parcel","openapi":"/.openapi/v3/parcel-tracking/openapi.yaml get /parcels/tracking/{tracking_number}","href":"/api/v3/parcel-tracking/retrieve-tracking-information-for-a-parcel"}]},{"group":"Parcel statuses","icon":"circle-info","pages":[{"title":"Retrieve a list of parcel statuses","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of parcel statuses","openapi":"/.openapi/v3/parcel-statuses/openapi.yaml get /parcels/statuses","href":"/api/v3/parcel-statuses/retrieve-a-list-of-parcel-statuses"}]},{"group":"Returns","icon":"rotate-left","pages":[{"title":"Returns API overview","href":"/api/v3/returns/index"},{"title":"Validate a return","deprecated":null,"version":null,"sidebarTitle":"Validate a return","openapi":"/.openapi/v3/returns/openapi.yaml post /returns/validate","href":"/api/v3/returns/validate-a-return"},{"title":"Create a return","deprecated":null,"version":null,"sidebarTitle":"Create a return","openapi":"/.openapi/v3/returns/openapi.yaml post /returns","href":"/api/v3/returns/create-a-return"},{"title":"Create a return synchronously","deprecated":null,"version":null,"sidebarTitle":"Create a return synchronously","openapi":"/.openapi/v3/returns/openapi.yaml post /returns/announce-synchronously","href":"/api/v3/returns/create-a-return-synchronously"},{"title":"Retrieve a list of returns","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of returns","openapi":"/.openapi/v3/returns/openapi.yaml get /returns","href":"/api/v3/returns/retrieve-a-list-of-returns"},{"title":"Retrieve a return","deprecated":null,"version":null,"sidebarTitle":"Retrieve a return","openapi":"/.openapi/v3/returns/openapi.yaml get /returns/{id}","href":"/api/v3/returns/retrieve-a-return"},{"title":"Request cancellation of a return","deprecated":null,"version":null,"sidebarTitle":"Request cancellation of a return","openapi":"/.openapi/v3/returns/openapi.yaml patch /returns/{id}/cancel","href":"/api/v3/returns/request-cancellation-of-a-return"}]},{"group":"Support","icon":"headset","pages":[{"title":"Support API overview","href":"/api/v3/support/index"},{"group":"Tickets","icon":"ticket","pages":[{"title":"Create a ticket for a lost parcel","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for a lost parcel","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/lost","href":"/api/v3/support/create-a-ticket-for-a-lost-parcel"},{"title":"Create a ticket for a damaged parcel","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for a damaged parcel","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/damage","href":"/api/v3/support/create-a-ticket-for-a-damaged-parcel"},{"title":"Create a ticket for a delayed parcel","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for a delayed parcel","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/delay","href":"/api/v3/support/create-a-ticket-for-a-delayed-parcel"},{"title":"Create a ticket for a late delivery","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for a late delivery","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/late-delivery","href":"/api/v3/support/create-a-ticket-for-a-late-delivery"},{"title":"Create a ticket for a delivered but not received parcel","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for a delivered but not received parcel","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/delivered-but-not-received","href":"/api/v3/support/create-a-ticket-for-a-delivered-but-not-received-parcel"},{"title":"Create a ticket for an address change","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for an address change","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/address-change","href":"/api/v3/support/create-a-ticket-for-an-address-change"},{"title":"Create a ticket for an unjustly returned parcel","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for an unjustly returned parcel","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/unjust-return","href":"/api/v3/support/create-a-ticket-for-an-unjustly-returned-parcel"},{"title":"Create a ticket for another issue","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for another issue","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/other","href":"/api/v3/support/create-a-ticket-for-another-issue"},{"title":"Retrieve support tickets","deprecated":null,"version":null,"sidebarTitle":"Retrieve support tickets","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml get /dsf/tickets","href":"/api/v3/support/retrieve-support-tickets"},{"title":"Retrieve a support ticket","deprecated":null,"version":null,"sidebarTitle":"Retrieve a support ticket","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml get /dsf/tickets/{ticket_id}","href":"/api/v3/support/retrieve-a-support-ticket"}]},{"group":"Ticket data \u0026 attachments","icon":"paperclip","pages":[{"title":"Retrieve requested data for open tickets","deprecated":null,"version":null,"sidebarTitle":"Retrieve requested data for open tickets","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml get /dsf/tickets/requested-data","href":"/api/v3/support/retrieve-requested-data-for-open-tickets"},{"title":"Create a requested data response","deprecated":null,"version":null,"sidebarTitle":"Provide requested data","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/requested-data","href":"/api/v3/support/provide-requested-data"},{"title":"Upload a file","deprecated":null,"version":null,"sidebarTitle":"Files","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/files","href":"/api/v3/support/files"},{"title":"Create a claim letter","deprecated":null,"version":null,"sidebarTitle":"Generate claim letter","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/documents/generate/claim-letter","href":"/api/v3/support/generate-claim-letter"},{"title":"Create a sales invoice","deprecated":null,"version":null,"sidebarTitle":"Generate sales invoice","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/documents/generate/invoice","href":"/api/v3/support/generate-sales-invoice"}]},{"group":"Carrier support contacts","icon":"address-book","pages":[{"title":"Create carrier support contact","deprecated":null,"version":null,"sidebarTitle":"Create carrier support contact","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/carrier-support-contacts","href":"/api/v3/support/create-carrier-support-contact"},{"title":"Retrieve carrier support contacts","deprecated":null,"version":null,"sidebarTitle":"Retrieve carrier support contacts","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml get /dsf/carrier-support-contacts","href":"/api/v3/support/retrieve-carrier-support-contacts"},{"title":"Update a carrier support contact","deprecated":null,"version":null,"sidebarTitle":"Update a carrier support contact","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml patch /dsf/carrier-support-contacts/{id}","href":"/api/v3/support/update-a-carrier-support-contact"},{"title":"Delete a carrier support contact","deprecated":null,"version":null,"sidebarTitle":"Delete a carrier support contact","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml delete /dsf/carrier-support-contacts/{id}","href":"/api/v3/support/delete-a-carrier-support-contact"}]}]}]},{"group":"Events \u0026 notifications","icon":"bell","pages":[{"group":"Webhooks (payload reference)","icon":"webhook","pages":[{"title":"Webhooks overview","href":"/api/v3/webhooks/index"},{"title":"Parcel status changed","version":null,"deprecated":null,"openapi":"/.openapi/v3/webhooks/openapi.yaml webhook ParcelStatusChanged","href":"/api/v3/webhooks/parcel-status-changed"},{"title":"Return created","version":null,"deprecated":null,"openapi":"/.openapi/v3/webhooks/openapi.yaml webhook ReturnCreated","href":"/api/v3/webhooks/return-created"},{"title":"Integration connected","version":null,"deprecated":null,"openapi":"/.openapi/v3/webhooks/openapi.yaml webhook IntegrationConnected","href":"/api/v3/webhooks/integration-connected"},{"title":"Integration modified","version":null,"deprecated":null,"openapi":"/.openapi/v3/webhooks/openapi.yaml webhook IntegrationModified","href":"/api/v3/webhooks/integration-modified"},{"title":"Integration deleted","version":null,"deprecated":null,"openapi":"/.openapi/v3/webhooks/openapi.yaml webhook IntegrationDeleted","href":"/api/v3/webhooks/integration-deleted"}]},{"group":"Events API","icon":"clock-rotate-left","pages":[{"title":"Retrieve a list of events","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of events","tag":"Beta","openapi":"/.openapi/v3/events/openapi.yaml get /events","href":"/api/v3/events/retrieve-a-list-of-events"}]},{"group":"Event subscriptions","icon":"bell","pages":[{"title":"Event Subscriptions API overview","href":"/api/v3/event-subscriptions/index"},{"group":"Connections","icon":"link","pages":[{"title":"Create a connection","deprecated":null,"version":null,"sidebarTitle":"Create a connection","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml post /event-subscriptions/connections","href":"/api/v3/event-subscriptions/create-a-connection"},{"title":"List connections","deprecated":null,"version":null,"sidebarTitle":"List connections","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml get /event-subscriptions/connections","href":"/api/v3/event-subscriptions/list-connections"},{"title":"Get a connection","deprecated":null,"version":null,"sidebarTitle":"Get a connection","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml get /event-subscriptions/connections/{id}","href":"/api/v3/event-subscriptions/get-a-connection"},{"title":"Update a connection","deprecated":null,"version":null,"sidebarTitle":"Update a connection","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml patch /event-subscriptions/connections/{id}","href":"/api/v3/event-subscriptions/update-a-connection"},{"title":"Delete a connection","deprecated":null,"version":null,"sidebarTitle":"Delete a connection","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml delete /event-subscriptions/connections/{id}","href":"/api/v3/event-subscriptions/delete-a-connection"},{"title":"Start OAuth2 authorization","deprecated":null,"version":null,"sidebarTitle":"Start oauth2 authorization","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml post /event-subscriptions/connections/{id}/authorization","href":"/api/v3/event-subscriptions/start-oauth2-authorization"}]},{"group":"Subscriptions","icon":"rss","pages":[{"title":"Create a subscription","deprecated":null,"version":null,"sidebarTitle":"Create a subscription","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml post /event-subscriptions/subscriptions","href":"/api/v3/event-subscriptions/create-a-subscription"},{"title":"List subscriptions","deprecated":null,"version":null,"sidebarTitle":"List subscriptions","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml get /event-subscriptions/subscriptions","href":"/api/v3/event-subscriptions/list-subscriptions"},{"title":"Get a subscription","deprecated":null,"version":null,"sidebarTitle":"Get a subscription","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml get /event-subscriptions/subscriptions/{id}","href":"/api/v3/event-subscriptions/get-a-subscription"},{"title":"Update a subscription","deprecated":null,"version":null,"sidebarTitle":"Update a subscription","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml patch /event-subscriptions/subscriptions/{id}","href":"/api/v3/event-subscriptions/update-a-subscription"},{"title":"Delete a subscription","deprecated":null,"version":null,"sidebarTitle":"Delete a subscription","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml delete /event-subscriptions/subscriptions/{id}","href":"/api/v3/event-subscriptions/delete-a-subscription"}]},{"title":"Broadcast test event","description":"Send a test event to the connection endpoint configured for a specific subscription. Use this to verify that your connection is set up correctly before relying on it for production events.","deprecated":null,"version":null,"sidebarTitle":"Test event delivery","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml post /event-subscriptions/broadcast/test/{subscription_id}","href":"/api/v3/event-subscriptions/test-event-delivery"},{"group":"Event payloads","icon":"code","pages":[{"title":"Parcel event created","version":null,"deprecated":null,"openapi":"/.openapi/v3/event-subscriptions/openapi.yaml webhook ParcelEventCreated","href":"/api/v3/event-subscriptions/parcel-event-created"},{"title":"Parcel created","description":"Delivered to your connection endpoint when a parcel is created in Sendcloud, including its addresses, shipping option and items.\n\nSubscribe to this event type using `parcel.created` when creating a subscription.","version":null,"deprecated":null,"openapi":"/.openapi/v3/event-subscriptions/openapi.yaml webhook ParcelCreated","href":"/api/v3/event-subscriptions/parcel-created"}]}]}]},{"group":"Carriers \u0026 pickups","icon":"truck","pages":[{"group":"Contracts","icon":"file-contract","pages":[{"title":"Contracts API overview","href":"/api/v3/contracts/index"},{"title":"Retrieve a list of contract schemas","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of contract schemas","openapi":"/.openapi/v3/contracts/openapi.yaml get /contracts/schemas","href":"/api/v3/contracts/retrieve-a-list-of-contract-schemas"},{"title":"Create a contract for a carrier","deprecated":null,"version":null,"sidebarTitle":"Create a contract for a carrier","openapi":"/.openapi/v3/contracts/openapi.yaml post /contracts","href":"/api/v3/contracts/create-a-contract-for-a-carrier"},{"title":"Retrieve a list of contracts","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of contracts","openapi":"/.openapi/v3/contracts/openapi.yaml get /contracts","href":"/api/v3/contracts/retrieve-a-list-of-contracts"},{"title":"Retrieve a contract","deprecated":null,"version":null,"sidebarTitle":"Retrieve a contract","openapi":"/.openapi/v3/contracts/openapi.yaml get /contracts/{id}","href":"/api/v3/contracts/retrieve-a-contract"},{"title":"Update a contract","deprecated":null,"version":null,"sidebarTitle":"Update a contract","openapi":"/.openapi/v3/contracts/openapi.yaml patch /contracts/{id}","href":"/api/v3/contracts/update-a-contract"},{"title":"Delete a contract","deprecated":null,"version":null,"sidebarTitle":"Delete a contract","openapi":"/.openapi/v3/contracts/openapi.yaml delete /contracts/{id}","href":"/api/v3/contracts/delete-a-contract"}]},{"group":"Pickups","icon":"hand-holding-box","pages":[{"title":"Pickups API overview","href":"/api/v3/pickups/index"},{"title":"Create a pickup","deprecated":null,"version":null,"sidebarTitle":"Create a pickup","openapi":"/.openapi/v3/pickups/openapi.yaml post /pickups","href":"/api/v3/pickups/create-a-pickup"},{"title":"Retrieve a list of pickups","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of pickups","openapi":"/.openapi/v3/pickups/openapi.yaml get /pickups","href":"/api/v3/pickups/retrieve-a-list-of-pickups"},{"title":"Retrieve a pickup","deprecated":null,"version":null,"sidebarTitle":"Retrieve a pickup","openapi":"/.openapi/v3/pickups/openapi.yaml get /pickups/{id}","href":"/api/v3/pickups/retrieve-a-pickup"},{"title":"Cancel a pickup","deprecated":null,"version":null,"sidebarTitle":"Cancel a pickup","openapi":"/.openapi/v3/pickups/openapi.yaml post /pickups/{id}/cancel","href":"/api/v3/pickups/cancel-a-pickup"}]},{"group":"Carrier-specific: Deutsche Post","icon":"truck","pages":[{"title":"Finalize a Deutsche Post order","deprecated":null,"version":null,"sidebarTitle":"Finalize a deutsche post order","openapi":"/.openapi/v3/carriers-dp/openapi.yaml post /carriers/dp/finalize-order","href":"/api/v3/carriers-dp/finalize-a-deutsche-post-order"}]}]},{"group":"Financial","icon":"euro-sign","pages":[{"group":"Invoices","icon":"file-invoice","pages":[{"title":"Invoices API overview","href":"/api/v3/invoices/index"},{"title":"Retrieve a list of invoices","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of invoices","openapi":"/.openapi/v3/invoices/openapi.yaml get /invoices","href":"/api/v3/invoices/retrieve-a-list-of-invoices"},{"title":"Retrieve an invoice","deprecated":null,"version":null,"sidebarTitle":"Retrieve an invoice","openapi":"/.openapi/v3/invoices/openapi.yaml get /invoices/{invoice_id}","href":"/api/v3/invoices/retrieve-an-invoice"}]},{"group":"Invoice items","icon":"file-invoice-dollar","pages":[{"title":"Invoice Items API overview","href":"/api/v3/invoice-items/index"},{"title":"Retrieve a list of invoice items","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of invoice items","openapi":"/.openapi/v3/invoice-items/openapi.yaml get /invoice-items","href":"/api/v3/invoice-items/retrieve-a-list-of-invoice-items"},{"title":"Retrieve an invoice item","deprecated":null,"version":null,"sidebarTitle":"Retrieve an invoice item","openapi":"/.openapi/v3/invoice-items/openapi.yaml get /invoice-items/{invoice_item_id}","href":"/api/v3/invoice-items/retrieve-an-invoice-item"}]},{"group":"Exchange rates","icon":"money-bill-transfer","pages":[{"title":"Exchange Rates API overview","href":"/api/v3/exchange-rates/index"},{"title":"Retrieve exchange rates","deprecated":null,"version":null,"sidebarTitle":"Retrieve exchange rates","openapi":"/.openapi/v3/exchange-rates/openapi.yaml get /exchange-rates","href":"/api/v3/exchange-rates/retrieve-exchange-rates"}]}]},{"group":"Data \u0026 insights","icon":"chart-line","pages":[{"group":"Analytics","icon":"chart-line","pages":[{"title":"Analytics API overview","href":"/api/v3/analytics/index"},{"title":"Retrieve carrier transit times","deprecated":null,"version":null,"sidebarTitle":"Retrieve carrier transit times","tag":"Beta","openapi":"/.openapi/v3/analytics/openapi.yaml get /analytics/transit-times/carriers","href":"/api/v3/analytics/retrieve-carrier-transit-times"},{"title":"Retrieve shipping option transit times","deprecated":null,"version":null,"sidebarTitle":"Retrieve shipping option transit times","tag":"Beta","openapi":"/.openapi/v3/analytics/openapi.yaml get /analytics/transit-times/shipping-options","href":"/api/v3/analytics/retrieve-shipping-option-transit-times"}]},{"group":"Reporting","icon":"file-chart-column","pages":[{"title":"Reporting API overview","href":"/api/v3/reporting/index"},{"title":"Create a parcels report","deprecated":null,"version":null,"sidebarTitle":"Create a parcels report","openapi":"/.openapi/v3/reporting/openapi.yaml post /reporting/parcels","href":"/api/v3/reporting/create-a-parcels-report"},{"title":"Retrieve a parcels report","deprecated":null,"version":null,"sidebarTitle":"Retrieve a parcels report","openapi":"/.openapi/v3/reporting/openapi.yaml get /reporting/parcels/{report_id}","href":"/api/v3/reporting/retrieve-a-parcels-report"}]}]},{"group":"Integrations","icon":"plug","pages":[{"group":"Manage integrations","icon":"plug","pages":[{"title":"Integrations API overview","href":"/api/v3/integrations/index"},{"title":"Retrieve a list of integrations","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of integrations","openapi":"/.openapi/v3/integrations/openapi.yaml get /integrations","href":"/api/v3/integrations/retrieve-a-list-of-integrations"},{"title":"Retrieve an integration","deprecated":null,"version":null,"sidebarTitle":"Retrieve an integration","openapi":"/.openapi/v3/integrations/openapi.yaml get /integrations/{id}","href":"/api/v3/integrations/retrieve-an-integration"},{"title":"Update certain parts of an integration","deprecated":null,"version":null,"sidebarTitle":"Update certain parts of an integration","openapi":"/.openapi/v3/integrations/openapi.yaml patch /integrations/{id}","href":"/api/v3/integrations/update-certain-parts-of-an-integration"},{"title":"Delete an integration","deprecated":null,"version":null,"sidebarTitle":"Delete an integration","openapi":"/.openapi/v3/integrations/openapi.yaml delete /integrations/{id}","href":"/api/v3/integrations/delete-an-integration"}]},{"group":"Shop order statuses","icon":"clipboard-list","pages":[{"title":"Create or overwrite shop order statuses","deprecated":null,"version":null,"sidebarTitle":"Create or overwrite shop order statuses","openapi":"/.openapi/v3/integrations/openapi.yaml post /shop-order-statuses","href":"/api/v3/integrations/create-or-overwrite-shop-order-statuses"},{"title":"Retrieve shop order statuses for an integration","deprecated":null,"version":null,"sidebarTitle":"Retrieve shop order statuses for an integration","openapi":"/.openapi/v3/integrations/openapi.yaml get /shop-order-statuses","href":"/api/v3/integrations/retrieve-shop-order-statuses-for-an-integration"}]},{"group":"Custom status mapping","icon":"shuffle","pages":[{"title":"Create or update custom status mapping for an integration","deprecated":null,"version":null,"sidebarTitle":"Create or update custom status mapping for an integration","openapi":"/.openapi/v3/integrations/openapi.yaml post /shop-order-statuses/mapping","href":"/api/v3/integrations/create-or-update-custom-status-mapping-for-an-integration"},{"title":"Retrieve custom status mapping for an integration","deprecated":null,"version":null,"sidebarTitle":"Retrieve custom status mapping for an integration","openapi":"/.openapi/v3/integrations/openapi.yaml get /shop-order-statuses/mapping","href":"/api/v3/integrations/retrieve-custom-status-mapping-for-an-integration"}]},{"group":"Exception logs","icon":"exclamation-triangle","pages":[{"title":"Create integration exception logs","deprecated":null,"version":null,"sidebarTitle":"Create integration exception logs","openapi":"/.openapi/v3/integrations/openapi.yaml post /integrations/{id}/logs","href":"/api/v3/integrations/create-integration-exception-logs"},{"title":"Retrieve all integration exception logs","deprecated":null,"version":null,"sidebarTitle":"Retrieve all integration exception logs","openapi":"/.openapi/v3/integrations/openapi.yaml get /integrations/logs","href":"/api/v3/integrations/retrieve-all-integration-exception-logs"},{"title":"Retrieve exception logs for a specific integration","deprecated":null,"version":null,"sidebarTitle":"Retrieve exception logs for a specific integration","openapi":"/.openapi/v3/integrations/openapi.yaml get /integrations/{id}/logs","href":"/api/v3/integrations/retrieve-exception-logs-for-a-specific-integration"}]}]}]},{"tab":"API v2","pages":[{"title":"API v2","href":"/api/v2"}]}]},"basePath":"","title":"Parcel event created - Sendcloud API Developer Portal","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}