Alokai

updateCustomerFormFields

Updates customer's form fields

It receives data from the updateCustomerFormFields endpoint exposed by the BigCommerce API

Signature

declare function updateCustomerFormFields(
	context: BigcommerceIntegrationContext,
	params: index_d_exports$1.UpdateCustomerFormFieldsParameters
): Promise<index_d_exports$1.UpdateCustomerFormFieldsResponse>;

Parameters

NameRequiredTypeDescription
contextRequiredBigcommerceIntegrationContext
paramsRequiredindex_d_exports$1.UpdateCustomerFormFieldsParameters

Returns

Returns a response with the data object containing form fields data.

Referenced Types

Examples

Updating a form field

import { sdk } from '~/sdk.config.ts';

const updateCustomerFormFieldsResponse = await sdk.bigcommerce.updateCustomerFormFields({
  data: [{
    name: "Test Form Field",
    value: "Test Value"
  }]
})

On this page