GET api/Images/ImageURLWithFileName/{filename}?token={token}&image_id={image_id}
Same as api/Images/ImageURL but with the addition of a filename. Some carts require the url to end with the filename i.e. https://github.com/woocommerce/woocommerce/issues/22557 Nothing at all is done with the filename, it is ignored, so you can pass 111.jpg on every call.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| filename |
A fictitious filename and extenstion |
string |
Required |
| token |
The Auth token used on all requests. |
string |
Required |
| image_id |
The integer ID of the image you are trying to retrieve |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | System.Version |
None. |
|
| Content | System.Net.Http.HttpContent |
None. |
|
| StatusCode | System.Net.HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |