Download OpenAPI specification:Download
Retailers typically have Return To Vendor (RTV) agreements with their suppliers that cover how much unsold or returned inventory can be returned to the supplier for a set refund. The Vendor API endpoint lets clients provide Optoro with data on their Return To Vendor agreements so Optoro can ensure these high value agreements are fully utilized as fast as possible. The Vendor API allows the creation and modification of vendor data. This API is meant to update a single vendor record at a time. The updates can also control the default eligibility of the vendor.
A vendor is identified by its vendor identifier. If a vendor is found the vendor is updated with the provided data. If a vendor is not found, a new one is created.
Vendor was successfully created.
Vendor was successfully updated.
Bad Request. Check structure of JSON payload.
Missing, expired, or invalid OAuth bearer token. Request a new token from the auth service.
Validation error. Fix request payload and try again.
Internal Server Error.
Bad Gateway.
Service Unavailable.
Gateway Timeout.
{- "vendor_update": {
- "name": "Abc Vendors",
- "vendor_identifier": "abc-vendors",
- "eligibility": "forced",
- "additional_policy": "vendor_allowance",
- "notes": "Only accepts shipments on Tuesdays.",
- "manufacturer_name": "ABC Vendors Inc.",
- "billing_info": "credit",
- "vendor_contact": {
- "name": "Abc Vendors",
- "email": "abcvendors@gmail.com",
- "phone": "2234842321"
}, - "shipping_address": {
- "address_1": "444 Mayflower St",
- "address_2": "Apt 422",
- "address_3": "PO 1",
- "city": "Lake Winnipeg",
- "state": "IL",
- "country": "US",
- "postal_code": "60660",
- "name": "Abc Vendors",
- "phone": "8332212312"
}, - "payment_option": "prepaid",
- "open_ra_number": {
- "type": "static",
- "value": "134"
}, - "handling_instructions": "Handled with the utmost care.",
- "expected_credit_percent": "12",
- "requires_approval": true
}
}
{- "id": 12
}