Edit Galleries
Testing Env
https://www.testecommerce.vodoerp.com
Testing Env
https://www.testecommerce.vodoerp.com
POST
/{{Galleries}}/3
Last modified:2025-04-14 01:11:54
Key | Value | Description | Type |
---|---|---|---|
apikey | 5f28583f26a1a | API key for authentication; contact support to obtain. Required | string |
apiconnection | appmobile | Connection type; contact support to obtain. Required | string |
secure-business-key | 4765066450c0bd66325.48403130 | Business-specific key; contact support for valid values. Required | string |
userToken | 09119b2691afaa567bc1d46c829ebd41193c8545191146cc5df791681a792ad9 | User token from authentication API. Required (Get user token from https://testaccounts.vodoerp.com/api/login or https://accounts.vodoerp.com/api/login ) | string |
Key | Value | Description | Type |
---|---|---|---|
id | 3 | Unique identifier of the gallery to update. Required | string |
Key | Value | Description | Type |
---|---|---|---|
title_en | Brand Name ENsac | Updated gallery title in English. Optional | string |
title_ar | Brand Name ARac | Updated gallery title in Arabic. Optional | string |
description_en | dfdf | Updated gallery description in English. Optional | string |
description_ar | (empty) | Updated gallery description in Arabic. Optional | string |
image | fgdgg | Updated URL or reference to the gallery image. Optional | string |
_method | PUT | HTTP method override to simulate PUT. Required | string |
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://www.testecommerce.vodoerp.com/{{Galleries}}/3' \
--header 'apikey: 5f28583f26a1a' \
--header 'apiconnection: appmobile' \
--header 'secure-business-key: 4765066450c0bd66325.48403130' \
--header 'userToken: 09119b2691afaa567bc1d46c829ebd41193c8545191146cc5df791681a792ad9' \
--form 'title_en="Brand Name ENsac"' \
--form 'title_ar="Brand Name ARac"' \
--form 'description_en="dfdf"' \
--form 'description_ar=""' \
--form 'image="fgdgg"' \
--form '_method="PUT"'
Response Response Example
{"status":true,"message":"Gallery updated","data":{"id":3,"uuid":"ceb6957f-994f-4abd-9f24-ccaba4370b47","business_id":"47","image":null,"title_en":"Brand Name ENsac","description_en":"dfdf","title_ar":"Brand Name ARac","description_ar":null,"created_at":"2023-08-03T19:27:19.000000Z","updated_at":"2025-03-20T13:06:51.000000Z"}}
Request
Header Params
apikey
string
required
Example:
5f28583f26a1a
apiconnection
string
required
Example:
appmobile
secure-business-key
string
required
728106399db2b289783.89154521
2680667168f2f8a68f6.12561200
140356399db2b2c32f0.25237063
96701678e330f31f768.22400604
14807664478836358b0.31329842
Example:
4765066450c0bd66325.48403130
userToken
string
required
https://testaccounts.vodoerp.com/api/login
or
https://accounts.vodoerp.com/api/login
Example:
09119b2691afaa567bc1d46c829ebd41193c8545191146cc5df791681a792ad9
Body Params multipart/form-data
title_en
string
required
Example:
Brand Name ENsac
title_ar
string
required
Example:
Brand Name ARac
description_en
string
optional
Example:
dfdf
description_ar
string
required
image
string
required
Example:
fgdgg
_method
string
required
Example:
PUT