Hoe het werkt
Zonos Collect integreert in uw bestaande landed cost-workflow. Wanneer u quoteType: COLLECT toevoegt aan uw landedCostCalculateWorkflow-mutatie, werkt het verzoek identiek aan een standaard landed cost-berekening; het retourneert dezelfde data, maar triggert ook de Collect-workflow.
Het proces is eenvoudig: specificeer quoteType: COLLECT in uw verzoek; het systeem genereert automatisch een betaalwagen, stuurt de wagenlink naar het e-mailadres van de bestemmingspartij en zet de offerte om in een order zodra betaling is voltooid.
Een Collect-offerte aanmaken
Gebruik dezelfde GraphQL-workflow die u al kent, voeg slechts één parameter toe. quoteType: COLLECT in uw landedCostCalculateWorkflow-input triggert het hele Collect-proces met behoud van alle bestaande functionaliteit. Het veld links in het antwoord retourneert de checkout session URL, die u kunt opslaan en gebruiken voor follow-up met de betaler.
mutation CollectQuote($parties: [PartyCreateWorkflowInput!]!$items: [ItemCreateWorkflowInput!]!$shipmentRating: ShipmentRatingCreateWorkflowInput!$landedCost: LandedCostCalculateWorkflowInput!) { partyCreateWorkflow(input: $parties) { type id organization } itemCreateWorkflow(input: $items) { id amount quantity description } cartonizeWorkflow { id } shipmentRatingCreateWorkflow(input: $shipmentRating) { id amount } landedCostCalculateWorkflow(input: $landedCost) { id landedCostGuaranteeCode links { key url } amountSubtotals { duties fees taxes landedCostTotal } fees { amount currency type item { productId } } }}Webhooks
Configure an ORDER_CREATED webhook to get notified as soon as any quote converts to an order:
mutation CreateOrderWebhook($input: WebhookCreateInput!) { webhookCreate(input: $input) { id status url }}The payload will include a type field. Check payload.type === "COLLECT" to handle only Collect orders:
javascript
if (payload.type === 'COLLECT') {
}
Dashboard-beheer
Quotes and orders: Collect quotes and orders display with "COLLECT" badges in Dashboard. You can filter by the quote type to view and manage collect-specific quotes and monitor payment status.
Email branding: Adjust the email branding for Collect payment carts under Dashboard → Settings → Email Templates
Consignee experience
When you create a Collect quote, your customer receives an automated email with a secure payment link. The payment cart displays duties, taxes, and fees with full transparency while keeping your product pricing private.
For complete details on the payment process, supported countries and languages, and customization options, see the Consignee experience guide.
Aan de slag met Collect
Innen van invoerrechten, belastingen en kosten van geadresseerden vóór levering.