Skip to Content
Sayren 유저가이드
비회원 주문

비회원 주문 조회

주문번호와 주문할 때 적은 연락처·주문 조회 비밀번호로 비회원 주문을 조회한다. 경로에는 주문 id(`ord_…`) 또는 숫자 주문번호(`orderNo`, 하이픈 허용)를 넣는다. 주문이 없거나 연락처·비밀번호가 맞지 않으면 구분 없이 404 `ORDER_NOT_FOUND`다. 주문번호마다 10분에 5번까지 확인하고, 5번째가 틀리면 30분 동안 429 `TOO_MANY_REQUESTS`(`error.details.retryAfterSeconds`)다. 주문번호마다 하루 15번이 상한이고, 상점 전체의 조회도 분당 한도가 있다. 맞게 조회하면 주문번호의 횟수가 초기화된다.

POST
/storefront/v1/guest/orders/{orderId}

주문번호와 주문할 때 적은 연락처·주문 조회 비밀번호로 비회원 주문을 조회한다. 경로에는 주문 id(ord_…) 또는 숫자 주문번호(orderNo, 하이픈 허용)를 넣는다. 주문이 없거나 연락처·비밀번호가 맞지 않으면 구분 없이 404 ORDER_NOT_FOUND다. 주문번호마다 10분에 5번까지 확인하고, 5번째가 틀리면 30분 동안 429 TOO_MANY_REQUESTS(error.details.retryAfterSeconds)다. 주문번호마다 하루 15번이 상한이고, 상점 전체의 조회도 분당 한도가 있다. 맞게 조회하면 주문번호의 횟수가 초기화된다.

Authorization

headerAuthorizationBearer <JWT>

회원 accessToken

Path Parameters

orderId*string

Request Body

application/json
  1. body
phone*string

주문자 연락처. 국내 연락처(숫자만) 또는 국가 번호를 포함한 E.164(예: +14155550123)

Match^(?:01[0-9]{8,9}|050[0-9]{8,9}|070[0-9]{8}|02[0-9]{7,8}|0[3-6][1-5][0-9]{7,8})$|^\+[1-9][0-9]{6,14}$
orderPassword*string
Length6 <= length <= 128

Response Body

성공

application/json
  1. response
