updating a product image using IP in src

HCorte
Tourist
12 0 1

Updating a product image by the API when the src using a domain/subdomain it works and uploads the image to shopify but when using ip in src it doesn't work.

 

Is uploading image by ip not supported?

0 Likes

Could you provide an example of what you are using in the src field?

0 Likes
HCorte
Tourist
12 0 1

in the src have for example: http://183.133.122.10:8080/image.jpg

that doesn't work

but in case of having: http://connector:8080/image.jpg

already works

 

When creating webhook's by the endpoint of the API notice it haves this behavior when its points to ip always returns address invalid but using a domain with or without port already works so Shopify doesn't seem to suport the use of ip is what I concluded.

0 Likes
HCorte
Tourist
12 0 1

{
"product": {
"id": 4520265121841,
"images":[{"position":1,"src":"https://213.63.235.162:448/TinctureNatural/500.jpg","variant_ids":[31673070649393]}],"id":4520265121...}
}
fails but if change to
{
"product": {
"id": 4520265121841,
"images":[{"position":1,"src":"http://staging.winsig.pt/win_shop_connector/500.jpg","variant_ids":[31673070649393]}],"id":452026512...}
}

 

as stated above it by ip doesn't work and by domain/subdomain works is that supose? need to work with ip

0 Likes