Merchants
- Overview
- Dropship Integrations
- Integrations
- Orders
- Products
- Suppliers
- Reports
- Settings
- Support
Merchant API Endpoints
- Authentication in Dropship
- Carriers
- Compliance Reports
- Connection Invites
- Inventory
- Invoices
- Orders
- Products
- Proposals
- Returns
- Shipments
- Webhooks
Suppliers
- Overview
- Getting Started
- Integrations
- Orders
- Products
- Reports
- Settings
List invoices from vendors
Gets a list of invoices from vendors
curl --request GET \
--url https://marketplace-api.fabric.inc/v1/retailers/{retailer_id}/invoices/ \
--header 'Authorization: Bearer <token>'
{
"count": 100,
"next": "https://api.example.org/demo/{retailer_id}/?page=5",
"previous": "https://api.example.org/demo/{retailer_id}/?page=3",
"results": [
{
"id": 1,
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"brand": {
"id": 500,
"name": "Marla Cielo",
"code": "demo-brand",
"joined_at": "2022-09-10T15:24:56Z",
"logo_url": "https://images.revcascade.com/retailers/defaults/logo-lg.png",
"cover_url": "https://images.revcascade.com/retailers/defaults/cover.png",
"profile_tile_url": "https://images.revcascade.com/retailers/defaults/profile-tile.png",
"website": null,
"is_onboarded": false,
"is_on_rcn": false,
"requires_subscription": "enabled",
"subscription_expires_at": "2024-09-19T13:32:10Z",
"grace_period_ends_at": "2024-10-26T13:32:10Z",
"subscription_is_expired": false,
"subscription_is_on_grace_period": false,
"subscription_is_delinquent": false,
"inventory_policy": "managed",
"status": "active"
},
"connection_id": 2,
"currency": {
"id": 1,
"name": "United States Dollar",
"symbol": "$",
"unit": "USD"
},
"invoice_number": "RC123456",
"terms_type": "Previously agreed upon",
"terms_description": "Previously agreed upon terms will apply",
"terms_net_days_due": 35,
"terms_date_due": null,
"terms_discount_percent": null,
"order_id": "O-654",
"customer_order_number": "CO-435",
"purchase_order_number": "PO-546",
"status": "closed",
"remit_to": {
"id": 10,
"type": "residential",
"name1": "Demo Brand, Inc",
"name2": null,
"street1": "1332 Hermosa Ave",
"street2": null,
"city": "Hermosa Beach",
"province": "CA",
"postal_code": "90254",
"country": "US",
"phone1": "3105551212",
"phone2": "3105551213",
"fax": null,
"email": null,
"federal_tax_id": null
},
"ship_from": {
"id": 10,
"type": "residential",
"name1": "Demo Brand, Inc",
"name2": null,
"street1": "1332 Hermosa Ave",
"street2": null,
"city": "Hermosa Beach",
"province": "CA",
"postal_code": "90254",
"country": "US",
"phone1": "3105551212",
"phone2": "3105551213",
"fax": null,
"email": null,
"federal_tax_id": null
},
"sold_to": {
"id": 10,
"type": "residential",
"name1": "Demo Brand, Inc",
"name2": null,
"street1": "1332 Hermosa Ave",
"street2": null,
"city": "Hermosa Beach",
"province": "CA",
"postal_code": "90254",
"country": "US",
"phone1": "3105551212",
"phone2": "3105551213",
"fax": null,
"email": null,
"federal_tax_id": null
},
"ship_to": {
"id": 10,
"type": "residential",
"name1": "Demo Brand, Inc",
"name2": null,
"street1": "1332 Hermosa Ave",
"street2": null,
"city": "Hermosa Beach",
"province": "CA",
"postal_code": "90254",
"country": "US",
"phone1": "3105551212",
"phone2": "3105551213",
"fax": null,
"email": null,
"federal_tax_id": null
},
"shipping_carrier_name": "ALZ carrier",
"shipping_carrier_code": "230F",
"shipping_account_number": "SH879",
"shipping_method_name": "Next day delivery",
"shipping_method_code": "ND",
"shipping_tracking_number": "1Z9999999999999988",
"shipping_weight": "7.00",
"notes": "Signature required",
"invoiced_at": "2022-05-10T15:24:56Z",
"ordered_at": "2022-05-10T15:24:56Z",
"shipped_at": "2022-05-10T15:24:56Z",
"acknowledged_at": "2022-06-10T15:24:56Z",
"paid_at": "2022-06-10T15:24:56Z",
"closed_at": null,
"canceled_at": null,
"allowances": [
{
"id": 1,
"adjustment_code": {
"id": 1,
"adjustment_type": "Allowance",
"code": "returns_allowance",
"description": "returns_allowance"
},
"description": "Sample-discount-allowance",
"price": "12.10"
}
],
"charges": [
{
"id": 654,
"adjustment_code": {
"id": 1,
"adjustment_type": "Allowance",
"code": "returns_allowance",
"description": "returns_allowance"
},
"description": "Sample invoice and its description",
"price": "23.45"
}
],
"invoice_lines": [
{
"id": 765,
"variant": {
"id": 100024,
"name": "T-Shirt, Blue, L",
"brand": {
"id": 500,
"name": "Marla Cielo",
"code": "demo-brand",
"joined_at": "2022-09-10T15:24:56Z",
"logo_url": "https://images.revcascade.com/retailers/defaults/logo-lg.png",
"cover_url": "https://images.revcascade.com/retailers/defaults/cover.png",
"profile_tile_url": "https://images.revcascade.com/retailers/defaults/profile-tile.png",
"website": null,
"is_onboarded": false,
"is_on_rcn": false,
"requires_subscription": "enabled",
"subscription_expires_at": "2024-09-19T13:32:10Z",
"grace_period_ends_at": "2024-10-26T13:32:10Z",
"subscription_is_expired": false,
"subscription_is_on_grace_period": false,
"subscription_is_delinquent": false,
"inventory_policy": "managed",
"status": "active"
},
"brand_identifier": "1000-BL-L",
"identifier": "5000001",
"upc": 9119119111,
"cartons": [
{
"id": 48,
"number": 1,
"length": "1",
"length_unit": "1",
"width": "1",
"width_unit": "meter",
"height": "1",
"height_unit": "meter",
"weight": "15",
"weight_unit": "KG",
"package_girth_inches": "1",
"package_size_inches": "1"
}
],
"color": "Red",
"style": "Print",
"size": "Large",
"media": [
{
"id": 249,
"width": 100,
"height": 100,
"media": "default",
"priority": 1,
"url": "https://cdn.example.com/media/default/original",
"updated_at": "2022-09-10T15:24:56Z",
"created_at": "2022-08-10T15:24:56Z"
}
],
"attributes": [
{
"id": 44,
"code": "size",
"name": "Size",
"editable_by": "brand",
"grouping": "general",
"description": "demo product description",
"type": "money",
"units": "USD",
"values": {
"id": 123,
"value": "<string>",
"unit": {
"id": 677,
"name": "Sample unit",
"standard_unit": "<string>",
"type": "cost",
"system": "metric",
"symbol": "USD"
},
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
}
],
"ruleset_variants": [
{
"id": 1232,
"status": "processing",
"results": "<string>",
"created_at": "2022-08-10T15:24:56Z",
"updated_at": "2022-09-10T15:24:56Z"
}
],
"ruleset_variant_summary": "21",
"active_permit": {
"id": 10104,
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"retailer_price": "12.99",
"retailer_cost": "8.99",
"pricing": {},
"attributes": {},
"start_at": "2021-09-10T15:24:56Z",
"end_at": "2024-09-10T15:24:56Z",
"is_in_effect": true,
"revoked_at": "2022-09-10T15:24:56Z",
"is_acknowledged": true,
"acknowledged_at": "2022-09-10T15:24:56Z"
},
"permits": [
{
"id": 10104,
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"retailer_price": "12.99",
"retailer_cost": "8.99",
"pricing": {},
"attributes": {},
"start_at": "2021-09-10T15:24:56Z",
"end_at": "2024-09-10T15:24:56Z",
"is_in_effect": true,
"revoked_at": "2022-09-10T15:24:56Z",
"is_acknowledged": true,
"acknowledged_at": "2022-09-10T15:24:56Z"
}
],
"is_compatible": true,
"proposal_variant": {
"id": 3456,
"pricing": "12.00",
"attributes": [
{
"id": 123,
"value": "<string>",
"unit": {
"id": 677,
"name": "Sample unit",
"standard_unit": "<string>",
"type": "cost",
"system": "metric",
"symbol": "USD"
},
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
],
"memos": [
{
"id": 1234,
"text": "Immediate requirement",
"visibility": "any",
"acknowledged_at": "2022-01-10T15:24:56Z",
"notify_people": true,
"created_by": {
"id": 542,
"first_name": "Sample",
"last_name": "Demo",
"title": "Demo",
"status": "Active",
"type": "standard",
"photo_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"profile_photo": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"is_me": true
},
"created_by_context": "retailer",
"created_at": "2021-09-10T15:24:56Z",
"updated_at": "2022-09-10T15:24:56Z"
}
],
"issues": [
{
"id": 123,
"memos": [
{
"id": 1234,
"text": "Immediate requirement",
"visibility": "any",
"acknowledged_at": "2022-01-10T15:24:56Z",
"notify_people": true,
"created_by": {
"id": 542,
"first_name": "Sample",
"last_name": "Demo",
"title": "Demo",
"status": "Active",
"type": "standard",
"photo_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"profile_photo": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"is_me": true
},
"created_by_context": "retailer",
"created_at": "2021-09-10T15:24:56Z",
"updated_at": "2022-09-10T15:24:56Z"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"resolved_at": "2023-11-07T05:31:56Z",
"is_resolved": "<string>",
"issue_id": 123,
"message": "<string>",
"title": "<string>"
}
],
"variant_id": 249,
"approved_at": "2022-10-10T15:24:56Z",
"created_at": "2022-07-10T15:24:56Z",
"updated_at": "2022-09-10T15:24:56Z",
"rejected_at": null,
"reject_reason": "Incomplete",
"reject": true,
"approve": false,
"delete": false
},
"retailer_identifiers": {
"id": 5642,
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"identifier": "SKU976",
"name": "Retailer Sample"
},
"retailer_categories": {
"id": 453,
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"category": "CategoryANC"
},
"inventory": {
"discontinued": true,
"discontinued_updated_at": null,
"inventory": 0,
"inventory_updated_at": "2022-09-10T15:24:56Z",
"inventory_last_submitted_at": "2022-09-10T15:24:56Z",
"brand_inventory_updated_at": "2022-09-10T15:24:56Z",
"sellable": "No",
"sellable_updated_at": "2022-11-10T15:24:56Z",
"replenishable": true,
"estimated_availability_date": "2022-09-10T15:24:56Z",
"locations": [
{
"id": 1,
"address": {
"id": 10,
"type": "residential",
"name1": "Demo Brand, Inc",
"name2": null,
"street1": "1332 Hermosa Ave",
"street2": null,
"city": "Hermosa Beach",
"province": "CA",
"postal_code": "90254",
"country": "US",
"phone1": "3105551212",
"phone2": "3105551213",
"fax": null,
"email": null,
"federal_tax_id": null
},
"inventory": 0,
"nickname": "LA Warehouse"
}
]
}
},
"invoice_line_number": 2,
"item_brand_identifier": "Vend134",
"item_upc": "911911911112",
"quantity": 45,
"name": "SamPro1",
"description": "Sample description of product",
"canceled_at": null,
"price": "12.00",
"retail_price": "14.00"
}
],
"net_amount": "12.89",
"due_amount": "2.89",
"expected_due_amount": "2.89",
"subtotal": "10.89",
"tax": "2.00",
"invoice_acceptance": {
"id": 565,
"accepted_by": {
"id": 542,
"first_name": "Sample",
"last_name": "Demo",
"title": "Demo",
"status": "Active",
"type": "standard",
"photo_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"profile_photo": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"is_me": true
},
"rejected_by": {
"id": 542,
"first_name": "Sample",
"last_name": "Demo",
"title": "Demo",
"status": "Active",
"type": "standard",
"photo_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"profile_photo": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"is_me": true
},
"reject_reason": "Incorrect",
"accepted_at": "2022-08-10T15:24:56Z",
"rejected_at": null
}
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The unique retailer ID. In the Dropship UI this is called the Merchant ID. To find your Merchant ID, click your merchant name in the top nav.
Query Parameters
Search by invoice or purchase order number
1: Acknowledged invoices | 0: Unacknowledged invoices
1: Paid invoices |0: Unpaid invoices
Invoice date is less than specified Time (Unix epoch format)
Invoice date is less than or equal to specified Time (Unix epoch format)
Invoice date is greater than specified Time (Unix epoch format)
Invoice date is greater than or equal to specified unix Time
Invoice due date is less than specified Time (Unix epoch format)
Invoice due date is less than or equal to specified Time (Unix epoch format)
Invoice due date is greater than specified Time (Unix epoch format)
Invoice due date is greater than or equal to specified Time (Unix epoch format)
Connection ID. Multiple values may be separated by commas.
Vendor IDs. Multiple values may be separated by commas.
Retailer IDs. Multiple values may be separated by commas.
Payment IDs. Multiple values may be separated by commas.
1: Invoice is paid |0: Invoice is unpaid
Purchase order number
Total due amount is less than the specified amount
Total due amount is less than or equal to the specified amount
Total due amount is greater than the specified amount
Total due amount is greater than or equal to the specified amount
Date paid is less than specified Time (Unix epoch format)
Date paid is less than or equal to specified Time (Unix epoch format)
Date paid is greater than specified Time (Unix epoch format)
Date paid is greater than or equal to specified Time (Unix epoch format)
Order close date is less than specified Time (Unix epoch format).
Order close date is less than or equal to specified Time (Unix epoch format).
Order close date is greater than specified Time (Unix epoch format)
Order close date is greater than or equal to specified Time (Unix epoch format)
Sorting preference
Page number within the paginated response
Number of records per page
Response
Total number of records
100
Invoice number
1 - 32
"RC123456"
Invoice ID
1
Retailer name
1 - 64
"Demo Retailer"
Retailer code, which is retailer name in lower case and hyphenated
1 - 32
"demo-retailer"
Retailer ID
500
URL of retailer logo
1
"https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png"
URL of retailer cover image
1
"https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg"
URL of retailer profile image
1
"https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg"
Time of retailer joining Dropship (UTC format)
"2021-08-03T17:24:12Z"
true: Retailer is in Dropship network; Retailer is not in Dropship network
false
true: Retailer is onboarded | false: Retailer is not onboarded
false
Platform on which retailer is onboarded
fabric
"fabric"
Represent whether retailer requires subscription to use the platform
disabled
, enabled
, upcoming
"disabled"
true: Platform allows creation of brand permit | false: Platform doesn't require creation of brand permit
false
Website URL
100
"https://demoabc.com"
Retailer status
active
, setup
, ghost
"active"
Vendor code, which is vendor name in lower case and underscore
1 - 64
"demo-brand"
Vendor (brand) ID
500
Vendor name
1 - 64
"Marla Cielo"
Time when vendor joined Dropship (UTC format)
"2022-09-10T15:24:56Z"
URL of the brand logo
1
"https://images.revcascade.com/retailers/defaults/logo-lg.png"
URL of the cover image
1
"https://images.revcascade.com/retailers/defaults/cover.png"
URL of the profile image
1
"https://images.revcascade.com/retailers/defaults/profile-tile.png"
URL of brand website
100
null
true: Vendor is onboarded |false: Vendor is not onboarded
false
true: is on Dropship network |false: not on Dropship network
false
Represents whether subscription is required
disabled
, enabled
, upcoming
"enabled"
Subscription expiry Time (UTC format)
"2024-09-19T13:32:10Z"
Time of grace period expiration (UTC format)
"2024-10-26T13:32:10Z"
true: subscription is expired | false: subscription is active
false
true: subscription is on grace period | false: subscription is not on grace period
false
true: subscription is overdue | false: subscription is paid
false
Inventory policy
unmanaged
, managed
, use_variant_policy
"managed"
Vendor status
active
, pending
, inactive
"active"
Connection ID
2
Types of invoice terms
End of Month (EOM)
, No Charge
, Consignment
, 10 Days After End of Month (10 EOM)
, Cash Discount Terms Apply
, Basic
, Fixed Date, Late Payment Penalty Applies
, Extended
, Discount Not Applicable
, Fixed Date
, Previously agreed upon
"Previously agreed upon"
Description of invoice terms
"Previously agreed upon terms will apply"
Number of days to pay invoice
-2147483648 <= x <= 2147483647
35
Payment expected date
null
Discount percentage on selected term
null
Order ID related to invoice
"O-654"
Customer order number (for enduser)
64
"CO-435"
Purchase order number (for retailer)
64
"PO-546"
Invoice status
closed
, open
"closed"
Name of the primary contact?
1 - 64
"Demo Brand, Inc"
Line 1 of the address
1 - 128
"1332 Hermosa Ave"
City name
1 - 64
"Hermosa Beach"
State name
1 - 32
"CA"
Postal code
1 - 32
"90254"
Country name
1 - 128
"US"
Address ID
10
Type of address
residential
, commercial
"residential"
Name of the alternative contact?
64
null
Line 2 of the address
128
null
Primary contact number
32
"3105551212"
Alternate contact number
32
"3105551213"
Fax number
32
null
Contact email address
128
null
Federal tax ID
32
null
Name of the primary contact?
1 - 64
"Demo Brand, Inc"
Line 1 of the address
1 - 128
"1332 Hermosa Ave"
City name
1 - 64
"Hermosa Beach"
State name
1 - 32
"CA"
Postal code
1 - 32
"90254"
Country name
1 - 128
"US"
Address ID
10
Type of address
residential
, commercial
"residential"
Name of the alternative contact?
64
null
Line 2 of the address
128
null
Primary contact number
32
"3105551212"
Alternate contact number
32
"3105551213"
Fax number
32
null
Contact email address
128
null
Federal tax ID
32
null
Name of the primary contact?
1 - 64
"Demo Brand, Inc"
Line 1 of the address
1 - 128
"1332 Hermosa Ave"
City name
1 - 64
"Hermosa Beach"
State name
1 - 32
"CA"
Postal code
1 - 32
"90254"
Country name
1 - 128
"US"
Address ID
10
Type of address
residential
, commercial
"residential"
Name of the alternative contact?
64
null
Line 2 of the address
128
null
Primary contact number
32
"3105551212"
Alternate contact number
32
"3105551213"
Fax number
32
null
Contact email address
128
null
Federal tax ID
32
null
Name of the primary contact?
1 - 64
"Demo Brand, Inc"
Line 1 of the address
1 - 128
"1332 Hermosa Ave"
City name
1 - 64
"Hermosa Beach"
State name
1 - 32
"CA"
Postal code
1 - 32
"90254"
Country name
1 - 128
"US"
Address ID
10
Type of address
residential
, commercial
"residential"
Name of the alternative contact?
64
null
Line 2 of the address
128
null
Primary contact number
32
"3105551212"
Alternate contact number
32
"3105551213"
Fax number
32
null
Contact email address
128
null
Federal tax ID
32
null
Name of shipping carrier
32
"ALZ carrier"
Code of shipping carrier
32
"230F"
Shipping account number
32
"SH879"
Name of shipping method
32
"Next day delivery"
Code of shipping method
32
"ND"
Shipping tracking number
32
"1Z9999999999999988"
Shipping weight
"7.00"
Additional info adding to shipping
"Signature required"
Time when the invoice was created (UTC format).
"2022-05-10T15:24:56Z"
Time of order finalization (UTC format)
"2022-05-10T15:24:56Z"
Time of shipping (UTC format)
"2022-05-10T15:24:56Z"
Time of retailer acknowledgement (UTC format)
"2022-06-10T15:24:56Z"
Time of payment (UTC format)
"2022-06-10T15:24:56Z"
Time of complete invoice payment (UTC format)
null
Time of order cancellation (UTC format)
null
Description of allowance
1 - 128
"Sample-discount-allowance"
Allowance price
"12.10"
Allowance ID
1
Adjustment type
allowance
, charge
"Allowance"
Adjustment code
1 - 64
"returns_allowance"
Description of adjustment
1 - 128
"returns_allowance"
Adjustment ID
1
Invoice description
1 - 128
"Sample invoice and its description"
Invoice price
"23.45"
Invoice ID
654
Adjustment type
allowance
, charge
"Allowance"
Adjustment code
1 - 64
"returns_allowance"
Description of adjustment
1 - 128
"returns_allowance"
Adjustment ID
1
Product quantity
-2147483648 <= x <= 2147483647
45
Discounted price
"12.00"
Invoice line ID
765
Variant ID
100024
Variant Name
200
"T-Shirt, Blue, L"
Vendor code, which is vendor name in lower case and underscore
1 - 64
"demo-brand"
Vendor (brand) ID
500
Vendor name
1 - 64
"Marla Cielo"
Time when vendor joined Dropship (UTC format)
"2022-09-10T15:24:56Z"
URL of the brand logo
1
"https://images.revcascade.com/retailers/defaults/logo-lg.png"
URL of the cover image
1
"https://images.revcascade.com/retailers/defaults/cover.png"
URL of the profile image
1
"https://images.revcascade.com/retailers/defaults/profile-tile.png"
URL of brand website
100
null
true: Vendor is onboarded |false: Vendor is not onboarded
false
true: is on Dropship network |false: not on Dropship network
false
Represents whether subscription is required
disabled
, enabled
, upcoming
"enabled"
Subscription expiry Time (UTC format)
"2024-09-19T13:32:10Z"
Time of grace period expiration (UTC format)
"2024-10-26T13:32:10Z"
true: subscription is expired | false: subscription is active
false
true: subscription is on grace period | false: subscription is not on grace period
false
true: subscription is overdue | false: subscription is paid
false
Inventory policy
unmanaged
, managed
, use_variant_policy
"managed"
Vendor status
active
, pending
, inactive
"active"
Unique SKU assigned by the Brand
1
"1000-BL-L"
Identifier assigned by the retailer (if set). Otherwise, returns the unique SKU assigned by the Brand.
128
"5000001"
UPC or other GTIN
64
9119119111
Carton ID
48
Carton number
-2147483648 <= x <= 2147483647
1
Carton length
"1"
Unit of length
"1"
Carton width
"1"
Unit of width
"meter"
Carton height
"1"
Unit of height
"meter"
Carton weight
"15"
Unit of weight
"KG"
Girth of the package, in inches
"1"
Size of the package, in inches
"1"
Color of the item (from attributes.color)
128
"Red"
Style of the item (will be the same value as attributes.style)
128
"Print"
Size of the item (will be the same value as attributes.size)
128
"Large"
Variant ID
249
Width of variant image
-2147483648 <= x <= 2147483647
100
Height of variant image
-2147483648 <= x <= 2147483647
100
Variant images
"default"
Order in which the vendor prefers the images to be shown image 1 is shown first.
-2147483648 <= x <= 2147483647
1
URL of variant image
"https://cdn.example.com/media/default/original"
Time of variant image update (UTC format)
"2022-09-10T15:24:56Z"
Time of variant image creation (UTC format)
"2022-08-10T15:24:56Z"
Attribute code
1 - 200
"size"
Attribute name
1 - 200
"Size"
Attribute type
boolean
, date
, list
, media
, money
, number
, percent
, string
, text
, url
"money"
Attribute ID
44
User permission to edit attribute
retailer
, brand
, any
, none
"brand"
Criteria to group attribute
description
, general
, images
, inventory
, misc
, retailer
, shipping
, identifiers
, pricing
"general"
Attribute description
"demo product description"
Unit of the selected attribute type. If the attribute type is money, the unit is USD.
32
"USD"
ID of ruleset variant
1232
Status of ruleset variant
processing
, passed
, failed
"processing"
Response
Time of creation (UTC format)
"2022-08-10T15:24:56Z"
Time of last update (UTC format)
"2022-09-10T15:24:56Z"
Number of items that are passed and failed in rule validation.
"21"
Permit ID
10104
Retailer price of the variant
"12.99"
Retailer cost of variant
"8.99"
Time of permit start (UTC format)
"2021-09-10T15:24:56Z"
Time of permit end (UTC format)
"2024-09-10T15:24:56Z"
true: permit is in effect | false: permit is not in effect
true
Time when permit got revoked (UTC format)
"2022-09-10T15:24:56Z"
true: permit is acknowledged | false: permit is not acknowledged
true
Time of acknowledgement (UTC format)
"2022-09-10T15:24:56Z"
Permit ID
10104
Retailer price of the variant
"12.99"
Retailer cost of variant
"8.99"
Time of permit start (UTC format)
"2021-09-10T15:24:56Z"
Time of permit end (UTC format)
"2024-09-10T15:24:56Z"
true: permit is in effect | false: permit is not in effect
true
Time when permit got revoked (UTC format)
"2022-09-10T15:24:56Z"
true: permit is acknowledged | false: permit is not acknowledged
true
Time of acknowledgement (UTC format)
"2022-09-10T15:24:56Z"
true: variant meets requirement | false: variant doesn not meet requirement
true
Proposal variant ID
3456
Pricing of variant
"12.00"
Variant ID
249
Time of approval (UTC format)
"2022-10-10T15:24:56Z"
Time of creation (UTC format)
"2022-07-10T15:24:56Z"
Time of last update (UTC format)
"2022-09-10T15:24:56Z"
Time of proposal rejection (UTC format)
null
Rejection reason
32
"Incomplete"
true: proposal is rejected | false: proposal is not rejected
true
true: proposal is approved | false: proposal is not approved
false
true: proposal is deleted | false: proposal is not deleted
false
Retailer ID
5642
Stock Keeping Unit (SKU), unique identifier of a product
256
"SKU976"
Retailer name
256
"Retailer Sample"
Time of inventory update (UTC format)
"2022-09-10T15:24:56Z"
Time of inventory submit (UTC format)
"2022-09-10T15:24:56Z"
Time of vendor inventory update (UTC format)
"2022-09-10T15:24:56Z"
Time when product or variant was marked sellable (UTC format)
"2022-11-10T15:24:56Z"
Estimated delivery date (UTC format)
1
"2022-09-10T15:24:56Z"
true: Product is discontinued | false: Product is active
true
Time of when product inventory was discontinued (UTC format)
null
Inventory of variant
0
yes: Variant is sellable | No: Variant is not sellable
"No"
true: product is replenishable | false: product is not replenishable
true
Invoice line number
-2147483648 <= x <= 2147483647
2
Vendor identifier of product
128
"Vend134"
Universal product code (UPC) is a 12-digit combination of numbers assigned to each product in the marketplace system
32
"911911911112"
Product name
128
"SamPro1"
Product description
128
"Sample description of product"
Time of cancellation (UTC format)
null
Retail price
"14.00"
Total invoice amount (excluding taxes)
"12.89"
Pending amount
"2.89"
Expected due amount (excluding allowances and charges)
"2.89"
Sub-total
"10.89"
Total tax on the invoice
"2.00"
Invoice acceptance ID
565
Vendor acceptance
User ID who accepted or rejected the invoice
542
First name of user
64
"Sample"
Last name of user
64
"Demo"
User title
64
"Demo"
User status
active
, invited
, locked
"Active"
User type
standard
, api
"standard"
URL of the user photo
1
"https://assets.demo.com/attachments/path_to_attachment/attachment.pdf"
URL of the user's profile photo
1
"https://assets.demo.com/attachments/path_to_attachment/attachment.pdf"
true: user is me | false: user is not me
true
User ID who accepted or rejected the invoice
542
First name of user
64
"Sample"
Last name of user
64
"Demo"
User title
64
"Demo"
User status
active
, invited
, locked
"Active"
User type
standard
, api
"standard"
URL of the user photo
1
"https://assets.demo.com/attachments/path_to_attachment/attachment.pdf"
URL of the user's profile photo
1
"https://assets.demo.com/attachments/path_to_attachment/attachment.pdf"
true: user is me | false: user is not me
true
Reason for invoice rejection
128
"Incorrect"
Time when the invoice was accepted (UTC format).
"2022-08-10T15:24:56Z"
Time when the invoice was accepted (UTC format).
null
Next page (applicable in a paginated response)
"https://api.example.org/demo/{retailer_id}/?page=5"
Previous page (applicable in a paginated response)
"https://api.example.org/demo/{retailer_id}/?page=3"
Was this page helpful?
curl --request GET \
--url https://marketplace-api.fabric.inc/v1/retailers/{retailer_id}/invoices/ \
--header 'Authorization: Bearer <token>'
{
"count": 100,
"next": "https://api.example.org/demo/{retailer_id}/?page=5",
"previous": "https://api.example.org/demo/{retailer_id}/?page=3",
"results": [
{
"id": 1,
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"brand": {
"id": 500,
"name": "Marla Cielo",
"code": "demo-brand",
"joined_at": "2022-09-10T15:24:56Z",
"logo_url": "https://images.revcascade.com/retailers/defaults/logo-lg.png",
"cover_url": "https://images.revcascade.com/retailers/defaults/cover.png",
"profile_tile_url": "https://images.revcascade.com/retailers/defaults/profile-tile.png",
"website": null,
"is_onboarded": false,
"is_on_rcn": false,
"requires_subscription": "enabled",
"subscription_expires_at": "2024-09-19T13:32:10Z",
"grace_period_ends_at": "2024-10-26T13:32:10Z",
"subscription_is_expired": false,
"subscription_is_on_grace_period": false,
"subscription_is_delinquent": false,
"inventory_policy": "managed",
"status": "active"
},
"connection_id": 2,
"currency": {
"id": 1,
"name": "United States Dollar",
"symbol": "$",
"unit": "USD"
},
"invoice_number": "RC123456",
"terms_type": "Previously agreed upon",
"terms_description": "Previously agreed upon terms will apply",
"terms_net_days_due": 35,
"terms_date_due": null,
"terms_discount_percent": null,
"order_id": "O-654",
"customer_order_number": "CO-435",
"purchase_order_number": "PO-546",
"status": "closed",
"remit_to": {
"id": 10,
"type": "residential",
"name1": "Demo Brand, Inc",
"name2": null,
"street1": "1332 Hermosa Ave",
"street2": null,
"city": "Hermosa Beach",
"province": "CA",
"postal_code": "90254",
"country": "US",
"phone1": "3105551212",
"phone2": "3105551213",
"fax": null,
"email": null,
"federal_tax_id": null
},
"ship_from": {
"id": 10,
"type": "residential",
"name1": "Demo Brand, Inc",
"name2": null,
"street1": "1332 Hermosa Ave",
"street2": null,
"city": "Hermosa Beach",
"province": "CA",
"postal_code": "90254",
"country": "US",
"phone1": "3105551212",
"phone2": "3105551213",
"fax": null,
"email": null,
"federal_tax_id": null
},
"sold_to": {
"id": 10,
"type": "residential",
"name1": "Demo Brand, Inc",
"name2": null,
"street1": "1332 Hermosa Ave",
"street2": null,
"city": "Hermosa Beach",
"province": "CA",
"postal_code": "90254",
"country": "US",
"phone1": "3105551212",
"phone2": "3105551213",
"fax": null,
"email": null,
"federal_tax_id": null
},
"ship_to": {
"id": 10,
"type": "residential",
"name1": "Demo Brand, Inc",
"name2": null,
"street1": "1332 Hermosa Ave",
"street2": null,
"city": "Hermosa Beach",
"province": "CA",
"postal_code": "90254",
"country": "US",
"phone1": "3105551212",
"phone2": "3105551213",
"fax": null,
"email": null,
"federal_tax_id": null
},
"shipping_carrier_name": "ALZ carrier",
"shipping_carrier_code": "230F",
"shipping_account_number": "SH879",
"shipping_method_name": "Next day delivery",
"shipping_method_code": "ND",
"shipping_tracking_number": "1Z9999999999999988",
"shipping_weight": "7.00",
"notes": "Signature required",
"invoiced_at": "2022-05-10T15:24:56Z",
"ordered_at": "2022-05-10T15:24:56Z",
"shipped_at": "2022-05-10T15:24:56Z",
"acknowledged_at": "2022-06-10T15:24:56Z",
"paid_at": "2022-06-10T15:24:56Z",
"closed_at": null,
"canceled_at": null,
"allowances": [
{
"id": 1,
"adjustment_code": {
"id": 1,
"adjustment_type": "Allowance",
"code": "returns_allowance",
"description": "returns_allowance"
},
"description": "Sample-discount-allowance",
"price": "12.10"
}
],
"charges": [
{
"id": 654,
"adjustment_code": {
"id": 1,
"adjustment_type": "Allowance",
"code": "returns_allowance",
"description": "returns_allowance"
},
"description": "Sample invoice and its description",
"price": "23.45"
}
],
"invoice_lines": [
{
"id": 765,
"variant": {
"id": 100024,
"name": "T-Shirt, Blue, L",
"brand": {
"id": 500,
"name": "Marla Cielo",
"code": "demo-brand",
"joined_at": "2022-09-10T15:24:56Z",
"logo_url": "https://images.revcascade.com/retailers/defaults/logo-lg.png",
"cover_url": "https://images.revcascade.com/retailers/defaults/cover.png",
"profile_tile_url": "https://images.revcascade.com/retailers/defaults/profile-tile.png",
"website": null,
"is_onboarded": false,
"is_on_rcn": false,
"requires_subscription": "enabled",
"subscription_expires_at": "2024-09-19T13:32:10Z",
"grace_period_ends_at": "2024-10-26T13:32:10Z",
"subscription_is_expired": false,
"subscription_is_on_grace_period": false,
"subscription_is_delinquent": false,
"inventory_policy": "managed",
"status": "active"
},
"brand_identifier": "1000-BL-L",
"identifier": "5000001",
"upc": 9119119111,
"cartons": [
{
"id": 48,
"number": 1,
"length": "1",
"length_unit": "1",
"width": "1",
"width_unit": "meter",
"height": "1",
"height_unit": "meter",
"weight": "15",
"weight_unit": "KG",
"package_girth_inches": "1",
"package_size_inches": "1"
}
],
"color": "Red",
"style": "Print",
"size": "Large",
"media": [
{
"id": 249,
"width": 100,
"height": 100,
"media": "default",
"priority": 1,
"url": "https://cdn.example.com/media/default/original",
"updated_at": "2022-09-10T15:24:56Z",
"created_at": "2022-08-10T15:24:56Z"
}
],
"attributes": [
{
"id": 44,
"code": "size",
"name": "Size",
"editable_by": "brand",
"grouping": "general",
"description": "demo product description",
"type": "money",
"units": "USD",
"values": {
"id": 123,
"value": "<string>",
"unit": {
"id": 677,
"name": "Sample unit",
"standard_unit": "<string>",
"type": "cost",
"system": "metric",
"symbol": "USD"
},
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
}
],
"ruleset_variants": [
{
"id": 1232,
"status": "processing",
"results": "<string>",
"created_at": "2022-08-10T15:24:56Z",
"updated_at": "2022-09-10T15:24:56Z"
}
],
"ruleset_variant_summary": "21",
"active_permit": {
"id": 10104,
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"retailer_price": "12.99",
"retailer_cost": "8.99",
"pricing": {},
"attributes": {},
"start_at": "2021-09-10T15:24:56Z",
"end_at": "2024-09-10T15:24:56Z",
"is_in_effect": true,
"revoked_at": "2022-09-10T15:24:56Z",
"is_acknowledged": true,
"acknowledged_at": "2022-09-10T15:24:56Z"
},
"permits": [
{
"id": 10104,
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"retailer_price": "12.99",
"retailer_cost": "8.99",
"pricing": {},
"attributes": {},
"start_at": "2021-09-10T15:24:56Z",
"end_at": "2024-09-10T15:24:56Z",
"is_in_effect": true,
"revoked_at": "2022-09-10T15:24:56Z",
"is_acknowledged": true,
"acknowledged_at": "2022-09-10T15:24:56Z"
}
],
"is_compatible": true,
"proposal_variant": {
"id": 3456,
"pricing": "12.00",
"attributes": [
{
"id": 123,
"value": "<string>",
"unit": {
"id": 677,
"name": "Sample unit",
"standard_unit": "<string>",
"type": "cost",
"system": "metric",
"symbol": "USD"
},
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
],
"memos": [
{
"id": 1234,
"text": "Immediate requirement",
"visibility": "any",
"acknowledged_at": "2022-01-10T15:24:56Z",
"notify_people": true,
"created_by": {
"id": 542,
"first_name": "Sample",
"last_name": "Demo",
"title": "Demo",
"status": "Active",
"type": "standard",
"photo_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"profile_photo": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"is_me": true
},
"created_by_context": "retailer",
"created_at": "2021-09-10T15:24:56Z",
"updated_at": "2022-09-10T15:24:56Z"
}
],
"issues": [
{
"id": 123,
"memos": [
{
"id": 1234,
"text": "Immediate requirement",
"visibility": "any",
"acknowledged_at": "2022-01-10T15:24:56Z",
"notify_people": true,
"created_by": {
"id": 542,
"first_name": "Sample",
"last_name": "Demo",
"title": "Demo",
"status": "Active",
"type": "standard",
"photo_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"profile_photo": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"is_me": true
},
"created_by_context": "retailer",
"created_at": "2021-09-10T15:24:56Z",
"updated_at": "2022-09-10T15:24:56Z"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"resolved_at": "2023-11-07T05:31:56Z",
"is_resolved": "<string>",
"issue_id": 123,
"message": "<string>",
"title": "<string>"
}
],
"variant_id": 249,
"approved_at": "2022-10-10T15:24:56Z",
"created_at": "2022-07-10T15:24:56Z",
"updated_at": "2022-09-10T15:24:56Z",
"rejected_at": null,
"reject_reason": "Incomplete",
"reject": true,
"approve": false,
"delete": false
},
"retailer_identifiers": {
"id": 5642,
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"identifier": "SKU976",
"name": "Retailer Sample"
},
"retailer_categories": {
"id": 453,
"retailer": {
"id": 500,
"name": "Demo Retailer",
"code": "demo-retailer",
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"category": "CategoryANC"
},
"inventory": {
"discontinued": true,
"discontinued_updated_at": null,
"inventory": 0,
"inventory_updated_at": "2022-09-10T15:24:56Z",
"inventory_last_submitted_at": "2022-09-10T15:24:56Z",
"brand_inventory_updated_at": "2022-09-10T15:24:56Z",
"sellable": "No",
"sellable_updated_at": "2022-11-10T15:24:56Z",
"replenishable": true,
"estimated_availability_date": "2022-09-10T15:24:56Z",
"locations": [
{
"id": 1,
"address": {
"id": 10,
"type": "residential",
"name1": "Demo Brand, Inc",
"name2": null,
"street1": "1332 Hermosa Ave",
"street2": null,
"city": "Hermosa Beach",
"province": "CA",
"postal_code": "90254",
"country": "US",
"phone1": "3105551212",
"phone2": "3105551213",
"fax": null,
"email": null,
"federal_tax_id": null
},
"inventory": 0,
"nickname": "LA Warehouse"
}
]
}
},
"invoice_line_number": 2,
"item_brand_identifier": "Vend134",
"item_upc": "911911911112",
"quantity": 45,
"name": "SamPro1",
"description": "Sample description of product",
"canceled_at": null,
"price": "12.00",
"retail_price": "14.00"
}
],
"net_amount": "12.89",
"due_amount": "2.89",
"expected_due_amount": "2.89",
"subtotal": "10.89",
"tax": "2.00",
"invoice_acceptance": {
"id": 565,
"accepted_by": {
"id": 542,
"first_name": "Sample",
"last_name": "Demo",
"title": "Demo",
"status": "Active",
"type": "standard",
"photo_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"profile_photo": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"is_me": true
},
"rejected_by": {
"id": 542,
"first_name": "Sample",
"last_name": "Demo",
"title": "Demo",
"status": "Active",
"type": "standard",
"photo_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"profile_photo": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
"is_me": true
},
"reject_reason": "Incorrect",
"accepted_at": "2022-08-10T15:24:56Z",
"rejected_at": null
}
}
]
}