Skip to main content
PATCH
/
developers
/
{id}
Update an existing Developer
curl --request PATCH \
  --url https://commerce.driv.ly/api/developers/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "addresses": [
    "<string>"
  ],
  "phoneNumbers": [
    "<string>"
  ],
  "name": "<string>",
  "contacts": [
    "<string>"
  ]
}
'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "addresses": [
      "<string>"
    ],
    "phoneNumbers": [
      "<string>"
    ],
    "contacts": [
      "<string>"
    ]
  },
  "success": true
}

Path Parameters

id
string
required

Customer is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Body

application/json
id
string

Customer is uniquely identified by id

addresses
(string | Address · object)[]

Customer is located at Addresses

phoneNumbers
string[]

Customer has Phone Number

name
string

Company has Name

contacts
(string | Contact · object)[]

Company has Contact

Response

Developer Updated

data
Developer · object
success
boolean