Gambio icon

Gambio

Interact with Gambio REST API v3

Actions220

Product Image (v2) → Rename

AI-generated

Summary

Rename a product image in the Gambio shop by specifying the current filename and the desired new filename.

Inputs

  • Authentication — Choose how to authenticate with the Gambio API: either Basic Auth with admin email and password (compatible with v2 and v3 APIs) or Bearer Token (JWT) from Gambio Admin (v3 API only).
  • Filename (required) — The current filename of the product image to rename.
  • New Filename (required) — The new filename to assign to the product image.

Output shape

No body content; the output confirms a successful rename operation or returns an error.

The operation sends a PUT request to the /api.php/v2/product_images endpoint with a JSON body containing 'filename' and 'newFilename'. It does not return updated image data.

Discussion