Body

Body

Body

PATCH /external/api/users
curl \
 -X PATCH https://demo.api.fygi.store/external/api/users \
 -H "authorization: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '[{"id":"string","firstName":{"value":"string"},"lastName":{"value":"string"},"email":{"value":"string"},"role":{"value":"string"},"storeId":{"value":"string"},"password":{"value":"string"},"active":{"value":true}}]'
curl \
 -X PATCH https://demo.api.fygi.store/external/api/users \
 -H "authorization: $API_KEY" \
 -H "Content-Type: text/json"
curl \
 -X PATCH https://demo.api.fygi.store/external/api/users \
 -H "authorization: $API_KEY" \
 -H "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
    }
  }
]