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

# Update Order



## OpenAPI

````yaml /api_reference/nft.yaml post /orders/events
openapi: 3.1.0
info:
  version: '1.0'
  title: NFT API
  summary: API to enable direct NFT purchasing
  description: Reference for Sardine Crypto API
servers:
  - url: https://api.sandbox.sardine.ai/v1
    description: Sandbox
  - url: https://api.sardine.ai/v1
    description: Prod Server
security:
  - {}
paths:
  /orders/events:
    post:
      summary: Update Order
      operationId: post-orders-events
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  const: Delivered
                orderId:
                  type: string
                  description: Order ID created when transaction is processed by Sardine
                referenceId:
                  type: string
                  description: >-
                    Reference ID passed. Either `referenceId` or `orderId` must
                    be present
                transactionHash:
                  type: string
                  description: >-
                    Transaction hash associated with the delivery of Digital
                    asset to customer
              required:
                - type
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
      security:
        - ClientToken: []
      servers:
        - url: https://api.sandbox.sardine.ai/v1
          description: Sandbox
        - url: https://api.sardine.ai/v1
          description: Prod Server
components:
  securitySchemes:
    ClientToken:
      type: http
      scheme: basic

````