POST ProductManager/products/{slugId}/assets/{assetId}/bulk?companyEntityId={companyEntityId}

Add the image to many products at once. This is useful for master products with variants. You must first assign the asset to any one of the products in the master product family. This call will then assign the asset to all slugs provided in the body.

Information:

Base URL:

https://api.covasoft.net/productlibrary

Example of a call would be:

https://api.covasoft.net/productlibrary/ProductManager/products/{slugId}/assets/{{AssetId}}/bulk?CompanyEntityId={{CompanyId}}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyEntityId

The unique Company Id that was provided in your onboarding package

integer

Required

slugId

The Slug of the product. Typically in the format `M12345` or `M12345-V2`

string

Required

assetId

The Guid identifier of the asset to assign

globally unique identifier

Required

Body Parameters

AssignAssetBulk
NameDescriptionTypeAdditional information
Slugs

Product Slugs to assign the image to. Note: Only valuable for master products with variants. Cannot assign an asset to unrelated products.

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Slugs": [
    "sample string 1",
    "sample string 2"
  ]
}

Response Information

Resource Description

None.