Partner update - Otisz/Laravel-Billingo GitHub Wiki

Schema

Official Schema

Usage

\Billingo::partners()->update(int $partnerID, array $payload)

Example Request

[
  "name" => "Szalai Dorottya"
  "address" => [
    "country_code" => "SM"
    "post_code" => "7574"
    "city" => "Rétság"
    "address" => "Mihály országút 6. 21. emelet"
  ]
  "emails" => [
    "[email protected]"
  ]
  "taxcode" => 816665
  "iban" => "HU83459128585255584332340564"
  "swift" => "GSFZAZD1R0Z"
  "account_number" => "HU23037193646063616319761102"
  "phone" => "06-88-829-8646"
]

Response

[
  "id" => 1729074804
  "name" => "Szalai Dorottya"
  "address" => [
    "country_code" => "SM"
    "post_code" => "7574"
    "city" => "Rétság"
    "address" => "Mihály országút 6. 21. emelet"
  ]
  "emails" => [
    "[email protected]"
  ]
  "taxcode" => "816665"
  "iban" => "HU83459128585255584332340564"
  "swift" => "GSFZAZD1R0Z"
  "account_number" => "HU23037193646063616319761102"
  "phone" => "06-88-829-8646"
]