Mutation
mutation AddItemSupplier($request: AddItemSupplierCommandRequestInput!) {
AddItemSupplier(request: $request) {
itemId
}
}Variables
{
"request": {
"itemId": "id",
"itemSupplier": {
"supplierId": "id"
}
}
}Response
{
"data": {
"AddItemSupplier": {
"itemId": "id"
}
}
}Mutations
AddItemSupplier
Adds supplier information to an existing regular item. This command allows the association of suppliers with the item, including details such as purchase prices, delivery times, and order intervals.
MUTATION
AddItemSupplier(request: AddItemSupplierCommandRequestInput!): AddItemSupplierCommandResponse!Arguments
request
required
Returns
itemId
ID!
Unique ID of the modified item.
Mutation
mutation AddItemSupplier($request: AddItemSupplierCommandRequestInput!) {
AddItemSupplier(request: $request) {
itemId
}
}Variables
{
"request": {
"itemId": "id",
"itemSupplier": {
"supplierId": "id"
}
}
}Response
{
"data": {
"AddItemSupplier": {
"itemId": "id"
}
}
}Was this page helpful?