Skip to content

Update an Distributor

PUT
/distributor/{distributor}

Updating an distributor.

Location
string
Example
http://pay.caspeco.net/v1/distributor/
Host
string

E.g. pay.caspeco.net

Example
pay.caspeco.net
Date
string

E.g. Tue, 15 Nov 2014 08:12:31 GMT

Example
Tue, 15 Nov 2014 08:12:31 GMT
Digest
string

E.g. SHA-256=7oaYBB1oQVPy1BvP2ndYtxdD5EWNynt9lxCHzOdXb1A=

Example
SHA-256=7oaYBB1oQVPy1BvP2ndYtxdD5EWNynt9lxCHzOdXb1A=
Media typeapplication/json
object
DistributorId
string
Name
string
Example
{
"DistributorId": "12345678",
"Name": "Andreas"
}

Created

Media typeapplication/json
object
DistributorId
string
Name
string
Code
string
Examples
Exampleresponse
{
"DistributorId": "12345678",
"Name": "Andreas",
"Code": "OK"
}