Create your Batch

PUT Batch resource allows a Partner to submit a batch to WUBS.

Table - Create / Update batch

Resource Template
/customers/{id}/batches/{id}
Http Method PUT
Description

Used to submit a batch to WUBS. If the batch does not already exist, it will be created.

If it does exist, reference value will be updated, if submitted.

Calls can be made repeatedly at the same URI without any side effects.

Input
{
"reference":
"<partner generated reference for a batch,
optional>"
}
Output
404 Not Found -if customer does not exist
200 OK - if the batch id already exists 
{
}                       
201 Created  - if the batch id did not exist already
{
}