UpdateSupplierPartLink
Command, Introduced in version 2.18
POST https://localhost:8001/sv/001.1/api/v1/Inventory/Parts/UpdateSupplierPartLink
Updates a supplier part link.
Returns EntityCommandResponse
The root entity id of the response is the business key identifier of the part that the updated supplier part link belongs to. References Parts
The entity id of the response is the business key identifier of the supplier part link that was updated. SupplierPartLinks
Required permission
Modify part
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
SupplierPartLinkId | Int64? | The business key identifier of the supplier part link to update.
|
Introduced in version 2.47 |
PartId | Int64? | The business key identifier of the part to update the supplier part link for. References Parts
|
|
SupplierId | Int64? | The business key identifier of the supplier to update the supplier part link for. References Suppliers
|
|
Price | DecimalInput | The price to set for the supplier part link. |
|
UnitId | NotNullLongInput | The unit to set for the supplier part link. Setting this will result in a recalculation of all prices for the supplier part link. References Units |
|
SetupPrice | DecimalInput | The setup price to set for the supplier part link. |
|
PriceCurrencyId | NotNullLongInput | The business key identifier of the price currency to set for the supplier part link. Setting this will result in a conversion of all prices for the supplier part link. References Currencies |
|
Discount | DecimalInput | The discount to set for the supplier part link. |
|
SupplierPartNumber | StringInput | The supplier part number to set for the supplier part link.
|
|
PurchaseCommentShowInForms | NotNullIntegerInput | The purchase comment visibility flags to set for the supplier part link.
|
|
LeadTime | LongInput | The lead time in work days to set for the supplier part link. |
|
PriceValidThrough | DateTimeInput | The price valid through date to set for the supplier part link. |
|
FuturePrice | DecimalInput | The future price to set for the supplier part link. |
|
FuturePriceValidThrough | DateTimeInput | The future price valid through date to set for the supplier part link. |
|
FutureSetupPrice | DecimalInput | The future setup price to set for the supplier part link. |
|
IncludeAlloyCostOnPurchaseOrder | NotNullBooleanInput | Sets whether or not alloy costs should be included on purchase orders for the supplier part link. |
|
QuantityPerPackage | DecimalInput | The quantity per package to set for the supplier part link. |
|
Brand | StringInput | The brand to set for the supplier part link.
|
Introduced in version 2.47 |
Storage | StringInput | The storage to set for the supplier part link.
|
Introduced in version 2.47 |
Dock | StringInput | The dock to set for the supplier part link.
|
Introduced in version 2.47 |
PriceComment | SetComment | The price comment to set for the supplier part link. |
Introduced in version 24.6 |
Example
{
"SupplierPartLinkId": null,
"PartId": null,
"SupplierId": null,
"Price": null,
"UnitId": null,
"SetupPrice": null,
"PriceCurrencyId": null,
"Discount": null,
"SupplierPartNumber": null,
"PurchaseCommentShowInForms": null,
"LeadTime": null,
"PriceValidThrough": null,
"FuturePrice": null,
"FuturePriceValidThrough": null,
"FutureSetupPrice": null,
"IncludeAlloyCostOnPurchaseOrder": null,
"QuantityPerPackage": null,
"Brand": null,
"Storage": null,
"Dock": null,
"PriceComment": null
}