vendor_add_product
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
data | AddProductToVendorInput! | Yes |
Return Type
Mutation
mutation vendor_add_product(
$data: AddProductToVendorInput!
) {
vendor_add_product(
data: $data
) {
request_id
complexity
}
}Variables
{
"data": {
"customer_account_id": "abc123",
"vendor_id": "abc123",
"sku": "abc123",
"manufacturer_sku": "abc123",
"price": "abc123"
}
}Response
{
"data": {
"vendor_add_product": {
"request_id": "abc123",
"complexity": 987
}
}
}