RTV Vendor API (2.0.0)

Download OpenAPI specification:Download

Returns Management - Storage: returns-management@optoro.com

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.

Create or update a 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.

SecurityoAuth2
Request
Request Body schema: application/json
object
name
required
string non-empty
vendor_identifier
required
string non-empty
eligibility
string
Enum: "forced" "eligible" "prohibited"
additional_policy
string
Enum: "null" "vendor_allowance" "debit_and_destroy"
notes
string
manufacturer_name
string
billing_info
string
object
name
string
email
string
phone
string
object
address_1
string
address_2
string
address_3
string
city
string
state
string
country
string
postal_code
string
name
string
phone
string
web_portal_url
string <= 255 characters
payment_option
string
Enum: "prepaid" "collect" "third-party-billing"
object
type
string
Enum: "static" "generated"
value
string
handling_instructions
string <= 255 characters

Deprecated: use notes field instead

expected_credit_percent
string
requires_approval
boolean
Responses
201

Vendor was successfully created.

202

Vendor was successfully updated.

400

Bad Request. Check structure of JSON payload.

401

Missing, expired, or invalid OAuth bearer token. Request a new token from the auth service.

422

Validation error. Fix request payload and try again.

500

Internal Server Error.

502

Bad Gateway.

503

Service Unavailable.

504

Gateway Timeout.

post/vendor_updates
Request samples
application/json
{
  • "vendor_update": {
    }
}
Response samples
application/json
{
  • "id": 12
}
© 2010 – 2024 Optoro, Inc. For official use only by authorized users. Use subject to terms of license agreement.