sayren Docs
상품

상품 할인 조회

GET
/v1/products/{productId}/discount
AuthorizationBearer <token>

userToken(계정 스코프) 또는 storeToken(스토어 스코프)

In: header

Path Parameters

productId*string

Response Body

application/json

curl -X GET "https://example.com/v1/products/string/discount"
{  "meta": {    "status": 200,    "code": "OK",    "message": "OK",    "isSuccess": true  },  "data": {    "productId": "string",    "discountType": "RATE",    "discountValue": 0,    "discountedPrice": 0,    "startAt": "string",    "endAt": "string"  },  "error": null}