Lieferant v2 /api/v2/:principal_slug/business/partner/suppliers/:id

Überblick

Klasse / Datentyp
Lieferant
Response Formats
JSON
API Version
v2
Öffentlich erreichbar
false
HTTP Methode
GET
Zuletzt aktualisiert

/api/v2/:principal_slug/business/partner/suppliers/:id

Parameter

Query Parameter

Schlüssel
id Pflicht

Business::Partner::Supplier ID

principal_slug Pflicht

Backend::Principal Slug / ID

Beispiel Rückgabe

{
  "data" : {
    "id"                  : "57fbf7fb56820b76f2ec95f4",
    "_type"               : "data",
    "abbreviation"        : "ADOBE",
    "name"                : "Adobe Systems Incorporated",
    "email"               : "",
    "phone_number_1"      : "",
    "phone_number_2"      : "",
    "mobile_phone_number" : "",
    "fax_number"          : "",
    "billing_address"     : {
      "id"                            : "57fbf7fb56820b76f2ec95f5",
      "firstname"                     : null,
      "lastname"                      : null,
      "company_name"                  : "Adobe Systems Incorporated",
      "location_name"                 : null,
      "latitude"                      : null,
      "longitude"                     : null,
      "street"                        : "345 Park Avenue ",
      "additional_street_information" : null,
      "zip_code"                      : "CH 95110-2704",
      "town"                          : "San Jose",
      "country"                       : "US",
      "full_address"                  : null
    },
    "shipping_address"    : {
      "id"                            : "57fbf7fb56820b76f2ec95f6",
      "firstname"                     : null,
      "lastname"                      : null,
      "company_name"                  : "Adobe Systems Incorporated",
      "location_name"                 : null,
      "latitude"                      : null,
      "longitude"                     : null,
      "street"                        : "345 Park Avenue ",
      "additional_street_information" : null,
      "zip_code"                      : "CH 95110-2704",
      "town"                          : "San Jose",
      "country"                       : "US",
      "full_address"                  : null
    },
    "tax_type"            : {
      "id"    : "5641214593e2e515390004a2",
      "code"  : "other_international",
      "label" : "Übriges Ausland"
    },
    "account"             : {
      "id"     : "554b432e6f72690ea26b0400",
      "_type"  : "Business::Account::Passive::Creditor",
      "number" : 2000,
      "label"  : "Verbindlichkeiten aus Lieferungen und Leistungen (Kreditoren)"
    },
    "classification"      : {
      "id"     : "5558b9206f726971ba279900",
      "label"  : "Schweiz",
      "number" : 6120,
      "path"   : "1.60.6120"
    }
  },
  "meta" : {
    "resource_class" : "Business::Partner::Supplier",
    "id"             : "57fbf7fb56820b76f2ec95f4",
    "to"             : {
      "string" : "Adobe Systems Incorporated",
      "param"  : "57fbf7fb56820b76f2ec95f4"
    },
    "created_at"     : "2016-10-10T22:20:11.856+02:00",
    "updated_at"     : "2016-11-10T23:19:47.349+01:00",
    "principal"      : {"id" : "53db7cb4993a7aefa50001e1","to_param" : "squibble"},
    "can"            : {"update" : true,"destroy" : true}
  }
}