BigCommerce · Schema

customer_Put

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS

Properties

Name Type Description
email string The email of the customer. Must be unique.
first_name string The first name of the customer.
last_name string The last name of the customer.
company string The company of the customer.
phone string The phone number of the customer.
registration_ip_address string The IP address from which this customer was registered.
notes string The customer notes.
tax_exempt_category string The tax exempt category code for the customer.
customer_group_id integer ID of the group which this customer belongs to.
id integer The unique numeric ID of the customer.
authentication object
accepts_product_review_abandoned_cart_emails boolean It determines if the customer is signed up to receive either product review or abandoned cart emails or receive both emails.
store_credit_amounts object
origin_channel_id integer Channel ID of the customer that has created the form.
channel_ids array Arrays of channels the customer can access.
form_fields array Array of form fields. Controlled by formfields parameter.
View JSON Schema on GitHub

JSON Schema

bigcommerce-customer-put-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/customer_Put",
  "title": "customer_Put",
  "type": "object",
  "properties": {
    "email": {
      "description": "The email of the customer. Must be unique.",
      "type": "string",
      "minLength": 3,
      "maxLength": 255
    },
    "first_name": {
      "description": "The first name of the customer.",
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "last_name": {
      "description": "The last name of the customer.",
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "company": {
      "description": "The company of the customer.",
      "type": "string",
      "minLength": 0,
      "maxLength": 255
    },
    "phone": {
      "description": "The phone number of the customer.",
      "type": "string",
      "minLength": 0,
      "maxLength": 50
    },
    "registration_ip_address": {
      "description": "The IP address from which this customer was registered.",
      "type": "string",
      "minLength": 0,
      "maxLength": 30
    },
    "notes": {
      "description": "The customer notes.",
      "type": "string"
    },
    "tax_exempt_category": {
      "description": "The tax exempt category code for the customer.",
      "type": "string",
      "minLength": 0,
      "maxLength": 255
    },
    "customer_group_id": {
      "description": "ID of the group which this customer belongs to.",
      "type": "integer",
      "format": "int32"
    },
    "id": {
      "description": "The unique numeric ID of the customer.",
      "type": "integer",
      "format": "int32"
    },
    "authentication": {
      "$ref": "#/components/schemas/customerAuthentication_PostPut"
    },
    "accepts_product_review_abandoned_cart_emails": {
      "type": "boolean",
      "description": "It determines if the customer is signed up to receive either product review or abandoned cart emails or receive both emails."
    },
    "store_credit_amounts": {
      "$ref": "#/components/schemas/CustomerStoredCreditAmounts"
    },
    "origin_channel_id": {
      "type": "integer",
      "description": "Channel ID of the customer that has created the form."
    },
    "channel_ids": {
      "description": "Arrays of channels the customer can access.",
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "form_fields": {
      "type": "array",
      "description": "Array of form fields. Controlled by formfields parameter.\n",
      "items": {
        "$ref": "#/components/schemas/formFieldValue"
      }
    }
  },
  "required": [
    "id"
  ],
  "x-internal": false
}