{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/customers/:id","auth":"required","method":"get","examples":{"codes":[{"language":"curl","code":"curl https://chargerabbit.com/api/v1/customers/:customer_id/ \\\n     -H \"Content-Type: application/json\" \\\n     -u :api_token: "}]},"results":{"codes":[{"status":200,"language":"json","code":"{\n  \"id\": 12345\n  \"subscriptions\":[\n    {\n      id: 123,\n      plan_name: \"Test Subscription\",\n      amount: \"$30.00\",\n      interval: \"month\",\n      variant: {\n        id: 6789\n      }\n    }\n  ]\n}","name":""}]},"settings":"","params":[{"name":"ID","type":"string","default":"","desc":"The customer's ID from Shopify","required":true,"in":"path","ref":"","_id":"5a16f7337a9fe9001eb9087d"}]},"next":{"description":"","pages":[]},"title":"Get Customer Subscriptions","type":"endpoint","slug":"get-subscriptions","excerpt":"","body":"","updates":[],"order":999,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a16f7337a9fe9001eb9087c","project":"56a268d395203a17001d67d4","version":{"version":"1","version_clean":"1.0.0","codename":"v1","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["56a268d495203a17001d67d8","56a2696e2029df19002b58d4","56a7a7b03143f31700cb03c7","56a7c5c63e2f4d0d005d1279","56a7c642cf6d771700baef19","56a7c8fd97e8b00d0096d231","56a7caf6b5d0920d0051cdb6","5a145498a33f650012aac4d4","5a1454a2f88bd400345b56d0"],"_id":"56a268d495203a17001d67d7","project":"56a268d395203a17001d67d4","__v":9,"createdAt":"2016-01-22T17:37:24.341Z","releaseDate":"2016-01-22T17:37:24.340Z"},"category":{"sync":{"isSync":false,"url":""},"pages":["56a7ccb6cf6d771700baef24"],"title":"API","slug":"api","order":4,"from_sync":false,"reference":false,"_id":"56a7a7b03143f31700cb03c7","__v":1,"project":"56a268d395203a17001d67d4","createdAt":"2016-01-26T17:06:56.576Z","version":"56a268d495203a17001d67d7"},"user":"56a2689e2029df19002b58d1","createdAt":"2017-11-23T16:28:35.271Z","githubsync":"","__v":6}

getGet Customer Subscriptions


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

ID:
required
string
The customer's ID from Shopify

Examples


Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}