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

# PATCH Contract

> Update collections or contracts via the Bitski minting infrastructure.

<Note>This API requires the `apps` scope</Note>

### Path

<ParamField path="appId" type="string" required>
  Your Bitski Application ID
</ParamField>

<ParamField path="contractId" type="string" required>
  Your contract ID
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X 'PATCH' \
    'https://api.bitski.com/v1/apps/{appId}/contracts/{contractId}' \
    -H 'accept: application/json' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer <ACCESS_TOKEN>' \
    -d '{
    "contract": {
      "deploymentState": "DEPLOYED",
      "deploymentTransactionHash": "0x76cbbfd0fa31059647017c28a0f855b6494b995ac77e1228064ba47debf0bb34"
    }
  }'
  ```
</RequestExample>

### Response

<ResponseField name="contract" type="Contract object" required>
  <Expandable title="properties">
    <ResponseField name="id" type="string" required />

    <ResponseField name="deploymentState" type="string" required />

    <ResponseField name="externalLink" type="string" required />

    <ResponseField name="address" type="string" required />

    <ResponseField name="network" type="string" required />

    <ResponseField name="name" type="string" />

    <ResponseField name="description" type="string" />

    <ResponseField name="contractType" type="string">
      One of `UNKNOWN`, `NON_FUNGIBLE_AUCTION`, `NON_FUNGIBLE`, `SEMI_FUNGIBLE`, `ZORA_AUCTION`
    </ResponseField>

    <ResponseField name="tokenTemplates" type="array" />

    <ResponseField name="fee" type="number" />

    <ResponseField name="accessType" type="string" required>
      One of `OWNED`, `WATCHED`
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Sample Response theme={null}
  {
    "contract": {
      "contractType": "SEMI_FUNGIBLE",
      "tokenTemplates": [],
      "accessType": "OWNED",
      "address": "0x8b53d6e704485ef70bd02e2a91df126935a127c9",
      "deploymentState": "DEPLOYED",
      "symbol": "BIRD",
      "description": "A collection of bird NFTs",
      "externalLink": "https://www.bitski.com/@Stapleverse",
      "fee": "25.00",
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "name": "My NFT Collection",
      "network": "mainnet"
    }
  }
  ```
</ResponseExample>
