Get company by organization number and store id

Gets a Company by org no and store id. Used when Company is connected to a specific store. Since Companies are not unique on OrgNo only just the last Company with the specified OrgNo will be returned. Returns null if the Company does not exist.

Request
query Parameters
orgNo
required
string

The organization number of the Company to fetch. All non-numerical characters will be removed in the string before the search.

storeId
required
integer <int32>

The internal Id of the Store.

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/GetCompanyByOrgNoAndStoreId
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"
}