---
agentTools:
  projectIndex: https://sellerapis.snapdeal.com/llms.txt
---

# Seller Notification Registration

With this api seller can subscribe for getting notifications

[block:html]
{
  "html": "<div></div>\n<h4>Request</h4>\n<style></style>"
}
[/block]

[block:html]
{
  "html": "<div></div>\n<h4>Response</h4>\n<style></style>"
}
[/block]

metadata :

[block:parameters]
{
  "data": {
    "h-0": "FieldName",
    "h-1": "DataType",
    "h-2": "Description",
    "0-0": "requestId",
    "0-2": "Unique ID for the request",
    "1-0": "clientId",
    "1-2": "Partner Id",
    "2-0": "responseTime",
    "2-2": "Response Time",
    "3-0": "Requested URI",
    "3-2": "Requested URI",
    "4-0": "message",
    "4-2": "Error message",
    "4-1": "String",
    "3-1": "String",
    "0-1": "String",
    "1-1": "String",
    "2-1": "Long"
  },
  "cols": 3,
  "rows": 5
}
[/block]

payload :

[block:parameters]
{
  "data": {
    "h-0": "FieldName",
    "h-1": "DataType",
    "h-2": "Description",
    "0-0": "message",
    "0-2": "message",
    "1-0": "statusCode",
    "1-2": "statusCode",
    "0-1": "String",
    "1-1": "String"
  },
  "cols": 3,
  "rows": 2
}
[/block]

[block:html]
{
  "html": "<div class=\"threes-nav\"><a href=\"http://sandbox-sellerapi.snapdeal.com/apidocs/index.html#!/Seller_Notifications/sellerNotificationRegistration\" target=\"_blank\" class=\"btn btn-default\"><div class=\"fa fa-compass fa-right\"></div>Test in the&nbsp;<strong>API Explorer</strong></a></div>"
}
[/block]

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "API Settings",
    "version": "1.1"
  },
  "servers": [
    {
      "url": "http://staging-apigateway.snapdeal.com/seller-api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "X-Auth-Token",
        "in": "header",
        "x-default": ""
      },
      "sec1": {
        "type": "apiKey",
        "name": "clientId",
        "in": "header",
        "x-default": "SellerAPITesting"
      },
      "sec2": {
        "type": "apiKey",
        "name": "x-seller-authz-token",
        "in": "header",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": [],
      "sec1": [],
      "sec2": []
    }
  ],
  "paths": {
    "/notification/subscribe/seller": {
      "post": {
        "summary": "Seller Notification Registration",
        "description": "With this api seller can subscribe for getting notifications",
        "operationId": "seller-notification-registration",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"metadata\": {\n    \"requestId\": \"3aacaed5-2ad8-43e4-816b-b80405f5be30\",\n    \"clientId\": \"partnerName\",\n    \"responseTime\": 1023,\n    \"requestedURI\": \"POST /notification/subscribe/seller\"\n  },\n  \"payload\": {\n    \"message\": \"The seller abcd is successfully registered with partner partnerName\",\n    \"statusCode\": \"OK\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "requestId": {
                          "type": "string",
                          "example": "3aacaed5-2ad8-43e4-816b-b80405f5be30"
                        },
                        "clientId": {
                          "type": "string",
                          "example": "partnerName"
                        },
                        "responseTime": {
                          "type": "integer",
                          "example": 1023,
                          "default": 0
                        },
                        "requestedURI": {
                          "type": "string",
                          "example": "POST /notification/subscribe/seller"
                        }
                      }
                    },
                    "payload": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string",
                          "example": "The seller abcd is successfully registered with partner partnerName"
                        },
                        "statusCode": {
                          "type": "string",
                          "example": "OK"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"metadata\": {\n    \"requestId\": \"4721a267-db52-401c-8b39-00e169ea7933\",\n    \"message\": \"Missing client identifier in headers\",\n    \"responseTime\": 0,\n    \"requestedURI\": \"POST /notification/subscribe/seller\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "requestId": {
                          "type": "string",
                          "example": "4721a267-db52-401c-8b39-00e169ea7933"
                        },
                        "message": {
                          "type": "string",
                          "example": "Missing client identifier in headers"
                        },
                        "responseTime": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "requestedURI": {
                          "type": "string",
                          "example": "POST /notification/subscribe/seller"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "409",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"metadata\": {\n    \"requestId\": \"6116470a-d47a-4334-8483-26c1815f301f\",\n    \"clientId\": \"partnerName\",\n    \"message\": \"The seller abc is already registered with partner  prtnerName\",\n    \"responseTime\": 19,\n    \"requestedURI\": \"POST /notification/subscribe/seller\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "requestId": {
                          "type": "string",
                          "example": "6116470a-d47a-4334-8483-26c1815f301f"
                        },
                        "clientId": {
                          "type": "string",
                          "example": "partnerName"
                        },
                        "message": {
                          "type": "string",
                          "example": "The seller abc is already registered with partner  prtnerName"
                        },
                        "responseTime": {
                          "type": "integer",
                          "example": 19,
                          "default": 0
                        },
                        "requestedURI": {
                          "type": "string",
                          "example": "POST /notification/subscribe/seller"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "420": {
            "description": "420",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"metadata\": {\n    \"requestId\": \"36aa3378-ca07-4302-b4ae-70eacc2c696a\",\n    \"clientId\": \"partnerName\",\n    \"message\": \"Unable to identify the seller\",\n    \"responseTime\": 0,\n    \"requestedURI\": \"POST /notification/subscribe/seller\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "requestId": {
                          "type": "string",
                          "example": "36aa3378-ca07-4302-b4ae-70eacc2c696a"
                        },
                        "clientId": {
                          "type": "string",
                          "example": "partnerName"
                        },
                        "message": {
                          "type": "string",
                          "example": "Unable to identify the seller"
                        },
                        "responseTime": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "requestedURI": {
                          "type": "string",
                          "example": "POST /notification/subscribe/seller"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "630541309807941f67a93276:5b576c4ac6af890003de64d0"
}
```