arrow_back Back to all endpoints
POST https://test-api.finerworks.com/v3/add_update_gallery_collection

Add / Update Personal Galleries

Add or update personal gallery collections setup in GeoGalleries.com.

Body

Name Description Type Additional information
id Id of collection. Leave id blank or as 0 if creating a new one. number None.
name Name of personal gallery text

Required

Max length: 50

description Optional description personal gallery - 300 characters max text

Max length: 300

visible If you want it to be visible or not. boolean None.
account_key Optional - User account associated with the request. Note, this will only be accepted for accounts with permission to utilize this parameter, otherwise it will be ignored and the request will based upon the user's api credentials. Leave as null if not authorized to use this parameter. text None.

Example JSON Body

application/json, text/json

{
  "id": 1,
  "name": "sample string 2",
  "description": "sample string 3",
  "visible": true,
  "account_key": "sample string 5"
}

Sample Code Library

curl --location --request POST 'https://test-api.finerworks.com/v3/add_update_gallery_collection' \
--header 'Content-Type: application/json' \
--header 'web_api_key: my-web-api-key-goes-here' \
--header 'app_key: my-app-key-goes-here' \
--data-raw '{
  "id": 1,
  "name": "sample string 2",
  "description": "sample string 3",
  "visible": true,
  "account_key": "sample string 5"
}'