POST Api/Input/InputProduct

Request Information

URI Parameters

None.

Body Parameters

ProductInputModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

MerchantId

globally unique identifier

None.

ProductCode

string

None.

ProductNames

Collection of KeyValue

None.

PageTitles

Collection of KeyValue

None.

SeoKeywords

Collection of KeyValue

None.

SeoDescs

Collection of KeyValue

None.

ProductBriefs

Collection of KeyValue

None.

ProductDetail

Collection of KeyValue

None.

CurrencyCode

string

None.

SalePrice

decimal number

None.

OriginalPrice

decimal number

None.

MarkupPrice

decimal number

None.

Category

globally unique identifier

None.

GrossWeight

decimal number

None.

NetWeight

decimal number

None.

Status

integer

None.

SafetyStock

integer

None.

InventoryQty

integer

None.

CreateDate

date

None.

UpdateDate

date

None.

ActiveTimeFrom

date

None.

ActiveTimeTo

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "61cec262-bac5-413d-8d6a-2d85bdeed498",
  "MerchantId": "2bcf1419-c074-4919-b12d-456d8b07d8a8",
  "ProductCode": "sample string 3",
  "ProductNames": [
    {
      "Id": "sample string 1",
      "Text": "sample string 2"
    },
    {
      "Id": "sample string 1",
      "Text": "sample string 2"
    }
  ],
  "PageTitles": [
    {
      "Id": "sample string 1",
      "Text": "sample string 2"
    },
    {
      "Id": "sample string 1",
      "Text": "sample string 2"
    }
  ],
  "SeoKeywords": [
    {
      "Id": "sample string 1",
      "Text": "sample string 2"
    },
    {
      "Id": "sample string 1",
      "Text": "sample string 2"
    }
  ],
  "SeoDescs": [
    {
      "Id": "sample string 1",
      "Text": "sample string 2"
    },
    {
      "Id": "sample string 1",
      "Text": "sample string 2"
    }
  ],
  "ProductBriefs": [
    {
      "Id": "sample string 1",
      "Text": "sample string 2"
    },
    {
      "Id": "sample string 1",
      "Text": "sample string 2"
    }
  ],
  "ProductDetail": [
    {
      "Id": "sample string 1",
      "Text": "sample string 2"
    },
    {
      "Id": "sample string 1",
      "Text": "sample string 2"
    }
  ],
  "CurrencyCode": "sample string 4",
  "SalePrice": 5.0,
  "OriginalPrice": 6.0,
  "MarkupPrice": 7.0,
  "Category": "3a106d9f-4c44-4b37-9994-847584964071",
  "GrossWeight": 9.0,
  "NetWeight": 10.0,
  "Status": 11,
  "SafetyStock": 12,
  "InventoryQty": 13,
  "CreateDate": "2021-05-14 19:17:57",
  "UpdateDate": "2021-05-14 19:17:57",
  "ActiveTimeFrom": "2021-05-14 19:17:57",
  "ActiveTimeTo": "2021-05-14 19:17:57"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {}
}