updateCustomAttribute function
Future<ApiResponse<CustomAttribute> >
updateCustomAttribute(
- ExsitedClient client,
- Object customAttributeId,
- Object payload, {
- bool? raiseOnError,
- String? responseFormat,
PATCH /api/{api_version}/custom_attributes/{custom_attribute_id}
Implementation
Future<ApiResponse<CustomAttribute>> updateCustomAttribute(
ExsitedClient client,
Object customAttributeId,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPatchRequest(CustomAttributesUrls.customAttribute,
pathParams: {'custom_attribute_id': customAttributeId},
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: CustomAttribute.fromMap);