post http://staging-apigateway.snapdeal.com/seller-api/orders/invoice
This API updates the Invoice code of an order. Multiple updates are allowed.
Note
Orders belonging to any Fulfillment mode except SD+.
Allowed status: PFFRequest allowed values:
fulfillmentType - DROPSHIP, VENDOR_SELF, ONESHIP, OCPLUS
Request
| ParameterName | DataType | ParameterType | Requirement | Description |
|---|---|---|---|---|
| invoiceUpdates | Map<String, InvoiceCodeUpdate> | Body | Mandatory | It is a Map<String, InvoiceCodeUpdate> where packageReferenceCode is the key and InvoiceCodeUpdate is the value. |
InvoiceCodeUpdate
| FieldName | DataType | Description |
|---|---|---|
| fulfillmentType | String | Fulfillment model |
| invoiceCode | String | Invoice code |
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 |
|---|---|---|
| invoiceUpdatesResponse | Map<String, UpdateResponse> | Map of packageReferenceCode 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. |
