bigcommerce-api-ruby
bigcommerce-api-ruby copied to clipboard
add form_fields to Customer
Form fields exist on Customer but are missing from the customer resource object.
Schema definition:
$ curl https://developer.bigcommerce.com/api-reference/store-management/customers-v2/BigCommerce_Customers_API.oas2.json \
| jq '.definitions.Customer.properties.form_fields'
{
"description": "Array of custom fields. This is a READ-ONLY field; do not set or modify its value in a POST or PUT request.",
"type": "array",
"items": {
"title": "Form Fields",
"type": "object",
"properties": {
"name": {
"description": "Name of the form field",
"type": "string",
"example": "License Id"
},
"value": {
"description": "Value of the form field",
"type": "string",
"example": "123BAF"
}
}
}
}
Hi all! Is this something worth considering including in main?
@bc-chaz @johnhebron looking to get this merged please
@j05h is there anything preventing this PR from being reviewed & merged?
@j05h is there anything preventing this PR from being reviewed & merged?
Nope. Looks good to me. Let me do some quick checks and I'll get this merged.