PUT ProductManager/products/{slugId}/heroshot?companyEntityId={companyEntityId}
Set an image as the Hero Shot (default image). Only one Hero Shot can be assigned per product. This call will replace currrent Hero Shot.
Information:
Base URL:
https://api.covasoft.net/productlibrary
Example of a call would be:
https://api.covasoft.net/productlibrary/ProductManager/products/{slugId}/heroshot?companyEntityId={companyEntityId}
Request Information
URI Parameters
| Name | Description | Type | Additional 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 |
Body Parameters
AssignHeroShot| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Id from the POST /asset call |
globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "90ef4c4d-5ee5-487e-ab19-9148c06074a0"
}
Response Information
Resource Description
AssignHeroShot| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Id from the POST /asset call |
globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": "8b2b76dc-29a5-4837-bab1-ede979b78ec4"
}