CheckOrderFulfillability method

The client requests to check if an order can be fulfilled.



Return value


// Request to check the fulfillability of an order.
message CheckOrderFulfillabilityRequest {
  // The merchant that this order is intended for. (required)
  string merchant_id = 1;

  // The line items in this order. All services requested must belong to the
  // specified merchant. (required)
  repeated LineItem item = 2;

  // An identifier for the contents of this cart (optional).
  // This will be the same as the idempotency token in CreateorderRequest.
  // This field can be ignored if you aren't setting an expiration time for
  // the contents of the cart.
  string cart_id = 3;

// Response for the CheckOrderfulfillabilityRequest.
message CheckOrderFulfillabilityResponse {
  // Fulfillability status of the order, potentially contains updated
  // availabilities and prices of the requested line item.
  OrderFulfillability fulfillability = 1;

  // Total processing fees & taxes that need to be paid for this order
  // (required if fees and taxes will be charged on this order). This field
  // will be deprecated; new users should populate fees instead.
  Price fees_and_taxes = 2;

  // Breakdown of the specific per-ticket and per-order fees and taxes.
  Fees fees = 3;

  // Time at which the cart will expire and its contents will no longer be
  // available, in unix epoch time (optional).
  // If not set, a default value will be used and the cart will not expire.
  int64 cart_expiration_sec = 4;

OrderFulfillability Specification can be found here