POST v1/Products/{id}/Suppliers

Adds or updates ProductSupplier

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the Product

integer

Required.

Body Parameters

The ProductSupplier

ProductSupplier
NameDescriptionTypeAdditional information
PurchaseProduct

PurchaseProduct

None.

Id

integer

Must be 0

ProductId

integer

Required

ProductCode

string

None.

SupplierId

integer

Required

SupplierCompanyName

string

None.

PurchaseProduct

PurchaseProductBase

None.

Priority

integer

Required

Request Formats

application/json, text/json

Sample:

Sample not available.

Response Information

Resource Description


ProductSupplier
NameDescriptionTypeAdditional information
PurchaseProduct

PurchaseProduct

None.

Id

integer

Must be 0

ProductId

integer

Required

ProductCode

string

None.

SupplierId

integer

Required

SupplierCompanyName

string

None.

PurchaseProduct

PurchaseProductBase

None.

Priority

integer

Required

Response Formats

application/json, text/json

Sample:

Sample not available.