Update drop item
Changed onSaves new metadata for one existing item and returns the updated item. It returns no transaction. A token id that does not exist on the drop returns 404.
On an ERC-721 SeaDrop V1 drop that is already revealed, it also regenerates the drop's metadata on IPFS and saves the new base URI to the draft; publish with POST /api/v2/drops/{slug}/publish to put it onchain. Before reveal, the change is held until POST /api/v2/drops/{slug}/metadata/ipfs runs.
On an ERC-1155 self-mint drop, the change does not reach the contract. Use PUT /api/v2/drops/{slug}/items/{token_id} instead: it makes the same change and returns the transaction that puts it onchain.
Request
- Base URLhttps://api.opensea.io
- AuthAPI key in header x-api-key and OpenID Connect (https://auth.opensea.io/.well-known/openid-configuration, scopes: write:drops)
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Collection slug
Drop item token id
Request body
Response
Drop item updated successfully
Changes
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
added the new optional request property
- info
added the media type
*/*for the response with the status - info
added the media type
*/*for the response with the status - info
added the media type
*/*for the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking