PATCH /external/api/users

PATCH /external/api/users

Body

  • id string Required

    Minimum length is 1.

  • firstName object

    Additional properties are NOT allowed.

    Hide firstName attribute Show firstName attribute object
    • value string | null
  • lastName object

    Additional properties are NOT allowed.

    Hide lastName attribute Show lastName attribute object
    • value string | null
  • email object

    Additional properties are NOT allowed.

    Hide email attribute Show email attribute object
    • value string | null
  • role object

    Additional properties are NOT allowed.

    Hide role attribute Show role attribute object
    • value string | null
  • storeId object

    Additional properties are NOT allowed.

    Hide storeId attribute Show storeId attribute object
    • value string | null
  • password object

    Additional properties are NOT allowed.

    Hide password attribute Show password attribute object
    • value string | null
  • active object

    Additional properties are NOT allowed.

    Hide active attribute Show active attribute object
    • value boolean

Body

  • id string Required

    Minimum length is 1.

  • firstName object

    Additional properties are NOT allowed.

    Hide firstName attribute Show firstName attribute object
    • value string | null
  • lastName object

    Additional properties are NOT allowed.

    Hide lastName attribute Show lastName attribute object
    • value string | null
  • email object

    Additional properties are NOT allowed.

    Hide email attribute Show email attribute object
    • value string | null
  • role object

    Additional properties are NOT allowed.

    Hide role attribute Show role attribute object
    • value string | null
  • storeId object

    Additional properties are NOT allowed.

    Hide storeId attribute Show storeId attribute object
    • value string | null
  • password object

    Additional properties are NOT allowed.

    Hide password attribute Show password attribute object
    • value string | null
  • active object

    Additional properties are NOT allowed.

    Hide active attribute Show active attribute object
    • value boolean

Body

  • id string Required

    Minimum length is 1.

  • firstName object

    Additional properties are NOT allowed.

    Hide firstName attribute Show firstName attribute object
    • value string | null
  • lastName object

    Additional properties are NOT allowed.

    Hide lastName attribute Show lastName attribute object
    • value string | null
  • email object

    Additional properties are NOT allowed.

    Hide email attribute Show email attribute object
    • value string | null
  • role object

    Additional properties are NOT allowed.

    Hide role attribute Show role attribute object
    • value string | null
  • storeId object

    Additional properties are NOT allowed.

    Hide storeId attribute Show storeId attribute object
    • value string | null
  • password object

    Additional properties are NOT allowed.

    Hide password attribute Show password attribute object
    • value string | null
  • active object

    Additional properties are NOT allowed.

    Hide active attribute Show active attribute object
    • value boolean

Responses

  • 200

    Success

PATCH /external/api/users
curl \
 --request PATCH 'http://test.api.fygi.store/external/api/users' \
 --header "authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '[{"id":"string","firstName":{"value":"string"},"lastName":{"value":"string"},"email":{"value":"string"},"role":{"value":"string"},"storeId":{"value":"string"},"password":{"value":"string"},"active":{"value":true}}]'
curl \
 --request PATCH 'http://test.api.fygi.store/external/api/users' \
 --header "authorization: $API_KEY" \
 --header "Content-Type: text/json"
curl \
 --request PATCH 'http://test.api.fygi.store/external/api/users' \
 --header "authorization: $API_KEY" \
 --header "Content-Type: application/*+json"
Request examples
[
  {
    "id": "string",
    "firstName": {
      "value": "string"
    },
    "lastName": {
      "value": "string"
    },
    "email": {
      "value": "string"
    },
    "role": {
      "value": "string"
    },
    "storeId": {
      "value": "string"
    },
    "password": {
      "value": "string"
    },
    "active": {
      "value": true
    }
  }
]
Request examples
[
  {
    "id": "string",
    "firstName": {
      "value": "string"
    },
    "lastName": {
      "value": "string"
    },
    "email": {
      "value": "string"
    },
    "role": {
      "value": "string"
    },
    "storeId": {
      "value": "string"
    },
    "password": {
      "value": "string"
    },
    "active": {
      "value": true
    }
  }
]
Request examples
[
  {
    "id": "string",
    "firstName": {
      "value": "string"
    },
    "lastName": {
      "value": "string"
    },
    "email": {
      "value": "string"
    },
    "role": {
      "value": "string"
    },
    "storeId": {
      "value": "string"
    },
    "password": {
      "value": "string"
    },
    "active": {
      "value": true
    }
  }
]