POST package/set-dont-apply-delivery-price

Request Information

URI Parameters

None.

Body Parameters

SetDontApplyDeliveryPriceRequest
NameDescriptionTypeAdditional information
PackageId

integer

None.

DontApply

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PackageId": 1,
  "DontApply": true
}

application/xml, text/xml

Sample:
<SetDontApplyDeliveryPriceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models.DTOs">
  <DontApply>true</DontApply>
  <PackageId>1</PackageId>
</SetDontApplyDeliveryPriceRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GeneralResponse
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models.DTOs">
  <message>sample string 2</message>
  <success>true</success>
</GeneralResponse>