Edit in GitHubLog an issue
B2B feature. Learn more

addPurchaseOrderComment mutation

The addPurchaseOrderComment mutation adds a comment to the specified purchase order. The response contains details about the comment.

Syntax

Copied to your clipboard
mutation {
addPurchaseOrderComment(
input: AddPurchaseOrderCommentInput!
) {
AddPurchaseOrderCommentOutput
}
}

Reference

The addPurchaseOrderComment reference provides detailed information about the types and fields defined in this mutation.

Example usage

The following example adds a comment to the purchase order.

Request:

Copied to your clipboard
mutation {
addPurchaseOrderComment(
input: {
purchase_order_uid: "MQ==",
comment: "Looks good to me"
},
) {
comment {
uid
author {
firstname
lastname
email
}
text
}
}
}

Response:

Copied to your clipboard
{
"data": {
"addPurchaseOrderComment": {
"comment": {
"uid": "Mw==",
"author": {
"firstname": "John",
"lastname": "Doe",
"email": "john.doe@example.com"
},
"text": "Looks good to me."
}
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.