Insert delivery method for company

Inserts a DeliveryMethod for the specified Company.

Request
query Parameters
methodId
required
integer <int32>

The internal id of the DeliveryMethod to insert.

companyId
required
integer <int32>

The internal id of the Company for which the DeliveryMethod gets inserted.

createdBy
string

Account internal id of current user.

cultureCode
string

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

Responses
200

Success

400

Bad Request

Key: CompanyMissing. Gets raised if the company does not exist.

500

Internal Server Error

post/CustomerService.svc/rest/InsertCompanyDeliveryMethod
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"
}