POST
/
users
/
create

Headers

authorization
string
required

Your API key for authentication.

Body

app_id
string
required

The unique identifier for the app.

shipping_address
object
required

The shipping address for the user.

{
  "first_name": "string", 
  "last_name": "string", 
  "address1": "string", 
  "address2": "string", 
  "city": "string", 
  "state": "string", 
  "zip": "string", 
  "country": "string", 
  "country_code": "string", 
  "province": "string", 
  "province_code": "string", 
  "phone": "string", 
  "email": "string" 
}

Response

user
object

The created user object.

message
string

A message indicating the result of the user creation operation.

code
string

A code indicating the result of the user creation operation. Possible values:

  • USER_CREATED: User created successfully

  • AUTH_MISSING: No API key provided

  • INVALID_KEY: Invalid API key

  • BAD_REQUEST_ERROR: Invalid request parameters

  • APP_NOT_FOUND: App not found

  • FORBIDDEN: Not authorized to access app

  • INTERNAL_ERROR: Server error occurred

error
string

Error message if the request fails.