Method: PrintfulAPI::Order#confirm_for_fulfillment

Defined in:
lib/printful_api/order.rb

#confirm_for_fulfillmentObject

Confirm draft for fulfillment Approves for fulfillment an order that was saved as a draft. Store owner’s credit card is charged when the order is submitted for fulfillment.



27
28
29
30
31
32
33
34
35
# File 'lib/printful_api/order.rb', line 27

def confirm_for_fulfillment

  result = PrintfulAPI.request( :POST, "/orders/#{self.id}/confirm", {} )

  self.load_data( result )

  return true

end