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

# /orders/bulk/status

This API updates the status of an order. Multiple updates are allowed.

[block:callout]
{
  "type": "success",
  "title": "Note",
  "body": "Orders belonging to only Vendor Self.\nAllowed status: SHP\n\n**Request allowed values:**\nfieldValue - VENDOR_MARKED_DELIVERED"
}
[/block]

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

[block:parameters]
{
  "data": {
    "h-0": "ParameterName",
    "h-1": "DataType",
    "h-2": "ParameterType",
    "h-3": "Requirement",
    "h-4": "Description",
    "0-0": "orderStatusUpdates",
    "0-1": "Map<String, OrderStatusUpdateRequest>",
    "0-2": "Body",
    "0-3": "Mandatory",
    "0-4": "Map of package reference codes and OrderStatusUpdateRequest"
  },
  "cols": 5,
  "rows": 1
}
[/block]

OrderStatusUpdateRequest :

[block:parameters]
{
  "data": {
    "h-0": "ParameterName",
    "h-1": "DataType",
    "h-2": "Description",
    "h-3": "Requirement",
    "h-4": "Description",
    "0-0": "fieldValue",
    "0-4": "fieldValue",
    "1-4": "comment",
    "1-0": "comment",
    "0-1": "String",
    "1-1": "String",
    "0-2": "fieldValue",
    "1-2": "comment"
  },
  "cols": 3,
  "rows": 2
}
[/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": "requestedURI",
    "3-2": "Requested URI",
    "4-0": "message",
    "4-2": "Error message",
    "0-1": "String",
    "1-1": "String",
    "2-1": "Long",
    "3-1": "String",
    "4-1": "String"
  },
  "cols": 3,
  "rows": 5
}
[/block]

payload :

[block:parameters]
{
  "data": {
    "h-0": "FieldName",
    "h-1": "DataType",
    "h-2": "Description",
    "0-0": "orderStatusUpdatesResponse",
    "0-1": "Map<String, UpdateResponse>",
    "0-2": "Map of Order code and UpdateResponse"
  },
  "cols": 3,
  "rows": 1
}
[/block]

UpdateResponse

[block:parameters]
{
  "data": {
    "0-0": "operationSuccessful",
    "0-1": "boolean",
    "0-2": "Describes whether operation Successful or not",
    "h-0": "FieldName",
    "h-1": "DataType",
    "h-2": "Description",
    "1-0": "errorMessage",
    "1-1": "String",
    "1-2": "Error message will be given if operationSuccessful is false otherwise it will be null."
  },
  "cols": 3,
  "rows": 2
}
[/block]

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

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "API Settings",
    "version": "1.0"
  },
  "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": {
    "/orders/bulk/status": {
      "post": {
        "summary": "/orders/bulk/status",
        "description": "This API updates the status of an order. Multiple updates are allowed.",
        "operationId": "ordersbulkstatus-1",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"metadata\": {\n    \"requestId\": \"67b69a0c-9b7a-4371-9c5a-9d69ccb5847e\",\n    \"clientId\": \"ePaisa\",\n    \"responseTime\": 970,\n    \"requestedURI\": \"POST /orders/bulk/status\"\n  },\n  \"payload\": {\n    \"orderStatusUpdatesResponse\": {\n      \"SLP642807\": {\n        \"operationSuccessful\": true\n      },\n      \"SLP803476\": {\n        \"operationSuccessful\": false,\n        \"errorMessage\": \"Package doesn't belong to Vendor self mode\"\n      }\n    }\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "requestId": {
                          "type": "string",
                          "example": "67b69a0c-9b7a-4371-9c5a-9d69ccb5847e"
                        },
                        "clientId": {
                          "type": "string",
                          "example": "ePaisa"
                        },
                        "responseTime": {
                          "type": "integer",
                          "example": 970,
                          "default": 0
                        },
                        "requestedURI": {
                          "type": "string",
                          "example": "POST /orders/bulk/status"
                        }
                      }
                    },
                    "payload": {
                      "type": "object",
                      "properties": {
                        "orderStatusUpdatesResponse": {
                          "type": "object",
                          "properties": {
                            "SLP642807": {
                              "type": "object",
                              "properties": {
                                "operationSuccessful": {
                                  "type": "boolean",
                                  "example": true,
                                  "default": true
                                }
                              }
                            },
                            "SLP803476": {
                              "type": "object",
                              "properties": {
                                "operationSuccessful": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                },
                                "errorMessage": {
                                  "type": "string",
                                  "example": "Package doesn't belong to Vendor self mode"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"metadata\": {\n    \"requestId\": \"09e431b7-85c6-429f-8b2b-71b9a7d7915d\",\n    \"clientId\": \"ePaisa\",\n    \"message\": \"Missing/Invalid Field value\",\n    \"responseTime\": 0,\n    \"requestedURI\": \"POST /orders/bulk/status\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "requestId": {
                          "type": "string",
                          "example": "09e431b7-85c6-429f-8b2b-71b9a7d7915d"
                        },
                        "clientId": {
                          "type": "string",
                          "example": "ePaisa"
                        },
                        "message": {
                          "type": "string",
                          "example": "Missing/Invalid Field value"
                        },
                        "responseTime": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "requestedURI": {
                          "type": "string",
                          "example": "POST /orders/bulk/status"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "420": {
            "description": "420",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "630541309807941f67a93274:56e6987a0d2f0f0e009326c9"
}
```