send shipment to fulfillment update analytics with order update accounts with order subscribe customer to mailing list watch for fulfillment notifications
send shipment to fulfillment update analytics with order update accounts with order subscribe customer to mailing list watch for fulfillment notifications decrease stock levels
send shipment to fulfillment update analytics with order update accounts with order subscribe customer to mailing list watch for fulfillment notifications send shipment notification email decrease stock levels
class SimpleEndpoint < Sinatra::Base 5 helpers Sinatra::JSON 6 7 post '/' do 8 message = JSON.parse(request.body.read) 9 10 json 'message_id' => message['message_id'] 11 end 12 end <- DO INTERESTING THINGS HERE