@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api spec
@base https://api.ote-godaddy.com
@endpoints 5
@toc subscriptions(5)

@endpoint GET /v1/subscriptions
@required {X-App-Key: any}
@optional {X-Shopper-Id: any, X-Market-Id: any, productGroupKeys: any, includes: any, offset: any, limit: any, sort: any}
@returns(200)
@errors {400, 401, 403, 422, 429, 500}

@endpoint GET /v1/subscriptions/productGroups
@required {X-App-Key: any}
@optional {X-Shopper-Id: any}
@returns(200)
@errors {400, 401, 403, 429, 500}

@endpoint DELETE /v1/subscriptions/{subscriptionId}
@required {X-App-Key: any, subscriptionId: any}
@optional {X-Shopper-Id: any}
@returns(204)
@errors {400, 401, 403, 404, 422, 429, 500, 504}

@endpoint GET /v1/subscriptions/{subscriptionId}
@required {X-App-Key: any, subscriptionId: any}
@optional {X-Shopper-Id: any}
@returns(200)
@errors {400, 401, 403, 404, 422, 429, 500, 504}

@endpoint PATCH /v1/subscriptions/{subscriptionId}
@required {X-App-Key: any, subscriptionId: any, subscription: any}
@optional {X-Shopper-Id: any}
@returns(204)
@errors {400, 401, 403, 404, 500}

@end
