List of fields allowed to be changed in the PATCH/customer.


field type description
is_company boolean Specifies if the customer is a company or a person.
company_name string Company name if the customer is flagged as company.
last_name string Customer last name if the customer is flagged as person.
first_name string Customer first name if the customer is flagged as person.
short_name string Customer short name.
store_code_365 string 365 Store code assigned to the customer.
active boolean Specifies if the customer is active or not.
date_of_birth string Customer date of birth as string in format "yyyy-mm-dd"
gender string Customer gender. "M" - masculin, "F" - female, "O" - other.
tel_1 string Customer phone 1 number.
tel_2 string Customer phone 2 number.
mobile string Customer mobile number.
sms string Customer sms number.
fax string Customer fax number.
email string Customer email address.
website string Customer website.
category_code_365 string 365 customer category 1 code.
category_code_2_365 string 365 customer category 2 code.
company_activity_code_365 string 365 company activity code.
agent_code_365 string 365 agent code.
credit_limit_amount decimal Allowed credit amount.
day_limit_amount decimal Allowed daily credit amount.
customer_id string Customer ID.
vat_registration_number string Customer vat registration number.
tax_office string Customer tax identification number.
remarks string Customer remarks.
address_line_1 string Customer address line 1.
address_line_2 string Customer address line 2.
address_line_3 string Customer address line 3.
postal_code string Customer postal code.
town string Customer town.
country_code_iso2 string ISO2 customer country code.
contact_last_name string Contact last name.
contact_first_name string Contact first name.
default_price integer
Customer default price assigned.
  • 0 - Default price. It is the price defined at the system level
  • 1 - Price1
  • 2 - Price2
  • 3 - Price3
  • 4 - Price4
  • 5 - Price5
  • 6 - Price6
  • 7 - Price7
  • 8 - Price8
  • 9 - Price9
  • 10 - Price10
  • 87 - Weighted Average Cost
  • 88 - Average Cost
  • 99 - Latest Cost
  • 72 - Discount price 2
  • 73 - Discount price 3
  • 74 - Discount price 4
  • 75 - Discount price 5
  • 76 - Discount price 6
  • 77 - Discount price 7
  • 78 - Discount price 8
  • 79 - Discount price 9
  • 80 - Discount price 10
  • 97 - Last Price
  • 98 - Last Discount
loyalty_factor integer Loyalty factor.
text_field_1_value string Extra text field 1 value.
text_field_2_value string Extra text field 2 value.
text_field_3_value string Extra text field 3 value.
text_field_4_value string Extra text field 4 value.
text_field_5_value string Extra text field 5 value.
number_field_1_value decimal Extra numeric field 1 value.
number_field_2_value decimal Extra numeric field 2 value.
number_field_3_value decimal Extra numeric field 3 value.
number_field_4_value decimal Extra numeric field 4 value.
number_field_5_value decimal Extra numeric field 5 value.
date_field_1_value string Extra date field 1 value as string in format "yyyy-mm-dd".
date_field_2_value string Extra date field 2 value as string in format "yyyy-mm-dd".
date_field_3_value string Extra date field 3 value as string in format "yyyy-mm-dd".
date_field_4_value string Extra date field 4 value as string in format "yyyy-mm-dd".
date_field_5_value string Extra date field 5 value as string in format "yyyy-mm-dd".
b2b boolean Specifies if customer is flagged as B2B.
autoemail boolean Indicates that customer agreed to receive notification by email.
autosms boolean Indicates that customer agreed to receive notification by sms.
user_name_365 string The unique user name for b2b_user.
max_items_to_order integer B2B maximum items to order
max_time_to_order string B2B maximum time to order.
text_field_01_value string B2B text field 1.
text_field_02_value string B2B text field 2.
text_field_03_value string B2B text field 3.
text_field_04_value string B2B text field 4.
text_field_05_value string B2B text field 5.
text_field_06_value string B2B text field 6.
text_field_07_value string B2B text field 7.
text_field_08_value string B2B text field 8.
text_field_09_value string B2B text field 9.
text_field_10_value string B2B text field 10.
number_field_01_value decimal B2B number field 1.
number_field_02_value decimal B2B number field 2.
number_field_03_value decimal B2B number field 3.
number_field_04_value decimal B2B number field 4.
number_field_05_value decimal B2B number field 5.
number_field_06_value decimal B2B number field 6.
number_field_07_value decimal B2B number field 7.
number_field_08_value decimal B2B number field 8.
number_field_09_value decimal B2B number field 9.
number_field_10_value decimal B2B number field 10.
boolean_field_01_value boolean B2B boolean field 1.
boolean_field_02_value boolean B2B boolean field 2.
boolean_field_03_value boolean B2B boolean field 3.
boolean_field_04_value boolean B2B boolean field 4.
boolean_field_05_value boolean B2B boolean field 5.
boolean_field_06_value boolean B2B boolean field 6.
boolean_field_07_value boolean B2B boolean field 7.
boolean_field_08_value boolean B2B boolean field 8.
boolean_field_09_value boolean B2B boolean field 9.
boolean_field_10_value boolean B2B boolean field 10.
date_field_01_value string B2B date field 1 as string in format "yyyy-mm-dd".
date_field_02_value string B2B date field 2 as string in format "yyyy-mm-dd".
date_field_03_value string B2B date field 3 as string in format "yyyy-mm-dd".
date_field_04_value string B2B date field 4 as string in format "yyyy-mm-dd".
date_field_05_value string B2B date field 5 as string in format "yyyy-mm-dd".