Delete delivery method for company

Deletes a DeliveryMethod for the specified Company.

Request
query Parameters
methodId
required
integer <int32>

The internal id of the DeliveryMethod to delete.

companyId
required
integer <int32>

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

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