@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Aftermarket API
@version 1.0.0
@endpoints 3
@toc customers(1), aftermarket(2)

@group customers
@endpoint GET /v1/customers/{customerId}/auctions/listings
@required {customerId: any}
@optional {domains: any, listingStatus: any, transferBefore: any, transferAfter: any, limit: any, offset: any}
@returns(200)
@errors {400, 401, 403, 422, 429, 500}

@endgroup

@group aftermarket
@endpoint DELETE /v1/aftermarket/listings
@required {domains: any}
@returns(200)
@errors {400, 401, 403, 422, 429, 500}

@endpoint POST /v1/aftermarket/listings/expiry
@required {expiryListings: [any]}
@returns(200)
@errors {400, 401, 403, 422, 429, 500}

@endgroup

@end
