Add new shipping methods
Add new shipping methods
Authorizations:Token
Request Body Schema:
Method object that needs to be added free | booleanWhether the method is free or not | ||||||||
method_id | integerA unique ID of the method | ||||||||
processor | stringProcessor class name | ||||||||
carrier | stringCarrier of the method (for instance, "UPS" or "USPS") | ||||||||
code | stringUnique code of shipping method (within processor space) | ||||||||
enabled | booleanWhether the method is enabled or disabled | ||||||||
position | integerA position of the method among other registered methods | ||||||||
shipping_markups | ArrayShipping rates (relation) | ||||||||
taxClass | object | ||||||||
| |||||||||
added | booleanAdded status | ||||||||
moduleName | stringSpecific module family name | ||||||||
fromMarketplace | booleanFlag: 1 - method has been got from marketplace, 0 - method has been added after distr or module installation | ||||||||
iconURL | stringIcon URL (used for methods from marketplace) | ||||||||
tableType | stringTable type | ||||||||
handlingFee | stringHandling fee (surcharge) for online methods | ||||||||
handlingFeeType | stringHandling fee type(absolute or percent) |
Responses
200Success
Response schema:
Success free | booleanWhether the method is free or not | ||||||||
method_id | integerA unique ID of the method | ||||||||
processor | stringProcessor class name | ||||||||
carrier | stringCarrier of the method (for instance, "UPS" or "USPS") | ||||||||
code | stringUnique code of shipping method (within processor space) | ||||||||
enabled | booleanWhether the method is enabled or disabled | ||||||||
position | integerA position of the method among other registered methods | ||||||||
shipping_markups | ArrayShipping rates (relation) | ||||||||
taxClass | object | ||||||||
| |||||||||
added | booleanAdded status | ||||||||
moduleName | stringSpecific module family name | ||||||||
fromMarketplace | booleanFlag: 1 - method has been got from marketplace, 0 - method has been added after distr or module installation | ||||||||
iconURL | stringIcon URL (used for methods from marketplace) | ||||||||
tableType | stringTable type | ||||||||
handlingFee | stringHandling fee (surcharge) for online methods | ||||||||
handlingFeeType | stringHandling fee type(absolute or percent) |