Upload a file to the library
Adds a file to the library without placing it on anything. Upload the
file first through POST /api/v3/admin/files, then send the signed id
here. Put the file on a product by posting to that product’s media with
this record’s id as source_media_id.
Required scope: write_media (for API-key authentication).
POST
Spree Admin SDK
Authorizations
Headers
Body
application/json
Identities the record has in external systems, keyed by system: the same { system: external_id } map the Admin API renders, so what you read can be sent straight back. Systems you do not name keep the reference they have. A list of { system, external_id } entries is accepted too.
Response
201 - application/json
file added
Spree Admin SDK

