-
Notifications
You must be signed in to change notification settings - Fork 12
Sale_Comment
Jacob McConnell edited this page Jun 6, 2014
·
2 revisions
The SaleService class provides methods to retrieve and update sales.
##Method
###comment
Use to add a comment to a sale.
####Arguments
- TwoCheckoutConfig - Set your ApiUsername and ApiPassword.
- SaleCommentServiceOptions Object containing create comment parameters
####Returns
Returns a TwocheckoutResponse object.
####Example Usage:
var ServiceObject = new SaleService();
var ArgsObject = new SaleCommentServiceOptions();
ArgsObject.sale_id = sale_id;
ArgsObject.sale_comment = "Test";
var result = ServiceObject.Comment(ArgsObject);
####Example Response:
{TwoCheckout.TwoCheckoutResponse}
response_code: "OK"
response_message: "Created comment successfully."
Please feel free to contact 2Checkout directly for assistance with your integration.