> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vambe.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Fulfillment event

> Push a shipment/fulfillment. Linked to its order even if it arrives before the order webhook.

Push a shipment/fulfillment update. The shipment is linked to its order even if
the fulfillment arrives before the order webhook (it is backfilled when the
order lands).

<Note>Every webhook must be signed: send `x-vambe-signature` (hex HMAC-SHA256 of `${x-vambe-timestamp}.${rawBody}` using the app signing secret) and `x-vambe-timestamp` (unix epoch seconds). Requests older than 5 minutes are rejected.</Note>


## OpenAPI

````yaml post /api/public/apps/{appId}/events/fulfillment
openapi: 3.0.0
info:
  title: Vambe AI API
  description: Vambe AI documentation
  version: '1.0'
  contact: {}
servers:
  - url: https://api.vambe.me
    description: Production Server
security: []
tags:
  - name: Vambe AI
    description: ''
paths:
  /api/public/apps/{appId}/events/fulfillment:
    post:
      tags:
        - Custom Ecommerce Apps · Webhooks
      summary: Fulfillment event
      description: >-
        Push a shipment/fulfillment. Linked to its order even if it arrives
        before the order webhook.
      operationId: EcommerceAppWebhookController_fulfillment
      parameters:
        - name: x-vambe-timestamp
          in: header
          description: >-
            Unix epoch seconds when the request was signed. Requests older than
            5 minutes are rejected.
          required: true
          schema:
            type: string
        - name: x-vambe-signature
          in: header
          description: >-
            Hex HMAC-SHA256 of `${x-vambe-timestamp}.${rawBody}` using the app
            signing secret.
          required: true
          schema:
            type: string
        - name: appId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CanonicalFulfillmentEnvelopeDto'
      responses:
        '201':
          description: ''
components:
  schemas:
    CanonicalFulfillmentEnvelopeDto:
      type: object
      properties:
        external_store_id:
          type: string
        event_id:
          type: string
        fulfillment:
          type: object
          properties:
            order_external_id:
              type: string
              minLength: 1
            fulfillment_external_id:
              type: string
              minLength: 1
            tracking_number:
              type: string
              nullable: true
            type:
              type: string
              enum:
                - delivery
                - pickup
            delivery_address:
              type: object
              properties:
                recipient_name:
                  type: string
                  nullable: true
                phone:
                  type: string
                  nullable: true
                address_line_1:
                  type: string
                  nullable: true
                address_line_2:
                  type: string
                  nullable: true
                city:
                  type: string
                  nullable: true
                region:
                  type: string
                  nullable: true
                country:
                  type: string
                  nullable: true
                postal_code:
                  type: string
                  nullable: true
              nullable: true
      required:
        - fulfillment

````