Request body for creating and updating a shipping carrier is the same.
For creating, send a POST request to shipping-carriers
For updating, send a PATCH request to shipping-carriers/ID
Request body parameters
Parameters that you can send in the request body in JSON format, for example:
{"email": "[email protected]","first_name": "James"}
Title | Type | Description |
---|---|---|
title | string | Title of the carrier |
url | string | Website URL of the carrier |
POST https://mystore.commercehq.com/api/v1/shipping-carriers
{
"title": "UPS",
"url": "ups.com"
}