Skip to Content
Sayren 유저가이드
내 정보

내 쿠폰 목록

셀러가 지급했거나 직접 받은(다운로드·회원가입) 내 쿠폰이다. 최근 받은 순, 최대 500장. `status`로 사용 가능(결제 중 포함)·사용함·기간 지남을 거른다. 주문서에 적용할 때는 `issueId`를 결제 시작·금액 미리보기의 `coupons`에 넣는다.

GET
/storefront/v1/me/coupons

셀러가 지급했거나 직접 받은(다운로드·회원가입) 내 쿠폰이다. 최근 받은 순, 최대 500장. status로 사용 가능(결제 중 포함)·사용함·기간 지남을 거른다. 주문서에 적용할 때는 issueId를 결제 시작·금액 미리보기의 coupons에 넣는다.

Authorization

headerAuthorizationBearer <JWT>

회원 accessToken

Query Parameters

status?string

available=사용 가능(결제 중 포함), used=사용함, expired=기간 지남. 생략하면 전부

Value in"available""used""expired"

Response Body

성공

application/json
  1. response
meta*
data*array<>
error*|null
Example Request
curl -X GET 'https://api.sayren.io/storefront/v1/me/coupons'
Example Response
{
  "meta": {
    "status": 200,
    "code": "OK",
    "message": "OK",
    "isSuccess": true
  },
  "data": [
    {
      "issueId": "string",
      "couponId": "string",
      "name": "string",
      "description": "string",
      "kind": "string",
      "benefit": {
        "type": "string",
        "value": 0,
        "maxDiscountAmount": 0
      },
      "reward": null,
      "minOrderAmount": 0,
      "requirements": [],
      "status": "string",
      "validFrom": "string",
      "validUntil": "string",
      "usedOrderId": "string",
      "issuedAt": "string",
      "source": "string"
    }
  ],
  "error": null
}