aboutsummaryrefslogtreecommitdiffstats
path: root/public/admin/controller/extension/openbay/etsy_shipping.php
blob: ecf0fe9b3e05f6b1419bd706eac842a7eb7a7aa4 (plain)
1
2
3
4
5
6
7
8
9
<?php
class ControllerExtensionOpenbayEtsyShipping extends Controller {
	public function getAll() {
		$response = $this->openbay->etsy->call('v1/etsy/product/shipping/getAllTemplates/', 'GET');

		$this->response->addHeader('Content-Type: application/json');
		return $this->response->setOutput(json_encode($response));
	}
}