Language

2Checkout Documentation

Ship

The SaleService class provides methods to retrieve and update sales.

Method

Ship

Use to mark a sale as shipped.

Arguments

  • TwoCheckoutConfig - Set your ApiUsername and ApiPassword.
  • SaleShipServiceOptions - Object containing mark shipped parameters.

Returns

Returns a TwoCheckoutResponse object.

Example Usage:

var ServiceObject = new SaleService();
var ArgsObject = new SaleShipServiceOptions();
ArgsObject.sale_id = sale_id;

var result = ServiceObject.Ship(ArgsObject);

Example Response:

{TwoCheckout.TwoCheckoutResponse}
  response_code: "OK"
  response_message: "Sale marked shipped."