Mutations
createSupplierPart
MUTATION
createSupplierPart(input: CreateSupplierPartInput!): CreateSupplierPartArguments
input
required
Returns
supplierPart
Mutation
mutation CreateSupplierPart($input: CreateSupplierPartInput!) {
createSupplierPart(input: $input) {
supplierPart {
LastSessionId
_PurchaseOrderLinesCount
_created
_etag
_updated
conversionFactor
}
}
}Variables
{
"input": {
"partId": "id",
"supplierId": "id",
"supplierPartNumber": "string"
}
}Response
{
"data": {
"createSupplierPart": {
"supplierPart": {
"LastSessionId": "string",
"_PurchaseOrderLinesCount": 1,
"_created": "value",
"_etag": "string",
"_updated": "value",
"conversionFactor": 1.5
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation CreateSupplierPart($input: CreateSupplierPartInput!) {
createSupplierPart(input: $input) {
supplierPart {
LastSessionId
_PurchaseOrderLinesCount
_created
_etag
_updated
conversionFactor
}
}
}Variables
{
"input": {
"partId": "id",
"supplierId": "id",
"supplierPartNumber": "string"
}
}Response
{
"data": {
"createSupplierPart": {
"supplierPart": {
"LastSessionId": "string",
"_PurchaseOrderLinesCount": 1,
"_created": "value",
"_etag": "string",
"_updated": "value",
"conversionFactor": 1.5
}
}
}
}