POST https://sandbox.payme.io/api/partner/api/sellers/update-sellerPOST https://live.payme.io/api/partner/api/sellers/update-sellerNo credentials are documented for this endpoint.
Update a seller's business registration number.
This endpoint takes no path, query or header parameters.
Content type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
sellerId |
string | no | Seller UUID |
sellerEmail |
string | no | Seller email |
sellerSocialId |
string | no | Seller Israeli ID number |
businessNumber |
string | yes | Business registration number (ח.פ.) |
{
"sellerId": "123e4567-e89b-12d3-a456-426614174000",
"businessNumber": "515123456"
}
curl -X POST 'https://sandbox.payme.io/api/partner/api/sellers/update-seller' \
-H 'Content-Type: application/json' \
--data-raw '{
"sellerId": "123e4567-e89b-12d3-a456-426614174000",
"businessNumber": "515123456"
}'
const response = await fetch("https://sandbox.payme.io/api/partner/api/sellers/update-seller", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"sellerId": "123e4567-e89b-12d3-a456-426614174000",
"businessNumber": "515123456"
}),
});
console.log(await response.text());
import requests
response = requests.post(
"https://sandbox.payme.io/api/partner/api/sellers/update-seller",
json={
"sellerId": "123e4567-e89b-12d3-a456-426614174000",
"businessNumber": "515123456",
},
)
print(response.text)
<?php
$body = <<<'BODY'
{
"sellerId": "123e4567-e89b-12d3-a456-426614174000",
"businessNumber": "515123456"
}
BODY;
$ch = curl_init('https://sandbox.payme.io/api/partner/api/sellers/update-seller');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => $body,
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
| Field | Type | Description |
|---|---|---|
statusCode |
integer | |
message |
string | |
error |
string |
{
"statusCode": 400,
"message": [
"Validation failed"
],
"error": "Bad Request"
}
| Field | Type | Description |
|---|---|---|
statusCode |
integer | |
message |
string | |
error |
string |
{
"statusCode": 401,
"message": "Unauthorized",
"error": "Unauthorized"
}