bigcommerce-api-ruby icon indicating copy to clipboard operation
bigcommerce-api-ruby copied to clipboard

add form_fields to Customer

Open millerjs opened this issue 5 years ago • 2 comments

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"
        }
      }
    }
  }

millerjs avatar Mar 27 '20 21:03 millerjs

Hi all! Is this something worth considering including in main?

millerjs avatar Oct 10 '23 21:10 millerjs

@bc-chaz @johnhebron looking to get this merged please

nick-desteffen avatar Oct 11 '23 13:10 nick-desteffen

@j05h is there anything preventing this PR from being reviewed & merged?

nick-desteffen avatar Jul 01 '24 14:07 nick-desteffen

@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.

j05h avatar Jul 01 '24 18:07 j05h