POST:users.json
Commerce APIPOST:users.json

POST:users.json

Description

Allows you to modify yourself. If you your own id as the only id for ids argument, you can modify yourself.

Permission bit: "users.modify"

Topic: Users

Query Parameters

ids: Comma-separated array of String, required

List of user ids. See also: Unique Identifiers

Example: ?ids=us_EQzGqWoY,us_EQzGqWoY

Request Body

Array of UserModify

[
  {
    "bio_raw_content": "{}",
    "default_shop_id": "sh_EQzGqWoY",
    "display_name": "Jane S.",
    "emails": [
      {
        "email": "no+spam@mail.com"
      }
    ],
    "language": "",
    "name": "Jane Smith",
    "prefer_twenty_four_hour": "auto",
    "profile_image": "auto",
    "profile_image_color": 5,
    "timezone": "(GMT-05:00) Eastern Time",
    "tos_agree": true
  }
]

Response Body

Array of User

Response Body Type

Loading module