POST api/putProductService

Put Product Service(s)

Request Information

Allows multi-location processing, in case of using parent location token restrictByLocations parameter is strongly recommended with comma separated list of locations to select from or update in

URI Parameters

None.

Body Parameters

List of Product Service Info. Required fields: categoryId, name, sku, price, stock. Important optional: manufacturerId - vender, taxable - taxable or not, service - service or not, postOnFacebook, postOnCampusVip - if need to post info to appropriate service, creator is who create this product By Default: taxableByAdditionalTaxes is true, isKit, rmptAllowBalanceAccumulation, rmptAutoRenew, rmptChargeInFull, isGiftCard are false

Collection of ProductServiceImportInfo
NameDescriptionTypeAdditional information
LocationId

integer

None.

CategoryCode

string

None.

ManufacturerName

string

None.

ManufacturerCode

string

None.

TaxCategory

string

None.

Name

string

None.

Sku

string

None.

Price

decimal number

None.

MarkupPercentage

decimal number

None.

Cost

decimal number

None.

ServiceTime

integer

None.

Stock

integer

None.

ReturnedStock

integer

None.

Taxable

boolean

None.

QuickCheckout

boolean

None.

Service

boolean

None.

PostOnFacebook

boolean

None.

PostOnCampusVip

boolean

None.

Creator

string

None.

ProductCode

string

None.

IsGiftCard

boolean

None.

IsMatrix

boolean

None.

ReorderPoint

integer

None.

MaxReorderPoint

integer

None.

ResourceId

integer

None.

RmptType

integer

None.

RmptFrequencyType

integer

None.

RmptChargeInFull

boolean

None.

RmptAutoRenew

boolean

None.

RmptAllowBalanceAccumulation

boolean

None.

RmptLateFee

decimal number

None.

RmptLateFeeWindow

integer

None.

RmptDefaultTerm

integer

None.

MemberPrice

decimal number

None.

EnablePayingByMembership

boolean

None.

IsKit

boolean

None.

TaxableByAdditionalTaxes

boolean

None.

TrackInventory

boolean

None.

AllowPriceOverride

boolean

None.

IsSellOnline

boolean

None.

PictureUrl

string

None.

LongDescription

string

None.

ShortDescription

string

None.

CategoryId

integer

None.

ManufacturerId

integer

None.

TaxCategoryId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "LocationId": 1,
    "CategoryCode": "sample string 2",
    "ManufacturerName": "sample string 3",
    "ManufacturerCode": "sample string 4",
    "TaxCategory": "sample string 5",
    "Name": "sample string 6",
    "Sku": "sample string 7",
    "Price": 8.0,
    "MarkupPercentage": 1.0,
    "Cost": 1.0,
    "ServiceTime": 1,
    "Stock": 9,
    "ReturnedStock": 1,
    "Taxable": true,
    "QuickCheckout": true,
    "Service": true,
    "PostOnFacebook": true,
    "PostOnCampusVip": true,
    "Creator": "sample string 15",
    "ProductCode": "sample string 16",
    "IsGiftCard": true,
    "IsMatrix": true,
    "ReorderPoint": 1,
    "MaxReorderPoint": 1,
    "ResourceId": 1,
    "RmptType": 1,
    "RmptFrequencyType": 1,
    "RmptChargeInFull": true,
    "RmptAutoRenew": true,
    "RmptAllowBalanceAccumulation": true,
    "RmptLateFee": 1.0,
    "RmptLateFeeWindow": 1,
    "RmptDefaultTerm": 1,
    "MemberPrice": 1.0,
    "EnablePayingByMembership": true,
    "IsKit": true,
    "TaxableByAdditionalTaxes": true,
    "TrackInventory": true,
    "AllowPriceOverride": true,
    "IsSellOnline": true,
    "PictureUrl": "sample string 25",
    "LongDescription": "sample string 26",
    "ShortDescription": "sample string 27",
    "CategoryId": 28,
    "ManufacturerId": 1,
    "TaxCategoryId": 1
  },
  {
    "LocationId": 1,
    "CategoryCode": "sample string 2",
    "ManufacturerName": "sample string 3",
    "ManufacturerCode": "sample string 4",
    "TaxCategory": "sample string 5",
    "Name": "sample string 6",
    "Sku": "sample string 7",
    "Price": 8.0,
    "MarkupPercentage": 1.0,
    "Cost": 1.0,
    "ServiceTime": 1,
    "Stock": 9,
    "ReturnedStock": 1,
    "Taxable": true,
    "QuickCheckout": true,
    "Service": true,
    "PostOnFacebook": true,
    "PostOnCampusVip": true,
    "Creator": "sample string 15",
    "ProductCode": "sample string 16",
    "IsGiftCard": true,
    "IsMatrix": true,
    "ReorderPoint": 1,
    "MaxReorderPoint": 1,
    "ResourceId": 1,
    "RmptType": 1,
    "RmptFrequencyType": 1,
    "RmptChargeInFull": true,
    "RmptAutoRenew": true,
    "RmptAllowBalanceAccumulation": true,
    "RmptLateFee": 1.0,
    "RmptLateFeeWindow": 1,
    "RmptDefaultTerm": 1,
    "MemberPrice": 1.0,
    "EnablePayingByMembership": true,
    "IsKit": true,
    "TaxableByAdditionalTaxes": true,
    "TrackInventory": true,
    "AllowPriceOverride": true,
    "IsSellOnline": true,
    "PictureUrl": "sample string 25",
    "LongDescription": "sample string 26",
    "ShortDescription": "sample string 27",
    "CategoryId": 28,
    "ManufacturerId": 1,
    "TaxCategoryId": 1
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

list of results in format: [companyId], [name], [sku], [isSuccess]. IsSuccess false if there was inner error, it will be put into ErrorMessage field

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.