Profile

Patch Profile

Update or add specific traits to an existing profile. Only the traits provided are added or updated; unspecified traits remain unchanged. Only pre-defined trait groups and traits configured for the memory store can be patched. To remove a trait entirely, set its value to null.

patch/v1/Stores/{storeId}/Profiles/{profileId}

Request body

traitsTraitGroups

Multiple trait groups.

Example request

{
  "traits": {
    "Contact": {
      "email": "Alyssa.Mock@example.com",
      "phone": "+13175551234",
      "lastName": "Mock",
      "firstName": "Alyssa",
      "street": "123 Main St",
      "city": "San Francisco",
      "state": "CA",
      "postalCode": "94107",
      "country": "US"
    }
  }
}

Response

Trait patch accepted.

messagestring required

Example response

{
  "message": "Trait modifications accepted for processing."
}

Changes

Changed in 1 of the 8 revisions of this API.7

    • the code response property's max was increased from 99999.00 to 999999.00 for the response status 400

      response-property-max-increased

    • the code response property's max was increased from 99999.00 to 999999.00 for the response status 401

      response-property-max-increased

    • the code response property's max was increased from 99999.00 to 999999.00 for the response status 403

      response-property-max-increased

    • the code response property's max was increased from 99999.00 to 999999.00 for the response status 404

      response-property-max-increased

    • the code response property's max was increased from 99999.00 to 999999.00 for the response status 429

      response-property-max-increased

    • the code response property's max was increased from 99999.00 to 999999.00 for the response status 500

      response-property-max-increased

    • the code response property's max was increased from 99999.00 to 999999.00 for the response status 503

      response-property-max-increased

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 8 revisions, 1 has no diff computed.