Skip to main content
PATCH
/
api
/
rest
/
vendors
/
{id}
Update One Vendor
curl --request PATCH \
  --url https://api.upwell.com/api/rest/vendors/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": {
    "name": "<string>",
    "sourceSystem": "<string>",
    "sourceSystemId": "<string>",
    "sourceSystemMeta": "<unknown>"
  }
}
'
{
  "updateVendor": {
    "createdAt": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "name": "<string>",
    "sourceSystem": "<string>",
    "sourceSystemId": "<string>",
    "sourceSystemMeta": "<unknown>",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Headers

authorization
string

Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY

Path Parameters

id
string
required

_"id" is required

Body

application/json

Query parameters can also be provided in the request body as a JSON object

input
VendorsSetInput · object

input type for updating data in table "vendors"

Response

200 - application/json

Responses for PATCH /api/rest/vendors/{id}

updateVendor
Vendors · object

Vendors