Skip to content
Payments docs are in beta — the OpenAPI contract is the source of truth.API reference
VortexPayments
Esc
↑↓navigate↵open⌘Jpreview

PATCH /v1/custom-fields/{customFieldId}

PATCH/v1/custom-fields/{customFieldId}
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
customFieldIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
Header parameters
Idempotency-Keystring

Required for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.

min length 1
Request body
requiredapplication/json
environmentstring | null
Show properties
Any of:
string
string
null
null
merchantAccountIdstring | null
Show properties
Any of:
string
string
null
null
customFieldIdstring | null
Show properties
Any of:
string
string
null
null
namestring | null
Show properties
Any of:
string
string
null
null
propertiesobject | null
Show properties
Any of:
object
formLabelstring | null
Show properties
Any of:
string
string
null
null
formHelpTextstring | null
Show properties
Any of:
string
string
null
null
formPlaceholderstring | null
Show properties
Any of:
string
string
null
null
textareaboolean | null
Show properties
Any of:
boolean
boolean
null
null
minLengthnumber | null
Show properties
Any of:
number
number
null
null
maxLengthnumber | null
Show properties
Any of:
number
number
null
null
genumber | null
Show properties
Any of:
number
number
null
null
lenumber | null
Show properties
Any of:
number
number
null
null
optionsobject[] | null
Show properties
Any of:
object[]
Array of object
valuestringrequired
min length 1
labelstringrequired
min length 1
null
null
null
null
metadataobject | null
Show properties
Any of:
object
object
null
null
Responses
200

Success

dataobjectrequired
Show properties
customFieldIdstringrequired
min length 1
slugstringrequired
min length 1
namestringrequired
min length 1
fieldTypestringrequired
Allowed:textnumberdatecheckboxselect
propertiesobjectrequired
Show properties
formLabelstring | null
Show properties
Any of:
string
string
null
null
formHelpTextstring | null
Show properties
Any of:
string
string
null
null
formPlaceholderstring | null
Show properties
Any of:
string
string
null
null
textareaboolean | null
Show properties
Any of:
boolean
boolean
null
null
minLengthnumber | null
Show properties
Any of:
number
number
null
null
maxLengthnumber | null
Show properties
Any of:
number
number
null
null
genumber | null
Show properties
Any of:
number
number
null
null
lenumber | null
Show properties
Any of:
number
number
null
null
optionsobject[] | null
Show properties
Any of:
object[]
Array of object
valuestringrequired
min length 1
labelstringrequired
min length 1
null
null
metadataobjectrequired
createdAtstringrequired
min length 1
archivedAtstring | null
Show properties
Any of:
string
string
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/custom-fields/:customFieldId?environment=...&merchantAccountId=..." \
  -X PATCH \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "customFieldId": "string",
    "slug": "string",
    "name": "string",
    "fieldType": "text",
    "properties": {
      "formLabel": "string",
      "formHelpText": "string",
      "formPlaceholder": "string",
      "textarea": true,
      "minLength": 0,
      "maxLength": 0,
      "ge": 0,
      "le": 0,
      "options": [
        {
          "value": "string",
          "label": "string"
        }
      ]
    },
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "createdAt": "string",
    "archivedAt": "string"
  },
  "requestId": "string"
}