Get company by code

Gets a Company by external code. Returns null if the Company does not exist.

Request
query Parameters
code
required
string

The external code. Usually the id in the erp system.

cultureCode
string

Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.

Responses
200

Success

500

Internal Server Error

get/CustomerService.svc/rest/GetCompanyByCode
Response samples
{
  • "Id": 0,
  • "Key": "string",
  • "Code": "string",
  • "Name": "string",
  • "OrgNo": "string",
  • "Phone": "string",
  • "ReferId": 0,
  • "ReferUrl": "string",
  • "DeliveryAddresses": [
    ],
  • "InvoiceAddress": {
    },
  • "UseInvoiceAddressAsDeliveryAddress": true,
  • "Info": [
    ],
  • "PricelistIds": [
    ],
  • "ParentId": 0,
  • "DeliveryMethodIds": [
    ],
  • "PaymentMethodIds": [
    ],
  • "Email": "string",
  • "Flags": [
    ],
  • "VatNo": "string"
}