post http://staging-apigateway.snapdeal.com/seller-api/seller/invoices
This API adds a set of invoice numbers for a seller. Can update series for a single seller at a time.
Note
Invoice code which has already been added to the seller should not be used.
Request
| ParameterName | DataType | ParameterType | Requirement | Description |
|---|---|---|---|---|
| invoiceCodes | Set | Body | Mandatory | Set of Invoice codes |
Response
metadata :
| FieldName | DataType | Description |
|---|---|---|
| requestId | String | Unique ID for the request |
| clientId | String | Partner Id |
| responseTime | Long | Response Time |
| requestedURI | String | Requested URI |
| message | String | Error message |
payload :
| FieldName | DataType | Description |
|---|---|---|
| invoiceSeriesUploadResponse | Map<String, UpdateResponse> | Map of Order code and UpdateResponse |
UpdateResponse
| FieldName | DataType | Description |
|---|---|---|
| operationSuccessful | boolean | Describes whether operation Successful or not |
| errorMessage | String | Error message will be given if operationSuccessful is false otherwise it will be null. |
