Create a Delivery Method
POST /delivery_methods
POST
/delivery_methods
Create a new delivery method.
Request Body
Section titled “Request Body ”object
name
required
Name of the delivery method.
string
Next Day Delivery
cost
The cost to ship orders with this delivery method.
number
3
Example
{ "name": "Delivery Method #3", "cost": "3.0"}
Responses
Section titled “ Responses ”Delivery Method created.
object
id
ID of this delivery method.
number
cost
The cost to ship orders with this delivery method.
string
name
The name of the delivery method.
string
user_id
ID of the user who created the delivery method.
number
created_at
The date and time when the delivery method was created.
string
updated_at
The date and time when the delivery method was last updated.
string
Example
{ "id": 123458, "cost": "3.0", "name": "Delivery Method #3", "user_id": 23005, "created_at": "2017-08-24T12:36:33.934Z", "updated_at": "2017-08-24T12:36:33.934Z"}