docs
  1. Admin Api
  2. Resources
  3. Product Images
  4. Update Product Image Position

Update product image position

Update a product image position

Rate Limit: 300 Max attempts within 1 minute.

Path Parameters

ParameterDetails
productIdentifier
  • required
string
Examples:
  • ^[1-9][0-9]*$
  • ^key%3D[a-zA-Z0-9-_%\+\. ]*$
imageIdentifier
  • required
string
Examples:
  • ^[1-9][0-9]*$
  • ^key%3D[a-zA-Z0-9-_%\+\. ]*$

Request body

required
ParameterDetails
position
  • required
integer
Example:
3

Responses

200
Product image position was successfully changed.
application/json
Success
id
integer
referenceKey
string
Example:
my_original_name.jpg
name
string
Example:
image.jpg
mimeType
string
position
integer
Example:
3
object
assetUrl
string
Example:
images/my_image.jpg
Array of object
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
404
Not Found
application/json
Error
PATCH/products/{productIdentifier}/images/{imageIdentifier}

Request samples

Response samples

200
Image:
Content type: application/json

Last updated: June 19, 2024

Provide Feedback