Create Multiple Digital Assets

post/{org_id}/digital_assets

Request

  • Base URL
    https://app.salsify.com/api/v1/orgs
  • URL
    https://app.salsify.com/api/v1/orgs/{org_id}/digital_assets
  • Auth
    API key in header Authorization

Path parameters

org_idstring required

The Salsify organization's unique identifier. Visit your Salsify organization and pull from the URL path, immediately following /orgs/

Request body

salsify:source_URLstring required

A public-facing HTTP(S) URL for the digital asset file.

salsify:idstring

The identifier to use for the asset. A randomly generated ID is assigned if not specified.

salsify:namestring

Digital asset name. The filename is used if not specified.

additional_metadatastring

Additional optional metadata (system or custom) can be added in value pairs. {metadata_id} : {metadata_value} where metadata_id is a Salsify property, and metadata_value is the corresponding property value. If metadata_id does not exist in org, property will be created.

salsify:transient_sourceboolean

When set to true, the source_url is not persisted on the asset in Salsify, and the asset is treated as if it were uploaded as a file in the UI

Response

200

salsify:idstring
salsify:source_urlstring
salsify:namestring
salsify:created_atstring
salsify:updated_atstring
salsify:statusstring
salsify:asset_resource_typestring
salsify:system_idstring
Manufacturerstring

Example response

[
  {
    "salsify:id": "kitty.png",
    "salsify:source_url": "https://images.pexels.com/photos/62321/kitten-cat-fluffy-cat-cute-62321.jpeg?auto=compress&cs=tinysrgb&h=650&w=940.png",
    "salsify:name": "kitten-cat-fluffy-cat-cute-62321.jpeg",
    "salsify:created_at": "2018-04-19T20:24:43.855Z",
    "salsify:updated_at": "2018-04-19T20:24:43.855Z",
    "salsify:status": "in_progress",
    "salsify:asset_resource_type": "raw",
    "salsify:system_id": "s-999-999-999-999",
    "Manufacturer": "Wildflower Imports, Inc."
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.