Skip to content
Businesses

Update Businessexperimental

PUT/api/businesses/{businessId}

This endpoint allows you to update a Business.

Path parameters

  • businessIdrequired string
    The Business id.

Request body

  • farmlandsBusinessNumberoptional string
    The number associated with your Farmlands business.
  • locationoptional location
    The physical address of the business.
  • taxNumberoptional object
    The value-added tax configuration.
  • tradingNameoptional string
    The trading name of the business.

Responses

Request
curl -X PUT https://service.centrapay.com/api/businesses/DKTs3U38hdhfEqwF1JKoT2 \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
-d '{
"farmlandsBusinessNumber": "12345678",
"location": {
"city": "Wellington",
"country": "NZ",
"postCode": "6011",
"state": "Wellington",
"street": "1 Head Office Way"
},
"taxNumber": {
"type": "nz-gst",
"value": "123-456-789"
}
}'