# Update Metadata

URL: POST `https://backend.crossli.co/api/ticketing/updateMetadata`

**Sample Input:**

```json
{
  "orderId": "41e0c1e0-d33e-4711-8890-3e7b0fbb514d",
  "metadata": {
    "buyerphone": 69696969696,
    "buyeraddress": "1234 street"
  }
}
```

**Expected Output:**

```json
{
  "status": "success",
  "message": "Metadata updated successfully",
  "order": {
    "_id": "66aa08b56617a982210c6d1b",
    "userId": "6661c603fb334348474d624d",
    "orderId": "41e0c1e0-d33e-4711-8890-3e7b0fbb514d",
    "amount": 1,
    "currency": "USD",
    "blockchain": "MATIC-AMOY",
    "amountInUSD": 1.03,
    "metadata": {
      "buyername": "test",
      "buyerphone": 69696969696,
      "buyeraddress": "1234 street"
    },
    "allotedWalletAddress": "0xcc975ea16d8ec3c2ee2f214653da27fb35bf64a4",
    "status": "initiated",
    "createdAt": "2024-07-31T09:49:41.361Z",
    "updatedAt": "2024-07-31T09:55:44.848Z",
    "__v": 0
  }
}
```

Notes:

* If the input metadata contains fields that already exist, they will be updated.
* New fields in the input metadata will be added to the existing metadata.
