Suppliers

Update a Supplier

Changed on

OAuth Scope

This endpoint requires the following OAuth scope manage_suppliers.

post/supplier/{uuid}.json

Request

  • Base URL
    https://api.servicem8.com/api_1.0
  • URL
    https://api.servicem8.com/api_1.0/supplier/{uuid}.json
  • Auth
    • API key in header X-Api-Key
    • or OAuth 2
      Authorization code: https://api.servicem8.com/oauth/authorize
      Token URL: https://api.servicem8.com/oauth/access_token scopes: manage_suppliers

Path parameters

uuidstring uuid required

UUID of the Supplier

Request body

uuidstring uuid

Unique identifier for this record

namestring

The name of the supplier company

business_numberstring

Business registration number (e.g., ABN, EIN)

addressstring

Physical address of the supplier store

emailstring email

Primary contact email address

phonestring

Primary contact phone number

account_numberstring

Your account number with this supplier

Example request

{
  "uuid": "123e4567-827b-4718-855f-23f94cee909b"
}

Response

Success - The record was updated successfully

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}

Changes