Create a product digital asset
Attaches a downloadable file to one of the product’s variants (the
default variant when variant_id is omitted). Upload the file first
through POST /api/v3/admin/files with visibility: 'private', then
send its signed_id here. A provider-backed asset sends
provider_type and provider_settings instead of a file.
Required scope: write_products (for API-key authentication).
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Path Parameters
Product ID
Body
A signed_id from files.upload() with visibility: 'private'. On update it replaces the file for everyone who already bought it. A seller's file must be of a content type the marketplace accepts, checked against the file's own signature where it has one.
On create, defaults to the product's default variant when omitted. On update, omitting it keeps the current variant.
Null means the store's download settings apply.
Null means the store's download settings apply.
A provider shorthand from the providers endpoint. Omit for an uploaded file; a provider-backed asset sends no signed_id.
Values for the provider's settings schema, keyed by field name.
Response
digital asset created
Digital asset provider; null is an uploaded file. Built-in: file. Extensions may register more.
Digital asset provider name. Built-in: File. Extensions may register more.

