All Verbs | /service/CreateMailchimpProduct |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
StoreId | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
Title | form | string | No | |
Handle | form | string | No | |
Url | form | string | No | |
Description | form | string | No | |
Type | form | string | No | |
Vendor | form | string | No | |
ImageUrl | form | string | No | |
Variants | form | IList<Variant> | No | |
PublishedAtForeign | form | string | No | |
Images | form | IList<Image> | No | |
Links | form | IList<Link> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
Title | form | string | No | |
Url | form | string | No | |
Sku | form | string | No | |
Price | form | double | No | |
InventoryQuantity | form | int | No | |
ImageUrl | form | string | No | |
Backorders | form | string | No | |
Visibility | form | string | No | |
CreatedAt | form | DateTime? | No | |
UpdatedAt | form | DateTime? | No | |
Links | form | IList<Link> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Href | form | string | No | |
Method | form | Method | No | |
Rel | form | string | No | |
Schema | form | string | No | |
TargetSchema | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
Url | form | string | No | |
VariantIds | form | IList<string> | No | |
Links | form | IList<Link> | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /service/CreateMailchimpProduct HTTP/1.1
Host: www.bernhardt.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
storeId: String,
id: String,
title: String,
handle: String,
url: String,
description: String,
type: String,
vendor: String,
imageUrl: String,
publishedAtForeign: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { id: String, title: String, handle: String, url: String, description: String, type: String, vendor: String, imageUrl: String, publishedAtForeign: String }