Upload Logo Image for Brand Asset
URL: POST /api/v1/brand_assets/logo_image_upload
Note: The logo image should match the promoted brand of the brand asset.
Query Parameters
Parameter | Description | Type | Required | Possible Values |
---|---|---|---|---|
advertiserId | The ID of the advertiser | integer | Y | Unique advertiser ID |
BrandAssetUploadRequest | BrandAssetUploadRequest is a JSON object specifying brandAssetId | string | Y | 'BrandAssetUploadRequest="{"brandAssetId": "<BRANDASSET_ID>"} |
Request Parameters
Parameter | Description | Type | Required | Possible Values |
---|---|---|---|---|
file | Local file path to the desired image to be uploaded | string | Y |
|
Sample Request
curl -X POST 'https://developer.api.stg.walmart.com/api-proxy/service/WPA/Api/v1/api/v1/brand_assets/logo_image_upload?advertiserId=400000' \ --header 'accept: application/json' \ --header 'Authorization: Bearer <auth_token>' \ --header 'WM_SEC.AUTH_SIGNATURE: ***********' \ --header 'WM_SEC.KEY_VERSION: 1' \  --header 'WM_CONSUMER.ID: adfwe-v23-faasd2r-afs-asdfqeff' \ --header 'WM_CONSUMER.intimestamp: 1565309779' \ --form 'BrandAssetUploadRequest="{"brandAssetId":"10159"}"' \ --form 'file=@"placeholder-address:///1eec50a0-7267-4610-b8f1-64b35fb12345"'
Response
Parameter | Description | Type |
---|---|---|
brandAssetId | The ID of the brand asset to be updated | integer |
code | The response code can have following values:  success , failure Click here for more information on API Status Codes and Errors | string |
details | Details of the error if value of response code is failure . | string |
Sample Response
{ "brandAssetId": 10159, "code": "success", "details": ""
}
Updated about 1 month ago