/api/client/nudge1

Switch the cart suggestion (Nicht vergessen) off for the logged-on customer, or on again. The setting is kept in the customer profile, see nonudge in the user data.

Parameters

(int) 1 (default): no suggestion in the cart; 0: show it again
(String) optionally define the response-format for this call. One of: compact (default) | compacts | full | fulls | json | md | html | js | openapi | yaml
(int) optionally force the API to check against the role (instead of silently not returning data). For guests or public access, the default is -1. 0 (regular customer) and above define the role for which the current session is expected to be authorized.

Error Responses

HTTP StatusError CodeDescription
403not_authNo authenticated customer session

Response Types

NudgeResult

NudgeResult (v1) docs

Result of switching the cart suggestion (Nicht vergessen) off or on

Fields (2)
#FieldTypeDescription
0actionstringthe action that was performed
1resultstringthe exit/result code of the action

Data (1 record)

actionresult
Nudgenot_auth