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/payment-hardware-orders/{paymentHardwareOrderId}

PATCH/v1/payment-hardware-orders/{paymentHardwareOrderId}
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
paymentHardwareOrderIdstringrequired
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
trackingNumberMaskedany | null
Show properties
Any of:
any
any
null
null
environmentstring | null
Show properties
Any of:
string
string
null
null
merchantAccountIdstring | null
Show properties
Any of:
string
string
null
null
statusstringrequired
Allowed:draftprovider_action_requiredorderedconfirmedshippedactivatedcanceledreturned
providerActionReasonstring | null
Show properties
Any of:
string
string
null
null
providerOrderRefstring | null
Show properties
Any of:
string
string
null
null
shipmentobject | null
Show properties
Any of:
object
carrierstring | null
Show properties
Any of:
string
string
null
null
trackingNumberstring | null
Show properties
Any of:
string
string
null
null
trackingNumberMaskedstring | null
Show properties
Any of:
string
string
null
null
shippedAtstring | null
Show properties
Any of:
string
string
null
null
deliveredAtstring | null
Show properties
Any of:
string
string
null
null
null
null
terminalLocationIdstring | null
Show properties
Any of:
string
string
null
null
terminalReaderIdstring | null
Show properties
Any of:
string
string
null
null
Responses
200

Success

dataobjectrequired
Show properties
idstringrequired
min length 1
merchantAccountIdstringrequired
min length 1
statusstringrequired
Allowed:draftprovider_action_requiredorderedconfirmedshippedactivatedcanceledreturned
linesobject[]required
Show properties
Array of object
skuIdstringrequired
min length 1
quantitynumberrequired
unitAmountnumber | null
Show properties
Any of:
number
number
null
null
currencystring | null
Show properties
Any of:
string
string
null
null
shippingAddressobjectrequired
Show properties
line1stringrequired
min length 1
line2string | null
Show properties
Any of:
string
string
null
null
citystringrequired
min length 1
regionstring | null
Show properties
Any of:
string
string
null
null
postalCodestringrequired
min length 1
countrystringrequired
min length 1
contactEmailstring | null
Show properties
Any of:
string
string
null
null
contactPhonestring | null
Show properties
Any of:
string
string
null
null
providerActionobject | null
Show properties
Any of:
object
railstringrequired
Allowed:device_storemanual_provider
actionstringrequired
Allowed:place_order_in_provider_portalcancel_order_in_provider_portalcontact_provider
reasonstringrequired
min length 1
null
null
shipmentobjectrequired
Show properties
statusstringrequired
Allowed:not_shippedshippeddelivered
carrierstring | null
Show properties
Any of:
string
string
null
null
trackingNumberMaskedstring | null
Show properties
Any of:
string
string
null
null
shippedAtstring | null
Show properties
Any of:
string
string
null
null
deliveredAtstring | null
Show properties
Any of:
string
string
null
null
nextActionstringrequired
Allowed:noneselect_active_skuplace_provider_ordercancel_provider_ordercontact_providertrack_shipment
metadataobject | null
Show properties
Any of:
object
object
null
null
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
orderedAtstring | null
Show properties
Any of:
string
string
null
null
confirmedAtstring | null
Show properties
Any of:
string
string
null
null
activatedAtstring | null
Show properties
Any of:
string
string
null
null
canceledAtstring | null
Show properties
Any of:
string
string
null
null
terminalLocationIdstring | null
Show properties
Any of:
string
string
null
null
terminalReaderIdstring | 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/payment-hardware-orders/:paymentHardwareOrderId" \
  -X PATCH \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "id": "string",
    "merchantAccountId": "string",
    "status": "draft",
    "lines": [
      {
        "skuId": "string",
        "quantity": 0,
        "unitAmount": 0,
        "currency": "string"
      }
    ],
    "shippingAddress": {
      "line1": "string",
      "line2": "string",
      "city": "string",
      "region": "string",
      "postalCode": "string",
      "country": "string"
    },
    "contactEmail": "string",
    "contactPhone": "string",
    "providerAction": {
      "rail": "device_store",
      "action": "place_order_in_provider_portal",
      "reason": "string"
    },
    "shipment": {
      "status": "not_shipped",
      "carrier": "string",
      "trackingNumberMasked": "string",
      "shippedAt": "string",
      "deliveredAt": "string"
    },
    "nextAction": "none",
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "createdAt": "string",
    "updatedAt": "string",
    "orderedAt": "string",
    "confirmedAt": "string",
    "activatedAt": "string",
    "canceledAt": "string",
    "terminalLocationId": "string",
    "terminalReaderId": "string"
  },
  "requestId": "string"
}

Was this page helpful?