meta*
data*
error*|null
Example Request
curl -X POST 'https://api.sayren.io/storefront/v1/guest/orders/string' \
  -H 'Content-Type: application/json' \
  -d '{
  "phone": "string",
  "orderPassword": "string"
}'
Example Response200
{
  "meta": {
    "status": 200,
    "code": "OK",
    "message": "OK",
    "isSuccess": true
  },
  "data": {
    "orderId": "string",
    "progressStatus": "PAYMENT_WAITING",
    "orderNo": null,
    "orderedAt": "string",
    "items": [
      {
        "orderItemId": "string",
        "orderItemNo": null,
        "productId": "string",
        "productName": "string",
        "thumbnailUrl": "http://example.com",
        "optionName": "string",
        "optionSelections": [],
        "customInputs": [],
        "stay": {
          "checkIn": "string",
          "checkOut": "string",
          "nights": [
            {
              "date": "string",
              "price": 0
            }
          ]
        },
        "quantity": 0,
        "canceledQuantity": 0,
        "activeQuantity": 0,
        "totalPrice": 0,
        "couponDiscountAmount": 0,
        "pointAllocation": 0,
        "status": "PAYMENT_WAITING",
        "fulfillmentSnapshot": {
          "type": "SHIPPING",
          "requiresShipping": true,
          "method": "string",
          "pickupLocation": {
            "locationId": "string",
            "name": "string",
            "address": "string",
            "phone": "string",
            "hours": "string",
            "purchasable": true
          }
        },
        "fulfillment": null,
        "claimStatus": "string",
        "reviewWritten": true,
        "reviewWritable": true,
        "autoDecisionDate": "string",
        "flow": {
          "key": "string",
          "version": 0
        },
        "flowState": {
          "key": "string",
          "label": "string",
          "labelKey": "string",
          "coreStatus": "PAYMENT_WAITING",
          "message": "string",
          "messageKey": "string",
          "enteredAt": "string",
          "deadlineAt": "string",
          "attachments": [
            "string"
          ],
          "earlierAttachments": [
            "string"
          ],
          "inputs": {
            "by": "string",
            "values": [
              {
                "key": "string",
                "label": "string",
                "type": "string",
                "value": "string",
                "display": "string"
              }
            ]
          },
          "progress": true,
          "fields": {
            "property1": "string",
            "property2": "string"
          }
        },
        "actions": [
          {
            "key": "string",
            "label": "string",
            "labelKey": "string",
            "mode": "INSTANT",
            "enabled": true,
            "disabled": {
              "reason": "string",
              "message": "string"
            },
            "availableUntil": "string",
            "subflow": "string",
            "input": [
              {
                "key": "string",
                "type": "string",
                "required": true,
                "label": "string",
                "placeholder": "string",
                "maxLength": 0,
                "maxFiles": 0,
                "options": [
                  "string"
                ],
                "when": {
                  "key": "string",
                  "in": [
                    "string"
                  ]
                }
              }
            ],
            "partialQuantity": true
          }
        ],
        "flowBranches": [
          {
            "key": "string",
            "label": "string",
            "labelKey": "string",
            "coreStatus": "PAYMENT_WAITING",
            "message": "string",
            "messageKey": "string",
            "enteredAt": "string",
            "deadlineAt": "string",
            "attachments": [
              "string"
            ],
            "earlierAttachments": [
              "string"
            ],
            "inputs": {
              "by": "string",
              "values": [
                {
                  "key": "string",
                  "label": "string",
                  "type": "string",
                  "value": "string",
                  "display": "string"
                }
              ]
            },
            "progress": true,
            "fields": {
              "property1": "string",
              "property2": "string"
            }
          }
        ],
        "step": {
          "type": "string",
          "label": "string",
          "labelKey": "string",
          "message": "string",
          "messageKey": "string",
          "deadlineAt": "string",
          "attachments": [
            "string"
          ],
          "earlierAttachments": [
            "string"
          ],
          "inputs": {
            "by": "string",
            "values": [
              {
                "key": "string",
                "label": "string",
                "type": "string",
                "value": "string",
                "display": "string"
              }
            ]
          },
          "actions": [
            {
              "key": "string",
              "label": "string",
              "labelKey": "string",
              "mode": "INSTANT",
              "enabled": true,
              "disabled": {
                "reason": "string",
                "message": "string"
              },
              "availableUntil": "string",
              "subflow": "string",
              "input": [
                {
                  "key": "string",
                  "type": "string",
                  "required": true,
                  "label": "string",
                  "placeholder": "string",
                  "maxLength": 0,
                  "maxFiles": 0,
                  "options": [
                    "string"
                  ],
                  "when": {
                    "key": "string",
                    "in": [
                      "string"
                    ]
                  }
                }
              ],
              "partialQuantity": true
            }
          ],
          "claimable": [],
          "data": {
            "delivery": {
              "carrierName": "string",
              "trackingNumber": "string",
              "trackingUrl": "string",
              "dispatchedAt": "string"
            }
          }
        }
      }
    ],
    "requiresShipping": true,
    "shippingAddress": {
      "receiverName": "string",
      "phone": "string",
      "zipCode": "string",
      "countryCode": "string",
      "region": "string",
      "city": "string",
      "address1": "string",
      "address2": "string",
      "deliveryMemo": "string",
      "entranceCode": "string"
    },
    "payment": {
      "method": "CARD",
      "easyPayProvider": null,
      "couponDiscountAmount": 0,
      "deliveryDiscountAmount": 0,
      "pointAmount": 0,
      "discounts": [],
      "totalAmount": 0,
      "paidAt": "string",
      "receiptUrl": "http://example.com",
      "refundedAmount": 0,
      "refundPendingAmount": 0,
      "pointRefundedAmount": 0
    },
    "currency": "string",
    "testPayment": true,
    "payments": [],
    "paymentRequests": []
  },
  "error": null
}