Skip to content

Update gift card settings​

POST
/rest/v1/order/gift-card-setting

Validates and persists the gift-card settings object as a whole. minAmount and maxAmount are always required/numeric. enabledGiftCards is only persisted for AUTH_ROLE_ADVISABLE callers — submitted by any other caller, it is silently ignored.

Authorizations​

bearerAuth

JWT access token obtained from /rest/auth/admin/login or /rest/auth/customer/login

Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Gift card settings updated successfully

application/json
JSON
{
  
"success": true,
  
"data": "string"
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI