Omnyfy Marketplace API (1.0.0)

Download OpenAPI specification:Download

Omnyfy Marketplace API

Vendor

Get marketplace vendor specific content

Get vendors from marketplace

Get a list of all vendors from the marketplace.

Request
query Parameters
searchCriteria[pageSize]
required
integer

setup page size for pagination

searchCriteria[currentPage]
required
integer

setup current page for pagination

Responses
200

search results matching criteria

404

specified content not found

get/rest/V1/vendors
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/vendors?searchCriteria%5BpageSize%5D=0&searchCriteria%5BcurrentPage%5D=0'
Response samples
application/json
[
  • {
    }
]

Get Vendor details

Get basic details of the Vendor including the Attribute set of the Vendor (Marshall need to add API to get all Vendor Attribute Details)

Request
path Parameters
vendor_id
required
integer

pass a vendor id to retreive vendor details.

Responses
200

vendor details

400

invalid input, object invalid

404

specified content not found

get/rest/V1/vendors/id/{vendor_id}
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/vendors/id/{vendor_id}'

Locations

Get marketplace vendor location information

get Vendor locations

Vendor locations refer to warehouses of office locations of Vendors (if using Service Booking Feature Set). Use this call to get a list of all Vendor Locations.

Request
query Parameters
searchCriteria[pageSize]
integer

setup page size for pagination

searchCriteria[currentPage]
integer

setup current page for pagination

Responses
200

search results matching criteria

404

specified content not found

get/rest/V1/locations
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/locations?searchCriteria%5BpageSize%5D=0&searchCriteria%5BcurrentPage%5D=0'
Response samples
application/json
[
  • {
    }
]

Get Location Details

The Vendor Location will return the address of the location and other specific location attributes. Parse the location ID to receive specific details of that location.

Request
path Parameters
location_id
required
integer
Responses
200

vendor details

400

invalid input, object invalid

404

specified content not found

get/rest/V1/locations/id/{location_id}
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/locations/id/{location_id}'
Response samples
application/json
{
  • "id": 7,
  • "vendor_id": 4,
  • "location_name": "Test Location 2 – Do not use",
  • "priority": 999,
  • "latitude": -37.8318,
  • "longitude": 144.9561,
  • "vendor_name": "Test Vendor",
  • "name": "Test Vendor's Location",
  • "is_warehouse": 0,
  • "status": 0,
  • "vendor_type_id": 1,
  • "attribute_set_id": 9
}

Products

APIs for maketplace owner to manager vendor products.

catalogProductRepositoryV1GetListGet

Get product list

Request
query Parameters
searchCriteria[filterGroups][0][filters][0][field]
string

Field

searchCriteria[filterGroups][0][filters][0][value]
string

Value

searchCriteria[filterGroups][0][filters][0][conditionType]
string

Condition type

searchCriteria[sortOrders][0][field]
string

Sorting field.

searchCriteria[sortOrders][0][direction]
string

Sorting direction.

searchCriteria[pageSize]
integer

Page size.

searchCriteria[currentPage]
integer

Current page.

vendor_id
integer

Specify vendor id to filter products.

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

get/rest/V1/products
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/products?searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bfield%5D=string&searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bvalue%5D=string&searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5BconditionType%5D=string&searchCriteria%5BsortOrders%5D%5B0%5D%5Bfield%5D=string&searchCriteria%5BsortOrders%5D%5B0%5D%5Bdirection%5D=string&searchCriteria%5BpageSize%5D=0&searchCriteria%5BcurrentPage%5D=0&vendor_id=0'
Response samples
{
  • "items": [
    ],
  • "search_criteria": {
    },
  • "total_count": 0
}

Create or update product

Native call to create a product. Use the Inventory API to assign the product to a specific Vendor on the marketplace

Request
Request Body schema: application/json
required
object (catalog-data-product-interface)
saveOptions
boolean
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

post/rest/V1/products
Request samples
application/json
{
  • "product": {
    },
  • "saveOptions": true
}
Response samples
application/json
{
  • "id": 0,
  • "sku": "string",
  • "name": "string",
  • "attribute_set_id": 0,
  • "price": 0,
  • "status": 0,
  • "visibility": 0,
  • "type_id": "string",
  • "created_at": "string",
  • "updated_at": "string",
  • "weight": 0,
  • "extension_attributes": {
    },
  • "product_links": [
    ],
  • "media_gallery_entries": [
    ],
  • "tier_prices": [
    ],
  • "custom_attributes": [
    ]
}

Delete product

delete product

Request
path Parameters
sku
required
string
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

delete/rest/V1/products/{sku}
Request samples
curl -i -X DELETE \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/products/{sku}'
Response samples
application/json
true

Get category list

Get category list

Request
query Parameters
searchCriteria[filterGroups][0][filters][0][field]
string

Field

searchCriteria[filterGroups][0][filters][0][value]
string

Value

searchCriteria[filterGroups][0][filters][0][conditionType]
string

Condition type

searchCriteria[sortOrders][0][field]
string

Sorting field.

searchCriteria[sortOrders][0][direction]
string

Sorting direction.

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

get/V1/categories/list
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/V1/categories/list?searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bfield%5D=string&searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bvalue%5D=string&searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5BconditionType%5D=string&searchCriteria%5BsortOrders%5D%5B0%5D%5Bfield%5D=string&searchCriteria%5BsortOrders%5D%5B0%5D%5Bdirection%5D=string'
Response samples
application/json
{
  • "items": [
    ],
  • "search_criteria": {
    },
  • "total_count": 0
}

Inventory

Assign product to vendor and vendor location. Manage inventory level on vendor location

Assign product to specific Vendor

Assign the product to a specific Vendor on the marketplace

Request
path Parameters
product_id
required
string
Request Body schema: application/json
vendor_ids
Array of integers (vendor-id)
Responses
200

200 Success.

post/rest/V1/vendor_product/update/{product_id}
Request samples
application/json
{
  • "vendor_ids": [
    ]
}
Response samples
application/json
{
  • "success": true,
  • "message": "Assigned product 9527 to vendors"
}

Update the product inventory

Update the product inventory to specific Vendor's Location / Warehuse on the marketplace

Request
path Parameters
product_id
required
string
Request Body schema: application/json
Array of objects (product-inventory-assignment)
Responses
200

200 Success.

post/rest/V1/location_product/{product_id}
Request samples
application/json
{
  • "inventories": [
    ]
}
Response samples
application/json
{
  • "success": true,
  • "message": "product 9527 inventory updated"
}

Get inventory for a specific product

Get inventory for a specific product

Request
path Parameters
product_id
required
string
Responses
200

200 Success.

get/rest/V1/location_product/{product_id}
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/location_product/{product_id}'
Response samples
application/json
{
  • "inventory": [
    ],
  • "total": 9999,
  • "count": 2
}

Customer

Manage customers

create a customer on the marketplace

Native call to create a customer on the marketplace. The Create Customer API enables the creation of a Customer in the platform and will also trigger new customer email notification

Request
Request Body schema: application/json
required
object (customer-data-customer-interface)

Customer interface.

password
string
redirectUrl
string
Responses
200

200 Success.

500

Internal Server error

default

Unexpected error

post/rest/V1/customers
Request samples
application/json
{
  • "customer": {
    },
  • "password": "string",
  • "redirectUrl": "string"
}
Response samples
application/json
{
  • "id": 0,
  • "group_id": 0,
  • "default_billing": "string",
  • "default_shipping": "string",
  • "confirmation": "string",
  • "created_at": "string",
  • "updated_at": "string",
  • "created_in": "string",
  • "dob": "string",
  • "email": "string",
  • "firstname": "string",
  • "lastname": "string",
  • "middlename": "string",
  • "prefix": "string",
  • "suffix": "string",
  • "gender": 0,
  • "store_id": 0,
  • "taxvat": "string",
  • "website_id": 0,
  • "addresses": [
    ],
  • "disable_auto_group_change": 0,
  • "extension_attributes": {
    },
  • "custom_attributes": [
    ]
}

get customer access token

Create access token for admin given the customer credentials.

Request
Request Body schema: application/json
username
required
string
password
required
string
Responses
200

200 Success.

400

400 Bad Request

default

Unexpected error

post/rest/V1/integration/customer/token
Request samples
application/json
{
  • "username": "string",
  • "password": "string"
}
Response samples
application/json
"string"

Sales

creating customer, create order for customer

Save quote for customer

Enable an customer or guest user to create an empty cart and quote for an anonymous customer.

Responses
200

200 Success.

400

400 Bad Request

default

Unexpected error

post/rest/V1/guest-carts
Request samples
curl -i -X POST \
  https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/guest-carts
Response samples
"string"

Save quote for customer

Save quote

Request
Request Body schema: application/json
required
object (quote-data-cart-interface)

Interface CartInterface

Responses
401

401 Unauthorized

default

Unexpected error

put/rest/V1/carts/mine
Request samples
application/json
{
  • "quote": {
    }
}
Response samples
application/json
{
  • "message": "string",
  • "errors": [
    ],
  • "code": 0,
  • "parameters": [
    ],
  • "trace": "string"
}

Create quote

Creates an empty cart and quote for a specified customer if customer does not have a cart yet.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

post/rest/V1/carts/mine
Request samples
curl -i -X POST \
  https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/carts/mine
Response samples
application/json
0

Get quote

Returns information for the cart for a specified customer.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

get/rest/V1/carts/mine
Request samples
curl -i -X GET \
  https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/carts/mine
Response samples
{
  • "id": 0,
  • "created_at": "string",
  • "updated_at": "string",
  • "converted_at": "string",
  • "is_active": true,
  • "is_virtual": true,
  • "items": [
    ],
  • "items_count": 0,
  • "items_qty": 0,
  • "customer": {
    },
  • "billing_address": {
    },
  • "reserved_order_id": "string",
  • "orig_order_id": 0,
  • "currency": {
    },
  • "customer_is_guest": true,
  • "customer_note": "string",
  • "customer_note_notify": true,
  • "customer_tax_class_id": 0,
  • "store_id": 0,
  • "extension_attributes": {
    }
}

Creates an empty cart and quote for a guest.

Creates an empty cart and quote for a guest.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

post/rest/V1/carts/
Request samples
curl -i -X POST \
  https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/carts/
Response samples
0

Lists cart items

Lists items that are assigned to a specified cart.

Request
path Parameters
cartId
required
integer

The cart ID.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

get/rest/V1/carts/{cartId}/items
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/carts/{cartId}/items'
Response samples
[
  • {
    }
]

Add/update the specified cart item.

Add/update the specified cart item.

Request
path Parameters
cartId
required
string
itemId
required
string
Request Body schema:
required
object (quote-data-cart-item-interface)

Interface CartItemInterface

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

put/rest/V1/carts/{cartId}/items/{itemId}
Request samples
{
  • "cartItem": {
    }
}
Response samples
{
  • "item_id": 0,
  • "sku": "string",
  • "qty": 0,
  • "name": "string",
  • "price": 0,
  • "product_type": "string",
  • "quote_id": "string",
  • "product_option": { }
}

Removes the specified item from the specified cart.

Removes the specified item from the specified cart.

Request
path Parameters
cartId
required
integer

The cart ID.

itemId
required
integer

The item ID of the item to be removed.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

delete/rest/V1/carts/{cartId}/items/{itemId}
Request samples
curl -i -X DELETE \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/carts/{cartId}/items/{itemId}'
Response samples
true

Lists items that are assigned to a specified cart.

Lists items that are assigned to a specified cart.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

get/rest/V1/carts/mine/items
Request samples
curl -i -X GET \
  https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/carts/mine/items
Response samples
[
  • {
    }
]

Add/update the specified cart item.

Add/update the specified cart item.

Request
Request Body schema:
required
object (quote-data-cart-item-interface)

Interface CartItemInterface

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

post/rest/V1/carts/mine/items
Request samples
{
  • "cartItem": {
    }
}
Response samples
{
  • "item_id": 0,
  • "sku": "string",
  • "qty": 0,
  • "name": "string",
  • "price": 0,
  • "product_type": "string",
  • "quote_id": "string",
  • "product_option": { }
}

Add/update the specified cart item.

Add/update the specified cart item.

Request
path Parameters
itemId
required
string
Request Body schema:
required
object (quote-data-cart-item-interface)

Interface CartItemInterface

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

put/rest/V1/carts/mine/items/{itemId}
Request samples
{
  • "cartItem": {
    }
}
Response samples
{
  • "item_id": 0,
  • "sku": "string",
  • "qty": 0,
  • "name": "string",
  • "price": 0,
  • "product_type": "string",
  • "quote_id": "string",
  • "product_option": { }
}

Removes the specified item from the specified cart.

Removes the specified item from the specified cart.

Request
path Parameters
itemId
required
integer

The item ID of the item to be removed.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

delete/rest/V1/carts/mine/items/{itemId}
Request samples
curl -i -X DELETE \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/carts/mine/items/{itemId}'
Response samples
true

List items that are assigned to a specified cart.

List items that are assigned to a specified cart.

Request
path Parameters
cartId
required
string

The cart ID.

Responses
200

200 Success.

400

400 Bad Request

default

Unexpected error

get/rest/V1/guest-carts/{cartId}/items
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/guest-carts/{cartId}/items'
Response samples
[
  • {
    }
]

Add/update the specified cart item.

Add/update the specified cart item.

Request
path Parameters
cartId
required
string
Request Body schema:
required
object (quote-data-cart-item-interface)

Interface CartItemInterface

Responses
200

200 Success.

400

400 Bad Request

default

Unexpected error

post/rest/V1/guest-carts/{cartId}/items
Request samples
{
  • "cartItem": {
    }
}
Response samples
{
  • "item_id": 0,
  • "sku": "string",
  • "qty": 0,
  • "name": "string",
  • "price": 0,
  • "product_type": "string",
  • "quote_id": "string",
  • "product_option": { }
}

Add/update the specified cart item.

Add/update the specified cart item.

Request
path Parameters
cartId
required
string
itemId
required
string
Request Body schema:
required
object (quote-data-cart-item-interface)

Interface CartItemInterface

Responses
200

200 Success.

400

400 Bad Request

default

Unexpected error

put/rest/V1/guest-carts/{cartId}/items/{itemId}
Request samples
{
  • "cartItem": {
    }
}
Response samples
{
  • "item_id": 0,
  • "sku": "string",
  • "qty": 0,
  • "name": "string",
  • "price": 0,
  • "product_type": "string",
  • "quote_id": "string",
  • "product_option": { }
}

Remove the specified item from the specified cart

Remove the specified item from the specified cart.

Request
path Parameters
cartId
required
string

The cart ID.

itemId
required
integer

The item ID of the item to be removed.

Responses
200

200 Success.

400

400 Bad Request

default

Unexpected error

delete/rest/V1/guest-carts/{cartId}/items/{itemId}
Request samples
curl -i -X DELETE \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/guest-carts/{cartId}/items/{itemId}'
Response samples
true

set customer shipping address and billing address

set customer shipping address and billing address

Request
Request Body schema:
required
object (checkout-data-shipping-information-interface)

Interface ShippingInformationInterface

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

post/rest/V1/carts/mine/shipping-information
Request samples
{
  • "addressInformation": {
    }
}
Response samples
{
  • "payment_methods": [
    ]
}

set guest shipping address and billing address

set guest shipping address and billing address

Request
path Parameters
cartId
required
integer
Request Body schema:
required
object (checkout-data-shipping-information-interface)

Interface ShippingInformationInterface

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

post/rest/V1/carts/{cartId}/shipping-information
Request samples
{
  • "addressInformation": {
    }
}
Response samples
{
  • "payment_methods": [
    ]
}

Place order for guest

Use this call to convert an order quote to an order by processing payments for guest

Request
path Parameters
cartId
required
string
Request Body schema: application/json
email
required
string
required
object (quote-data-payment-interface)

Interface PaymentInterface

object (quote-data-address-interface)

Interface AddressInterface

Responses
200

200 Success.

400

400 Bad Request

default

Unexpected error

post/rest/V1/guest-carts/{cartId}/payment-information
Request samples
application/json
{
  • "email": "string",
  • "paymentMethod": {
    },
  • "billingAddress": {
    }
}
Response samples
application/json
0

Place order for customer

Use this call to convert an order quote to an order by processing payments.

Request
Request Body schema:
required
object (quote-data-payment-interface)

Interface PaymentInterface

object (quote-data-address-interface)

Interface AddressInterface

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

post/rest/V1/carts/mine/payment-information
Request samples
{
  • "paymentMethod": {
    },
  • "billingAddress": {
    }
}
Response samples
0

Get invoice list

Lists invoices that match specified search criteria. This call returns an array of objects, but detailed information about each object’s attributes might not be included. See http://devdocs.magento.com/codelinks/attributes.html#InvoiceRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.

Request
query Parameters
searchCriteria[filterGroups][0][filters][0][field]
string

Field

searchCriteria[filterGroups][0][filters][0][value]
string

Value

searchCriteria[filterGroups][0][filters][0][conditionType]
string

Condition type

searchCriteria[sortOrders][0][field]
string

Sorting field.

searchCriteria[sortOrders][0][direction]
string

Sorting direction.

searchCriteria[pageSize]
integer

Page size.

searchCriteria[currentPage]
integer

Current page.

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

get/rest/V1/invoices
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/invoices?searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bfield%5D=string&searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bvalue%5D=string&searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5BconditionType%5D=string&searchCriteria%5BsortOrders%5D%5B0%5D%5Bfield%5D=string&searchCriteria%5BsortOrders%5D%5B0%5D%5Bdirection%5D=string&searchCriteria%5BpageSize%5D=0&searchCriteria%5BcurrentPage%5D=0'
Response samples
{
  • "items": [
    ],
  • "total_count": 0
}

Create invoice

Native API call to create an invoice once an order has been processed.

Request
Request Body schema:
required
object (sales-data-invoice-interface)

Invoice interface. An invoice is a record of the receipt of payment for an order.

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

post/rest/V1/invoices
Request samples
{
  • "entity": {
    }
}
Response samples
{
  • "base_currency_code": "string",
  • "base_discount_amount": 0,
  • "base_grand_total": 0,
  • "base_discount_tax_compensation_amount": 0,
  • "base_shipping_amount": 0,
  • "base_shipping_discount_tax_compensation_amnt": 0,
  • "base_shipping_incl_tax": 0,
  • "base_shipping_tax_amount": 0,
  • "base_subtotal": 0,
  • "base_subtotal_incl_tax": 0,
  • "base_tax_amount": 0,
  • "base_total_refunded": 0,
  • "base_to_global_rate": 0,
  • "base_to_order_rate": 0,
  • "billing_address_id": 0,
  • "can_void_flag": 0,
  • "created_at": "string",
  • "discount_amount": 0,
  • "discount_description": "string",
  • "email_sent": 0,
  • "entity_id": 0,
  • "global_currency_code": "string",
  • "grand_total": 0,
  • "discount_tax_compensation_amount": 0,
  • "increment_id": "string",
  • "is_used_for_refund": 0,
  • "order_currency_code": "string",
  • "order_id": 0,
  • "shipping_address_id": 0,
  • "shipping_amount": 0,
  • "shipping_discount_tax_compensation_amount": 0,
  • "shipping_incl_tax": 0,
  • "shipping_tax_amount": 0,
  • "state": 0,
  • "store_currency_code": "string",
  • "store_id": 0,
  • "store_to_base_rate": 0,
  • "store_to_order_rate": 0,
  • "subtotal": 0,
  • "subtotal_incl_tax": 0,
  • "tax_amount": 0,
  • "total_qty": 0,
  • "transaction_id": "string",
  • "updated_at": "string",
  • "items": [
    ]
}

Order Management

get orders list

Lists orders that match specified search criteria. This call returns an array of objects, but detailed information about each object’s attributes might not be included. See

Request
query Parameters
searchCriteria[filterGroups][0][filters][0][field]
string

Field

searchCriteria[filterGroups][0][filters][0][value]
string

Value

searchCriteria[filterGroups][0][filters][0][conditionType]
string

Condition type

searchCriteria[sortOrders][0][field]
string

Sorting field.

searchCriteria[sortOrders][0][direction]
string

Sorting direction.

searchCriteria[pageSize]
integer

Page size.

searchCriteria[currentPage]
integer

Current page.

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

