How APIs are shaping the future of retail