Create new Consumer Point User
  • 17 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Create new Consumer Point User

  • Dark
    Light
  • PDF

Article summary

Post
/consumer-points-user/
Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Consumer Point User data to be saved.

object

Consumer Point User object. Flat version for patch and post methods

Address
integer

Address ID

activity
integer

SnConstant with group name CP_ACTIVITY

by_email
boolean

Specifies if consumerpoint user notify via email

by_landline
boolean

Specifies if consumerpoint user notify via landline

by_sms
boolean

Specifies if consumerpoint user notify via sms

category
integer

SnConstant with group name CP_CATEGORY

consumer_point
integer

Consumer Point ID

created_ts
string (date-time)

Date created

id
integer

Primary key

is_activated
boolean

Specifies if consumerpint user is activated or not

landline
string

Consumerpoint user landline number

name
string

Consumer Point User name

no_sms
boolean

Specifies if consumerpoint user sms sending was disabled or not

phone
string

Consumer Point User phone number

restricted_type
integer

TxtConstant with group name KU_RESTRICTED_TYPE

source
integer

SnConstant with group name CP_SOURCE

updated_ts
string (date-time)

Date updated

username
string

Consumer Point User username

Responses
201

Consumer Point User created successfully.

object

Consumer Point User object. Flat version for patch and post methods

Address
integer

Address ID

activity
integer

SnConstant with group name CP_ACTIVITY

by_email
boolean

Specifies if consumerpoint user notify via email

by_landline
boolean

Specifies if consumerpoint user notify via landline

by_sms
boolean

Specifies if consumerpoint user notify via sms

category
integer

SnConstant with group name CP_CATEGORY

consumer_point
integer

Consumer Point ID

created_ts
string (date-time)

Date created

id
integer

Primary key

is_activated
boolean

Specifies if consumerpint user is activated or not

landline
string

Consumerpoint user landline number

name
string

Consumer Point User name

no_sms
boolean

Specifies if consumerpoint user sms sending was disabled or not

phone
string

Consumer Point User phone number

restricted_type
integer

TxtConstant with group name KU_RESTRICTED_TYPE

source
integer

SnConstant with group name CP_SOURCE

updated_ts
string (date-time)

Date updated

username
string

Consumer Point User username

400

There was an error in request. Usually field validation failed.

Fields which failed validation.

401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object
details
string

Detailed description of error


Was this article helpful?