get http://staging-apigateway.snapdeal.com/seller-api/seller/getSellerInfo
Gets seller details for the email id and seller code passed in the header.
Response
Field Name | Data Type | Description |
---|---|---|
code | Integer | Response code. Contains an error code in case of any error. |
data | Object | Object containing the seller information. |
data.userId | Integer | User ID of the seller in the ads system. |
data.email | String | Email ID of the seller |
data.name | String | Name of the seller. |
data.type | String | Type of the user in ads systems. 'Seller' for sellers. |
data.status | String | Status of seller in ads system. 'Active' for those who have already logged in once. 'Inactive' for those who were pre-signed up by ops. |
data.accountId | Integer | AccountID of the seller in ads systems |
data.sellerCode | String | sellerCode of the seller. |
data.agencyId | Integer | -1 for sellers. Valid for ad agencies. |
data.brandId | Integer | Brand ID in case user type is brand. NA for sellers. |
data.eligible | Boolean | Eligibility of seller for ads. Rating must be higher than the set threshold if not overridden by the OPS. |
status | String | Status message, error message in case of errors. OK in case of success. |