본문으로 건너뛰기

1.1. ecommerce GET

브랜드 목록을 조회

GET[DOMAIN]/api/ecommerce/

  • Headers: Api-Key: {APIKEY}

반환값

필드설명
count전체 조회건수
next다음 페이지, 없을 경우 null
previous이전 페이지, 없을 경우 null
lastPage마지막 페이지 번호
current현재 조회 페이지의 조회건수
countItemsOnPage페이지 당 건수
currentPage현재 페이지 번호
results브랜드 목록 (아래 표)

results

파라미터 명데이터 타입비고
idIntegerid
ecommerceIdString브랜드 ID알파벳 3자리, 리터니즈 내 고유 식별값
nameString브랜드명
urlText브랜드 URL
isInspectionBoolean검수여부: true / false
isUsePickupServiceBoolean수거 서비스 사용 여부 (기본값 true)false인 브랜드는 주문 접수 시 픽업지 정보(pickupName/pickupAddress/pickupContact)가 필수가 아니며, 운송사 회수 자동 접수 대상에서 제외됨 (BMR-845)
returnAddressArray반품지반품지 항목 배열
owner_accountObject브랜드 소유 사업자 계정id, accountType, companyName, bizNo
createdAtDateTime브랜드 생성일시
updatedAtDateTime브랜드 수정일시
deletedAtDateTime브랜드 삭제일시

호출 예제

{
"id": 18,
"ecommerceId": "AAA",
"name": "브랜드 A",
"url": "https://brand-a.example.com",
"isInspection": false,
"isUsePickupService": true,
"returnAddress": [
{
"id": 2,
"location": "wh",
"address": "경기도 군포시 ...",
"addressDetail": "G동 2층",
"postalCode": "15878",
"createdAt": "2023-06-14T12:51:05.507181+09:00",
"updatedAt": "2023-06-14T12:51:05.507191+09:00",
"deletedAt": null
}
],
"owner_account": null,
"createdAt": "2023-06-20T14:30:52.466408+09:00",
"updatedAt": "2023-06-20T14:30:52.466418+09:00",
"deletedAt": null
}