Update a cancellation request image
Updates an existing cancellation request image. cancellation_request is required; every other field is optional, and fields left out keep their current value.
The stored file content cannot be replaced: image is validated against FILE_UPLOAD_MAX_MEMORY_SIZE and the MAX_IMAGE_DIMENSIONS dynamic setting when sent, but a valid value is then discarded. To point the record at a different stored file, send image_path. See Update Semantics.
Every update stores is_uploaded_by_user as false, including on images that a customer uploaded; see Uploader Flag.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the cancellation request image.
The fields to write on an existing cancellation request image with PUT. cancellation_request is required; fields left out keep their current value. See Update Semantics.
The uuid of the cancellation request the image belongs to. Sending a different uuid moves the image to that cancellation request.
74fc3776-1cd2-4564-b33b-22ac8ff8c4e5Validated like on create, then discarded. The stored file content cannot be replaced; use image_path instead.
Path of a file already present in the platform's media storage, to be referenced by this record instead of its current file. Accepted in requests only; never returned in a response.
cancellation_request_images/2026/09/30/93506902-da14-485b-90b1-6e0c0df6b70b.jpgFree-text description of the image.
Scratch on the left side of the product.Free-form JSON object. Replaced as a whole, not merged.
{"angle":"front"}The updated cancellation request image.
An image attached to a cancellation request.
Unique identifier of the cancellation request image.
42The uuid of the cancellation request the image belongs to.
74fc3776-1cd2-4564-b33b-22ac8ff8c4e5Absolute URL of the stored image file.
https://cdn.example.com/media/cancellation_request_images/2026/09/30/93506902-da14-485b-90b1-6e0c0df6b70b.jpgFree-text description of the image.
Scratch on the left side of the product.Free-form JSON object.
{"angle":"front"}true when the customer attached the image through the storefront cancellation flow; false when it was created or last updated through these endpoints. See Uploader Flag.
falseWhen the record was created.
2026-09-30T11:30:31.855997ZWhen the record was last changed.
2026-09-30T11:30:31.856171ZThe request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested cancellation request image does not exist.
PUT /api/v1/remote/1/cancellation_request_images/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 261
{
"cancellation_request": "74fc3776-1cd2-4564-b33b-22ac8ff8c4e5",
"image": "text",
"image_path": "cancellation_request_images/2026/09/30/93506902-da14-485b-90b1-6e0c0df6b70b.jpg",
"description": "Scratch on the left side of the product.",
"attributes": {
"angle": "front"
}
}{
"id": 42,
"cancellation_request": "74fc3776-1cd2-4564-b33b-22ac8ff8c4e5",
"image": "https://cdn.example.com/media/cancellation_request_images/2026/09/30/93506902-da14-485b-90b1-6e0c0df6b70b.jpg",
"description": "Scratch on the left side of the product.",
"attributes": {
"angle": "front"
},
"is_uploaded_by_user": false,
"created_date": "2026-09-30T11:30:31.855997Z",
"modified_date": "2026-09-30T11:30:31.856171Z"
}Last updated
Was this helpful?

