Method | Description | |
---|---|---|
CleanupXmlForDeserialization ( |
Remove tags w/ "nil=true" for "type=decimal" or "type=datetime". Do this because XMLSerializer crashes on these cases.
|
|
CleanupXmlForShopifySubmission ( |
Add " type="array" " to elements that require it. Remove xsi:nil="true" elements.
|
|
CreateCollection ( |
||
CreateMetafield ( |
||
CreateProduct ( |
||
DateTimeToShopifyString ( System.DateTime time ) : string |
encode a datetime as a string for filtering products, metafields etc. As per shopify's specification.
|
|
DeleteProduct ( |
||
GetAllMetafields ( |
|
|
GetAllProducts ( |
||
GetCollection ( |
||
GetCollectionByName ( |
||
GetListAllOrders ( |
||
GetOrder ( |
||
GetPageOfProducts ( |
||
GetProduct ( |
||
GetShopInformation ( |
||
Instance ( ) : |
||
UpdateProduct ( |
Method | Description | |
---|---|---|
HashString ( string value ) : string |
Hashes(MD5) the given value. Typically used as "HashString(shopsterSecret + storeAuthToken)"
|
|
IsValidXml ( string input ) : |
||
ShopifyCommunicator ( ) : System | ||
ShopifyDelete ( string path, string storePassword ) : |
||
ShopifyGet ( string path, string storePassword ) : |
loads and returns the XML document found at path , using the storePassword.
|
|
ShopifyPutPost ( string path, string storePassword, |
PUT/POSTs the given XMLDocument to the path w/ the storePassword.
|
public static CleanupXmlForDeserialization ( |
||
inDoc | The XmlDocument you want cleaned up for deserialization. | |
return |
public static CleanupXmlForShopifySubmission ( |
||
inDoc | XmlDocument to be cleaned before submission to Shopify. | |
return |
public CreateCollection ( |
||
storeAuth | ||
collection | ||
return | ShopifyResponse |
public CreateMetafield ( |
||
storeAuth | ||
metaField | ||
productId | int | |
return | ShopifyResponse |
public CreateProduct ( |
||
storeAuth | ||
sP | IShopifyProduct | |
return | ShopifyResponse |
public DateTimeToShopifyString ( System.DateTime time ) : string | ||
time | System.DateTime | |
return | string |
public DeleteProduct ( |
||
storeAuth | ||
productId | int | |
return | bool |
public GetAllMetafields ( |
||
storeAuth | ||
limit | int | |
createdMin | System.DateTime | |
createdMax | System.DateTime | |
updatedMin | System.DateTime | |
updatedMax | System.DateTime | |
fieldNamespace | string | |
key | string | |
valueType | string | |
productId | int | If productId is >0 get all metafields for that product, if null get metafields tagged to the shop. |
return | List |
public GetAllProducts ( |
||
storeAuth | ||
return | List |
public GetCollection ( |
||
storeAuth | ||
collectionId | int | |
return | ShopifyResponse |
public GetCollectionByName ( |
||
storeAuth | ||
name | string | |
return | ShopifyResponse |
public GetListAllOrders ( |
||
storeAuth | ||
return | List |
public GetOrder ( |
||
storeAuth | ||
orderId | int | |
return | ShopifyResponse |
public GetPageOfProducts ( |
||
storeAuth | ||
numWanted | int | |
pageNumber | int | |
return | List |
public GetProduct ( |
||
storeAuth | ||
productId | int | |
return | ShopifyResponse |
public GetShopInformation ( |
||
storeAuth | ||
return | ShopifyResponse |
public static Instance ( ) : |
||
return |
public UpdateProduct ( |
||
storeAuth | ||
shopifyProduct | ||
return | ShopifyResponse |