get/rest/V1/orders
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/orders?searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bfield%5D=string&searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bvalue%5D=string&searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5BconditionType%5D=string&searchCriteria%5BsortOrders%5D%5B0%5D%5Bfield%5D=string&searchCriteria%5BsortOrders%5D%5B0%5D%5Bdirection%5D=string&searchCriteria%5BpageSize%5D=0&searchCriteria%5BcurrentPage%5D=0'
Response samples
application/json
{
  • "items": [
    ],
  • "search_criteria": {
    },
  • "total_count": 0
}

Get a list of items ordered on the marketplace by Vendor.

Get a list of items ordered on the marketplace by Vendor.

Request
query Parameters
searchCriteria[pageSize]
required
integer
searchCriteria[currentPage]
required
integer

setup current page for pagination

searchCriteria[filterGroups][0][filters][0][field]
string

specified filter key, for example "vendor_id"

searchCriteria[filterGroups][0][filters][0][value]
string

specified filter value, for example "4"

searchCriteria[filterGroups][0][filters][0][conditionType]
string

specified filter condition type, for example "eq"

Responses
200

200 Success.

get/rest/V1/orders/items
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/orders/items?searchCriteria%5BpageSize%5D=0&searchCriteria%5BcurrentPage%5D=0&searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bfield%5D=string&searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bvalue%5D=string&searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5BconditionType%5D=string'

Get the Click and Collect Status of an order

Get the Click and Collect Status of an order. Required for processing click and collect orders

Request
Request Body schema: application/json
required
object (omnyfy-click-collect-data-order-interface)
Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

post/rest/V1/omnyfy-clickcollect/clickcollect
Request samples
application/json
{
  • "order": {
    }
}
Response samples
application/json
{
  • "message": "string",
  • "errors": [
    ],
  • "code": 0,
  • "parameters": [
    ],
  • "trace": "string"
}

Shipment

Estimate shipping by address and return list of available shipping methods

Estimate shipping by address and return list of available shipping methods

Request
path Parameters
cartId
required
string
Request Body schema:
required
object (quote-data-address-interface)

Interface AddressInterface

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

post/rest/V1/carts/{cartId}/estimate-shipping-methods
Request samples
{
  • "address": {
    }
}
Response samples
[
  • {
    }
]

get shipment

Loads a specified shipment.

Request
path Parameters
id
required
integer

The shipment ID.

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

get/rest/V1/shipment/{id}
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/shipment/{id}'
Response samples
{
  • "billing_address_id": 0,
  • "created_at": "string",
  • "customer_id": 0,
  • "email_sent": 0,
  • "entity_id": 0,
  • "increment_id": "string",
  • "order_id": 0,
  • "packages": [
    ],
  • "shipment_status": 0,
  • "shipping_address_id": 0,
  • "shipping_label": "string",
  • "store_id": 0,
  • "total_qty": 0,
  • "total_weight": 0,
  • "updated_at": "string",
  • "items": [
    ],
  • "tracks": [
    ],
  • "comments": [
    ],
  • "extension_attributes": {
    }
}

Get shipment list

Lists shipments that match specified search criteria. This call returns an array of objects

Request
query Parameters
searchCriteria[filterGroups][0][filters][0][field]
string

Field

searchCriteria[filterGroups][0][filters][0][value]
string

Value

searchCriteria[filterGroups][0][filters][0][conditionType]
string

Condition type

searchCriteria[sortOrders][0][field]
string

Sorting field.

searchCriteria[sortOrders][0][direction]
string

Sorting direction.

searchCriteria[pageSize]
integer

Page size.

searchCriteria[currentPage]
integer

Current page.

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

get/rest/V1/shipments
Request samples
curl -i -X GET \
  'https://demo.omnyfy.com/om87/OmnyfyMarketplaceAPI/1.0.0/rest/V1/shipments?searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bfield%5D=string&searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bvalue%5D=string&searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5BconditionType%5D=string&searchCriteria%5BsortOrders%5D%5B0%5D%5Bfield%5D=string&searchCriteria%5BsortOrders%5D%5B0%5D%5Bdirection%5D=string&searchCriteria%5BpageSize%5D=0&searchCriteria%5BcurrentPage%5D=0'
Response samples
{
  • "items": [
    ],
  • "search_criteria": {
    },
  • "total_count": 0
}