Retrieve a product
GET
/accounts/{accountID}/products/{productID}
curl -X GET "https://api.moov.io/accounts/{accountID}/products/{productID}" \
-H "Authorization: Bearer {token}" \
-H "X-Moov-Version: v2026.04.00"import { Moov } from "@moovio/sdk";
const moov = new Moov({
security: {
username: "",
password: "",
},
});
async function run() {
const result = await moov.products.get({
accountID: "a749d848-5ebc-42a4-9ae6-555804317835",
productID: "dd0b4873-5cf5-4aa8-aa86-e31d86f7e38a",
});
console.log(result);
}
run();declare(strict_types=1);
require 'vendor/autoload.php';
use Moov\MoovPhp;
use Moov\MoovPhp\Models\Components;
$sdk = MoovPhp\Moov::builder()
->setSecurity(
new Components\Security(
username: '',
password: '',
)
)
->build();
$response = $sdk->products->get(
accountID: 'a749d848-5ebc-42a4-9ae6-555804317835',
productID: 'dd0b4873-5cf5-4aa8-aa86-e31d86f7e38a'
);
if ($response->product !== null) {
// handle response
}package hello.world;
import io.moov.sdk.Moov;
import io.moov.sdk.models.components.Security;
import io.moov.sdk.models.operations.GetProductResponse;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws Exception {
Moov sdk = Moov.builder()
.security(Security.builder()
.username("")
.password("")
.build())
.build();
GetProductResponse res = sdk.products().get()
.accountID("a749d848-5ebc-42a4-9ae6-555804317835")
.productID("dd0b4873-5cf5-4aa8-aa86-e31d86f7e38a")
.call();
if (res.product().isPresent()) {
System.out.println(res.product().get());
}
}
}from moovio_sdk import Moov
from moovio_sdk.models import components
with Moov(
security=components.Security(
username="",
password="",
),
) as moov:
res = moov.products.get(account_id="a749d848-5ebc-42a4-9ae6-555804317835", product_id="dd0b4873-5cf5-4aa8-aa86-e31d86f7e38a")
# Handle response
print(res)require 'moov_ruby'
Models = ::Moov::Models
s = ::Moov::Client.new(
security: Models::Components::Security.new(
username: '',
password: ''
)
)
res = s.products.get(account_id: 'a749d848-5ebc-42a4-9ae6-555804317835', product_id: 'dd0b4873-5cf5-4aa8-aa86-e31d86f7e38a')
unless res.product.nil?
# handle response
endusing Moov.Sdk;
using Moov.Sdk.Models.Components;
var sdk = new MoovClient(security: new Security() {
Username = "",
Password = "",
});
var res = await sdk.Products.GetAsync(
accountID: "a749d848-5ebc-42a4-9ae6-555804317835",
productID: "dd0b4873-5cf5-4aa8-aa86-e31d86f7e38a"
);
// handle responseThe request completed successfully.
A good or service offered by a merchant.
{
"productID": "string",
"title": "string",
"description": "string",
"basePrice": {
"currency": "USD",
"valueDecimal": "12.987654321"
},
"optionGroups": [
{
"name": "string",
"description": "string",
"minSelect": 0,
"maxSelect": 1,
"options": [
{
"name": "string",
"description": "string",
"priceModifier": {
"currency": "USD",
"valueDecimal": "12.987654321"
},
"images": [
{
"imageID": "string",
"altText": "string",
"link": "https://api.moov.io/images/q7lKWleAy9fUNhEGezQ1g",
"publicID": "q7lKWleAy9fUNhEGezQ1g"
}
]
}
]
}
],
"images": [
{
"imageID": "string",
"altText": "string",
"link": "https://api.moov.io/images/q7lKWleAy9fUNhEGezQ1g",
"publicID": "q7lKWleAy9fUNhEGezQ1g"
}
],
"createdOn": "2019-08-24T14:15:22Z",
"updatedOn": "2019-08-24T14:15:22Z",
"disabledOn": "2019-08-24T14:15:22Z"
}Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request contained missing or expired authentication.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The user is not authorized to make the request.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The requested resource was not found.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
Request was refused due to rate limiting.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request failed due to an unexpected error.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request failed because a downstream service failed to respond.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
Headers
X-Moov-Version
string
Set this header to v2026.04.00 to use the API described in this specification. When omitted, the server defaults to v2024.01.00, which may not match the behavior documented here.
Possible values:
v2026.04.00
Path parameters
accountID
string
required
productID
string
required
Response
basePrice
object
required
A product's starting price, before applying modifiers.
Show child attributes
currency
string
required
Pattern
A 3-letter ISO 4217 currency code.
valueDecimal
string
required
Pattern
A decimal-formatted numerical string that represents up to 9 decimal place precision.
For example, $12.987654321 is '12.987654321'.
createdOn
string<date-time>
required
The date and time when the product was added.
productID
string
required
Unique identifier for a product.
title
string
<=150 characters
required
updatedOn
string<date-time>
required
The date and time when the product was last updated.
description
string
<=5000 characters
A detailed description of the product.
- Must be valid UTF-8 text
- Supports Markdown for formatting
- HTML is not permitted and will be rejected
disabledOn
string<date-time>
The date and time when the product was disabled.
images
array<object>
Optional images associated with the product.
Show child attributes
altText
string
<=125 characters
Alternative text for the image.
imageID
string
Unique identifier for a product or product option image resource.
link
string<uri>
The image's public URL.
publicID
string
The public ID used to access the image.
optionGroups
array<object>
Optional configuration options for a product, such as size or color.
Show child attributes
description
string
<=500 characters
A detailed description of the option group.
- Must be valid UTF-8 text
- Supports Markdown for formatting
- HTML is not permitted and will be rejected
maxSelect
integer<int32>
The maximum number of options that can be selected from this group.
minSelect
integer<int32>
The minimum number of options that must be selected from this group.
A value of 0 indicates that no selection from this group is required.
name
string
<=100 characters
options
array<object>
The options available within this group.
Show child attributes
description
string
<=500 characters
A detailed description of the option.
- Must be valid UTF-8 text
- Supports Markdown for formatting
- HTML is not permitted and will be rejected
images
array<object>
The images associated with this option.
Show child attributes
altText
string
<=125 characters
Alternative text for the image.
imageID
string
Unique identifier for a product or product option image resource.
link
string<uri>
The image's public URL.
publicID
string
The public ID used to access the image.
name
string
[1 to 100] characters
The display name of a product option.
priceModifier
object
The adjustment applied to a product's base price by this option. Can be negative, positive, or zero.
Show child attributes
currency
string
required
Pattern
A 3-letter ISO 4217 currency code.
valueDecimal
string
required
Pattern
A decimal-formatted numerical string that represents up to 9 decimal place precision.
For example, $12.987654321 is '12.987654321'.