Autoship
create.json
method: POST
secured: true
url: /v1/autoship/create.json
Creates an autoship and optionally prepopulates it with the items and settings of an active autoship.
To creat a new autoship cart call without the "copyOf" field.
To get edit a cart 1st "create" a copy the target cart with cart id as the "copyOf" field. Than proceed to the "edit" message.
| Field | Notes |
|---|---|
copyOf |
id of an active Autoship that is owned by the authenticated user.
Type: Int (Optional) |
If sucessfull you will see a response like this:
{
Id: 77,
Url: '/autoship/edit/77.json',
success: true,
error: null
}